TL;DR
Unlearning specific facts in Large Language Models (LLMs) usually comes at a high cost to general model performance. Break the Output Geometry (BOG) solves this by identifying that LLMs use a shared geometric "plane" to generate specific tokens regardless of the input context; by freezing this geometry and selectively "ejecting" only the forbidden data from this plane, BOG achieves high-quality forgetting with minimal impact on model utility.
What Problem Does This Paper Address?
Machine unlearning aims to remove specific information (like copyrighted data or private biographies) from a trained model without retraining it from scratch. However, current methods suffer from a persistent trade-off: if you push the model hard enough to forget the target data, you often "break" its ability to answer unrelated questions correctly.
The authors investigate why this happens. Using "logit lens" analysis, they discovered that the internal pathway an LLM uses to generate a specific word (e.g., "Paris") is almost identical whether the input is a "forget" query (a private fact) or a "retain" query (a public fact). Because these pathways are shared, traditional unlearning methods that attack the pathway to suppress a "forget" token inadvertently damage the model's ability to generate that same token for legitimate "retain" contexts.
Methods
The researchers propose a method called Break the Output Geometry (BOG), which operates on the geometric structure of the model's hidden states.
- Identify the "Same-Output Plane": They show that all hidden states leading to the same output token $k$ lie on a shared affine subspace (a plane) that is orthogonal to the token's unembedding vector $u_k$.
- Freeze the Unembedding: Unlike many methods that update the entire model, BOG strictly freezes the unembedding matrix. This ensures the "foundational geometry" of the output space remains intact.
- Selective Displacement: Instead of degrading the generative pathway, BOG updates the model parameters to push only the hidden states of the "forget" set away from the shared plane. This is done by moving them specifically along the direction of $-u_k$.
- Self-Calibrated Margin: To know how far to push the forget representations, BOG calculates a "cross-output margin" based on the model's own natural separation between different tokens in the "retain" set. This ensures the forget data is dislodged just enough to become indistinguishable from other random tokens.
Datasets
The paper evaluates BOG using the TOFU (Task of Fictitious Unlearning) benchmark.
- Content: 200 synthetic biographies of fictitious authors with 20 Q&A pairs each.
- Splits: The authors test on three standard forget splits: Forget01 (1% of authors), Forget05 (5%), and Forget10 (10%).
- Models: Evaluations were performed on Llama-3.2-1B and Llama-3.1-8B.
Key Insights and Ideas
- Output-Driven Logit Accumulation: A surprising "aha moment" is that the way a model builds up a prediction across its layers is driven almost entirely by the output token itself, not the input query. Two completely different facts that end in the same word look nearly identical inside the model's layers.
- The Geometry of Orthogonality: The difference between hidden states for the same output token is nearly orthogonal to the unembedding vector. This means the model "bundles" different contexts into a single geometric plane to simplify the final prediction step.
- Preservation over Suppression: The core philosophy of BOG is that unlearning should be a surgical "ejection" of specific representations rather than a blunt suppression of a logit pathway. By keeping the "plane" intact for the retain set and only moving the forget set, the utility-forgetting trade-off is significantly improved.
Key Results
BOG demonstrated a superior forget–retain trade-off compared to six major baselines (including Gradient Ascent, NPO, and RMU).
- Forget Quality (FQ): BOG achieved the highest or second-highest FQ across almost all test cases. For example, on Llama-3.1-8B (Forget05), BOG reached an FQ of 0.713, significantly higher than the next best baseline, NPO, at 0.628.
- Model Utility (MU): While achieving high forgetting, BOG kept the model's general utility (MU) very close to the "Target" (the original model) and "Oracle" (a model never trained on the forget data) levels. Many baselines that achieved high FQ did so by "crashing" the model utility, whereas BOG remained stable.
Limitations and Future Work
- Benchmark Scope: The study relies heavily on the TOFU benchmark, which uses fictitious data. The authors note that further research is needed to see how this geometric approach handles real-world, complex, or multi-token unlearning tasks.
- Single-Token Focus: The current formulation of BOG focuses on the geometry of the first output token. Extending this to handle long-form, multi-token sequences more holistically is a suggested direction.
- Broader Applications: The authors suggest that the "same-output plane" is a fundamental geometric primitive that could be useful beyond unlearning, potentially aiding in knowledge editing and continual learning where preserving existing structures is critical.
Summary updated