Reproduce “Loss Spike in Training Neural Networks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiaolong Li, Zhi-Qin John Xu, Zhongwang Zhang

Research from Shanghai Jiao Tong University provides a mechanistic explanation for "loss spikes" in neural network training by identifying a "Lower-Loss-As-Sharper (LLAS)" loss landscape structure responsible for loss ascent. The work also establishes that these spikes promote neuron condensation, a phenomenon correlated with enhanced generalization, offering a refined understanding of deep learning dynamics.

Key insights

  • Loss spikes are governed by a "Lower-Loss-As-Sharper (LLAS)" loss landscape structure during ascent, with subsequent rapid descent driven by the efficient resolution of low-frequency components.
  • The maximum eigenvalue of the loss Hessian (λmax) primarily reflects the sharpness related to low-frequency features and is an insufficient indicator for generalization, which depends more on subtle, high-frequency changes.
  • Loss spikes, particularly those induced by larger learning rates in full-batch gradient descent, intrinsically facilitate neuron condensation, linking optimization dynamics to effective network complexity reduction and improved generalization.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.