mlsanityData to 14 Oct 2026

Rote Learning Considered Useful: Generalizing over Memorized Data in LLMs

arXiv 2507.21914 ↗First posted 29 Jul 2025cs.CLcited by 5

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

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  4. 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
  5. 2020Extracting Training Data from Large Language Modelscited by 2,189
  6. 2019Language Models as Knowledge Bases?cited by 1,936
  7. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,443
  8. 2022Mass-Editing Memory in a Transformercited by 1,001
  9. 2019How Can We Know What Language Models Know?cited by 959
  10. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  11. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
  12. 2022Quantifying Memorization Across Neural Language Modelscited by 763
38 more
  1. 2024Phi-4 Technical Reportcited by 711
  2. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 672
  3. 2023An Empirical Study of Catastrophic Forgetting in Large Language Models During Continual Fine-tuningcited by 639
  4. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  5. 2023Prompt Injection attack against LLM-integrated Applicationscited by 605
  6. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 460
  7. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 452
  8. 2023The Reversal Curse: LLMs trained on "A is B" fail to learn "B is A"cited by 407
  9. 2023Editing Large Language Models: Problems, Methods, and Opportunitiescited by 372
  10. 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 246
  11. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
  12. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
  13. 2023Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMscited by 178
  14. 2023Sources of Hallucination by Large Language Models on Inference Taskscited by 169
  15. 2023Evaluating Correctness and Faithfulness of Instruction-Following Models for Question Answeringcited by 151
  16. 2023Understanding Catastrophic Forgetting in Language Models via Implicit Inferencecited by 144
  17. 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 143
  18. 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 122
  19. 2024On Memorization of Large Language Models in Logical Reasoningcited by 117
  20. 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107
  21. 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 94
  22. 2024How Do Large Language Models Acquire Factual Knowledge During Pretraining?cited by 90
  23. 2024Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Datacited by 85
  24. 2020ERICA: Improving Entity and Relation Understanding for Pre-trained Language Models via Contrastive Learningcited by 72
  25. 2025How much do language models memorize?cited by 61
  26. 2022Can Large Language Models Truly Understand Prompts? A Case Study with Negated Promptscited by 59
  27. 2023On Early Detection of Hallucinations in Factual Question Answeringcited by 56
  28. 2024Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledgecited by 50
  29. 2024Reverse Training to Nurse the Reversal Cursecited by 49
  30. 2025How do language models learn facts? Dynamics, curricula and hallucinationscited by 37
  31. 2022Prompt Injection: Parameterization of Fixed Inputscited by 36
  32. 2023Halo: Estimation and Reduction of Hallucinations in Open-Source Weak Large Language Modelscited by 36
  33. 2024Scaling Laws for Fact Memorization of Large Language Modelscited by 33
  34. 2024Understanding Finetuning for Factual Knowledge Extractioncited by 32
  35. 2024Undesirable Memorization in Large Language Models: A Surveycited by 29
  36. 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
  37. 2024The Pitfalls of Memorization: When Memorization Hurts Generalizationcited by 19
  38. 2024Quantifying Generalization Complexity for Large Language Modelscited by 18

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.