Decomposing SGD Dynamics in Neural Networks: Teacher-Induced Spikes and Variance Inflation

Samet Demir, Zafer Dogan
11/18/2026
stat.MLcs.LG

No official code found. Best implementation: KU-MLIP/Decomposing-SGD-Dynamics-in-Neural-Networks (0 stars, Jupyter Notebook, MIT, last commit 2026-11-07).

Abstract

We study two-layer neural networks trained by stochastic gradient descent (SGD) on a multi-index teacher model, focusing on how first-layer parameters orthogonal to the teacher subspace affect generalization. We decompose the first-layer weights into a signal component aligned with the teacher and an orthogonal complement, and analyze their joint SGD dynamics together with the second layer in the proportional limit.

Show full abstract

We show that although SGD updates to the complement are initially isotropic, the training dynamics induce teacher-dependent spectral spikes in the complement Gram matrix. This emergent anisotropy provides a concrete mechanism by which representation variance is amplified, and generalization degrades. To isolate this effect, we introduce Decomposed Dynamics, an analytically tractable surrogate whose asymptotic test-error dynamics coincide with those of SGD. In simulations with a ReLU student, freezing the directions of the orthogonal complement improves generalization relative to training them. Finally, we show that the signal component rapidly aligns with the second-layer weights, revealing strong cross-layer coupling even in this shallow setting. Together, our results provide a dynamical explanation for how feature learning outside the teacher subspace harms generalization.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the NeurIPS 2026 paper called "Decomposing SGD Dynamics in Neural Networks: Teacher-Induced Spikes and Variance Inflation"

00Jupyter NotebookNov 6, 20263 weeks agoMIT

Similar Papers

Cite this paper

@article{demir2026decomposing,
  title  = {Decomposing SGD Dynamics in Neural Networks: Teacher-Induced Spikes and Variance Inflation},
  author = {Samet Demir and Zafer Dogan},
  year   = {2026},
  eprint = {2611.24908},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.24908v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.24908.svg)](https://codeofpaper.com/paper/2611.24908)

Discussion