Do LLMs Really Forget? Hidden-State Leakage in Model Unlearning and How to Fix it

Hadi Reisizadeh, Jiajun Ruan, Sijia Liu, Mingyi Hong
9/29/2026
cs.LG

Official code: OptimAI-Lab/HiddenStateUnlearning (0 stars, last commit 2026-09-29).

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.

View on arXivView PDF

Code Implementations(1)

Do LLMs Really Forget? Hidden-State Leakage in Model Unlearning and How to Fix it

01Shell, PythonSep 29, 20263 weeks ago

Similar Papers

Cite this paper

@article{reisizadeh2026llms,
  title  = {Do LLMs Really Forget? Hidden-State Leakage in Model Unlearning and How to Fix it},
  author = {Hadi Reisizadeh and Jiajun Ruan and Sijia Liu and Mingyi Hong},
  year   = {2026},
  eprint = {2609.36612},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.36612v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.36612.svg)](https://codeofpaper.com/paper/2609.36612)

Discussion