Learning Gaussian Multi-Index Models with Gradient Flow: Time Complexity and Directional Convergence

Berfin Simsek, Amire Bendjeddou, Daniel Hsu

Abstract

This work focuses on the gradient flow dynamics of a neural network model that uses correlation loss to approximate a multi-index function on high-dimensional standard Gaussian data. Specifically, the multi-index function we consider is a sum of neurons $f^*(x) = \sum_{j=1}^k \sigma^*(v_j^T x)$ where $v_1, \dots, v_k$ are unit vectors, and $\sigma^*$ lacks the first and second Hermite polynomials in its Hermite expansion. It is known that, for the single-index case ($k = 1$), overcoming the search phase requires polynomial time complexity. We first generalize this result to multi-index functions characterized by vectors in arbitrary directions. After the search phase, it is not clear whether the network neurons converge to the index vectors, or get stuck at a sub-optimal solution. When the index vectors are orthogonal, we give a complete characterization of the fixed points and prove that neurons converge to the nearest index vectors. Therefore, using $n \asymp k \log k$ neurons ensures finding the full set of index vectors with gradient flow with high probability over random initialization. When $v_i^T v_j = \beta \geq 0$ for all $i \neq j$, we prove the existence of a sharp threshold $\beta_c = c/(c+k)$ at which the fixed point that computes the average of the index vectors transitions from a saddle point to a minimum. Numerical simulations show that using a correlation loss and a mild overparameterization suffices to learn all of the index vectors when they are nearly orthogonal, however, the correlation loss fails when the dot product between the index vectors exceeds a certain threshold.

Introduction

In high-dimensional machine learning, target functions often depend on a small number of linear projections of the input, known as multi-index models. Training neural networks to identify these hidden directions is challenging due to non-convex loss landscapes that are often flat at initialization. This leads to a prolonged "search phase" before significant progress is made. While previous research has analyzed the single-index case, this paper extends the analysis to the multi-index case ($k$ directions), investigating the time complexity of finding the relevant subspace, the convergence behavior of neurons, and the impact of the geometric relationship between hidden directions.

Methodology

The study employs a stylized setting using correlation loss instead of Mean Squared Error (MSE). Correlation loss decouples the neurons, facilitating the analysis of a single neuron's trajectory as a dynamical system on a unit sphere. Key technical tools include:

  • Hermite Polynomial Expansion: Decomposes activation functions. The "information exponent" ($p^*$), the index of the first non-zero Hermite coefficient, dictates initial learning speed.
  • Low-Dimensional ODEs: High-dimensional gradient flow is projected onto the $k$-dimensional subspace spanned by the hidden index vectors.
  • Lyapunov Functions: Used to demonstrate monotonic movement of neurons toward the nearest hidden direction under specific conditions.
  • Hessian Analysis: Examines the stability of fixed points, identifying transitions between saddle points and stable local minima.

The analysis uses synthetic high-dimensional Gaussian data ($\mathcal{N}(0, I_d)$), allowing for exact expectation calculations and a focus on fundamental algorithmic dynamics.

Key Insights and Results

Search Phase Complexity

The time required to exit the search phase and find the relevant subspace scales as $\Theta(d^{p^*/2-1})$. This confirms that functions with higher information exponents are exponentially harder to learn. For $p^*=2$, convergence is significantly faster at $\Theta(\log d)$.

Figure 1: Evolution of the correlation between a neuron and the hidden index vectors for different information exponents $p^*$. Higher $p^*$ values lead to a longer search phase.

Directional Convergence and the "Average" Trap

For orthogonal hidden vectors, a single neuron typically converges to the nearest hidden vector. However, if the hidden index vectors are geometrically similar (high dot product $\beta$), gradient flow may fail to distinguish them. Instead of identifying individual vectors, neurons may converge to a single vector representing the group's average.

The Geometry Threshold

A sharp threshold $\beta_c = \frac{p^*-2}{k+p^*-2}$ exists. Below this threshold, the "average" point is an unstable saddle, allowing neurons to eventually move toward individual directions. Above $\beta_c$, the average becomes a stable local minimum, trapping the gradient flow.

Figure 2: The final correlation $u_1$ as a function of the overlap $\beta$ between index vectors. A sharp transition occurs at $\beta_c$, where the model fails to learn individual directions and settles for the average.

Neuron Overparameterization

By framing neuron initialization as a "coupon collector's problem," the authors show that $n \asymp k \log k$ neurons are sufficient to ensure each hidden direction is captured by at least one neuron with high probability.

Limitations and Future Work

While correlation loss simplifies analysis, it ignores neuron interactions present in MSE loss, such as "repulsion" that helps neurons spread out. Future work should address these interactions. Additionally, the current geometric analysis assumes equiangular hidden vectors; real-world data may exhibit more irregular geometries. The study also assumes fixed second-layer weights, and the link to NP-hard tensor decomposition suggests that learning multi-index models with arbitrary geometries may be computationally intractable in general.

Summary updated

BibTeX
@inproceedings{simsek2025learning,
  author = {Berfin Simsek and Amire Bendjeddou and Daniel Hsu},
  title = {{Learning Gaussian Multi-Index Models with Gradient Flow: Time Complexity and Directional Convergence}},
  booktitle = {CPAL (Recent Spotlight Track)},
  year = {2025},
  url = {https://openreview.net/forum?id=AvZr0c0Kog},
}
Figure