Skip to content
aiqbench takeAI Research

aiqbench analysis

This research addresses the intermittent loss spikes observed during Large Language Model pre-training by proposing a theoretical framework based on quadratic models with heavy-tailed inputs. The study demonstrates that this simplified approach can accurately replicate per-layer training dynamics and predict spiky behavior in Transformer architectures, offering a new lens for understanding optimization instability. Additionally, the derived hyperparameter schedules empirically improve model performance, providing actionable insights for training stability.
Source coveringarXiv
What this isA model's reading of the article and related coverage, written for aiqbench. Not the publisher's words.

Simulating Training Spikes of Deep Neural Networks by Layer-wise Random Feature Models

arXiv2 min read

arXiv:2610.13524v1 Announce Type: new 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.

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.

Machine Learning (cs.LG)

arXiv:2610.13524 [cs.LG]

(or arXiv:2610.13524v1 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2610.13524 Focus to learn more arXiv-issued DOI via DataCite (pending registration)

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 203 words

Related coverage