Learning a Single Index Model from Anisotropic Data with Vanilla Stochastic Gradient Descent

Guillaume Braun, Minh Ha Quang, Masaaki Imaizumi

Abstract

We investigate the problem of learning a Single Index Model (SIM)---a popular model for studying the ability of neural networks to learn features---from anisotropic Gaussian inputs by training a neuron using vanilla Stochastic Gradient Descent (SGD). While the isotropic case has been extensively studied, the anisotropic case has received less attention and the impact of the covariance matrix on the learning dynamics remains unclear. For instance, Mousavi-Hosseini et al. (2023b) proposed a spherical SGD that requires a separate estimation of the data covariance matrix, thereby oversimplifying the influence of covariance. In this study, we analyze the learning dynamics of vanilla SGD under the SIM with anisotropic input data, demonstrating that vanilla SGD automatically adapts to the data’s covariance structure. Leveraging these results, we derive upper and lower bounds on the sample complexity using a notion of effective dimension that is determined by the structure of the covariance matrix instead of the input data dimension. Finally, we validate and extend our theoretical findings through numerical simulations, demonstrating the practical effectiveness of our approach in adapting to anisotropic data, which has implications for efficient training of neural networks.

Introduction

In the study of neural networks, researchers often use the Single Index Model (SIM) as a testbed. In a SIM, the output $y$ depends on the input $x$ only through a single direction $w^*$: $y = f(\langle w^*, x \rangle)$. While we have a good grasp of how SGD learns these models when the inputs are "isotropic" (meaning the data is a perfect sphere of Gaussian noise), real-world data is almost never isotropic. It is anisotropic, meaning it has correlations and "spikes" in certain directions.

Previous attempts to solve the anisotropic case relied on "Spherical SGD," which requires the algorithm to know the data's covariance matrix in advance to normalize the weights. This study addresses a major gap: Can vanilla SGD learn these models on its own, and how does the data's covariance affect the speed of learning?

Methods

The authors analyze the training of a single ReLU neuron using vanilla SGD without weight normalization or special constraints. To track the learning progress, they utilize a mathematical framework involving Hermite polynomials, allowing them to decompose the "link function" $f$ into components based on its information exponent ($k^*$). This exponent describes how "hidden" the signal is; a higher $k^*$ indicates a more complex function that is harder for SGD to detect initially.

The key innovation is tracking the population dynamics—the average movement of the weight vector $w$—while controlling the noise from finite SGD steps. Unlike previous work, the norm of the weights is allowed to evolve naturally.

Experimental Setup

The theoretical findings are validated using synthetic datasets:

  • Anisotropic Gaussian Inputs: Inputs $x \sim N(0, Q)$, where $Q$ is a general covariance matrix.
  • Spiked Covariance Models: Cases where the covariance has a "spike" (higher variance) in the direction of the target index $w^*$.
  • Link Functions: Various functions $f$ with different information exponents (e.g., $H_2(x) = x^2 - 1$).

Key Insights

  • Automatic Adaptation: Vanilla SGD is "covariance-agnostic." It does not need to estimate $Q$ to succeed; the gradient updates are implicitly shaped by the data's geometry.
  • Effective Dimension: The problem's difficulty is determined by an effective dimension ($\Theta$) reflecting how the signal $w^*$ aligns with the data's principal directions, rather than the raw input dimension ($d$).
  • Anisotropy as an Accelerator: Anisotropy can actually be beneficial. If the data has high variance in the direction of $w^*$, vanilla SGD learns faster than in the isotropic case.
  • Norm Dynamics: The growth of the weight vector's magnitude is coupled with directional learning. As long as initial weights are small, the direction $w^*$ is captured before the norm grows excessively.

Key Results

The authors provide explicit formulas for the iterations ($T$) needed for "weak recovery." For complex functions ($k^* \ge 3$), iterations scale with $\Theta^{-2}$. Using the Correlated Statistical Query (CSQ) framework, they prove that this effective dimension represents a fundamental limit.

Comparison of learning dynamics in isotropic (top) vs. anisotropic (bottom) settings.

Numerical simulations with $d=1000$ confirm these results. When the data is "spiked" in the signal direction ($\kappa=6$), the model converges significantly faster than in the isotropic case ($\kappa=0$), as shown in the alignment metrics (red and green lines) of the figure above.

Limitations and Future Work

While providing a strong theoretical foundation, the study focuses on a single neuron. Real-world deep networks involve complex interactions between many layers. Additionally, the Gaussian assumption for inputs may not hold for data residing on non-linear manifolds. Finally, while this work covers "weak recovery," the subsequent descent phase (converging to zero loss) requires further rigorous analysis in anisotropic settings.

Summary updated

BibTeX
@inproceedings{braun2025learning,
  author = {Guillaume Braun and Minh Ha Quang and Masaaki Imaizumi},
  title = {{Learning a Single Index Model from Anisotropic Data with Vanilla Stochastic Gradient Descent}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=We7KbgDN6W},
}
Figure