What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformers
Pulkit Gopalani, Wei Hu
TL;DR
The paper investigates abrupt learning in Transformer training on algorithmic tasks using shallow models to uncover universal plateau dynamics. It identifies three co-occurring phenomena during the plateau—partial solutions, repetition bias, and representation collapse—rooted in a bottleneck of learning the attention map. Through targeted interventions that bias the attention pattern, the authors show accelerated convergence and reduced degeneracy, and demonstrate that these dynamics generalize to early pretraining of LLMs like Pythia and OLMo. The work provides a unified view of loss-plateau behavior, linking internal representations, output statistics, and attention learning, with implications for controlling training dynamics in practical deployments.
Abstract
Training Transformers on algorithmic tasks frequently demonstrates an intriguing abrupt learning phenomenon: an extended performance plateau followed by a sudden, sharp improvement. This work investigates the underlying mechanisms for such dynamics, primarily in shallow Transformers. We reveal that during the plateau, the model often develops an interpretable partial solution while simultaneously exhibiting a strong repetition bias in their outputs. This output degeneracy is accompanied by internal representation collapse, where hidden states across different tokens become nearly parallel. We further identify the slow learning of optimal attention maps as a key bottleneck. Hidden progress in attention configuration during the plateau precedes the eventual rapid convergence, and directly intervening on attention significantly alters plateau duration and the severity of repetition bias and representational collapse. We validate that these identified phenomena-repetition bias and representation collapse-are not artifacts of toy setups but also manifest in the early pre-training stage of large language models like Pythia and OLMo.
