mlsanityData to 14 Oct 2026

Representation Drift in Continual Learning: LoRA versus N-gram Memory

arXiv 2610.14921 ↗First posted 10 Oct 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

A language model that keeps learning online must not slowly erode its own base capabilities. We ask which part of a modern LLM should absorb continual updates, by measuring how each choice changes the model's internal representations. On a 48-layer mixture-of-experts model with a native pretrained N-gram memory, we train a seven-task chain under three update mechanisms with identical data and budgets: updating only the N-gram memory table, continually training one shared LoRA adapter, and training a fresh LoRA per task that is merged into the backbone. We capture fixed-context representations at every layer and task boundary. Updating only the N-gram memory changes the base model's representations of general math and code inputs by 26%/15% (relative RMS), against 64%/35% for merged and 97%/39% for shared LoRA. This drift does not grow with the number of tasks: it reaches 25% after the first task and stays there for all seven, while both LoRA variants keep accumulating. Its generic behaviour is essentially unchanged (no code problem lost, math NLL -0.01), and every change is confined to inspectable, reversible table rows. The cost appears elsewhere: N-gram memory acquires new tasks more weakly and its stored tasks interfere with one another, losing as much old-task NLL as shared LoRA. We show that this forgetting is governed by drift on the learned tasks' own inputs, measured from the checkpoint at which each was learned, not by generic drift (Spearman rho=0.85; rho=0.71 on Llama-3-8B), and we derive the exact relations behind it: with a frozen head, every pairwise logit margin changes by the projection of drift onto a head-difference direction. These results support a design principle for long-running online learning: write new knowledge only into the memory table and keep the backbone fixed; the remaining problem, interference between stored tasks, then lies inside the memory.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 24 of its 29 references that are in the map. First posted on arXiv 10 Oct 2026.

Builds on

24 of 29 references.

References · 24

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  4. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  5. 2023Let's Verify Step by Stepcited by 3,789
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  7. 2019Similarity of Neural Network Representations Revisitedcited by 1,755
  8. 2022Editing Models with Task Arithmeticcited by 1,120
  9. 2022Mass-Editing Memory in a Transformercited by 1,001
  10. 2017Spectrally-normalized margin bounds for neural networkscited by 686
  11. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
  12. 2019Orthogonal Gradient Descent for Continual Learningcited by 369
12 more
  1. 2024LoRA Learns Less and Forgets Lesscited by 328
  2. 2023Orthogonal Subspace Learning for Language Model Continual Learningcited by 312
  3. 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 236
  4. 2024InfLoRA: Interference-Free Low-Rank Adaptation for Continual Learningcited by 198
  5. 2025RL's Razor: Why Online Reinforcement Learning Forgets Lesscited by 176
  6. 2020Anatomy of Catastrophic Forgetting: Hidden Representations and Task Semanticscited by 161
  7. 2021Training Networks in Null Space of Feature Covariance for Continual Learningcited by 143
  8. 2019Large Memory Layers with Product Keyscited by 124
  9. 2022Probing Representation Forgetting in Supervised and Unsupervised Continual Learningcited by 76
  10. 2024Memory Layers at Scalecited by 48
  11. 2026On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stabilitycited by 35
  12. 2025Continual Learning via Sparse Memory Finetuningcited by 20

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026When Does Continual Learning Require Learning
  2. 2025RECALL: REpresentation-aligned Catastrophic-forgetting ALLeviation via Hierarchical Model Merging
  3. 2026Representation Collapse in Sequential Post-Training of Large Language Models
  4. 2026Can a Language Model Learn Facts Continually in Its Weights?
  5. 2025In-Context Learning can Perform Continual Learning Like Humans
  6. 2024Towards Practical Tool Usage for Continually Learning LLMs
  7. 2024Examining Forgetting in Continual Pre-training of Aligned Large Language Models
  8. 2026Time-Incremental Continued Pretraining of LLMs: Knowledge Updates Without Catastrophic Forgetting