mlsanityData to 14 Oct 2026

Slower Generalization, Faster Memorization: A Sweet Spot in Algorithmic Learning

arXiv 2605.14659 ↗First posted 14 May 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Critical-data-size accounts of grokking suggest a natural post-threshold intuition: once training data is sufficient to identify the underlying rule, additional data should accelerate validation convergence. We show that this intuition can fail in a controlled structured-output task. In Needleman--Wunsch (NW) matrix generation, small Transformers reach high validation exact-match accuracy fastest at an intermediate dataset size, not at the largest one. Past this dataset-size sweet spot, generalization remains achievable but requires more gradient updates. Conversely, in the regime where partial validation competence first appears, larger datasets can require fewer updates to reach high training accuracy, suggesting that emerging rule structure can accelerate fitting beyond example-wise memorization. A multiplication baseline does not show the same post-threshold slowdown. These results separate the critical data size for the onset of generalization from the dataset size that optimizes update-based convergence, and identify structured-output tasks where learning the rule and completing exact-fitting can diverge.

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

Builds on

23 of 29 references.

References · 23

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Scaling Laws for Neural Language Modelscited by 6,586
  3. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  4. 2020Extracting Training Data from Large Language Modelscited by 2,189
  5. 2016Understanding deep learning requires rethinking generalizationcited by 1,674
  6. 2017A Closer Look at Memorization in Deep Networkscited by 942
  7. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
  8. 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
  9. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 672
  10. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
  11. 2017Deep Learning Scaling is Predictable, Empiricallycited by 582
  12. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 497
11 more
  1. 2022Towards Understanding Grokking: An Effective Theory of Representation Learningcited by 230
  2. 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 187
  3. 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 146
  4. 2023Teaching Arithmetic to Small Transformerscited by 123
  5. 2023Explaining grokking through circuit efficiencycited by 111
  6. 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 80
  7. 2025How much do language models memorize?cited by 61
  8. 2023Learning the greatest common divisor: explaining transformer predictionscited by 33
  9. 2024Critical Data Size of Language Models from a Grokking Perspectivecited by 24
  10. 2024Unified View of Grokking, Double Descent and Emergent Abilities: A Perspective from Circuits Competitioncited by 23
  11. 2023Bridging Lottery Ticket and Grokking: Understanding Grokking from Inner Structure of Networkscited by 6

Built on by

Not cited yet.