Learning Curves for SGD on Structured Features
Blake Bordelon, Cengiz Pehlevan
Abstract
The generalization performance of a machine learning algorithm such as a neural network depends in an intricate way on the structure of the data distribution.
To analyze the influence of data structure on test loss dynamics, we study an exactly solveable model of stochastic gradient descent (SGD) which predicts test loss when training on features with arbitrary covariance structure. We solve the theory exactly for both Gaussian features and arbitrary features and we show that the simpler Gaussian model accurately predicts test loss of nonlinear randomfeature models and deep neural networks trained with SGD on real datasets such as MNIST and CIFAR-10. We show that the optimal batch size at a fixed compute budget is typically small and depends on the feature correlation structure, demonstrating the computational benefits of SGD with small batch sizes. Lastly, we extend our theory to the more usual setting of stochastic gradient descent on a fixed subsampled training set, showing that both training and test error can be accurately predicted in our framework on real data.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers18
- A Dynamical Model of Neural Scaling LawsBlake Bordelon, Alexander B. Atanasov, Cengiz PehlevanICML 2024 · 84 citations
- 4+3 Phases of Compute-Optimal Neural Scaling LawsElliot Paquette, Courtney Paquette, Lechao Xiao, Jeffrey PenningtonNeurIPS 2024 · 70 citations
- Deterministic equivalent and error universality of deep random features learningDominik Schröder, Hugo Cui, Daniil Dmitriev, Bruno LoureiroICML 2023 · 37 citations
- Continuized Accelerations of Deterministic and Stochastic Gradient Descents, and of Gossip AlgorithmsMathieu Even, Raphaël Berthier, Francis R. Bach, Nicolas Flammarion et al.NeurIPS 2021 · 22 citations
- Implicit Regularization or Implicit Conditioning? Exact Risk Trajectories of SGD in High DimensionsCourtney Paquette, Elliot Paquette, Ben Adlam, Jeffrey PenningtonNeurIPS 2022 · 22 citations
Builds on11
- The Intrinsic Dimension of Images and Its Impact on LearningPhillip Pope, Chen Zhu, Ahmed Abdelkader, Micah Goldblum et al.ICLR 2021 · 381 citations
- Neural Tangents: Fast and Easy Infinite Neural Networks in PythonRoman Novak, Lechao Xiao, Jiri Hron, Jaehoon Lee et al.ICLR 2020 · 254 citations
- Spectrum Dependent Learning Curves in Kernel Regression and Wide Neural NetworksBlake Bordelon, Abdulkadir Canatar, Cengiz PehlevanICML 2020 · 245 citations
- The Heavy-Tail Phenomenon in SGDMert Gürbüzbalaban, Umut Simsekli, Lingjiong ZhuICML 2021 · 165 citations
- Dynamical mean-field theory for stochastic gradient descent in Gaussian mixture classificationFrancesca Mignacco, Florent Krzakala, Pierfrancesco Urbani, Lenka ZdeborováNeurIPS 2020 · 95 citations
Related papers
- On the Generalization Benefit of Noise in Stochastic Gradient DescentSamuel L. Smith, Erich Elsen, Soham DeICML 2020 · 122 citations
- On the interplay between data structure and loss function in classification problemsStéphane d'Ascoli, Marylou Gabrié, Levent Sagun, Giulio BiroliNeurIPS 2021 · 17 citations
- Online Learning and Information Exponents: The Importance of Batch size & Time/Complexity TradeoffsLuca Arnaboldi, Yatin Dandi, Florent Krzakala, Bruno Loureiro et al.ICML 2024 · 4 citations
- Implicit Regularization of SGD Reduces Shortcut LearningNahal Mirzaie, Alireza Alipanah, Ali Abbasi, Amirmahdi Farzane et al.ICLR 2026
- Stochastic Collapse: How Gradient Noise Attracts SGD Dynamics Towards Simpler SubnetworksFeng Chen, Daniel Kunin, Atsushi Yamamura, Surya GanguliNeurIPS 2023 · 52 citations
