What Will My Model Forget? Forecasting Forgotten Examples in Language Model Refinement
Xisen Jin, Xiang Ren
TL;DR
The work tackles forgetting during language model refinement and introduces forecasting of forgotten upstream examples to guide efficient replay. It uncovers logit-change transfer as a mechanism by which updating on a new example can flip the predictions of upstream pretraining instances, and proposes two forecasting paradigms: a partially interpretable logit-change-based model and a black-box representation-based model. The methods enable targeted replay of remembered-forgotten pairs to reduce forgetting, with representation-based forecasting showing robust performance across models and tasks, while logit-based forecasting excels in certain architectures like BART0. The study demonstrates practical gains in continual refinement, improved controllability, and potential for generalization to multi-step error fixing and out-of-domain settings. It also discusses computational efficiency, showing forecasting can be far cheaper than full-ground-truth forgetting inference, enabling scalable application in real-world model updates.
Abstract
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.
