Gradient Descent Fails to Learn High-frequency Functions and Modular Arithmetic
Not on the map. Why?
Abstract (arXiv)
Classes of target functions containing a large number of approximately orthogonal elements are known to be hard to learn by the Statistical Query algorithms. Recently this classical fact re-emerged in a theory of gradient-based optimization of neural networks. In the novel framework, the hardness of a class is usually quantified by the variance of the gradient with respect to a random choice of a target function. A set of functions of the form x→ ax bmod p, where a is taken from mathbb Zp, has attracted some attention from deep learning theorists and cryptographers recently. This class can be understood as a subset of p-periodic functions on mathbb Z and is tightly connected with a class of high-frequency periodic functions on the real line. We present a mathematical analysis of limitations and challenges associated with using gradient-based learning techniques to train a high-frequency periodic function or modular multiplication from examples. We highlight that the variance of the gradient is negligibly small in both cases when either a frequency or the prime base p is large. This in turn prevents such a learning algorithm from being successful.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 15 of its 30 references that are in the map. First posted on arXiv 19 Oct 2023.
Builds on
15 of 30 references.
References · 15
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018Barren plateaus in quantum neural network training landscapescited by 630
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 629
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 146
- 2016Identity Matters in Deep Learningcited by 109
- 2023Grokking modular arithmeticcited by 83
- 2017Failures of Gradient-Based Deep Learningcited by 80
- 2014On the Computational Efficiency of Training Neural Networkscited by 71
- 2015Statistical Query Algorithms for Mean Vector Estimation and Stochastic Convex Optimizationcited by 41
- 2022SALSA: Attacking Lattice Cryptography with Transformerscited by 28
- 2016Distribution-Specific Hardness of Learning Neural Networkscited by 27
- 2018Reusing Weights in Subword-aware Neural Language Modelscited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.
- 2024Machine learning for modular multiplicationcited by 2
- 2025The informativeness of the gradient revisitedcited by 0
- 2025The informativeness of the gradient revisited28 May 2025
- 2024Machine learning for modular multiplication29 Feb 2024