mlsanityData to 7 Oct 2026

The Effect of SGD Batch Size on Autoencoder Learning: Sparsity, Sharpness, and Feature Learning

arXiv 2308.03215 ↗First posted 6 Aug 2023stat.ML cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

In this work, we investigate the dynamics of stochastic gradient descent (SGD) when training a single-neuron autoencoder with linear or ReLU activation on orthogonal data. We show that for this non-convex problem, randomly initialized SGD with a constant step size successfully finds a global minimum for any batch size choice. However, the particular global minimum found depends upon the batch size. In the full-batch setting, we show that the solution is dense (i.e., not sparse) and is highly aligned with its initialized direction, showing that relatively little feature learning occurs. On the other hand, for any batch size strictly smaller than the number of samples, SGD finds a global minimum which is sparse and nearly orthogonal to its initialization, showing that the randomness of stochastic gradients induces a qualitatively different type of "feature selection" in this setting. Moreover, if we measure the sharpness of the minimum by the trace of the Hessian, the minima found with full batch gradient descent are flatter than those found with strictly smaller batch sizes, in contrast to previous works which suggest that large batches lead to sharper minima. To prove convergence of SGD with a constant step size, we introduce a powerful tool from the theory of non-homogeneous random walks which may be of independent interest.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 48 of its 67 references that are in the map. First posted on arXiv 6 Aug 2023.

Builds on

48 of 67 references.

References · 48

  1. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  2. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  3. 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 748
  4. 2018On Lazy Training in Differentiable Programmingcited by 671
  5. 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
  6. 2017Exploring Generalization in Deep Learningcited by 595
  7. 2020Kernel and Rich Regimes in Overparametrized Modelscited by 302
  8. 2017Three Factors Influencing Minima in SGDcited by 270
  9. 2018Characterizing Implicit Bias in Terms of Optimization Geometrycited by 259
  10. 2018Implicit Bias of Gradient Descent on Linear Convolutional Networkscited by 251
  11. 2020Feature Learning in Infinite-Width Neural Networkscited by 182
  12. 2020Directional convergence and alignment in deep learningcited by 172
36 more
  1. 2019Towards Explaining the Regularization Effect of Initial Large Learning Rate in Training Neural Networkscited by 162
  2. 2018Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernelcited by 131
  3. 2019Implicit regularization for deep neural networks driven by an Ornstein-Uhlenbeck like processcited by 123
  4. 2019Implicit Regularization of Discrete Gradient Dynamics in Linear Neural Networkscited by 122
  5. 2021Label Noise SGD Provably Prefers Flat Global Minimizerscited by 121
  6. 2020Feature Purification: How Adversarial Training Performs Robust Deep Learningcited by 107
  7. 2021What Happens after SGD Reaches Zero Loss? --A Mathematical Frameworkcited by 106
  8. 2020Shape Matters: Understanding the Implicit Bias of the Noise Covariancecited by 88
  9. 2016The Landscape of Empirical Risk for Non-convex Lossescited by 86
  10. 2022On the Implicit Bias in Deep-Learning Algorithmscited by 84
  11. 2022Gradient flow dynamics of shallow ReLU networks for square loss and orthogonal inputscited by 74
  12. 2021Benign Overfitting of Constant-Stepsize SGD for Linear Regressioncited by 71
  13. 2021On the Implicit Bias of Initialization Shape: Beyond Infinitesimal Mirror Descentcited by 69
  14. 2018Stochastic Gradient Descent on Separable Data: Exact Convergence with a Fixed Learning Ratecited by 63
  15. 2020Learning a Single Neuron with Gradient Methodscited by 50
  16. 2021Understanding the Generalization of Adam in Learning Neural Networks with Proper Regularizationcited by 48
  17. 2020Agnostic Learning of a Single Neuron with Gradient Descentcited by 46
  18. 2022Implicit Bias in Leaky ReLU Networks Trained on High-Dimensional Datacited by 46
  19. 2019Loss Landscapes of Regularized Linear Autoencoderscited by 45
  20. 2020An Analysis of Constant Step Size SGD in the Non-convex Regime: Asymptotic Normality and Biascited by 45
  21. 2017Geometry of Optimization and Implicit Regularization in Deep Learningcited by 39
  22. 2018From Principal Subspaces to Principal Components with Linear Autoencoderscited by 38
  23. 2015Simple, Efficient, and Neural Algorithms for Sparse Codingcited by 37
  24. 2023(S)GD over Diagonal Linear Networks: Implicit Regularisation, Large Stepsizes and Edge of Stabilitycited by 35
  25. 2022Random Feature Amplification: Feature Learning and Generalization in Neural Networkscited by 33
  26. 2022On Almost Sure Convergence Rates of Stochastic Gradient Methodscited by 32
  27. 2016First Efficient Convergence for Streaming k-PCA: a Global, Gap-Free, and Near-Optimal Ratecited by 31
  28. 2016Streaming PCA: Matching Matrix Bernstein and Near-Optimal Finite Sample Guarantees for Oja's Algorithmcited by 29
  29. 2020Regularized linear autoencoders recover the principal components, eventuallycited by 26
  30. 2013Learning Sparsely Used Overcomplete Dictionaries via Alternating Minimizationcited by 24
  31. 2023The Double-Edged Sword of Implicit Bias: Generalization vs. Robustness in ReLU Networkscited by 23
  32. 2013Memory Limited, Streaming PCAcited by 21
  33. 2022On the Effective Number of Linear Regions in Shallow Univariate ReLU Networks: Convergence Guarantees and Implicit Biascited by 21
  34. 2015Convergence of Stochastic Gradient Descent for PCAcited by 17
  35. 2021Learning a Single Neuron with Bias Using Gradient Descentcited by 17
  36. 2023Convergence and concentration properties of constant step-size SGD through Markov chainscited by 8

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 0; 2025: 1.

2 papers.