Unlearning Isn't Invisible: Detecting Unlearning Traces in LLMs from Model Outputs
On the map: LLM safety and security → Machine unlearning
Abstract (arXiv)
Machine unlearning (MU) for large language models (LLMs), commonly referred to as LLM unlearning, seeks to remove specific undesirable data or knowledge from a trained model, while maintaining its performance on standard tasks. While unlearning plays a vital role in protecting data privacy, enforcing copyright, and mitigating sociotechnical harms in LLMs, we identify a new vulnerability post-unlearning: unlearning trace detection. We discover that unlearning leaves behind persistent "fingerprints" in LLMs, detectable traces in both model behavior and internal representations. These traces can be identified from output responses, even when prompted with forget-irrelevant inputs. Specifically, even a simple supervised classifier can determine whether a model has undergone unlearning, using only its prediction logits or even its textual outputs. Further analysis shows that these traces are embedded in intermediate activations and propagate nonlinearly to the final layer, forming low-dimensional, learnable manifolds in activation space. Through extensive experiments, we demonstrate that unlearning traces can be detected with over 90% accuracy even under forget-irrelevant inputs, and that larger LLMs exhibit stronger detectability. These findings reveal that unlearning leaves measurable signatures, introducing a new risk of reverse-engineering forgotten information when a model is identified as unlearned, given an input query.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 58 of its 75 references that are in the map. First posted on arXiv 16 Jun 2025.
Builds on
58 of 75 references.
Closest ancestors · 23
Same direction, newest first
- 2025Open Problems in Machine Unlearning for AI Safety9 Jan
- 2024WAGLE: Strategic Weight Attribution for Effective and Modular Unlearning in Large Language Models23 Oct
- 2024Do Unlearning Methods Remove Information from Language Model Weights?11 Oct
- 2024Simplicity Prevails: Rethinking Negative Preference Optimization for LLM Unlearning9 Oct
- 2024An Adversarial Perspective on Machine Unlearning for AI Safety26 Sep
- 2024MUSE: Machine Unlearning Six-Way Evaluation for Language Models8 Jul
- 2024SOUL: Unlocking the Power of Second-Order Optimization for LLM Unlearning28 Apr
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning8 Apr
- 2024The Frontier of Data Erasure: Machine Unlearning for Large Language Models23 Mar
- 2024Guardrail Baselines for Unlearning in LLMs5 Mar
- 2024Eight Methods to Evaluate Robust Unlearning in LLMs26 Feb
- 2024Rethinking Machine Unlearning for Large Language Models13 Feb
11 more
- 2024TOFU: A Task of Fictitious Unlearning for LLMs11 Jan
- 2023Knowledge Unlearning for LLMs: Tasks, Methods, and Challenges27 Nov
- 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMs31 Oct
- 2023Large Language Model Unlearning14 Oct
- 2023In-Context Unlearning: Language Models as Few Shot Unlearners11 Oct
- 2023Who's Harry Potter? Approximate Unlearning in LLMs3 Oct
- 2023Model Sparsity Can Simplify Machine Unlearning11 Apr
- 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Models4 Oct
- 2022A Survey of Machine Unlearning6 Sep
- 2022Quark: Controllable Text Generation with Reinforced Unlearning26 May
- 2021Unrolling SGD: Understanding Factors Influencing Machine Unlearning27 Sep
Other references · 35
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2018UMAP: Uniform Manifold Approximation and Projection for Dimension Reductioncited by 2,898
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2019Machine Unlearningcited by 1,061
- 2023Enhancing Chat Language Models by Scaling High-quality Instructional Conversationscited by 839
- 2024Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Trainingcited by 529
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
23 more
- 2018Black-box Adversarial Attacks with Limited Queries and Informationcited by 501
- 2018Spectral Signatures in Backdoor Attackscited by 484
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 404
- 2020ONION: A Simple and Effective Defense Against Textual Backdoor Attackscited by 263
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 243
- 2023To Generate or Not? Safety-Driven Unlearned Diffusion Models Are Still Easy To Generate Unsafe Images ... For Nowcited by 210
- 2020When Machine Unlearning Jeopardizes Privacycited by 198
- 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 168
- 2021SPECTRE: Defending Against Backdoor Attacks Using Robust Statisticscited by 130
- 2019Demon in the Variant: Statistical Analysis of DNNs for Robust Backdoor Contamination Detectioncited by 124
- 2023DEPN: Detecting and Editing Privacy Neurons in Pretrained Language Modelscited by 79
- 2025An Approach to Technical AGI Safety and Securitycited by 45
- 2024CROW: Eliminating Backdoors from Large Language Models via Internal Consistency Regularizationcited by 33
- 2025Idiosyncrasies in Large Language Modelscited by 33
- 2024A Fingerprint for Large Language Modelscited by 28
- 2024TAMM: TriAdapter Multi-Modal Learning for 3D Shape Understandingcited by 27
- 2023Analyzing And Editing Inner Mechanisms Of Backdoored Language Modelscited by 23
- 2022Reverse Engineering of Imperceptible Adversarial Image Perturbationscited by 17
- 2025Safety Mirage: How Spurious Correlations Undermine VLM Safety Fine-Tuning and Can Be Mitigated by Machine Unlearningcited by 16
- 2025Model Provenance Testing for Large Language Modelscited by 15
- 2025Independence Tests for Language Modelscited by 10
- 2025Unleashing the Power of Chain-of-Prediction for Monocular 3D Object Detectioncited by 10
- 2023Tile Classification Based Viewport Prediction with Multi-modal Fusion Transformercited by 6
Built on by
Citing papers per year: 2025: 4; 2026: 7.
11 papers.
- 2025Shop-R1: Rewarding LLMs to Simulate Human Behavior in Online Shopping via Reinforcement Learningcited by 19
- 2025Forgetting to Forget: Attention Sink as A Gateway for Backdooring LLM Unlearningcited by 6
- 2025Reference-Specific Unlearning Metrics Can Hide the Truth: A Reality Checkcited by 5
- 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agentscited by 5
- 2026Towards Intrinsic-Aware Monocular 3D Object Detectioncited by 4
- 2026Before Forgetting, Learn to Remember: Revisiting Foundational Learning Failures in LVLM Unlearning Benchmarkscited by 3
- 2026Seamless Deception: Larger Language Models Are Better Knowledge Concealerscited by 0
- 2026Probe-Geometry Alignment: Erasing the Cross-Sequence Memorization Signature Below Chancecited by 0
- 2026Stress Testing Concept Erasure with Large Language Model Agentscited by 0
- 2026Who Built This Model? Tracing LLM Lineage via Spectral Fingerprints in Weight Spacecited by 0
- 2026RA2: Retain-Anchored Attraction Preserves Forget-Adjacent Utility in LLM Unlearningcited by 0
- 2026RA2: Retain-Anchored Attraction Preserves Forget-Adjacent Utility in LLM Unlearning14 Oct 2026
- 2026Who Built This Model? Tracing LLM Lineage via Spectral Fingerprints in Weight Space7 Aug 2026
- 2026Stress Testing Concept Erasure with Large Language Model Agents20 Jul 2026
- 2026Before Forgetting, Learn to Remember: Revisiting Foundational Learning Failures in LVLM Unlearning Benchmarks5 May 2026
- 2026Probe-Geometry Alignment: Erasing the Cross-Sequence Memorization Signature Below Chance3 May 2026
- 2026Towards Intrinsic-Aware Monocular 3D Object Detection28 Mar 2026
- 2026Seamless Deception: Larger Language Models Are Better Knowledge Concealers15 Mar 2026
- 2025See, Think, Act: Online Shopper Behavior Simulation with VLM Agents22 Oct 2025
- 2025Forgetting to Forget: Attention Sink as A Gateway for Backdooring LLM Unlearning19 Oct 2025
- 2025Reference-Specific Unlearning Metrics Can Hide the Truth: A Reality Check14 Oct 2025
- 2025Shop-R1: Rewarding LLMs to Simulate Human Behavior in Online Shopping via Reinforcement Learning23 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Keeping an Eye on LLM Unlearning: The Hidden Risk and Remedy
- 2026Auditing Language Model Unlearning via Information Decomposition
- 2026Measuring the Depth of LLM Unlearning via Activation Patching
- 2024Towards Effective Evaluations and Comparisons for LLM Unlearning Methods
- 2026Unlearning in LLMs: Methods, Evaluation, and Open Challenges
- 2025A Comprehensive Survey of Machine Unlearning Techniques for Large Language Models
- 2025Soft Token Attacks Cannot Reliably Audit Unlearning in Large Language Models
- 2024Unlearning or Obfuscating? Jogging the Memory of Unlearned LLMs via Benign Relearning