A Neuro-inspired Interpretation of Unlearning in Large Language Models through Sample-level Unlearning Difficulty
Xiaohua Feng, Yuyuan Li, Chengye Wang, Junlin Liu, Li Zhang, Chaochao Chen
TL;DR
This work tackles the challenge of unlearning in Large Language Models by introducing Memory Removal Difficulty (MRD), a neuro-inspired, sample-level metric that quantifies how hard individual data samples are to forget under small parameter perturbations. MRD connects unlearning difficulty to local curvature via the Hessian, enabling a principled analysis of why some samples resist unlearning more than others. Building on MRD, the authors propose a curriculum-style, MRD-based weighted sampling method (CGA) that prioritizes easier-to-forget samples, improving both unlearning completeness and model utility while reducing computational burden. Extensive experiments across TOFU, WMDP, WHP, and SAFE demonstrate that MRD correlates with the required updates and that MRD-guided sampling yields meaningful gains over existing baselines. Overall, MRD offers a robust, interpretable lens for evaluating and improving LLM unlearning, with practical implications for privacy compliance and safer model deployments.
Abstract
Driven by privacy protection laws and regulations, unlearning in Large Language Models (LLMs) is gaining increasing attention. However, current research often neglects the interpretability of the unlearning process, particularly concerning sample-level unlearning difficulty. Existing studies typically assume a uniform unlearning difficulty across samples. This simplification risks attributing the performance of unlearning algorithms to sample selection rather than the algorithm's design, potentially steering the development of LLM unlearning in the wrong direction. Thus, we investigate the relationship between LLM unlearning and sample characteristics, with a focus on unlearning difficulty. Drawing inspiration from neuroscience, we propose a Memory Removal Difficulty ($\mathrm{MRD}$) metric to quantify sample-level unlearning difficulty. Using $\mathrm{MRD}$, we analyze the characteristics of hard-to-unlearn versus easy-to-unlearn samples. Furthermore, we propose an $\mathrm{MRD}$-based weighted sampling method to optimize existing unlearning algorithms, which prioritizes easily forgettable samples, thereby improving unlearning efficiency and effectiveness. We validate the proposed metric and method using public benchmarks and datasets, with results confirming its effectiveness.
