SIMU: Selective Influence Machine Unlearning
Anu Agarwal, Mihir Pamnani, Dilek Hakkani-Tur
TL;DR
The paper addresses memorization and safety concerns in autoregressive LLMs by modeling machine unlearning as removing influence from the forget-set $\mathcal{D}_f$ while preserving knowledge from the retain-set $\mathcal{D}_r$. It introduces SIMU, a two-step method that first identifies critical MLP neurons via attribution scores Att($w_l^k$) and a layer-wise mask with threshold $t$, then performs masked second-order fine-tuning using the Sophia optimizer to update only the critical neurons and attention projections. The approach yields a sparse, Newton-like update that minimizes Hessian approximation errors, thereby erasing the forget-set signal with minimal collateral damage to retained knowledge. Empirical results on TOFU and LUME with models like LLaMA2-7B and OLMo-1B show SIMU-GradDiff outperforms gradient-based baselines in utility while maintaining comparable forgetting, with larger gains on bigger models, highlighting practical impact for safe unlearning.
Abstract
The undesired memorization of sensitive information by Large Language Models (LLMs) has emphasized the need for safety mechanisms that can regulate model behavior. This has led to the development of machine unlearning techniques that enable models to precisely forget sensitive and unwanted information. For machine unlearning, first-order and second-order optimizer-based methods have shown significant progress in enabling LLMs to forget targeted information. However, in doing so, these approaches often compromise the model's original capabilities, resulting in unlearned models that struggle to retain their prior knowledge and overall utility. To address this, we propose Selective Influence Machine Unlearning (SIMU), a two-step framework that enhances second-order optimizer-based unlearning by selectively updating only the critical neurons responsible for encoding the forget-set. By constraining updates to these targeted neurons, SIMU achieves comparable unlearning efficacy while substantially outperforming current methods in retaining the model's original knowledge.
