arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.01865cs.LGcs.CLstat.ML
收藏

我的模型会忘记什么?预测语言模型优化中的遗忘样本

What Will My Model Forget? Forecasting Forgotten Examples in Language Model Refinement

University of Southern California(南加州大学)

Xisen Jin, Xiang Ren

AI总结:

针对语言模型更新时的灾难性遗忘问题,提出预测因更新被遗忘的上游样本的方法,通过训练预测模型并基于样本表示内积的黑箱分类器提升预测性能,重放预测遗忘样本可减少遗忘,提高重放可控性与可解释性。

摘要:

实际部署的语言模型会出错。但仅用纠正后的错误样本更新模型会导致灾难性遗忘——更新后的模型在指令微调或上游训练阶段学习过的样本上出错。随机重放上游数据的性能不佳,且往往方差大、可控性差。为此,我们尝试预测因模型更新而被遗忘的上游样本,以提高重放过程的可控性和可解释性。我们利用一组在线学习样本及对应的被遗忘上游预训练样本训练预测模型。基于预训练样本的softmax前对数概率得分变化与在线学习样本相似的观察,我们提出一种部分可解释的预测模型,该模型在BART上表现良好,但在T5模型上效果不佳。我们进一步表明,基于样本表示内积的黑箱分类器在一系列设置中取得了更好的预测性能。最后,我们通过重放预测会被遗忘的样本来减少上游预训练样本的遗忘,证明了预测样本遗忘的实际效用。

英文摘要:

Language models deployed in the wild make errors. However, simply updating the model with the corrected error instances causes catastrophic forgetting -- the updated model makes errors on instances learned during the instruction tuning or upstream training phase. Randomly replaying upstream data yields unsatisfactory performance and often comes with high variance and poor controllability. To this end, we try to forecast upstream examples that will be forgotten due to a model update for improved controllability of the replay process and interpretability. We train forecasting models given a collection of online learned examples and corresponding forgotten upstream pre-training examples. We propose a partially interpretable forecasting model based on the observation that changes in pre-softmax logit scores of pretraining examples resemble that of online learned examples, which performs decently on BART but fails on T5 models. We further show a black-box classifier based on inner products of example representations achieves better forecasting performance over a series of setups. Finally, we show that we reduce forgetting of upstream pretraining examples by replaying examples that are forecasted to be forgotten, demonstrating the practical utility of forecasting example forgetting.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑