Saved in:
Bibliographic Details
Main Authors: So, Shin, Lee, Kyelim, No, Albert
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.14659
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917495581966336
author So, Shin
Lee, Kyelim
No, Albert
author_facet So, Shin
Lee, Kyelim
No, Albert
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_14659
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Slower Generalization, Faster Memorization: A Sweet Spot in Algorithmic Learning
So, Shin
Lee, Kyelim
No, Albert
Machine Learning
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.
title Slower Generalization, Faster Memorization: A Sweet Spot in Algorithmic Learning
topic Machine Learning
url https://arxiv.org/abs/2605.14659