Spectral Alignment as Predictor of Loss Explosion in Neural Network Training

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Qiu, Haiquan, Wu, You, Tan, Yingjie, Wang, Yaqing, Yao, Quanming
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909825613430784
author Qiu, Haiquan
Wu, You
Tan, Yingjie
Wang, Yaqing
Yao, Quanming
author_facet Qiu, Haiquan
Wu, You
Tan, Yingjie
Wang, Yaqing
Yao, Quanming
contents Loss explosions in training deep neural networks can nullify multi-million dollar training runs. Conventional monitoring metrics like weight and gradient norms are often lagging and ambiguous predictors, as their values vary dramatically across different models and even between layers of the same model, making it difficult to establish a unified standard for detecting impending failure. We introduce Spectral Alignment (SA), a novel, theoretically-grounded metric that monitors the distributional alignment between layer inputs and the principal singular vectors of weight matrices. We show that a collapse in the sign diversity of this alignment is a powerful early predictor of representational collapse and training divergence. Empirical results on language models demonstrate that monitoring the SA distribution provides a significantly earlier and clearer warning of loss explosions than traditional scalar metrics. SA's low computational overhead makes it a practical tool for safeguarding model training.
format Preprint
id arxiv_https___arxiv_org_abs_2510_04202
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Spectral Alignment as Predictor of Loss Explosion in Neural Network Training
Qiu, Haiquan
Wu, You
Tan, Yingjie
Wang, Yaqing
Yao, Quanming
Machine Learning
Loss explosions in training deep neural networks can nullify multi-million dollar training runs. Conventional monitoring metrics like weight and gradient norms are often lagging and ambiguous predictors, as their values vary dramatically across different models and even between layers of the same model, making it difficult to establish a unified standard for detecting impending failure. We introduce Spectral Alignment (SA), a novel, theoretically-grounded metric that monitors the distributional alignment between layer inputs and the principal singular vectors of weight matrices. We show that a collapse in the sign diversity of this alignment is a powerful early predictor of representational collapse and training divergence. Empirical results on language models demonstrate that monitoring the SA distribution provides a significantly earlier and clearer warning of loss explosions than traditional scalar metrics. SA's low computational overhead makes it a practical tool for safeguarding model training.
title Spectral Alignment as Predictor of Loss Explosion in Neural Network Training
topic Machine Learning
url https://arxiv.org/abs/2510.04202