Generalization Dynamics of LM Pre-training (4 minute read)

TLDR AI Papers

Summary

该论文提出"模式跳变"(mode-hopping)概念,指出LM预训练中平滑下降的损失与稳定基准分数会掩盖模型答题方式的突变(如OLMo3-32B在算术提示上81%→0%→81.7%的反复),并通过六项廉价行为测试排除了评估指标非线性与局部优化波动等简单解释。

During pre-training, models can abruptly switch response patterns, a phenomenon termed MODE-HOPPING. Tests reveal this behavior in OLMo3-32B during arithmetic tasks, showing sudden shifts between pattern-following and correct task inference as training progresses. Controlled experiments suggest competing shallow and generalizable circuits within models, revealing that longer training doesn't always guarantee better generalization.
Original Article
View Cached Full Text

Cached at: 10/01/26, 02:55 PM

# Generalization Dynamics of LM Pre-training Source: [https://www.alphaxiv.org/abs/2609.33150](https://www.alphaxiv.org/abs/2609.33150) During pre\-training, language models are often judged by smoothly falling training loss and improving scores on familiar benchmarks\. Those trends can conceal abrupt changes in*how*a model answers\. A model may follow a tempting pattern in a prompt rather than infer the task, then switch back a nearby checkpoint later\. On an "answer\+1" arithmetic prompt, OLMo3\-32B scores 81% at 2\.17T pre\-training tokens, 0% at 2\.19T, and 81\.7% at 2\.21T\. On this eval, a success means the answer consistent with the arithmetic beats the tempting successive\-pattern answer\. The authors call this behavior**mode\-hopping**\. The arithmetic reversal is one task\-specific illustration, and it does not show that every kind of generalization reverses this way\. ![Six-panel schematic of loss, downstream capability, and generalization curves](https://paper-assets.alphaxiv.org/paper-figures/01a0ebc1-4094-7b65-b550-96b71e3b53fd/01a0ef82-3771-7339-b4d5-0622b200eb67.png)Schematic\. Top row: pre\-training loss, non\-emergent downstream capability, and emergent downstream capability\. Bottom row: three generalization types\.Here, generalization means inferring the task or transferable structure rather than following a shallow cue\. The authors built a suite of six cheap, zero\- or few\-shot behavioral tests, plus two fine\-tuning generalization tests\. The tests contrast: - flipped labels versus familiar sentiment patterns; - repeated or successive prompt answers versus solving the presented problem; - truth versus truthiness; - intuitive wrong answers versus reflective reasoning; - disconnected facts versus a coherent persona\. In the arithmetic case, the demonstrations yield 1, 2, 3\. The test arithmetic answer is 8, and the tempting continuation is 4\. The prompt\-based tests compare probabilities of predefined answer spans instead of relying on the model to generate extractable answers\. Their results are averaged over four random seeds\. Multi\-hop persona QA works differently because it is generative\. It has only five test questions per persona, which are sampled repeatedly\. The study tracks general pre\-training checkpoints of OLMo3 and Apertus and excludes mid\-training and long\-context stages\. The authors report that these models had trained for 9×–90× Chinchilla\-optimal budgets\. Schaeffer et al\., in["Are Emergent Abilities of Large Language Models a Mirage?"](https://www.alphaxiv.org/abs/2304.15004), argue that discontinuous or nonlinear evaluation metrics can make smooth output changes look like sudden emergence\. Wen et al\. rule out that simple reading in two ways: - They find mode\-hopping in hard accuracy and also in the soft probability marginP\(correct\)−P\(incorrect\)P\(\\text\{correct\}\) \- P\(\\text\{incorrect\}\)\. - They find it when plotting against pre\-training FLOPs as well as against tokens\. Common benchmark performance, by contrast, stays stable across pre\-training\. A second check tests whether single updates cause the hopping\. The authors take one OLMo3\-32B optimization step on randomly sampled pre\-training data, varying batch size and learning rate\. Suite probabilities change negligibly, even at learning rate 1e\-2\. Averaging five checkpoints along an oscillating curve mitigates mode\-hopping but leaves it in place\. These tests argue against a simple explanation in terms of local optimization fluctuations, but they do not identify the cause\. The results are also dataset\-specific: the average correlation across dataset pairs is usually low, though larger models have higher correlations\. Using their toy suite, the authors select OLMo3\-32B checkpoints at 4\.5T and 4\.9T tokens\. After math SFT, the 4\.5T checkpoint scores 36\.3% on GPQA versus 29\.8% for the 4\.9T checkpoint\. After general post\-training, its robustness to prefilling attacks is 53% versus 21%\. The 4\.5T checkpoint also beats the other sampled checkpoints in this comparison, even though later pre\- or mid\-training can improve in\-distribution performance\. Under these post\-training setups, an intermediate checkpoint can be a better starting point\. The results do not show that earlier checkpoints win in general\. ![Six panels comparing 4.5T and 4.9T OLMo3-32B checkpoints](https://paper-assets.alphaxiv.org/paper-figures/01a0ebc1-4094-7b65-b550-96b71e3b53fd/01a0ef82-38dc-7422-ba8b-94b94fc59447.png)Top: fine\-tuning step against MATH\-500 accuracy, GPQA\-Diamond accuracy, and robustness to prefilling attack, comparing 4\.5T and 4\.9T checkpoints\. Bottom: the corresponding measures against pre\-training tokens \(T\), marking the selected high/low in\-context\-learning checkpoints\.A preliminary, small\-scale experiment on one eval tested whether training data can steer this behavior\. Starting from an intermediate OLMo3\-32B checkpoint, the authors continued training on three kinds of data: - randomly sampled data \(the uncontrolled run\); - subsets chosen because earlier windows favored pattern\-matching on the answer\+1 eval; - subsets chosen because earlier windows favored generalization on that eval\. The controlled runs stabilize toward their intended behavior, while the uncontrolled run hops\. The authors interpret these findings as competition between shallow and generalizable circuits in capacity\-bounded models\. This is their hypothesis\. The experiments demonstrate behavioral changes, not the circuits themselves\. Generalization is not guaranteed to mature steadily with more training\. The suite is a cheap behavioral monitor that reveals reversals\. In the reported applications, it helped choose a checkpoint and, with data selection, steer one targeted behavior\. The suite is available in a[GitHub repository](https://github.com/Jiaxin-Wen/GDsuite)\.

Similar Articles

Generalization Dynamics of LM Pre-training (17 minute read)

TLDR AI

This paper reveals that during pre-training, language models frequently and suddenly switch between pattern-matching and generalization behaviors, a phenomenon called mode-hopping, and presents a toy evaluation suite to study it.

@SwayStar123: Crazy paper opening

X AI KOLs Timeline

A new paper reveals "mode-hopping" in LLM pre-training, where models repeatedly toggle between shallow pattern-matching and genuine generalization even as training loss stays flat — suggesting more pre-training does not always guarantee better generalization.

Local Support Learning

Hugging Face Daily Papers

论文提出 Local Support Learning (LSL),一种在无需访问历史数据的情况下缓解大模型灾难性遗忘的框架,通过 GMM 门控函数使权重适配器只在自身训练分布的输入上激活,从而在最多 7B 参数的 LLM 上同时保留预训练与微调能力。

A Defense of the Quadratic Model

arXiv cs.LG

This paper empirically validates that the quadratic model of optimization can predict pretraining dynamics in LLMs up to 150M parameters, analyzing Hessian spectrum and local stability.