A Deafening Silence: Catastrophic Forgetting Lives in the Output Embeddings of Tokens the Data Never Speaks
Abstract
Continual pre-training and fine-tuning in Large Language Models (LLMs) inevitably induce catastrophic forgetting, typically mitigated by replay using often-inaccessible original data. In this data-free regime, we analyze where forgetting occurs and why. Systematic parameter freezing across five settings up to 1.4B reveals that forgetting concentrates selectively in the output embeddings of tokens rarely seen in the new corpus, whereas the same sqrt(v-hat) band of the body is inert and new learning resides elsewhere. This localization is governed by the vocabulary deficiency of the corpus rather than the training mode, allowing pre-retraining risk ranking from token counts alone within a fixed base model. Mechanistically, absent tokens receive persistent one-sided softmax gradients that Adam's second-moment (sqrt(v-hat)) normalization amplifies into full-sized updates. We therefore propose an intervention: raising Adam's epsilon exclusively for the output projection during training. Across eight settings spanning 160M to 12B parameters and four model families, this removes 39.4% to 67.9% of forgetting across all seven stable configurations without degrading target learning or requiring per-model tuning. The defense combines additively or better with replay (79.8% on Qwen/Korean) and rescues released-head LoRA from a 23-fold forgetting surge. Because post-hoc editing of the drifted rows recovers under 5% of forgetting, the intervention must operate during training. Our findings indicate that a single-line optimizer adjustment may serve as the primary defense against catastrophic forgetting where the corpus starves the vocabulary.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
Related papers
Activating the Annotator: Operationalising Lived Experience in Data Annotation
Shared title terminologycs.CLSheza Munir, Ramaravind Kommiya Mothilal, Syed Ishtiaque Ahmed
When Forgetting is not Catastrophic: On the Mechanics of Spurious Forgetting
Shared title terminologycs.CLVedant Palit, Florent Draye, Nicolas Zucchet et al.
MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance
Shared title terminologycs.CLTruong Phan, Ngoc-Quan Pham, Dat Quoc Nguyen
From Data Room to Report: End-to-End AI Support for M&A Legal Due Diligence
Shared title terminologycs.CLJohannes R. Hübers, Daniel Uedelhoven, Manuela Bergau et al.
Sports Agent: A Self-Evolving System for Conversational Data Analytics
Shared title terminologycs.CLChao Chen, Fuqi Lin, Ze Chen et al.
Verifiable but Not Predictable: What Sentence Embeddings Know About Propositional Decomposition
Shared title terminologycs.CLQingan Li, Tianxiao Wu, Xiling Cui