Decomposing SGD Dynamics in Neural Networks: Teacher-Induced Spikes and Variance Inflation
Samet Demir, Zafer Dogan
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. 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.
Create a lesson
Related papers
Identifying Neural Dynamics Using Nonlinear Interventional State Space Models
Shared title terminology · Hanna M. Tolle, Carles Balsells-Rodas, Yixin Wang et al.
Variance-Adaptive Upper Confidence Bounds for Multi-Armed Bandits with Kaplan--Meier Survival Estimation
Shared title terminology · Yangfan Cui, Andrew Papanicolaou
A Generative Model for Higher-Order Network Dynamics
Shared title terminology · Valentina Sánchez, Theodore Papamarkou, Gonzalo Nápoles et al.
DL101 The Representation Capability of Neural Network Models
Shared title terminology · Fernando Berzal
ONAM: Fitting Orthogonal Neural Additive Models for Post-Hoc Interpretability of Black-Box Predictions
Shared title terminology · David Köhler, Matthias Schmid
Compressed Simulation-Based Inference: Neural Posterior Estimation for Massive Data via Low-Dimensional Sketches
Shared title terminology · Michael Wieck-Sosa, Cosma Rohilla Shalizi