Rote Learning Considered Useful: Generalizing over Memorized Data in LLMs
Not on the map. Why?
Abstract (arXiv)
Rote learning is a memorization technique based on repetition. Many researchers argue that rote learning hinders generalization because it encourages verbatim memorization rather than deeper understanding. This concern extends even to factual knowledge, which inevitably requires a certain degree of memorization. In this work, we challenge this view and demonstrate that large language models (LLMs) can, in fact, generalize over rote memorized data. We introduce a two-phase "memorize-then-generalize" framework, where the model first rote memorizes factual subject-object associations using a synthetic semantically meaningless key token and then learns to generalize by fine-tuning on a small set of semantically meaningful prompts. Extensive experiments over 8 LLMs show that the models can reinterpret rote memorized data through the semantically meaningful prompts, as evidenced by the emergence of structured, semantically aligned latent representations between the key token and the semantically meaningful prompts. This surprising finding opens the door to both effective and efficient knowledge injection as well as possible risks of repurposing the memorized data for malicious usage.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 60 of its 80 references that are in the map. First posted on arXiv 29 Jul 2025.
Builds on
60 of 80 references.
References · 60
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2019Language Models as Knowledge Bases?cited by 1,936
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
- 2022Mass-Editing Memory in a Transformercited by 1,001
- 2019How Can We Know What Language Models Know?cited by 959
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
38 more
- 2024Phi-4 Technical Reportcited by 711
- 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 672
- 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
- 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
- 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 372
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 246
- 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
- 2023Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMscited by 178
- 2023Sources of Hallucination by Large Language Models on Inference Taskscited by 169
- 2023Evaluating Correctness and Faithfulness of Instruction-Following Models for Question Answeringcited by 151
- 2023Understanding Catastrophic Forgetting in Language Models via Implicit Inferencecited by 144
- 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 143
- 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 122
- 2024On Memorization of Large Language Models in Logical Reasoningcited by 117
- 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107
- 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 94
- 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 90
- 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
- 2020ERICA: Improving Entity and Relation Understanding for Pre-trained Language Models via Contrastive Learningcited by 72
- 2025How much do language models memorize?cited by 61
- 2022Can Large Language Models Truly Understand Prompts? A Case Study with Negated Promptscited by 59
- 2023On Early Detection of Hallucinations in Factual Question Answeringcited by 56
- 2024Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledgecited by 50
- 2024Reverse Training to Nurse the Reversal Cursecited by 49
- 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 37
- 2022Prompt Injection: Parameterization of Fixed Inputscited by 36
- 2023Halo: Estimation and Reduction of Hallucinations in Open-Source Weak Large Language Modelscited by 36
- 2024Scaling Laws for Fact Memorization of Large Language Modelscited by 33
- 2024Understanding Finetuning for Factual Knowledge Extractioncited by 32
- 2024Undesirable Memorization in Large Language Models: A Surveycited by 29
- 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
- 2024The Pitfalls of Memorization: When Memorization Hurts Generalizationcited by 19
- 2024Quantifying Generalization Complexity for Large Language Modelscited by 18
50 most cited of 60 All 60 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025From Memorization to Generalization: Fine-Tuning Large Language Models for Biomedical Term-to-Identifier Normalizationcited by 1
- 2026Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansioncited by 1
- 2026Memorization, Emergence, and Explaining Reversal Failures: A Controlled Study of Relational Semantics in LLMscited by 0
- 2026Latent Knowledge as a Predictor of Fact Acquisition in Fine-Tuned Large Language Modelscited by 0
- 2026Autolearn: Learn by Surprise, Commit by Proofcited by 0
- 2026Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansion21 May 2026
- 2026Autolearn: Learn by Surprise, Commit by Proof2 Apr 2026
- 2026Latent Knowledge as a Predictor of Fact Acquisition in Fine-Tuned Large Language Models26 Jan 2026
- 2026Memorization, Emergence, and Explaining Reversal Failures: A Controlled Study of Relational Semantics in LLMs6 Jan 2026
- 2025From Memorization to Generalization: Fine-Tuning Large Language Models for Biomedical Term-to-Identifier Normalization21 Oct 2025