UPCORE: Utility-Preserving Coreset Selection for Balanced Unlearning
UPCORE通过选择性地修剪数据集以减少方差,从而在从大型语言模型中移除信息的同时保持模型性能。
更新于 2025-02-24。作者:Vaidehi Patil、Elias Stengel-Eskin、Mohit Bansal。
中文摘要
用户规范或法律框架通常要求从预训练模型中移除信息,包括大型语言模型(LLM)。这需要从已训练模型中删除或“遗忘”一组数据点,这通常会导致模型在其他数据点上的性能下降。因此,在移除信息和保持模型其他能力之间必须取得平衡,如果不能平衡这种权衡,可能会导致删除效果不佳或模型无法使用。为此,我们提出了UPCORE(Utility-Preserving Coreset Selection),这是一种方法无关的数据选择框架,用于在反学习过程中减轻附带损害。我们发现模型损害与模型在遗忘集上的表示方差相关,因此我们选择性地修剪遗忘集以去除异常值,从而在反学习后最小化模型退化。我们在三种标准的反学习方法上评估了UPCORE,它始终在删除效果和模型保留之间的竞争目标之间取得优越的平衡。为了更好地评估这种权衡,我们引入了一个新指标,该指标测量标准指标下的曲线下面积(AUC)。我们发现UPCORE改进了标准指标和AUC,得益于核心集和修剪点之间的正迁移,同时减少了从遗忘集到其外部点的负迁移。
英文摘要
User specifications or legal frameworks often require information to be removed from pretrained models, including large language models (LLMs). This requires deleting or "forgetting" a set of data points from an already-trained model, which typically degrades its performance on other data points. Thus, a balance must be struck between removing information and keeping the model's other abilities intact, with a failure to balance this trade-off leading to poor deletion or an unusable model. To this end, we propose UPCORE (Utility-Preserving Coreset Selection), a method-agnostic data selection framework for mitigating collateral damage during unlearning. Finding that the model damage is correlated with the variance of the model's representations on the forget set, we selectively prune the forget set to remove outliers, thereby minimizing model degradation after unlearning. We evaluate UPCORE across three standard unlearning methods consistently achieving a superior balance between the competing objectives of deletion efficacy and model preservation. To better evaluate this trade-off, we introduce a new metric, measuring the area-under-the-curve (AUC) across standard metrics. We find that UPCORE improves both standard metrics and AUC, benefitting from positive transfer between the coreset and pruned points while reducing negative transfer from the forget set to points outside of it.
解读
一句话总结
UPCORE通过选择性地修剪数据集以减少方差,从而在从大型语言模型中移除信息的同时保持模型性能。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:随着大型语言模型(LLMs)的广泛应用,删除特定数据或主题的需求变得日益迫切。然而,现有的机器学习方法在移除信息时往往会导致模型性能的下降。
- 现有方案不足:现有的机器学习方法在删除信息时往往会导致模型性能的下降,同时保持模型其他能力 intact 的平衡被打破。
- 研究目标:提出一种名为UPCORE的方法,以减轻在学习过程中对模型的附带损害,同时保持删除信息的有效性。
问题2:论文的核心创新点是什么?
- 技术创新:提出了一种名为UPCORE的方法,通过识别和修剪数据集中的异常点来减少方差,从而降低模型的附带损害。
- 方法改进:UPCORE使用隔离森林算法来识别异常点,并将其从数据集中移除,以形成核心遗忘集。
- 优势:与现有方法相比,UPCORE在保持删除信息有效性的同时,最大限度地减少了模型性能的下降。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在多个数据集和三种标准的学习方法(梯度上升、拒绝和负偏好优化)上评估了UPCORE。
- 性能提升:UPCORE在删除有效性和模型保留方面都取得了显著的提升。
- 对比结果:与基线方法相比,UPCORE在多个指标上实现了更好的性能,包括ROUGE得分、模型效用和AUC。
问题4:这个研究的实际应用价值是什么?
- 应用场景:UPCORE适用于需要从LLMs中删除敏感信息或特定主题的实际情况。
- 实施建议:UPCORE可以与任何数据驱动的学习方法结合使用,以实现更有效的信息删除。
- 局限与展望:尽管UPCORE在实验中表现出色,但未来研究可以探索其在更大规模数据集和更复杂场景中的应用。