Test-Time Unlearning via Sparse Autoencoder
On the map: LLM safety and security → Machine unlearning
also in 1 more
Abstract (arXiv)
Machine unlearning aims to remove specific knowledge from a trained large language model (LLM) without retraining from scratch. Existing methods modify model weights via gradient ascent and its advances. While effective on certain benchmarks, these weight-based approaches exhibit a sharp forget-utility trade-off, where stronger forgetting of target knowledge can degrade model utility, and unlearned knowledge may reappear under post-unlearning fine-tuning or prompt attacks. We propose ARIA (autoencoder-gated inference-time unlearning), a test-time unlearning method that leaves model weights intact and gates access to unwanted knowledge only when generation enters a forget-related state. ARIA uses sparse autoencoder (SAE) latents to train a lightweight linear detector, then applies an interpretable intervention on triggered states with negligible test-time overhead. Empirical evaluations on TOFU, R-TOFU, and WMDP show that ARIA improves the forget-retain trade-off over weight-based baselines across both a thinking model (DeepSeek-R1-Distilled-Qwen-1.5B) and an instruction model (Gemma-3-1B-it), e.g., reducing WMDP-cyber forget-set accuracy significantly while keeping MMLU within 1% of the pre-unlearning model. We further introduce three post-unlearning adversarial attacks targeting weight-space and decoding-space recovery, and find that ARIA remains robust under all three, with forgetting changing by less than 1% under attack. A feature-level case study leveraging the interpretability of ARIA suggests that some retain degradation may reflect response styles underlying the unlearning data rather than leakage of the targeted knowledge itself, highlighting a potential source of bias in unlearning task construction.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 45 of its 50 references that are in the map. First posted on arXiv 14 Sep 2026.
Builds on
45 of 50 references.
Closest ancestors · 16
Same direction, newest first
- 2025CRISP: Persistent Concept Unlearning via Sparse Autoencoders19 Aug
- 2025Reasoning Model Unlearning: Forgetting Traces, Not Just Answers, While Preserving Reasoning Skills15 Jun
- 2025SAEs Can Improve Unlearning: Dynamic Sparse Autoencoder Guardrails for Precision Unlearning in LLMs11 Apr
- 2025Don't Forget It! Conditional Sparse Autoencoder Clamping Works for Unlearning14 Mar
- 2025ReLearn: Unlearning via Learning for Large Language Models16 Feb
- 2024Applying sparse autoencoders to unlearn knowledge in language models25 Oct
- 2024Catastrophic Failure of LLM Unlearning via Quantization21 Oct
- 2024Position: LLM Unlearning Benchmarks are Weak Measures of Progress3 Oct
- 2024An Adversarial Perspective on Machine Unlearning for AI Safety26 Sep
- 2024Towards Robust Knowledge Unlearning: An Adversarial Framework for Assessing and Improving Unlearning Robustness in Large Language Models20 Aug
- 2024Negative Preference Optimization: From Catastrophic Collapse to Effective Unlearning8 Apr
- 2024Eight Methods to Evaluate Robust Unlearning in LLMs26 Feb
4 more
Other references · 29
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025Gemma 3 Technical Reportcited by 1,824
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,302
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,085
- 2019Machine Unlearningcited by 1,061
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2023Steering Language Models With Activation Engineeringcited by 922
- 2024Scaling and evaluating sparse autoencoderscited by 553
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
- 2019Making AI Forget You: Data Deletion in Machine Learningcited by 465
17 more
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
- 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 435
- 2024Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2cited by 394
- 2024Jumping Ahead: Improving Reconstruction Fidelity with JumpReLU Sparse Autoencoderscited by 300
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decodingcited by 247
- 2024Programming Refusal with Conditional Activation Steeringcited by 206
- 2026Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnetcited by 191
- 2024Improving Instruction-Following in Language Models through Activation Steeringcited by 160
- 2023Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attackscited by 158
- 2025DeepSeek-R1 Thoughtology: Let's think about LLM Reasoningcited by 92
- 2024Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Spacecited by 91
- 2025SAeUron: Interpretable Concept Unlearning in Diffusion Models with Sparse Autoencoderscited by 80
- 2025Multi-Attribute Steering of Language Models via Targeted Interventioncited by 46
- 2025Sparse Autoencoder Features for Classifications and Transferabilitycited by 21
- 2026Steering Vector Fields for Context-Aware Inference-Time Control in Large Language Modelscited by 13
- 2025Steering When Necessary: Flexible Steering Large Language Models with Backtrackingcited by 8
- 2026FineSteer: A Unified Framework for Fine-Grained Inference-Time Steering in Large Language Modelscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Inference-Time Machine Unlearning via Gated Activation Redirection
- 2025Sparse-Autoencoder-Guided Internal Representation Unlearning for Large Language Models
- 2026Learning What to Forget: Improving LLM Unlearning via Learned Token-Level Importance
- 2025BLUR: A Benchmark for LLM Unlearning Robust to Forget-Retain Overlap
- 2025Model Unlearning via Sparse Autoencoder Subspace Guided Projections
- 2024Machine Unlearning of Pre-trained Large Language Models
- 2026SAU: Sparsity-Aware Unlearning for LLMs via Gradient Masking and Importance Redistribution
- 2026Confess What You Know: Forget-Set Misalignment with Model Knowledge in LLM Unlearning