Summary
This paper considers the problem of learning a $k$-parity function on the $d$-dimensional hypercube using SGD on a two-layer neural network. They consider a specific choice of activation ($\sigma (x) = x^k$) and training dynamics (correlation loss, online sign SGD, fixed second layer weights) and show the following: for $m = 2^{\Theta (k)}$ neurons, batch size $B = \Theta (d^{k-1} \text{polylog} (d))$, then $T = \Theta (log (d))$ steps of online sign SGD achieves small $0/1$-test error. In particular, the total computation time scales as $\Theta (mTB) = \Theta (d^{k} \text{polylog} (d))$. This is noteworthy as it matches the lower bound for learning parities from a large class of learning algorithms, namely statistical queries.
Strengths
- The paper is well written, clear, and a very pleasant read (thank you!). Remarks and discussions provide background and comparison with other works, and help outline the contributions.
- The theoretical analysis and statements are clean, and the proof quite compact and elegant, thanks to some simplifying assumptions in the model..
- The fact that SGD on a (quite regular) neural network can match the runtime complexity of the SQ class of algorithms is a nice message. There is a growing literature trying to understand the power of learning with SGD on neural networks, compared to other classes of algorithms, and I believe this paper is a useful addition to the literature.
Weaknesses
I am not sure the paper offers striking novel insights compared to existing literature, or that the analysis is particularly interesting in terms of proof techniques. This is the reason for my rating, but I remain open to changing it during the discussion period.
- I think it was already quite widely believed that SGD on NNs can match the SQ lower bound (this is indicated in many papers on learning sparse functions on the hypercube/multi-index functions on Gaussian data). The case of $k$-parities was not written/proven before, and I think this paper makes the necessary effort to settle it. However, I believe some existing analysis can be extended to this case (e.g., [Abbe2023a], [Margalit et al., 2023]), even though they will have drawbacks specific to their choice of simplifications.
- The analysis and proofs are quite nice, but it feels like a game of “there exists a specific choice of hyperparameters so that an analysis goes through”. Given that the paper doesn’t put forth particularly novel insights/phenomena, the analysis of a more vanilla training setting (non-monomial activation, more general loss, and standard GD) would have felt more substantial.
- There are several questions about this setting that remain completely not understood (e.g., what happens when reusing batches) which further contributes to the impression that this work is incremental.
Questions
About the conclusion on going beyond SQ: the paper “On the power of differentiable learning versus PAC and SQ learning” shows that it is indeed possible with enough machine precision: we can emulate Gaussian elimination. Of course, this is not a very interesting result, as it uses a highly non-standard network that encodes an algorithm in its architecture. There are other noise-tolerant algorithms that do slightly better than SQ, it would be interesting to show that regular architectures prevent their emulation (besides low machine precision).