Exact Dynamics of Multi-class Stochastic Gradient Descent

· Source: stat.ML updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Mathematics & Computational Sciences · Depth: Expert, extended

Summary

A new framework analyzes the exact dynamics of multi-class stochastic gradient descent (SGD) in high-dimensional optimization problems, specifically for data generated from multiple anisotropic Gaussian mixture classes. Published on October 15, 2025, this work extends existing high-dimensional SGD theory to include Gaussian-mixture data with a large, logarithmically growing number of classes and non-zero means. The framework provides exact expressions for limiting dynamics, including risk and overlap with the true signal, via a deterministic system of ordinary differential equations (ODEs). Detailed investigation into anisotropic covariance structures, including isotropic, zero-one, and power-law models, reveals a structural phase transition. For zero-one and sufficiently strong power-law models, SGD aligns more with "clean directions" of smaller variance, supported by numerical simulations and analytical studies showing asymptotic loss behavior.

Key takeaway

For research scientists modeling or optimizing machine learning algorithms, understanding the exact dynamics of SGD with anisotropic data is crucial. This research demonstrates that data covariance structure, particularly in multi-class Gaussian mixtures, dictates convergence behavior and the potential for perfect classification. You should consider incorporating anisotropic covariance models into your theoretical analyses to better predict real-world algorithm performance and identify conditions for structural phase transitions in learning dynamics.

Key insights

Exact ODEs predict multi-class SGD dynamics and reveal structural phase transitions in anisotropic high-dimensional data.

Principles

Method

The method derives a closed system of ODEs for SGD iterates' norms and class mean overlaps, approximating stochastic dynamics with deterministic curves for high-dimensional limits.

In practice

Topics

Best for: AI Scientist, Research Scientist

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by stat.ML updates on arXiv.org.