Feature selection with gradient descent on two-layer networks in low-rotation regimes

Matus TelgarskyarXiv 2022 · DOI

Abstract

This paper provides a rigorous mathematical bridge between the Neural Tangent Kernel (NTK) regime—where networks act like simple linear models—and true feature learning. By focusing on "low-rotation" regimes, the work proves that standard gradient-based optimization can effectively select relevant features and achieve low test error on challenging problems like sparse parity. The analysis establishes that gradient descent on two-layer ReLU networks performs genuine feature selection by moving weights significantly further than the NTK regime allows, maximizing margins even when weight directions change minimally.

Introduction

The central challenge in deep learning theory is the "Feature Learning Gap." While the Neural Tangent Kernel (NTK) explains why very wide networks converge quickly, it essentially treats the network as a linear predictor over fixed features, failing to explain how networks learn which features are important. In practice, networks do learn features, as seen in benchmarks like 2-sparse parity, where kernel methods require $d^2/\epsilon$ samples while true feature learners should only need $d/\epsilon$. This paper proves that standard Gradient Descent (GD) and Stochastic Gradient Descent (SGD) can cross this threshold and perform genuine feature selection.

Methodology

The author utilizes Margin Theory as the primary analytic tool, focusing on how the gap between the decision boundary and data points grows over time.

Key methodological components include:

  • Low-Rotation Regimes: The analysis targets settings where weight vector directions change little, but magnitudes change by $O(\sqrt{m})$, allowing for neuron selection beyond the $O(1)$ motion of the NTK regime.
  • Potential Functions and Clarke Differentials: New mathematical potential functions track Gradient Flow (GF) from initialization, while Clarke subgradients handle the non-smoothness of ReLU activations.
  • Escaping Bad KKT Points: The paper proves that Gradient Flow is strong enough to escape certain bad local optima of the margin objective that would trap simpler linear models.
Visualizing trajectories and weight changes. As network width $m$ increases, weights naturally exhibit lower rotation while still allowing for significant norm changes.

Key Insights and Results

A major finding is that the first step of SGD has a norm of at least $\gamma\sqrt{m}$, immediately pushing the network out of the NTK regime. This suggests that feature selection starts almost instantly. Furthermore, there is a fundamental trade-off: as the network gets wider, the weights naturally rotate less, justifying the paper's focus on the low-rotation regime.

Theorem 2.1 demonstrates that SGD achieves test error $\epsilon$ with a network width of $m = \Omega(1/\gamma_{ntk}^2)$, a significant improvement over prior methods. Most importantly, under "scalar GF" (norm-only updates), the paper achieves the optimal $d/\epsilon$ sample complexity for 2-sparse parity, proving that the network is performing true feature selection rather than just acting as a kernel.

Comparison of theoretical results for sample complexity ($n$), width ($m$), and time ($t$) across different algorithmic frameworks.

Discussion and Limitations

While these results bridge the gap to feature learning, several limitations remain. Achieving the $d/\epsilon$ complexity currently requires exponentially large widths ($m \approx d^d$). Furthermore, while empirical evidence shows low-rotation behavior occurs naturally in wide networks, proving this for unconstrained GD is an ongoing challenge. Finally, the analysis is currently restricted to two-layer networks; extending these margin-based proofs to multi-layer architectures is the next logical step for the field.

Summary updated

BibTeX
@misc{telgarsky2022feature,
  author = {Matus Telgarsky},
  title = {{Feature selection with gradient descent on two-layer networks in low-rotation regimes}},
  year = {2022},
  eprint = {2208.02789},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.02789},
}
Figure