CodeUnlearn: Amortized Zero-Shot Machine Unlearning in Language Models Using Discrete Concept
On the map: LLM safety and security → Machine unlearning
Abstract (arXiv)
Large Language Models (LLMs) offer extensive knowledge across various domains, but they may inadvertently memorize sensitive, unauthorized, or malicious data, such as personal information in the medical and financial sectors. Machine unlearning methods aim to remove specific information from models after training to address this. However, current approaches require additional model training or struggle to effectively erase particular data points and their associated context due to LLMs' complex, dense, and continuous nature. In this study, we propose a novel amortized unlearning approach using codebook features and Sparse Autoencoders (SAEs). By leveraging a bottleneck to decompose the activation space and regulate information flow, our method efficiently unlearns targeted information while preserving the model's performance on unrelated data. To the best of our knowledge, this is the first work that successfully enables unlearning specific topics with contextual relevance in an LLM, marking a significant step towards real-world applications of machine unlearning.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Machine unlearning, one of 12 directions in LLM safety and security. Builds on 19 of its 31 references that are in the map. First posted on arXiv 8 Oct 2024.
Builds on
19 of 31 references.
Closest ancestors · 4
Same direction, newest first
- 2023Unlearning via Sparse Representations26 Nov
- 2022Deep Unlearning via Randomized Conditionally Independent Hessians15 Apr
- 2021Machine Unlearning of Features and Labels26 Aug
- 2021Remember What You Want to Forget: Algorithms for Machine Unlearning4 Mar
Other references · 15
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2017Neural Discrete Representation Learningcited by 4,712
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
- 2021BARTScore: Evaluating Generated Text as Text Generationcited by 722
- 2019Eternal Sunshine of the Spotless Net: Selective Forgetting in Deep Networkscited by 618
- 2019Certified Data Removal from Machine Learning Modelscited by 535
- 2019Making AI Forget You: Data Deletion in Machine Learningcited by 465
- 2016Linear Algebraic Structure of Word Senses, with Applications to Polysemycited by 165
- 2021Graph Unlearningcited by 138
- 2020Machine Unlearning for Random Forestscited by 131
- 2023Codebook Features: Sparse and Discrete Interpretability for Neural Networkscited by 48
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025A Survey on Unlearning in Large Language Modelscited by 4
- 2025A Survey on Unlearning in Large Language Models29 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026ZeroUnlearn: Few-Shot Knowledge Unlearning in Large Language Models
- 2025Sparse-Autoencoder-Guided Internal Representation Unlearning for Large Language Models
- 2025SoK: Machine Unlearning for Large Language Models
- 2026Unlearning in LLMs: Methods, Evaluation, and Open Challenges
- 2025A Comprehensive Survey of Machine Unlearning Techniques for Large Language Models
- 2025CRISP: Persistent Concept Unlearning via Sparse Autoencoders
- 2023In-Context Unlearning: Language Models as Few Shot Unlearners
- 2024The Frontier of Data Erasure: Machine Unlearning for Large Language Models