mlsanityData to 7 Oct 2026

Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit

arXiv 2207.08799 ↗First posted 18 Jul 2022cs.LG cs.NE math.OCcited by 184

Not on the map. Why?

Abstract (arXiv)

There is mounting evidence of emergent phenomena in the capabilities of deep learning methods as we scale up datasets, model sizes, and training times. While there are some accounts of how these resources modulate statistical capacity, far less is known about their effect on the computational problem of model training. This work conducts such an exploration through the lens of learning a k-sparse parity of n bits, a canonical discrete search problem which is statistically easy but computationally hard. Empirically, we find that a variety of neural networks successfully learn sparse parities, with discontinuous phase transitions in the training curves. On small instances, learning abruptly occurs at approximately nO(k) iterations; this nearly matches SQ lower bounds, despite the apparent lack of a sparse prior. Our theoretical analysis shows that these observations are not explained by a Langevin-like mechanism, whereby SGD "stumbles in the dark" until it finds the hidden set of features (a natural algorithm which also runs in nO(k) time). Instead, we show that SGD gradually amplifies the sparse solution via a Fourier gap in the population gradient, making continual progress that is invisible to loss and error metrics.

Key facts. Cited by 184 papers in the map (data through 7 Oct 2026). Builds on 44 of its 90 references that are in the map. First posted on arXiv 18 Jul 2022.

Builds on

44 of 90 references.

References · 44

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  6. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  7. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  8. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,597
  9. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  10. 2018On the Spectral Bias of Neural Networkscited by 1,321
  11. 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 784
  12. 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 655
32 more
  1. 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
  2. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
  3. 2022Exploring Length Generalization in Large Language Modelscited by 204
  4. 2019Towards Understanding the Spectral Bias of Deep Learningcited by 173
  5. 2021Pretrained Transformers as Universal Computation Enginescited by 162
  6. 2022Neural Networks can Learn Representations with Gradient Descentcited by 161
  7. 2022High-dimensional Asymptotics of Feature Learning: How One Gradient Step Improves the Representationcited by 146
  8. 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
  9. 2018Regularization Matters: Generalization and Optimization of Neural Nets v.s. their Induced Kernelcited by 131
  10. 2019Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networkscited by 120
  11. 2020Online stochastic gradient descent on non-convex losses from high-dimensional inferencecited by 119
  12. 2018Greedy Layerwise Learning Can Scale to ImageNetcited by 113
  13. 2019Dynamics of stochastic gradient descent for two-layer neural networks in the teacher-student setupcited by 112
  14. 2019On the Power and Limitations of Random Features for Understanding Neural Networkscited by 103
  15. 2019What Can ResNet Learn Efficiently, Going Beyond Kernels?cited by 91
  16. 2017Failures of Gradient-Based Deep Learningcited by 79
  17. 2020Learning Parities with Neural Networkscited by 77
  18. 2021Classifying high-dimensional Gaussian mixtures: Where kernel methods fail and neural networks succeedcited by 67
  19. 2020Learning a Single Neuron with Gradient Methodscited by 50
  20. 2022A Theoretical Analysis on Feature Learning in Neural Networks: Emergence from Inputs and Advantage over Fixed Featurescited by 49
  21. 2020Agnostic Learning of a Single Neuron with Gradient Descentcited by 46
  22. 2021Quantifying the Benefit of Using Differentiable Learning over Tangent Kernelscited by 41
  23. 2020Disentangling Adaptive Gradient Methods from Learning Ratescited by 39
  24. 2020Approximation Schemes for ReLU Regressioncited by 34
  25. 2022Random Feature Amplification: Feature Learning and Generalization in Neural Networkscited by 33
  26. 2019Time/Accuracy Tradeoffs for Learning a ReLU with respect to Gaussian Marginalscited by 32
  27. 2021On the Power of Differentiable Learning versus PAC and SQ Learningcited by 27
  28. 2020Approximate is Good Enough: Probabilistic Variants of Dimensional and Margin Complexitycited by 25
  29. 2019Is Deeper Better only when Shallow is Good?cited by 24
  30. 2020Poly-time universality and limitations of deep learningcited by 23
  31. 2022An initial alignment between neural network and target is needed for gradient descent to learncited by 12
  32. 2020When Hardness of Approximation Meets Hardness of Learningcited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 9; 2023: 50; 2024: 44; 2025: 33; 2026: 48.

184 papers.

Sort:

By area:

  1. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  2. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  3. 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
  4. 2023Large Language Modelscited by 774
  5. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
  6. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 415
  7. 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
  8. 2022Transformers Learn Shortcuts to Automatacited by 260
  9. 2023The Clock and the Pizza: Two Stories in Mechanistic Explanation of Neural Networkscited by 153
  10. 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
  11. 2023SGD learning on neural networks: leap complexity and saddle-to-saddle dynamicscited by 142
  12. 2023A Toy Model of Universality: Reverse Engineering How Networks Learn Group Operationscited by 141
38 more
  1. 2023The Quantization Model of Neural Scalingcited by 137
  2. 2023Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMscited by 121
  3. 2024The Evolution of Statistical Induction Heads: In-Context Learning Markov Chainscited by 115
  4. 2023Explaining grokking through circuit efficiencycited by 105
  5. 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Taskscited by 104
  6. 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 102
  7. 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
  8. 2024Scaling Laws for Precisioncited by 92
  9. 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Taskcited by 91
  10. 2023A Tale of Two Circuits: Grokking as Competition of Sparse and Dense Subnetworkscited by 78
  11. 2023Grokking modular arithmeticcited by 77
  12. 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 76
  13. 2023Exposing Attention Glitches with Flip-Flop Language Modelingcited by 74
  14. 2023How Deep Neural Networks Learn Compositional Data: The Random Hierarchy Modelcited by 70
  15. 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 68
  16. 2022SGD with Large Step Sizes Learns Sparse Featurescited by 66
  17. 2022Neural Networks Efficiently Learn Low-Dimensional Representations with SGDcited by 61
  18. 2023Learning time-scales in two-layers neural networkscited by 57
  19. 2024Asymptotic theory of in-context learning by linear attentioncited by 54
  20. 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
  21. 2024Deep Networks Always Grok and Here is Whycited by 49
  22. 2023An Over-parameterized Exponential Regressioncited by 45
  23. 2024Why Larger Language Models Do In-context Learning Differently?cited by 44
  24. 2024Interpreting and Improving Large Language Models in Arithmetic Calculationcited by 43
  25. 2025Grokking at the Edge of Numerical Stabilitycited by 41
  26. 2024Loss Landscape Degeneracy and Stagewise Development in Transformerscited by 39
  27. 2024Grokfast: Accelerated Grokking by Amplifying Slow Gradientscited by 38
  28. 2023SGD Finds then Tunes Features in Two-Layer Neural Networks with near-Optimal Sample Complexity: A Case Study in the XOR problemcited by 36
  29. 2024Why Do You Grok? A Theoretical Analysis of Grokking Modular Additioncited by 34
  30. 2023Pretraining on the Test Set Is All You Needcited by 33
  31. 2023Feature emergence via margin maximization: case studies in algebraic taskscited by 33
  32. 2024Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Spacecited by 33
  33. 2023Gradient-Based Feature Learning under Structured Datacited by 32
  34. 2023Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Datacited by 32
  35. 2024Iteration Head: A Mechanistic Study of Chain-of-Thoughtcited by 31
  36. 2024Approaching Deep Learning through the Spectral Dynamics of Weightscited by 29
  37. 2024Pretrained transformer efficiently learns low-dimensional target functions in-contextcited by 29
  38. 2023Dynamical versus Bayesian Phase Transitions in a Toy Model of Superpositioncited by 28

50 most cited of 184 All 184 (JSON)