# Spectral Unlearning: Transformer Structure-Preserving Updates for Language Model

*Sung Il Choi, Junhao Cai, Dohun Kim, Changhee Joo*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152699) · [Open on the map](../papers.html#p152699)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [Machine Unlearning](../pgroup/350.md) · Type: new method · Keywords: machine unlearning, transformer weight structure, matrix optimization, language model privacy, spectral update, steepest descent

## Summary
Spectral unlearning introduces a matrix-structured update framework that preserves transformer weight structure while removing unwanted knowledge, improving unlearning performance across memorization, privacy, and utility.

## Explained to a 5-year-old
We have a big computer program that knows a lot of words and facts, like a super smart robot. Sometimes we need it to forget a particular piece of information, like a secret word, while still being good at everything else. If we just tell it to forget, it can become confused and make mistakes in other things it knows. This paper introduces a new method, called spectral unlearning, that uses special math to keep the robot’s brain organized while it forgets. This helps the robot forget better and stay smart, and it works with other forgetting tricks.

## Explained to a 5-year-old, longer
A language model is a computer program that can talk and write like a person. It learns lots of words and facts from reading many books. Sometimes we want it to forget a specific thing, like a secret password, because we don’t want anyone to know it. If we just tell it to forget, it can become confused and make mistakes in other things it knows. The researchers noticed that the model’s brain is made of special shapes called matrices, but most forgetting methods ignore those shapes. They created a new way to help the model forget that respects these shapes, using a special kind of math. This new method is called spectral unlearning, and it works like a gentle push that follows the best direction to remove the unwanted knowledge. By keeping the matrix structure intact, the model stays stable and doesn’t lose its overall ability. The new method can be added on top of other forgetting techniques, making them work even better. They tested it on three important goals: how well it forgets bad stuff, how it protects privacy, and how useful it remains. The results show that the new method beats many old ways of forgetting and almost matches a model that was trained from scratch on the good data. This makes it easier to safely remove unwanted information from big AI systems while keeping them helpful.

## For a technical reader
The paper addresses the challenge of removing specific knowledge from large language models without harming overall performance. It observes that standard optimizers treat parameters as independent scalars, ignoring the matrix structure inherent in transformer weights. The proposed framework integrates matrix-structured optimization with existing unlearning objectives, providing a provably optimal steepest-descent direction for normalized transformer layers. This approach can be layered on top of current unlearning methods, yielding consistent improvements across memorization, privacy, and utility metrics.

## Problem
Removing specific knowledge from large language models while preserving overall model utility is challenging because existing unlearning methods treat model parameters as independent scalars, ignoring the underlying matrix structure that could lead to more effective updates.

## Method
The approach combines standard unlearning objectives with matrix-structured optimization, performing updates that follow the steepest-descent direction for transformer linear layers with normalized inputs and outputs. It can be applied on top of existing unlearning methods to improve their updates.

## Results
The approach achieves higher performance than baseline unlearning methods and nearly matches the utility of a model trained from scratch on retained data.

## Contributions
It introduces a matrix-structured update framework that leverages the intrinsic weight structure of transformers for more effective unlearning, and demonstrates improved trade-offs across memorization, privacy, and utility.

## Research questions this paper is counted under

- [How can we remove specific knowledge from large language models while preserving their overall performance?](../q/51.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152699)
