ARIA: Test-Time Machine Unlearning with Sparse AutoencodersTest-Time Unlearning via Sparse Autoencoder
Translation in progress — untranslated text is omitted.
The authors propose ARIA (autoencoder-gated inference-time unlearning), a test-time forgetting method that does not modify model weights, gating access to target knowledge only when generation enters a forgetting-related state. ARIA trains a lightweight linear detector on sparse autoencoder (SAE) latent variables, then applies an interpretable intervention to triggered states, with negligible test-time overhead. On TOFU, R-TOFU, and WMDP, ARIA improves the forgetting–retention trade-off on both the thinking model DeepSeek-R1-Distilled-Qwen-1.5B and the instruction model Gemma-3-1B-it, for example substantially reducing WMDP-cyber forgetting-set accuracy while MMLU stays within 1% of the pre-unlearning model.
- Machine unlearning aims to remove specific knowledge from LLMs without retraining from scratch. Weight-update-based methods face a trade-off between forgetting and utility, and forgotten content may reappear after fine-tuning or prompt attacks.
- ARIA turns forgetting into runtime access control on a frozen model: it trains a sparse linear detector on SAE features pretrained on general corpora, and only when generation enters a forgetting-related state intervenes the answer to a refusal; otherwise it follows the original model.
- On TOFU, R-TOFU, and WMDP-cyber, ARIA improves the forgetting–retention trade-off relative to GA, GD, NPO, and RMU. Both models achieve 0.00% WMDP-cyber forgetting accuracy; forgetting changes by less than 1% under three post-unlearning attacks. Feature-level case studies suggest some retention degradation may stem from answer style rather than target knowledge leakage.
- The authors note that guarantees depend on routing quality, evaluation is limited to two open-source models and TOFU, R-TOFU, WMDP-cyber, and that white-box removal of the detector can bypass it. Experiments cover these two models, four types of weight baselines, and repeated sampling, prompt attacks, and continued fine-tuning.