Do LLMs Really Forget? Hidden-State Leakage in Model Unlearning and How to Fix it
Abstract
Unlearning in large language models (LLMs) is typically evaluated at the output level, where a model appears to suppress sensitive or undesirable content. In this work, we show that such evaluations can create an illusion of forgetting: even when output-level leakage is eliminated, sensitive information can remain encoded in the model's hidden representations. We first provide a theoretical analysis establishing a fundamental separation between output suppression and representational erasure. Specifically, we show that the decoder can be made arbitrarily insensitive to sensitive directions, driving output-level leakage to zero, while the hidden representations retain the underlying information. To empirically validate this phenomenon, we train generative probe decoders on hidden states across transformer layers, enabling layer-wise measurement of information leakage. Across three widely used benchmarks, TOFU, MUSE, and WMDP, and state-of-the-art unlearning methods, we find that substantial sensitive information remains recoverable from hidden representations, even when standard output-level metrics indicate successful unlearning. To address this gap, we propose Probe-Adversarial Representation Suppression (PARS), an unlearning objective that adversarially minimizes the extractable information from hidden representations. PARS directly targets representational leakage and provides significantly stronger guarantees of erasure under adversarial probing and relearning attacks, outperforming all evaluated baselines. Our results highlight a fundamental limitation of existing unlearning paradigms and suggest that true forgetting in LLMs requires controlling not only model outputs, but also the information encoded in hidden representations. Codes are available at https://github.com/OptimAI-Lab/HiddenStateUnlearning.
Create a lesson
Related papers
Unlearning Deceptive Behaviors in LLMs with Contrastive Forget Sets
Shared title terminologycs.LGHaoran Tang, Rajiv Khanna
Looking Back to Forget: Self-Anchored Unlearning Along the Generation Trajectory of Diffusion Language Models
Shared title terminologycs.LGRuihao Pan, Suhang Wang
Known by Construction: Calibrating Model-State Instruments Against Models Whose State Was Installed, Hidden, or Never Present
Shared title terminologycs.LGManan Wadhwa, Shivam Dubey
Storage Is Not Strategy: State-Conditioned Support Control for LLM Unlearning
Shared title terminologycs.LGTianhao Qian, Ziming Hong, Chongyang Gao et al.
Multi-Signal Internal-State Online Quality Monitoring for LLM Serving
Shared title terminologycs.LGYibo Zhao, Nengneng Yu, Sixian Xiong et al.
What Predicts Forgetting in LoRA Fine-Tuning Across Optimizers
Shared title terminologycs.LGZhiyong Jin