Abstract
Machine unlearning aims to remove specific training data from Large Language Models (LLMs) to address privacy and copyright concerns without the prohibitive cost of full retraining. However, this process is not uniform across all data types. This study demonstrates that the frequency of information in the pre-training corpus is a primary factor in unlearning resistance. Through synthetic experiments and real-world evaluations on OLMo-7B, we show that high-frequency knowledge is significantly harder to erase and that larger models exhibit greater "stubbornness" in retaining well-ingrained information. Our findings suggest that unlearning benchmarks must account for data exposure frequency to ensure robust evaluation.
Introduction
As LLMs become increasingly integrated into society, they inevitably memorize sensitive information ranging from personally identifiable information (PII) to copyrighted material. Machine unlearning has emerged as a vital technical solution to remove this data. However, most existing research operates under a flawed assumption: that all data points are created equal. This paper argues that the frequency of information in the original training set is a primary factor in how successful unlearning actually is. Information that appears frequently is deeply embedded in the model's parameters, making it far more difficult to remove than rare data points.
Methodology
The researchers investigated unlearning through two distinct lenses:
- Controlled Synthetic Experiments: GPT-2 models (ranging from 20M to 210M parameters) were trained from scratch on a dataset of fictitious biographies. By up-sampling certain biographies by 10x, they created "high-count" and "low-count" knowledge groups to test their hypothesis.
- Real-World Scenarios: Unlearning was applied to OLMo-7B, a state-of-the-art open-source model. The infinigram framework was used to count co-occurrences of specific entity pairs (e.g., "China" and "Beijing") in the model's 3-trillion-token training corpus (Dolma).
The study evaluated three optimization-based unlearning methods: Gradient Ascent, SIMNPO (a preference optimization variant), and Refusal Training. To stabilize the process, the authors introduced a modified loss function with regularization on question tokens, preventing the collapse of general model utility.
Key Insights
The Frequency Trap and Scale Effects
High-frequency knowledge is significantly harder to erase. Even when a model stops answering a question correctly (generative unlearning), it often still assigns a high probability to the "forgotten" answer (probabilistic retention). Furthermore, as models increase in size, they become better at "hiding" knowledge—suppressing the ability to generate specific facts while preserving the underlying information in their parameters.
The Illusion of Forgetting
There is a major misalignment between evaluation metrics. A model might pass a text-based test (like Rouge-L), appearing to have forgotten the data, but fail a probabilistic test. This suggests the knowledge is still buried in the weights, merely suppressed rather than removed. In many cases, while generative ability dropped to near zero, the model's probabilistic "belief" in a fact remained above 99% for high-frequency data.
Results
In synthetic tests, even after QA accuracy dropped below 20% for both groups in a 20M parameter model, "high-count" biographies retained 20% more accuracy in biography completion tasks than the "low-count" group. Real-world findings on OLMo-7B confirmed that low-count instances were forgotten faster and more efficiently across both generative and probabilistic evaluations.
Conclusion
The study highlights that unlearning is not a one-size-fits-all operation. Future research should prioritize:
- Data-Dependent Unlearning: Algorithms should account for training frequency, using more aggressive techniques for "stubborn" high-frequency data.
- Holistic Evaluation: Researchers must use both generative and probabilistic metrics to ensure data is truly removed rather than just suppressed.
- Transparent Benchmarks: New benchmarks are needed where training data frequency is fully transparent to allow for more accurate assessment of unlearning efficacy.
Summary updated