cs.LGApr 11, 2025

SAEs Can Improve Unlearning: Dynamic Sparse Autoencoder Guardrails for Precision Unlearning in LLMs

Authors: Aashiq Muhamed, Jacopo Bonato, Mona Diab, Virginia Smith

Organizations: Carnegie Mellon University · Prometeia S.p.A.

Abstract

Machine unlearning is a promising approach to improve LLM safety by removing unwanted knowledge from the model. However, prevailing gradient-based unlearning methods suffer from issues such as high computational costs, hyperparameter instability, poor sequential unlearning capability, vulnerability to relearning attacks, low data efficiency, and lack of interpretability. While Sparse Autoencoders are well-suited to improve these aspects by enabling targeted activation-based unlearning, prior approaches underperform gradient-based methods. This work demonstrates that, contrary to these earlier findings, SAEs can significantly improve unlearning when employed dynamically. We introduce Dynamic DAE Guardrails\textbf{Dynamic DAE Guardrails} (DSG), a novel method for precision unlearning that leverages principled feature selection and a dynamic classifier. Our experiments show DSG substantially outperforms leading unlearning methods, achieving superior forget-utility trade-offs. DSG addresses key drawbacks of gradient-based approaches for unlearning -- offering enhanced computational efficiency and stability, robust performance in sequential unlearning, stronger resistance to relearning attacks, better data efficiency including zero-shot settings, and more interpretable unlearning.

Figures & tables

Appendix figures & tables20 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SAUL: Sharpness-Aware Augmented-Lagrangian Unlearning

    Aug 17, 2026Jaewan Choi, Junyoung Yang, Sangdon ParkMachine UnlearningLLM Unlearning

  2. SAGE: Retain-Aware Post-Hoc Sanitization of Final Unlearning Vector

    Jun 16, 2026Jingyuan Zhang, Yucheng Bai, Peixi Wen +6Machine UnlearningLLM Unlearning

  3. Test-Time Unlearning via Sparse Autoencoder

    Sep 14, 2026Pingzhi Li, Jinhao Duan, Vaishnav Tadiparthi +6Machine UnlearningLLM Unlearning