Simulating Training Spikes of Deep Neural Networks by Layer-wise Random Feature Models
Ran Tian, Courtney Paquette
Key points
From the paper's conclusion- We introduce a theoretical framework and simulation algorithm to model per-layer training dynamics of Deep Neural Networks (DNNs), using such quadratic models.
Abstract
Intermittent ``spikes'' in loss, during the pre-training of Large Language Models (LLMs), remains a mysterious phenomenon both theoretically and empirically. In this paper, we show that simple quadratic models with heavy-tailed, power-law distributed inputs can replicate these spikes. We introduce a theoretical framework and simulation algorithm to model per-layer training dynamics of Deep Neural Networks (DNNs), using such quadratic models. In a case study on an Adam hyperparameter configuration (where $\beta_2$ is set close to $1$) known to induce spikes in Transformer LMs, our simulation successfully predicts bumps indicating spiky behavior from a given checkpoint. Furthermore, we derive an appropriate $\beta_2$ schedule from observed metrics, which empirically improves performance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Hidden Sensitivity in LLM Pre-training: A Dynamic System ViewarXiv · 2026
- Does LLM Pre-Training Typically Occur at the Edge of Stability?arXiv · 2026
- The Dynamics of RMSProp Beyond the Stability ThresholdarXiv · 2026
- EnergyCal: Taming Loss Spikes in Muon-Family Optimizers for Sparse MoE TrainingarXiv · 2026
- Don't Drop Dropout: Optimizing Layer Sparsity for Efficient LLM Training and InferencearXiv · 2026
- Fast Learning Rate Transfer in Shallow Linear Networks at Growing Training HorizonsarXiv · 2026