NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Gradient-Based Feature Learning under Structured Data

Alireza Mousavi-Hosseini, Denny Wu, Taiji Suzuki, Murat A. Erdogdu

This paper, titled "Gradient-Based Feature Learning under Structured Data," explores a fundamental question in deep learning theory: how does the underlying structure of data—specifically anisotropy—affect the ability of neural networks to learn features via gradient descent?

TL;DR

The authors demonstrate that while standard gradient-based methods fail to learn features under structured (anisotropic) data, a covariance-aware normalization—similar to batch normalization—not only fixes this but can drastically reduce sample complexity. By exploiting alignment between data structure and the target task, neural networks can achieve nearly linear sample complexity, effectively breaking the "curse" of the information exponent that limits learning in isotropic settings.

What Problem Does This Paper Address?

A central mystery in deep learning is why neural networks are so efficient at finding low-dimensional patterns in high-dimensional data. Researchers often study this using Single Index Models (SIMs), where a response $y$ depends on a 1D projection of the input $x$ (i.e., $y = g(\langle u, x \rangle)$).

Previous theoretical work mostly assumed isotropic data (where data varies equally in all directions). In that setting, the difficulty of learning is dictated by the information exponent ($s$) of the link function $g$. Essentially, the more "complex" the function, the more samples you need—specifically $O(d^s)$, where $d$ is the dimension.

However, real-world data is rarely isotropic; it has "spikes" or directions of high variance. This paper investigates how this structure affects feature learning. Does a spiked covariance help the network find the target direction $u$, or does it lead the algorithm astray?

Methods

The authors analyze a two-layer neural network trained using gradient flow. Their approach involves:

  1. The Spiked Covariance Model: They assume the input $x$ follows a distribution with a covariance matrix $\Sigma = I_d + \kappa \theta \theta^\top$, where $\theta$ is a "spike" direction and $\kappa$ is the magnitude of that spike.
  2. Two-Stage Training: They follow a standard theoretical pipeline: first, train the first-layer weights to align with the target direction $u$ (feature learning), then train the second layer to approximate the non-linear link function $g$.
  3. Normalized Dynamics: They compare standard "spherical" gradient flow against a covariance-aware normalized flow. This normalization is mathematically reminiscent of Batch Normalization, as it scales the pre-activations based on the input covariance.
  4. Preconditioning: They further explore a preconditioned version of the gradient flow that uses the inverse empirical covariance matrix ($\hat{\Sigma}^{-1}$) to accelerate learning.

Datasets

This is a theoretical paper, so the "datasets" are synthetic distributions designed to test specific mathematical properties:

  • Spiked Gaussian Inputs: Data generated as $x \sim N(0, \Sigma)$ with the spiked structure described above.
  • Single Index Targets: Labels generated via various link functions $g$ (like Hermite polynomials or ReLUs) to vary the information exponent $s$.

Key Insights and Ideas

  • The "Repulsive Force" of Anisotropy: A major finding is that standard, covariance-agnostic gradient flow actually fails on structured data. Even if the data's high-variance direction (the spike) perfectly aligns with the target, the network gets stuck at saddle points. The anisotropy creates a "repulsive force" that keeps the weights orthogonal to the target.
  • Normalization as a Solution: By using covariance-aware normalization, the authors show you can eliminate this repulsive force, allowing the network to successfully recover the target direction.
  • Structure as a Shortcut: If the data's spike $\theta$ is even partially aligned with the target $u$, it provides a stronger signal at initialization. This "primes" the network, potentially making the learning task much easier than in the isotropic case.
  • Breaking the Information Exponent: In the "Easy" regime (large spike, good alignment), the sample complexity becomes independent of the information exponent $s$. This means a network can learn a very complex function with far fewer samples than previously thought possible.

Key Results

The paper identifies a three-stage phase transition for sample complexity based on the spike's magnitude ($r_2$) and its alignment with the target ($r_1$):

Figure 1: Sample complexity to learn u and g under the spiked model. Smaller r1 denotes a better spike-target alignment, while larger r2 denotes a larger spike magnitude. The sample complexities are based on Corollary 8.
  • Hard Regime: When the spike is small or poorly aligned, complexity remains $O(d^s)$, similar to the isotropic case.
  • Intermediate Regime: Complexity improves as alignment ($r_1$) increases or the spike ($r_2$) grows.
  • Easy Regime: With a sufficiently large spike, the sample complexity becomes nearly linear in dimension ($O(d^{1+\nu})$) and independent of the link function's complexity ($s$).
  • Preconditioning Advantage: Using the inverse covariance preconditioner removes the dependency on the condition number of the data, further stabilizing and speeding up the learning process.

Limitations and Future Work

  • Single Index Limitation: The current analysis is restricted to models with a single target direction. Real-world problems are often "multi-index," requiring the network to learn multiple features simultaneously.
  • Initialization: The proofs rely on a specific type of initialization. Exploring how these results hold under more standard, random initializations in wider networks is a key area for future research.
  • Statistical Query Lower Bounds: The authors suggest that their results could be further validated by looking at Correlational Statistical Query (CSQ) lower bounds to see if their upper bounds are truly optimal.

Summary updated

BibTeX
@inproceedings{mousavihosseini2023gradient,
  author = {Alireza Mousavi-Hosseini and Denny Wu and Taiji Suzuki and Murat A. Erdogdu},
  title = {{Gradient-Based Feature Learning under Structured Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Fe8PxP2F2p},
}
Figure