Convergence of Shallow ReLU Networks on Weakly Interacting Data

Léo Dana, Francis R. Bach, Loucas Pillaud-Vivien · DOI

TL;DR

This paper shows that shallow ReLU neural networks can converge to a global minimum (i.e., perfectly fit the data) with high probability, even with a relatively small number of neurons (on the order of log(n)), provided the data is high-dimensional and weakly correlated. This offers a theoretical understanding of why deep learning models often work well in practice, even when not in the "lazy" or "infinite-width" regimes.

What Problem Does This Paper Address?

Training neural networks, especially deep ones, is notoriously complex. While linear models and convex optimization problems have well-understood convergence guarantees, neural networks are non-convex and their training dynamics are much harder to analyze. Existing theoretical work often relies on specific, sometimes unrealistic, assumptions: either the "lazy regime" where networks behave like linear models, or the "infinite-width" regime where the number of neurons is infinite. However, in practice, neural networks are trained with finite width and outside the lazy regime, and they still often converge to good solutions. This paper aims to bridge this gap by providing theoretical convergence guarantees for shallow ReLU networks under more realistic conditions, specifically focusing on the role of high-dimensional, weakly correlated data.

Methods

The authors analyze the training dynamics of a one-hidden-layer ReLU network using gradient flow. Their core technical tool is the Polyak-Łojasiewicz (PL) inequality, which provides a condition for convergence to a global minimum. They adapt this by defining a "local-PL curvature" that is tracked along the gradient flow trajectory.

Key methodological contributions include:

  • Leveraging High Dimensionality: The paper exploits the fact that in high dimensions ($d \ge n^2$), input data samples tend to be weakly correlated. This is formalized by Assumption 2, which bounds the deviation of $X^T X$ from its diagonal part $D_x$.
  • Logarithmic Neuron Width: They demonstrate that a network width of order $\log(n)$ neurons is sufficient for global convergence with high probability under these conditions. This is a significant improvement over the polynomial width required in some other regimes.
  • Orthogonal Data Analysis: For the special case of orthogonal data, they provide a more refined analysis of the convergence speed, revealing a phase transition phenomenon.
  • Weight Invariance: They utilize a property of ReLU networks where the relative magnitudes of the first-layer weights and biases are invariant under gradient flow, which simplifies analysis.

Datasets

The paper primarily uses synthetic data generated according to specific distributional assumptions. These assumptions include:

  • Weakly Correlated Inputs: Formalized by Assumption 2, which is shown to hold with high probability for random whitened vectors in high dimensions ($d > C(n^2 + n \log n)$).
  • Orthogonal Inputs: A special case analyzed in Section 4.
  • Sub-Gaussian, Zero-Mean, Whitened Data: Used in the context of Corollary 1, which generalizes the main theorem to generically distributed data.

No specific real-world datasets are mentioned for training or evaluation in the theoretical sections. However, the experimental section (Section 5) describes training networks with synthetic data generated according to specific distributions designed to test the theoretical findings.

Key Insights and Ideas

  • High-Dimensional Data is Key: The paper's central insight is that high dimensionality, by inducing low correlation among input features, significantly simplifies the optimization landscape for shallow ReLU networks. This allows for convergence with fewer neurons than previously thought necessary.
  • Logarithmic Neuron Count is Sufficient: The finding that $\mathcal{O}(\log n)$ neurons are enough for global convergence is a major theoretical result, contrasting with the $\mathcal{O}(n)$ or even infinite width requirements in other settings. This suggests that feature learning might not require an overwhelming number of neurons when data is well-behaved.
  • Phase Transitions in Convergence: The analysis of orthogonal data reveals a fascinating "phase transition" in the convergence rate. This suggests that the learning process can dynamically shift its speed, offering a more nuanced view than a single, constant rate.
  • Weak Interaction Prevents Collapse: The low correlation of inputs (Assumption 2) is crucial for preventing a phenomenon called "early alignment," where neurons might collapse onto a single direction, hindering interpolation. This weak interaction allows for better feature learning.

Key Results

  • Global Convergence with $\log(n)$ Neurons: For $n$ data points and ambient dimension $d \ge n^2$, a shallow ReLU network with $p \ge 4\log(n)$ neurons converges to a global minimum with high probability (at least $1-\epsilon$) under Assumption 1 (asymmetric norm initialization) and Assumption 2 (weakly correlated inputs).
  • Exponential Convergence Rate: The loss converges to zero exponentially fast, with a rate of at least $\mathcal{O}(\frac{1}{n})$.
  • Orthogonal Data Dynamics: In the orthogonal case, the convergence rate is characterized to be between $\mathcal{O}(\frac{1}{n})$ and $\mathcal{O}(\frac{1}{\sqrt{n}})$. A phase transition in the convergence rate is observed, evolving from the lower to the upper bound over a relative time of $\mathcal{O}(\frac{1}{\log n})$.
  • Conjecture 1: The authors conjecture that for orthogonal data, the average asymptotic convergence rate is $\mathcal{O}(\frac{1}{\sqrt{n}})$ with high probability. Experiments support this conjecture.

Limitations and Future Work

Limitations:

  • Shallow Network: The analysis is restricted to one-hidden-layer networks. Extending these results to deeper networks is a significant open challenge.
  • Discretization: The analysis uses gradient flow (continuous time), while practical training uses gradient descent (discrete time). The paper acknowledges that discretization needs to be carried out.
  • Specific Data Assumptions: While Assumption 2 is shown to hold for random whitened vectors in high dimensions, the theoretical guarantees are derived under this specific assumption.
  • Initialization: While the results hold for any initialization scale (outside the lazy regime), Assumption 1 (asymmetric norm at initialization) is used for some proofs and is sufficient for global convergence, though not necessarily necessary.

Future Work:

  • Deeper Networks: Proving convergence for deeper networks remains a major open problem.
  • Linear Threshold $d > C n$: Extending the theoretical guarantees to regimes where $d$ is only linearly larger than $n$ would require new proof techniques.
  • Impact of Large Neuron Counts: The study focuses on a "low" number of neurons ($\log n$). Quantifying the impact of a large number of neurons, especially beyond the $\log n$ regime, is an area for future research.
  • Teacher-Student Models: Linking convergence properties to the complexity of a "teacher" network that generates the data could provide further insights.
  • Experimental Error Bars: The authors note that adding error bars to experiments would improve statistical precision.

Summary updated

Abstract

We analyse the convergence of one-hidden-layer ReLU networks trained by gradient flow on $n$ data points. Our main contribution leverages the high dimensionality of the ambient space, which implies low correlation of the input samples, to demonstrate that a network with width of order $\log(n)$ neurons suffices for global convergence with high probability. Our analysis uses a Polyak-{\L}ojasiewicz viewpoint along the gradient-flow trajectory, which provides an exponential rate of convergence of $\frac{1}{n}$. When the data are exactly orthogonal, we give further refined characterizations of the convergence speed, proving its asymptotic behavior lies between the orders $\frac{1}{n}$ and $\frac{1}{\sqrt{n}}$, and exhibiting a phase-transition phenomenon in the convergence rate, during which it evolves from the lower bound to the upper, and in a relative time of order $\frac{1}{\log(n)}$.
BibTeX
@inproceedings{dana2025convergence,
  author = {Léo Dana and Francis R. Bach and Loucas Pillaud-Vivien},
  title = {{Convergence of Shallow ReLU Networks on Weakly Interacting Data}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=dkXDyM66ce},
}
Figure