Approaching Deep Learning through the Spectral Dynamics of Weights

Authors: David Yunis, Kumar Kshitij Patel, Samuel Wheeler, Pedro Savarese, Gal Vardi, Karen Livescu, Michael Maire, Matthew R. Walter

Submitted to arXiv on 21 Aug. 2024
License: CC BY 4.0
Abstract

We propose an empirical approach centered on the spectral dynamics of weights -- the behavior of singular values and vectors during optimization -- to unify and clarify several phenomena in deep learning. We identify a consistent bias in optimization across various experiments, from small-scale ``grokking'' to large-scale tasks like image classification with ConvNets, image generation with UNets, speech recognition with LSTMs, and language modeling with Transformers. We also demonstrate that weight decay enhances this bias beyond its role as a norm regularizer, even in practical systems. Moreover, we show that these spectral dynamics distinguish memorizing networks from generalizing ones, offering a novel perspective on this longstanding conundrum. Additionally, we leverage spectral dynamics to explore the emergence of well-performing sparse subnetworks (lottery tickets) and the structure of the loss surface through linear mode connectivity. Our findings suggest that spectral dynamics provide a coherent framework to better understand the behavior of neural networks across diverse settings.

The papers around it, by date and closeness

Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper

How to read this map? Illustrated guide

Closest papers Prior work it builds on Papers that cite it

Papers around this one

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Same method, another problem
    Spectral Dynamics in Deep Networks: Feature Learning, Outlier Escape, and Learning Rate Transfer
    Clarissa Lauditi, Cengiz Pehlevan, Blake Bordelon · 2026 · arXiv.org · preprint, not peer reviewed · cited 7 times · Not summarized yet

    Spectral Dynamics in Deep Networks develops a theoretical account of hidden-weight spectra during training, while this paper empirically uses weight spectral dynamics across diverse tasks.

    Abstract

    We study the evolution of hidden-weight spectra in wide neural networks trained by (stochastic) gradient descent. We develop a two-level dynamical mean-field theory (DMFT) that jointly tracks bulk and outlier spectral dynamics for spiked ensembles whose spike directions remain statistically dependent on the random bulk. We apply this framework to two settings: (1) infinite-width nonlinear networks in mean-field/$\mu$P scaling and (2) deep linear networks in the proportional high-dimensional limit, where width, input dimension, and sample size diverge with fixed ratios. Our theory predicts how outliers evolve with training time, width, output scale, and initialization variance. In deep linear…

  2. Close Groundwork for this paper Cited by this paper
    The Emergence of Spectral Universality in Deep Networks
    Jeffrey Pennington, S. Schoenholz, S. Ganguli · 2018 · International Conference on Artificial Intelligence and Statistics · cited 193 times · Not summarized yet

    The Emergence of Spectral Universality analyzes how network Jacobian spectra depend on initialization and architecture, and this paper cites it while studying weight spectra during optimization.

    Abstract

    Recent work has shown that tight concentration of the entire spectrum of singular values of a deep network's input-output Jacobian around one at initialization can speed up learning by orders of magnitude. Therefore, to guide important design choices, it is important to build a full theoretical understanding of the spectra of Jacobians at initialization. To this end, we leverage powerful tools from free probability theory to provide a detailed analytic understanding of how a deep network's Jacobian spectrum depends on various hyperparameters including the nonlinearity, the weight and bias distributions, and the depth. For a variety of nonlinearities, our work reveals the emergence of new uni…

  3. Close Same question Cited by this paper
    Why Do We Need Weight Decay in Modern Deep Learning?
    Francesco D'Angelo, Maksym Andriushchenko, A. Varre et al. · 2023 · Neural Information Processing Systems · cited 107 times · Not summarized yet

    Why Do We Need Weight Decay in Modern Deep Learning studies how weight decay changes optimization dynamics, a role this paper also examines through spectral dynamics.

    Abstract

    Weight decay is a broadly used technique for training state-of-the-art deep networks from image classification to large language models. Despite its widespread usage and being extensively studied in the classical literature, its role remains poorly understood for deep learning. In this work, we highlight that the role of weight decay in modern deep learning is different from its regularization effect studied in classical learning theory. For deep networks on vision tasks trained with multipass SGD, we show how weight decay modifies the optimization dynamics enhancing the ever-present implicit regularization of SGD via the loss stabilization mechanism. In contrast, for large language models t…

  4. Close Broader context
    Spectral Alignment as Predictor of Loss Explosion in Neural Network Training
    Hai-Quan Qiu, You Wu, Ying Tan et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet

    Spectral Alignment predicts training loss explosions from alignment between layer inputs and weight singular vectors, connecting spectral structure to training behavior.

    Abstract

    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 …

  5. Close Broader context
    The Universal Weight Subspace Hypothesis
    Prakhar Kaushik, Shravan Chaudhari, Ankit Vaidya et al. · 2025 · arXiv.org · preprint, not peer reviewed · cited 26 times · Not summarized yet

    The Universal Weight Subspace Hypothesis finds shared low-dimensional spectral subspaces across models, whereas this paper tracks spectral changes during training.

    Abstract

    We show that deep neural networks trained across diverse tasks exhibit remarkably similar low-dimensional parametric subspaces. We provide the first large-scale empirical evidence that demonstrates that neural networks systematically converge to shared spectral subspaces regardless of initialization, task, or domain. Through mode-wise spectral analysis of over 1200 models - including 500 Mistral-7B LoRAs, 500 Vision Transformers, and 50 LLaMA-8B models - we identify universal subspaces capturing majority variance in just a few principal directions. By applying spectral decomposition techniques to the weight matrices of various architectures trained on a wide range of tasks and datasets, we i…

  6. Close Same question
    Spectral phase transitions and trainability in neural network learning dynamics
    Chanju Park, Dario Bocchi, Francesco D'Amico et al. · 2026 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet

    Spectral phase transitions and trainability explains how training produces low-dimensional weight spectra, a phenomenon this paper investigates through spectral dynamics.

    Abstract

    The emergence of low-dimensional structures in the spectra of neural network weight matrices is a common empirical feature of trained models, but the dynamical origin of this phenomenon during learning remains an open problem. We formulate neural network training as the stochastic evolution of an initially random matrix ensemble, driven by stochastic gradient descent (SGD) updates that reshape the spectral bulk while amplifying signal strength. This induces a Baik-Ben Arous-P\'ech\'e (BBP) transition during training, where isolated eigenvalues detach from the random bulk distribution, providing a dynamical framework for representation formation in high-dimensional learning dynamics. We demon…

  7. Close Broader context
    Structure and Redundancy in Large Language Models: A Spectral Study via Random Matrix Theory
    Davide Ettori · 2026 · arXiv.org · preprint, not peer reviewed · Not summarized yet

    Structure and Redundancy in Large Language Models uses spectral statistics to study model behavior and efficiency, alongside this paper’s broader spectral analysis of networks.

    Abstract

    This thesis addresses two persistent and closely related challenges in modern deep learning, reliability and efficiency, through a unified framework grounded in Spectral Geometry and Random Matrix Theory (RMT). As deep networks and large language models continue to scale, their internal behavior becomes increasingly opaque, leading to hallucinations, fragile generalization under distribution shift, and growing computational and energy demands. By analyzing the eigenvalue dynamics of hidden activations across layers and inputs, this work shows that spectral statistics provide a compact, stable, and interpretable lens on model behavior, capable of separating structured, causal representations …

  8. Close Broader context
    Beyond spectral gap: The role of the topology in decentralized learning
    Thijs Vogels, Hadrien Hendrikx, Martin Jaggi · 2022 · Machine Learning · cited 51 times · AI summary available

    Beyond spectral gap studies how communication-graph topology affects decentralized optimization, rather than the evolution of weight spectra examined here.

    Abstract

    In data-parallel optimization of machine learning models, workers collaborate to improve their estimates of the model: more accurate gradients allow them to use larger learning rates and optimize faster. We consider the setting in which all workers sample from the same dataset, and communicate over a sparse graph (decentralized). In this setting, current theory fails to capture important aspects of real-world behavior. First, the 'spectral gap' of the communication graph is not predictive of its empirical performance in (deep) learning. Second, current theory does not explain that collaboration enables larger learning rates than training alone. In fact, it prescribes smaller learning rates, …

Prior work it builds on

  1. Close Groundwork for this paper Used in depth by this paper
    The Low-Rank Simplicity Bias in Deep Networks
    Minyoung Huh, H. Mobahi, Richard Zhang et al. · 2021 · Trans. Mach. Learn. Res. · cited 195 times · Not summarized yet

    The Low-Rank Simplicity Bias in Deep Networks empirically studies low-rank embeddings as an implicit bias, and this paper cites it when examining spectral bias.

    Abstract

    Modern deep neural networks are highly over-parameterized compared to the data on which they are trained, yet they often generalize remarkably well. A flurry of recent work has asked: why do deep networks not overfit to their training data? In this work, we make a series of empirical observations that investigate and extend the hypothesis that deeper networks are inductively biased to find solutions with lower effective rank embeddings. We conjecture that this bias exists because the volume of functions that maps to low effective rank embedding increases with depth. We show empirically that our claim holds true on finite width linear and non-linear models on practical learning paradigms and …

  2. Close Groundwork for this paper Used in depth by this paper A method it uses
    Linear Mode Connectivity and the Lottery Ticket Hypothesis
    Jonathan Frankle, G. Dziugaite, Daniel M. Roy et al. · 2019 · International Conference on Machine Learning · cited 877 times · Not summarized yet

    Linear Mode Connectivity and the Lottery Ticket Hypothesis studies connected minima and pruned subnetworks, topics this paper investigates spectrally and cites.

    Abstract

    We study whether a neural network optimizes to the same, linearly connected minimum under different samples of SGD noise (e.g., random data order and augmentation). We find that standard vision models become stable to SGD noise in this way early in training. From then on, the outcome of optimization is determined to a linearly connected region. We use this technique to study iterative magnitude pruning (IMP), the procedure used by work on the lottery ticket hypothesis to identify subnetworks that could have trained in isolation to full accuracy. We find that these subnetworks only reach full accuracy when they are stable to SGD noise, which either occurs at initialization for small-scale set…

  3. Close Groundwork for this paper A method it uses
    Git Re-Basin: Merging Models modulo Permutation Symmetries
    Samuel K. Ainsworth, Jonathan Hayase, Siddhartha Srinivasa · 2022 · Machine Learning · cited 598 times · AI summary available

    Git Re-Basin aligns networks under permutation symmetries to study loss-basin connectivity, and this paper cites it in its analysis of loss surfaces.

    Abstract

    The success of deep learning is thanks to our ability to solve certain massive non-convex optimization problems with relative ease. Despite non-convex optimization being NP-hard, simple algorithms -- often variants of stochastic gradient descent -- exhibit surprising effectiveness in fitting large neural networks in practice. We argue that neural network loss landscapes contain (nearly) a single basin, after accounting for all possible permutation symmetries of hidden units. We introduce three algorithms to permute the units of one model to bring them into alignment with units of a reference model. This transformation produces a functionally equivalent set of weights that lie in an approxima…

  4. Close Groundwork for this paper Used in depth by this paper A method it uses
    Exact solutions to the nonlinear dynamics of learning in deep linear neural networks
    Andrew M. Saxe, James L. McClelland, S. Ganguli · 2013 · International Conference on Learning Representations · cited 2,228 times · Not summarized yet

    Exact solutions to the nonlinear dynamics of learning in deep linear neural networks analyzes training dynamics in linear networks, which this paper cites as theoretical background.

    Abstract

    Despite the widespread practical success of deep learning methods, our theoretical understanding of the dynamics of learning in deep neural networks remains quite sparse. We attempt to bridge the gap between the theory and practice of deep learning by systematically analyzing learning dynamics for the restricted case of deep linear neural networks. Despite the linearity of their input-output map, such networks have nonlinear gradient descent dynamics on weights that change with the addition of each new hidden layer. We show that deep linear networks exhibit nonlinear learning phenomena similar to those seen in simulations of nonlinear networks, including long plateaus followed by rapid trans…

  5. Related Groundwork for this paper Used in depth by this paper A method it uses
    On the Optimization of Deep Networks: Implicit Acceleration by Overparameterization
    Sanjeev Arora, N. Cohen, Elad Hazan · 2018 · International Conference on Machine Learning · cited 600 times · Not summarized yet

    On the Optimization of Deep Networks studies how overparameterization affects optimization in deep linear networks, and this paper cites it as background.

    Abstract

    Conventional wisdom in deep learning states that increasing depth improves expressiveness but complicates optimization. This paper suggests that, sometimes, increasing depth can speed up optimization. The effect of depth on optimization is decoupled from expressiveness by focusing on settings where additional layers amount to overparameterization - linear neural networks, a well-studied model. Theoretical analysis, as well as experiments, show that here depth acts as a preconditioner which may accelerate convergence. Even on simple convex problems such as linear regression with $\ell_p$ loss, $p>2$, gradient descent can benefit from transitioning to a non-convex overparameterized objective, …

Papers that cite it

  1. Close Builds on this paper
    The Spectral Lifecycle of Transformer Training: Transient Compression Waves, Persistent Spectral Gradients, and the Q/K-V Asymmetry
    Yi Liu · 2026 · arXiv.org · preprint, not peer reviewed · Not summarized yet

    The Spectral Lifecycle of Transformer Training tracks weight spectra throughout transformer pretraining, extending this paper’s study of spectral dynamics across architectures.

    Abstract

    We present the first systematic study of weight matrix singular value spectra \emph{during} transformer pretraining, tracking full SVD decompositions of every weight matrix at 25-step intervals across three model scales (30M--285M parameters). We discover three phenomena: \textbf{(1)~Transient Compression Waves:} stable rank compression propagates as a traveling wave from early to late layers, creating a dramatic gradient that peaks early then \emph{reverses} -- late layers eventually over-compress past early layers. \textbf{(2)~Persistent Spectral Gradients:} the power-law exponent~$\alpha$ develops a permanent depth gradient forming a non-monotonic inverted-U in deeper models, with peaks s…

  2. Close Builds on this paper
    Single-Head Attention in High Dimensions: A Theory of Generalization, Weights Spectra, and Scaling Laws
    Fabrizio Boncoraglio, Vittorio Erba, Emanuele Troiani et al. · 2025 · cited 5 times · Not summarized yet

    Single-Head Attention in High Dimensions analyzes weight spectra and generalization in trained attention layers, and cites this paper’s spectral-dynamics work.

    Abstract

    Trained attention layers exhibit striking and reproducible spectral structure of the weights, including low-rank collapse, bulk deformation, and isolated spectral outliers, yet the origin of these phenomena and their implications for generalization remain poorly understood. We study empirical risk minimization in a single-head tied-attention layer trained on synthetic high-dimensional sequence tasks generated from the attention-indexed model. Using tools from random matrix theory, spin-glass theory, and approximate message passing, we obtain an exact high-dimensional characterization of training and test error, interpolation and recovery thresholds, and the spectrum of the key and query matr…

  3. Close Builds on this paper
    Low-Rank Decay for Grokking in Scale-Invariant Transformers: A Spectral-Geometric View
    Mingyu Li · 2026 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet

    Low-Rank Decay for Grokking proposes a spectral regularizer for grokking in scale-invariant Transformers and cites this paper’s analysis of grokking and weight decay.

    Abstract

    Modern Transformer architectures frequently employ normalization mechanisms such as RMSNorm and Query-Key Normalization, making parts of the model approximately scale-invariant with respect to weight magnitudes. In this regime, standard Frobenius-norm weight decay acts purely along the radial direction of the weight space and cannot directly simplify the function represented by the normalized layer. We study grokking in small algorithmic tasks through this lens and propose \emph{Low-Rank Decay} (LRD), a nuclear-norm-like spectral regularizer whose subgradient -- the polar factor $UV^\top$ -- retains a tangential component even in the scale-invariant setting. This distinction has a concrete d…

  4. Close Builds on this paper
    Spectral Tail Interventions in Decoder-Only Language Models: Reasoning-Sensitive Weight Structure from Controlled Surgery
    Ibne Farabi Shihab, Sanjida Akhter, Md Najmus Swaqeeb et al. · 2026 · Not summarized yet

    Spectral Tail Interventions in Decoder-Only Language Models tests causal effects of weight spectral tails on model behavior, extending spectral analysis to controlled interventions.

    Abstract

    Weight-space structure often correlates with language-model behavior, but correlation alone does not establish computational involvement. We study concentrated upper spectral tails in decoder-only transformers through controlled interventions. At a fixed relative offset, we derive a finite-width conditional bound linking the inverse participation ratio of squared singular values to central pre-softmax logit kurtosis. We then define a pointwise query--key ($QK$) product-tail target and compare independent factor surgery with a product-targeted factorization that preserves native attention computation. Across three base checkpoints and five reasoning benchmarks, plus an instruction-tuned Phi c…

  5. Close Broader context
    Learning Under Forgetting: Statistical Support-Selective Retention in Stochastic Training Dynamics
    Fu-Jie Gao, Zu-Yue Zhang, Gang Sun · 2026 · Not summarized yet

    Learning Under Forgetting proposes dynamics for selective retention and discusses spectral bias and memorization, themes also addressed in this paper.

    Abstract

    Prior work has shown that neural networks exhibit implicit biases toward low-complexity structure (e.g., spectral bias), memorization dynamics, and compression-like effects during training, but a unified dynamical account of selective retention remains incomplete. We propose Repeated Reinforcement with Persistent Forgetting (RPF) dynamics, a minimal framework in which repeated exposure reinforces patterns and structures that recur in the data, while persistent forgetting attenuates learned information. This view treats forgetting not merely as a failure mode, but as a selection mechanism. We build the theory in three successive layers. First, in an independent-feature model, we derive an exp…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 1 November 2026.

The illustrated guide to the papers around a paper