mlsanityData to 24 Nov 2026

Internalized Experience: How Training Data Shapes Memory Formation in LLMs

arXiv 2611.28613 ↗Submitted 21 Nov 2026Announced 24 Nov 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Parametric memory enables large language models (LLMs) to retain information from past experience and reuse it in subsequent tasks. Yet how training data supports the internalization of reusable task rules remains unclear. We introduce FSMem (Finite-State Machine Memory), a state-transition framework for constructing training data and studying how data content and organization shape memory formation. We evaluate rule reuse across synthetic worlds, classical planning, and code execution through valid-action identification and execution-outcome prediction, complemented by next-operation prediction in code. Our experiments reveal several systematic learning patterns. Under matched training conditions, even unchanged task rules become harder to internalize when learned alongside a larger variety of action types; by contrast, scaling the training data to provide broader state-action coverage generally improves rule learning. We further find that training at a single execution depth produces depth-specialized behavior, with models performing best when training and test executions have similar lengths. Motivated by this finding, we construct cumulative corpora that combine short and long trajectories, which can outperform long-trajectory-only training while using fewer training tokens. Together, these results demonstrate that the same task rules can be internalized differently depending on how execution experience is constructed, and that understanding these learning patterns can guide the design of more effective training data for parametric memory.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 42 of its 47 references that are in the map. Submitted 21 Nov 2026, announced 24 Nov 2026.

Builds on

42 of 47 references.

References · 42

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 15,591
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,866
  3. 2025Qwen3 Technical Reportcited by 9,994
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
  5. 2022Locating and Editing Factual Associations in GPTcited by 2,951
  6. 2019Language Models as Knowledge Bases?cited by 1,987
  7. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,424
  8. 2022Mass-Editing Memory in a Transformercited by 1,110
  9. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 934
  10. 2022Quantifying Memorization Across Neural Language Modelscited by 810
  11. 2021Deduplicating Training Data Makes Language Models Bettercited by 762
  12. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 738
30 more
  1. 2021Knowledge Neurons in Pretrained Transformerscited by 635
  2. 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 630
  3. 2021Editing Factual Knowledge in Language Modelscited by 581
  4. 2021Fast Model Editing at Scalecited by 543
  5. 2024Titans: Learning to Memorize at Test Timecited by 383
  6. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 299
  7. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 297
  8. 2024AlphaEdit: Null-Space Constrained Knowledge Editing for Language Modelscited by 272
  9. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 228
  10. 2022Exploring Length Generalization in Large Language Modelscited by 219
  11. 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 219
  12. 2023Transformer-Patcher: One Mistake worth One Neuroncited by 207
  13. 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 167
  14. 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 158
  15. 2019Large Memory Layers with Product Keyscited by 134
  16. 2024WISE: Rethinking the Knowledge Memory for Lifelong Model Editing of Large Language Modelscited by 107
  17. 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 105
  18. 2023MemoChat: Tuning LLMs to Use Memos for Consistent Long-Range Open-Domain Conversationcited by 103
  19. 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 102
  20. 2022Calibrating Factual Knowledge in Pretrained Language Modelscited by 96
  21. 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 90
  22. 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 65
  23. 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Predictioncited by 61
  24. 2024ACPBench: Reasoning about Action, Change, and Planningcited by 46
  25. 2026SHINE: A Scalable In-Context Hypernetwork for Mapping Context to LoRA in a Single Passcited by 39
  26. 2025MLP Memory: A Retriever-Pretrained Memory for Large Language Modelscited by 25
  27. 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 19
  28. 2026Language Models Need Sleep: Learning to Self-Modify and Consolidate Memoriescited by 12
  29. 2026How LoRA Remembers? A Parametric Memory Law for LLM Finetuningcited by 8
  30. 2026Cram Less to Fit More: Training Data Pruning Improves Memorization of Factscited by 5

Built on by

Not cited yet.