NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Samet Demir, Zafer Dogan

NeurIPS page · OpenReview · Open on the map

Category: Interpretability & Model Adaptation › Random Matrix Theory of Learning Dynamics · Type: theory · Keywords: SGD dynamics, neural network generalization, representation variance, teacher model, orthogonal complement, theoretical analysis

Summary

Decomposed Dynamics is an analytically tractable surrogate that isolates the effect of orthogonal complement SGD dynamics and reveals regimes where freezing it improves generalization.

Explained to a 5-year-old

We look at a simple brain-like computer program that learns by trying to copy a teacher. It has two layers. Some parts of the program learn what the teacher knows, and other parts learn something else. The something else can become noisy and make the program less smart. By studying this, we find that sometimes it's better to stop the noisy parts from learning.

Explained to a 5-year-old, longer

Imagine a small robot brain that tries to guess answers like a teacher. It has two layers of connections. One layer tries to copy the teacher's answers directly. The other layer tries to learn extra patterns on its own. At first, the extra layer learns evenly, but as training goes on, it starts to focus on some patterns more than others. This extra focus creates spikes that make the extra layer noisy. The noise can make the whole brain less accurate. To understand this, the researchers built a simpler model that behaves like the brain in the long run. This simpler model lets them see exactly what happens without doing the full training. They discovered that when the extra layer learns too much, it hurts performance. In some cases, simply turning off the extra layer (freezing it) makes the brain perform better, even though it still learns the right answers. They also found that the part that copies the teacher quickly matches the second layer, showing how the layers talk to each other. All of these findings give a clear picture of why learning extra features can be bad and when it is better to stop them.

For a technical reader

The paper analyzes how stochastic gradient descent updates affect a two-layer neural network when part of the first layer learns features unrelated to the true target. They split the weights into a signal part aligned with the target and an orthogonal part, and study how the orthogonal part’s variance grows during training. They show that this variance creates spectral spikes that hurt generalization, and they build a simplified analytical model that reproduces the same error dynamics. Using this model, they find regimes where simply freezing the orthogonal part yields better test performance than training it, despite identical training error. The results clarify when learning irrelevant features can be detrimental and when it is better to prevent it.

Problem

It is unclear how SGD updates to components of a neural network that are orthogonal to the true target subspace influence generalization, as such components can introduce variance that harms performance.

Method

The authors split the first-layer weights into a component aligned with the teacher and an orthogonal complement, and study their joint SGD dynamics together with the second layer in the large-width limit. They also construct an analytically tractable surrogate that captures the asymptotic test-error dynamics of SGD to isolate the orthogonal complement’s effect.

Results

The approach shows that freezing the orthogonal complement can improve generalization compared to training it, even when training error is identical, and identifies regimes where this effect is strongest.

Contributions

The paper provides a decomposition of SGD dynamics that reveals teacher-dependent spectral spikes in the orthogonal complement Gram matrix, linking representation variance to generalization degradation, and characterizes regimes where freezing the orthogonal component yields better generalization.

Limitations and assumptions

The analysis assumes infinite-width networks (proportional limit) and a specific teacher model, limiting direct applicability to finite-width or other settings.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction