MLLGOCPROct 15, 2025

Exact Dynamics of Multi-class Stochastic Gradient Descent

arXiv:2510.14074v11 citationsh-index: 8
Originality Incremental advance
AI Analysis

This work provides theoretical insights into SGD behavior for multi-class problems, which is incremental but useful for researchers in optimization and machine learning.

The authors developed a framework to analyze the exact dynamics of multi-class stochastic gradient descent (SGD) on high-dimensional optimization problems with anisotropic data, revealing a structural phase transition where SGD aligns more with class means in low-variance directions, as supported by numerical and analytical results.

We develop a framework for analyzing the training and learning rate dynamics on a variety of high- dimensional optimization problems trained using one-pass stochastic gradient descent (SGD) with data generated from multiple anisotropic classes. We give exact expressions for a large class of functions of the limiting dynamics, including the risk and the overlap with the true signal, in terms of a deterministic solution to a system of ODEs. We extend the existing theory of high-dimensional SGD dynamics to Gaussian-mixture data and a large (growing with the parameter size) number of classes. We then investigate in detail the effect of the anisotropic structure of the covariance of the data in the problems of binary logistic regression and least square loss. We study three cases: isotropic covariances, data covariance matrices with a large fraction of zero eigenvalues (denoted as the zero-one model), and covariance matrices with spectra following a power-law distribution. We show that there exists a structural phase transition. In particular, we demonstrate that, for the zero-one model and the power-law model with sufficiently large power, SGD tends to align more closely with values of the class mean that are projected onto the "clean directions" (i.e., directions of smaller variance). This is supported by both numerical simulations and analytical studies, which show the exact asymptotic behavior of the loss in the high-dimensional limit.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes