An optimizer change slows forgetting during adaptation
A Deafening Silence: Catastrophic Forgetting Lives in the Output Embeddings of Tokens the Data Never Speaks · arXiv:2610.09835
In plain words
When a language model learns from new material, it can become worse at older subjects. Keeping examples from its original training helps, but those examples may be unavailable.
This paper introduces a small change to the training optimizer that slows updates to output word representations that the new material rarely uses.
In replay-free Korean training, the change reduced losses on older evaluation material compared with the same training without it, across seven stable model settings. The result is limited to the settings tested.
The research
When a language model learns from a new corpus, it can become worse at older subjects. Replay can help preserve them, but it requires the original training data, which may not be available. The paper asks whether adaptation can limit those losses without access to that data.
The method raises AdamW’s epsilon only for output token embeddings during training, damping their drift without access to the original data.
The researchers changed one optimizer setting during Korean adaptation: they increased AdamW’s epsilon only for the output projection, which produces scores for the next token. The change slows updates to output token embeddings that the new corpus rarely uses.
Compared with matched training runs without the change, the average increase in old-domain validation loss fell by 39.4%–67.9% across seven stable settings. This supports the adjustment for the tested settings; it does not show that every earlier capability is fully preserved.
The main result covers seven stable settings in an eight-setting grid. The excluded Pythia-160M peak-rate run collapsed; in a six-seed check at Pythia-410M, target learning fell by 7.0%, within the reference runs’ 18.9% spread. The aggregate does not describe every run.
What the evidence shows
- Adapt without original data
The paper’s method changes training for a specific problem: adapting a pretrained language model when its original training data is unavailable, while limiting losses on older domains. The authors focus on output token embeddings that are rarely targets in the new corpus.
Their account is that these embeddings can drift even when the new data seldom uses them as targets.
- Find where forgetting occurs
The authors first froze parameter groups during Korean adaptation to test where updates contribute to forgetting. In five stable settings, freezing the lowest second-moment output coordinates reduced forgetting by 31.3%–51.0% relative to corresponding runs without freezing, while target learning changed by +0.1% to +5.2%.
Freezing corresponding input coordinates had negligible effect in four untied settings. This points to output coordinates as a consequential location in these tests.
- Check the parameter location
A control tested whether freezing many parameters, regardless of location, explained the result. When the researchers froze an equal parameter mass in the body, forgetting fell by 0.4%–12.3% across five stable settings, compared with 31.3%–51.0% for output coordinates.
The contrast supports the interpretation that the location of the frozen parameters matters, though the freezing grid covered six settings and excluded the collapsed Pythia-160M peak-rate run from these ranges.
- Rank risk before retraining
The authors calculated vocabulary deficiency before retraining: the fraction of old-domain evaluation token positions whose target appeared fewer than 1,000 times in the new corpus. Across math, code, and Korean injections, it ranked reference-run forgetting correctly within each of three models.
This is evidence for a within-model ranking signal, not a prediction of absolute forgetting across models; the injections used different evaluation pools and their own selected peak learning rates.
- Test and bound the adjustment
The proposed method raises AdamW’s epsilon only for the output projection during training. In replay-free Korean adaptation, it reduced the average increase in old-domain validation loss by 39.4%–67.9% relative to corresponding reference runs across seven stable settings.
The eighth setting’s peak-rate run collapsed and is excluded from that range. In-distribution Alpaca tests also showed that the important parameter location can shift to the body, where one of two tested models paid a learning cost.
Deep
- Original paper authors
- Jonghyun Han, Younghoon Song, Jongyoul Park
- Submitted to arXiv
- License
- arXiv non-exclusive