Explicit Representation Alignment via Subspace Elimination for Robust LLM Unlearning

Keonwoo Kim, Hyowon Cho, Sungwon Chae, Sangwon Yoon, Min Choi, Hoki KimOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

ERASER (Explicit Representation Alignment via Subspace Elimination) is a new framework that makes LLM unlearning more stable and robust. By identifying the specific "forgetting subspace" where hazardous knowledge lives and using a pairwise ranking loss to divorce "forget" and "retain" representations, ERASER achieves state-of-the-art unlearning while keeping the model's general intelligence intact.

What Problem Does This Paper Address?

Large Language Models (LLMs) are notorious for memorizing their training data, including sensitive PII or hazardous information (like how to build a bioweapon). "Machine Unlearning" aims to remove this specific knowledge without the astronomical cost of retraining the model from scratch.

Current methods, like Representation Misalignment Unlearning (RMU), usually try to push the model's internal activations for "bad" topics toward a random, meaningless target vector. However, these methods are often brittle: they are highly sensitive to hyperparameters, struggle to generalize across different types of knowledge, and are easily bypassed by "jailbreak" attacks that recover the hidden information. The authors argue that we need a more principled, data-driven way to identify and eliminate harmful information from the model's latent space.

Methods

ERASER introduces two primary innovations to the representation-guided unlearning paradigm:

  1. Subspace-based Target Vector: Instead of picking a random target vector by hand, ERASER uses a three-phase offline/online process. It first uses power iteration and Singular Value Decomposition (SVD) to identify a shared forgetting subspace—a set of directions in the model's hidden layers that represent the "forget" domain. During training, it doesn't just push representations to a random point; it explicitly nullifies the components of the representation that lie within this harmful subspace.
  2. Disentangle-Head: To speed up and stabilize training, the authors add an auxiliary two-layer MLP called the Disentangle-Head. It uses a pairwise ranking loss (similar to the logic used in DPO) to ensure that "retain" samples always score higher than "forget" samples. This forces the model to rapidly separate the two domains in its latent space, preventing harmful knowledge from "hiding" in features shared with benign data.

The implementation uses LoRA adapters on specific MLP layers (blocks 5–7 in a 7B model), making it highly parameter-efficient (updating only ~0.6% of total parameters).

Datasets

The authors evaluated ERASER across several diverse benchmarks:

  • WMDP (Bio and Cyber): The primary benchmark for measuring the removal of hazardous biological and cybersecurity knowledge.
  • MMLU: Used to measure "general capability" and ensure the model hasn't become "lobotomized" during the unlearning process.
  • WikiText: Used as the "retain" set to provide examples of what the model should keep.
  • Fictional Knowledge Dataset: A specialized dataset used to test if unlearning happens at a deep semantic level (reasoning and composition) rather than just surface-level pattern matching.

Key Insights and Ideas

  • The Linear Representation Hypothesis in Action: The paper successfully applies the theory that abstract concepts in LLMs are encoded as linear directions. By "killing" the specific subspace associated with a concept, the model effectively loses the ability to reason about it.
  • Stability via Data, Not Tuning: Traditional methods rely on a scaling coefficient ($c$) that varies wildly between models. ERASER’s subspace approach is remarkably robust; the authors show that the choice of how many principal components ($k$) to use barely affects the outcome, making it much easier to deploy on new models.
  • Disentanglement is the Secret Sauce: The "Disentangle-Head" is a major contributor to robustness. By explicitly forcing a gap between safe and unsafe representations, the model becomes much harder to "jailbreak."
  • Deep Erasure: Unlike some methods that just suppress the output (like a filter), ERASER appears to modify the underlying semantic structure. Tests on the Fictional Knowledge dataset showed the model couldn't even answer paraphrased or compositional questions about the "forgotten" facts.

Key Results

  • State-of-the-Art Performance: On Zephyr-7B, ERASER achieved the highest "Accuracy Gap" ($\Delta Acc$), effectively zeroing out hazardous knowledge while maintaining MMLU scores within 1.5% of the base model.
  • Adversarial Robustness: In GCG (Gradient Coordinate Gradient) jailbreak attacks, ERASER maintained an Attack Success Rate (ASR) below 0.1, whereas the popular RMU baseline was significantly more vulnerable.
  • Privacy Protection: In Membership Inference Attacks (MIA), ERASER reduced the attacker's ability to identify "forget" samples to near-random guessing levels, providing strong privacy guarantees.
  • Efficiency: The entire unlearning process for a 7B-scale model takes only about 10 minutes on a single H100 GPU.

Limitations and Future Work

  • Linguistic Coherence: The authors note that for hazardous queries, ERASER often produces malformed or gibberish text (e.g., "I... Is? ..."). While this successfully prevents the disclosure of harmful info, it is less "natural" than a polite refusal.
  • Domain Specificity: In the "Economics" domain, the authors observed a sharper trade-off between forgetting and retaining adjacent knowledge (like Econometrics), suggesting that highly overlapping domains remain a challenge for precise unlearning.
  • Future Directions: The authors suggest exploring how these subspace methods could be applied to even larger models (70B+) and investigating if this approach can mitigate "catastrophic forgetting" in continual learning settings.

Summary updated

BibTeX
@misc{kim2026explicit,
  author = {Keonwoo Kim and Hyowon Cho and Sungwon Chae and Sangwon Yoon and Min Choi and Hoki Kim},
  title = {{Explicit Representation Alignment via Subspace Elimination for Robust LLM Unlearning}},
  year = {2026},
  url = {https://openreview.net/forum?id=kpjb0kbaW6},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}

Loading related content...

Figure