Skip to content

A closer look at machine unlearning for large language modelsA Closer Look at Machine Unlearning for Large Language Models

arXiv· arXiv:2410.08109· ICLR 2025· Xiaojian Yuan, Tianyu Pang, Chao Du, Kejiang Chen, Weiming Zhang, Min Lin·Indexed by this site · 27 days ago· Originally publishedDefenses
AI summary

In the paper, the researchers examine machine unlearning for large language models (LLMs), that is, attempts to remove sensitive or copyrighted content memorized by a model while maintaining overall performance, because retraining from scratch is costly. Addressing the insufficient evaluation of model outputs after unlearning, the paper introduces three metrics evaluating token diversity, sentence semantics and factual correctness, and divides unlearning methods into non-targeted and targeted categories, pointing out that the behavior that non-targeted unlearning attempts to approximate is unpredictable and may produce hallucinations, and that existing regularization is also insufficient for targeted unlearning. The authors propose using entropy maximization (ME) as the objective to handle non-targeted unlearning, and adding an answer preservation (AP) loss as regularization for targeted unlearning, verifying the method's effectiveness in experiments on three scenarios: confabulation unlearning, continual unlearning and real-world unlearning. The code is open-sourced at https://github.com/sail-sg/closer-look-LLM-unlearning。

Read originalICLR 2025