[Paper Review] Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
This paper demonstrates that stochastic gradient descent (SGD) learns $k$-sparse parities near the theoretical computational limit, achieving convergence in $n^{O(k)}$ iterations across diverse architectures and hyperparameters. Contrary to random search, SGD exhibits hidden progress via a Fourier gap in the population gradient, enabling steady improvement even when loss and error metrics appear stagnant.
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 $n^{O(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 $n^{O(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.
Motivation & Objective
- To investigate how scaling training time affects the computational efficiency of SGD in solving hard discrete problems.
- To understand why SGD achieves discontinuous phase transitions in learning sparse parities despite no visible progress in loss or error.
- To challenge the hypothesis that SGD 'stumbles in the dark' by testing whether progress is gradual and structured.
- To identify whether the observed convergence times align with known computational lower bounds, particularly statistical query (SQ) bounds.
- To explore the role of architectural and hyperparameter choices in enabling efficient learning of sparse parities.
Proposed method
- Empirically evaluate SGD on $k$-sparse parity problems across multiple architectures: 2-layer MLPs, Transformers, sinusoidal neurons, and PolyNets.
- Use a variety of activation functions (ReLU, $z^k$, oscillating polynomials) and initialization schemes (uniform, Gaussian, Bernoulli) to test robustness.
- Measure convergence using population loss and accuracy on large batches, with convergence defined as reaching 100% accuracy within $10^5$ iterations.
- Analyze training curves for phase transitions and compute median convergence times across 100–1000 random seeds to reduce variance.
- Apply bootstrap resampling to compute 95% confidence intervals for median convergence times.
- Theoretically analyze the population gradient to identify a Fourier gap that enables gradual amplification of the sparse solution, explaining hidden progress.
Experimental results
Research questions
- RQ1Does SGD learn $k$-sparse parities in time close to the theoretical lower bound of $n^{ ilde{O}(k)}$?
- RQ2Is the observed convergence due to random search, or is there a structured, gradual optimization process?
- RQ3Can the hidden progress in SGD be explained by a Fourier gap in the population gradient?
- RQ4How do architectural choices and hyperparameters affect the convergence time for sparse parity learning?
- RQ5To what extent does the convergence time scale with $n$ and $k$, and does it match the $n^{O(k)}$ scaling predicted by SQ lower bounds?
Key findings
- SGD successfully learns $k$-sparse parities across diverse architectures—including 2-layer MLPs, Transformers, and PolyNets—within $n^{O(k)}$ iterations for small instances ($n \leq 30, k \leq 4$).
- Convergence times scale as $n^{O(k)}$, closely matching the statistical query (SQ) lower bound, indicating near-optimal computational efficiency.
- Despite no visible progress in loss or error, SGD exhibits a hidden progress mechanism driven by a Fourier gap in the population gradient, enabling steady amplification of the sparse solution.
- The convergence behavior is robust across activation functions, initialization schemes, and batch sizes, indicating a generalizable optimization mechanism.
- Phase transitions in training curves are discontinuous and occur at $n^{O(k)}$ iterations, suggesting emergent computational capabilities from scaling training time.
- Theoretical analysis confirms that the hidden progress is not due to Langevin-like random search, which would require $2^{\Omega(n)}$ time, but rather a structured, gradient-driven amplification process.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.