English

Approaching Deep Learning through the Spectral Dynamics of Weights

Machine Learning 2024-08-22 v1 Artificial Intelligence

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.

Keywords

Cite

@article{arxiv.2408.11804,
  title  = {Approaching Deep Learning through the Spectral Dynamics of Weights},
  author = {David Yunis and Kumar Kshitij Patel and Samuel Wheeler and Pedro Savarese and Gal Vardi and Karen Livescu and Michael Maire and Matthew R. Walter},
  journal= {arXiv preprint arXiv:2408.11804},
  year   = {2024}
}
R2 v1 2026-06-28T18:19:48.081Z