Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Models (2205.10770v2)

Published 22 May 2022 in cs.CL

Abstract: Despite their wide adoption, the underlying training and memorization dynamics of very LLMs is not well understood. We empirically study exact memorization in causal and masked LLMing, across model sizes and throughout the training process. We measure the effects of dataset size, learning rate, and model size on memorization, finding that larger LLMs memorize training data faster across all settings. Surprisingly, we show that larger models can memorize a larger portion of the data before over-fitting and tend to forget less throughout the training process. We also analyze the memorization dynamics of different parts of speech and find that models memorize nouns and numbers first; we hypothesize and provide empirical evidence that nouns and numbers act as a unique identifier for memorizing individual training examples. Together, these findings present another piece of the broader puzzle of trying to understand what actually improves as models get bigger.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. Kushal Tirumala (17 papers)
  2. Aram H. Markosyan (9 papers)
  3. Luke Zettlemoyer (225 papers)
  4. Armen Aghajanyan (31 papers)
Citations (151)