Abstract
Machine unlearning is essential for privacy and safety, yet current methods often cause "collateral damage" to unrelated model knowledge. We present UPCORE (Utility-Preserving Coreset Selection), a method-agnostic framework that identifies and prunes high-variance outliers from the forget set. By focusing unlearning on a compact "coreset," UPCORE minimizes unintentional forgetting while maintaining high efficacy through positive semantic transfer. Experiments across Counterfact and TriviaQA benchmarks demonstrate that UPCORE consistently improves the trade-off between forgetting and utility retention.
Introduction
Machine unlearning—the process of making a model "forget" specific data points—is becoming a legal and ethical necessity. Whether complying with the GDPR’s "right to be forgotten" or removing copyrighted content from Large Language Models (LLMs), developers need ways to delete information without degrading the rest of the model's performance. However, unlearning is often a blunt instrument; deleting one fact often causes "collateral damage," degrading performance on unrelated tasks.
The Challenge: Collateral Damage and Data Variance
Current machine unlearning methods, such as Gradient Ascent or Refusal training, often suffer from over-generalization. When a model is instructed to forget a specific set of facts, the optimization process often "leaks," causing the model to forget unrelated but structurally similar information.
Researchers at UNC Chapel Hill identified a key culprit: data variance. They found a strong negative correlation (-0.714) between the variance of the forget set's hidden states and the model's post-unlearning utility. High variance in the target data leads to high damage in the preserved data.
The UPCORE Framework
To address this, the authors propose UPCORE, a four-stage framework designed to optimize the trade-off between "forgetting efficacy" and "utility retention":
- Hidden Feature Extraction: Extracting hidden state representations from the model's penultimate layer for every point in the forget set.
- Outlier Detection: Utilizing an Isolation Forest to identify "anomalous" data points that contribute most to high variance in the hidden state space.
- Coreset Selection: Pruning these outliers (typically the top 10%) to leave behind a compact, low-variance "coreset."
- Balanced Unlearning: Applying the unlearning algorithm (e.g., Gradient Ascent, NPO) exclusively to this coreset.
Crucially, UPCORE is method-agnostic. It does not replace existing unlearning algorithms but rather improves the quality of the data they utilize.
Experimental Setup and Results
The authors evaluated UPCORE across the Counterfact and TriviaQA datasets. To measure collateral damage precisely, they used GPT-4o to generate "neighborhood" data—facts semantically related to the forget set that should remain preserved. They also introduced an AUC (Area Under the Curve) metric to evaluate the balance between forgetting and utility across the entire unlearning process.
Key Findings
- Superior Trade-offs: Across Gradient Ascent, Refusal, and NPO methods, UPCORE consistently outperformed baselines. On the Counterfact dataset, UPCORE improved the AUC trade-off metric by 3 to 7 points.
- Positive Collateral Transfer: Despite pruning 10% of the forget set, those points were still "forgotten by association" because they were semantically close to the coreset.
- Robustness: Models unlearned with UPCORE remained resistant to jailbreak attempts and paraphrased queries, suggesting the coreset captures the essential information to be removed.
Conclusion and Future Work
UPCORE demonstrates that "less is more" in machine unlearning. By pruning high-variance outliers, researchers can significantly reduce collateral damage to model utility. Future work may explore more sophisticated outlier detection methods and test UPCORE on non-factual tasks, such as removing linguistic biases or specific styles.
Reference: Patil, V., Stengel-Eskin, E., & Bansal, M. (2025). UPCORE: Utility-Preserving Coreset Selection for Balanced Unlearning. arXiv:2502.15082v2.
Summary updated