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