Saved in:
Bibliographic Details
Main Authors: Barron, Joshua, White, Devin
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.09099
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908411002617856
author Barron, Joshua
White, Devin
author_facet Barron, Joshua
White, Devin
contents The relationship between memorization and generalization in large language models (LLMs) remains an open area of research, with growing evidence that the two are deeply intertwined. In this work, we investigate this relationship by pre-training a series of capacity-limited Transformer models from scratch on two synthetic character-level tasks designed to separately probe generalization (via arithmetic extrapolation) and memorization (via factual recall). We observe a consistent trade-off: small models extrapolate to unseen arithmetic cases but fail to memorize facts, while larger models memorize but fail to extrapolate. An intermediate-capacity model exhibits a similar shift toward memorization. When trained on both tasks jointly, no model (regardless of size) succeeds at extrapolation. These findings suggest that pre-training may intrinsically favor one learning mode over the other. By isolating these dynamics in a controlled setting, our study offers insight into how model capacity shapes learning behavior and offers broader implications for the design and deployment of small language models.
format Preprint
id arxiv_https___arxiv_org_abs_2506_09099
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformers
Barron, Joshua
White, Devin
Machine Learning
Artificial Intelligence
Computation and Language
The relationship between memorization and generalization in large language models (LLMs) remains an open area of research, with growing evidence that the two are deeply intertwined. In this work, we investigate this relationship by pre-training a series of capacity-limited Transformer models from scratch on two synthetic character-level tasks designed to separately probe generalization (via arithmetic extrapolation) and memorization (via factual recall). We observe a consistent trade-off: small models extrapolate to unseen arithmetic cases but fail to memorize facts, while larger models memorize but fail to extrapolate. An intermediate-capacity model exhibits a similar shift toward memorization. When trained on both tasks jointly, no model (regardless of size) succeeds at extrapolation. These findings suggest that pre-training may intrinsically favor one learning mode over the other. By isolating these dynamics in a controlled setting, our study offers insight into how model capacity shapes learning behavior and offers broader implications for the design and deployment of small language models.
title Too Big to Think: Capacity, Memorization, and Generalization in Pre-Trained Transformers
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2506.09099