Reproduce “Critical Data Size of Language Models from a Grokking Perspective” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Xuekai Zhu, Yao Fu, Bowen Zhou, Zhouhan Lin
Researchers identified a critical data size in language models, where increasing data triggers a phase transition from memorization to genuine generalization, empirically demonstrating this phenomenon across synthetic and natural language datasets. This work introduces the Data Efficiency Hypothesis, explaining how data quantity dictates learning regimes in transformer-style models.
Key insights
- Generalization in language models is characterized by a phase transition at a "critical data size," rather than a continuous improvement with more data.
- Grokking, previously observed on synthetic data, is reproducible in transformer models on complex natural language datasets, exhibiting smoother transitions than on algorithmic tasks.
- Increasing model capacity necessitates a corresponding increase in data to meet or exceed the critical data size; otherwise, generalization can suffer or not occur.
- Weight decay drives parameter reallocation after memorization, leading to a decrease in L2 norm and the emergence of generalized representations.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.