Unlearning 追踪语言模型的有影响力训练数据
Unlearning Traces the Influential Training Data of Language Models
AI总结:
本文提出 UnTrac 与可扩展的 UnTrac-Inv,通过梯度上升反学习估计训练数据集对语言模型输出的影响,实验表明其比现有方法更准确且节省内存与检查点。
摘要:
识别影响语言模型输出的训练数据集,对于最大限度减少有害内容生成并提升其性能至关重要。理想情况下,我们可以通过从训练中移除某个数据集来衡量其影响;然而,多次重新训练模型的成本高得令人望而却步。本文提出了 UnTrac:通过反学习(unlearning)追踪训练数据集对模型性能的影响。UnTrac 极其简单;每个训练数据集都通过梯度上升进行反学习,随后评估反学习后模型预测发生了多大变化。此外,我们提出了一种更具可扩展性的方法 UnTrac-Inv,它对测试数据集进行反学习,并在训练数据集上评估反学习后的模型。UnTrac-Inv 与 UnTrac 相似,但在处理海量训练数据集时效率更高。在实验中,我们检验了所提方法能否评估预训练数据集对生成有毒、偏见和不真实内容的影响。与现有方法相比,我们的方法能更准确地估计这些影响,同时既不需要过多内存空间,也不需要多个检查点。
英文摘要:
Identifying the training datasets that influence a language model's outputs is essential for minimizing the generation of harmful content and enhancing its performance. Ideally, we can measure the influence of each dataset by removing it from training; however, it is prohibitively expensive to retrain a model multiple times. This paper presents UnTrac: unlearning traces the influence of a training dataset on the model's performance. UnTrac is extremely simple; each training dataset is unlearned by gradient ascent, and we evaluate how much the model's predictions change after unlearning. Furthermore, we propose a more scalable approach, UnTrac-Inv, which unlearns a test dataset and evaluates the unlearned model on training datasets. UnTrac-Inv resembles UnTrac, while being efficient for massive training datasets. In the experiments, we examine if our methods can assess the influence of pretraining datasets on generating toxic, biased, and untruthful content. Our methods estimate their influence much more accurately than existing methods while requiring neither excessive memory space nor multiple checkpoints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。