Saved in:
Bibliographic Details
Main Authors: Liu, Andy Zeyi, Paquette, Elliot, Sous, John
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.05683
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910196013465600
author Liu, Andy Zeyi
Paquette, Elliot
Sous, John
author_facet Liu, Andy Zeyi
Paquette, Elliot
Sous, John
contents Training loss and throughput can hide distinct internal representation in language-model training. To examine these hidden mechanics, we use spectral measurements as practical and operational diagnostics. Using a controlled family of decoder-only models adapted from the modded NanoGPT codebase, we introduce an empirical protocol based on activation covariance and per-sample gradient SVD spectra. This dual-view reveals three empirical findings and one mechanistic explanation. First, batch size acts as a latent determinant of representation geometry: runs that reach equal loss settle into systematically distinct activation spectra. Second, the activation covariance tail measured early in training reliably forecasts downstream token efficiency. Third, movement of the activation spectrum head (leading modes), together with gradient spectra, characterizes underlying learning-dynamics changes, separating learning-side architectural improvements from primarily execution-side gains. These predictive and diagnostic signals persist across the 12-, 36-, and 48-layer model tiers. Finally, a mechanistic model proves the main observations and explains how activation covariance spectra correlate with task-aligned feature learning.
format Preprint
id arxiv_https___arxiv_org_abs_2605_05683
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Spectral Lens: Activation and Gradient Spectra as Diagnostics of LLM Optimization
Liu, Andy Zeyi
Paquette, Elliot
Sous, John
Machine Learning
Training loss and throughput can hide distinct internal representation in language-model training. To examine these hidden mechanics, we use spectral measurements as practical and operational diagnostics. Using a controlled family of decoder-only models adapted from the modded NanoGPT codebase, we introduce an empirical protocol based on activation covariance and per-sample gradient SVD spectra. This dual-view reveals three empirical findings and one mechanistic explanation. First, batch size acts as a latent determinant of representation geometry: runs that reach equal loss settle into systematically distinct activation spectra. Second, the activation covariance tail measured early in training reliably forecasts downstream token efficiency. Third, movement of the activation spectrum head (leading modes), together with gradient spectra, characterizes underlying learning-dynamics changes, separating learning-side architectural improvements from primarily execution-side gains. These predictive and diagnostic signals persist across the 12-, 36-, and 48-layer model tiers. Finally, a mechanistic model proves the main observations and explains how activation covariance spectra correlate with task-aligned feature learning.
title Spectral Lens: Activation and Gradient Spectra as Diagnostics of LLM Optimization
topic Machine Learning
url https://arxiv.org/abs/2605.05683