mlsanityData to 14 Oct 2026

Memory as a Markov Matrix: Sample Efficient Knowledge Expansion via Token-to-Dictionary Mapping

arXiv 2605.04308 ↗First posted 5 May 2026cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Continual incorporation of new knowledge is essential for the long-term evolution of large language models (LLMs). Existing approaches typically rely on parameter-update algorithms to mitigate catastrophic forgetting, yet they suffer from fundamental limitations: 1) forgetting is unavoidable as the amount of newly injected knowledge grows; and 2) model updates are often irreversible. As modern LLMs become increasingly expressive, it is natural to question whether large-scale weight updates are necessary for acquiring a small amount of new knowledge. In this work, we propose a principled framework that models autoregressive language generation as a Markov process over tokens, where model memory is represented by a Markov transition matrix. Under this formulation, incorporating new knowledge/tokens corresponds to extending the state space, and preserving existing transitions guarantees retention of previously learned knowledge. We then prove a sample complexity bound for incorporating new tokens via a token-to-dictionary mapping strategy. In particular, for learning the transition behavior of each new token, the required number of samples scales linearly with the number of existing tokens it is mapped to. To realize this mapping, we propose an embedding-tuning algorithm that requires minimal parameter updates and induces zero forgetting. Experimental results further demonstrate the effectiveness of our method and validate our theoretical findings.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 38 of its 52 references that are in the map. First posted on arXiv 5 May 2026.

Builds on

38 of 52 references.

References · 38

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  3. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  4. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  5. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  7. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  8. 2017Gradient Episodic Memory for Continual Learningcited by 1,898
  9. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  10. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  11. 2018Efficient Lifelong Learning with A-GEMcited by 1,058
  12. 2020Beyond Accuracy: Behavioral Testing of NLP models with CheckListcited by 1,006
26 more
  1. 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 788
  2. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
  3. 2019On the Cross-lingual Transferability of Monolingual Representationscited by 578
  4. 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 445
  5. 2023Scaling Data-Constrained Language Modelscited by 403
  6. 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 234
  7. 2022The Carbon Footprint of Machine Learning Training Will Plateau, Then Shrinkcited by 184
  8. 2022Lifting the Curse of Multilinguality by Pre-training Modular Transformerscited by 146
  9. 2023Investigating the Catastrophic Forgetting in Multimodal Large Language Modelscited by 119
  10. 2024Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsalcited by 118
  11. 2024Model Editing at Scale leads to Gradual and Catastrophic Forgettingcited by 93
  12. 2025BREAD: Branched Rollouts from Expert Anchors Bridge SFT & RL for Reasoningcited by 63
  13. 2023Training Chain-of-Thought via Latent-Variable Inferencecited by 47
  14. 2023Improving Language Plasticity via Pretraining with Active Forgettingcited by 43
  15. 2024Large Language Models as Markov Chainscited by 35
  16. 2024From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformerscited by 34
  17. 2024Phi-3 Safety Post-Training: Aligning Language Models with a "Break-Fix" Cyclecited by 32
  18. 2025Metastable Dynamics of Chain-of-Thought Reasoning: Provable Benefits of Search, RL and Distillationcited by 25
  19. 2022Mini-Model Adaptation: Efficiently Extending Pretrained Models to New Languages via Aligned Shallow Trainingcited by 24
  20. 2024How Can We Effectively Expand the Vocabulary of LLMs with 0.01GB of Target Language Text?cited by 22
  21. 2025OPLoRA: Orthogonal Projection LoRA Prevents Catastrophic Forgetting during Parameter-Efficient Fine-Tuningcited by 21
  22. 2024MoFO: Momentum-Filtered Optimizer for Mitigating Forgetting in LLM Fine-Tuningcited by 14
  23. 2024Gold Panning in Vocabulary: An Adaptive Method for Vocabulary Expansion of Domain-Specific LLMscited by 12
  24. 2025SelfAug: Mitigating Catastrophic Forgetting in Retrieval-Augmented Generation via Distribution Self-Alignmentcited by 9
  25. 2025Catastrophic Forgetting in LLMs: A Comparative Analysis Across Language Taskscited by 8
  26. 2025Mitigating Catastrophic Forgetting in Target Language Adaptation of LLMs via Source-Shielded Updatescited by 4

Built on by

Not cited yet.