Repetita Iuvant: Data Repetition Allows SGD to Learn High-Dimensional Multi-Index Functions

Luca Arnaboldi, Yatin Dandi, Florent Krzakala, Luca Pesce, Ludovic Stephan · DOI

Introduction

In high-dimensional machine learning, target functions often follow a "multi-index model," where the output depends on a few relevant directions within a high-dimensional input space. Traditionally, the "one-pass" Stochastic Gradient Descent (SGD) regime—where each sample is used exactly once—is constrained by the Information Exponent ($\ell$). For functions where the signal is weak (high $\ell$), SGD requires $O(d^{\ell-1})$ samples, making many functions effectively unlearnable in high dimensions ($d$).

However, modern training practices rarely adhere to the one-pass constraint. Techniques like multiple epochs, Lookahead optimizers, and Sharpness-Aware Minimization (SAM) involve repeated interactions with the same data. This research investigates whether such data repetition fundamentally alters the mathematical landscape of learnability.

Methods: Beyond One-Pass SGD

The authors analyze the training dynamics of shallow, two-layer neural networks under a "two-pass" or "extra-gradient" framework. They formalize a generalized optimizer step that encompasses:

  • Extragradient Descent (EgD): Calculating a gradient at a look-ahead point to update the original weights.
  • Sharpness-Aware Minimization (SAM): A technique for finding flatter minima by perturbing weights.
  • Simple Data Repetition: Executing multiple SGD steps on the same mini-batch.

The core theoretical contribution is the shift from the Information Exponent ($\ell$) to the Polynomial Generative Exponent ($\ell^*$). Using mean-field analysis, the authors track how network weights align with hidden relevant directions.

Hierarchical Learning and the "Staircase" Effect

A key insight is that data repetition creates non-linear interactions between gradients. When a data point is seen a second time, the update is informed by weights that have already extracted some information from that specific point. This allows the network to capture signals invisible to a single pass.

Furthermore, the paper introduces the concept of "hierarchical learning." Networks can learn complex features sequentially: once a simple feature is identified, it serves as a "staircase" that provides the necessary signal to learn subsequent, more complex directions. This mechanism allows for the learning of all polynomial multi-index functions in at most $O(d \log d^2)$ samples.

Figure 1: Comparison of EgD and SGD across different target functions. Note how EgD succeeds on higher-order Hermite polynomials ($He_3, He_4$) where vanilla SGD fails to gain correlation.

Key Results

The theoretical findings are validated through simulations on high-dimensional Gaussian data.

  • Exponential Speedup: For functions like $He_3(x)$, where $\ell=3$, vanilla SGD remains stagnant. In contrast, EgD achieves "weak recovery" (alignment with the true direction) in linear time $O(d)$.
  • Multi-Index Mastery: The framework successfully learns functions depending on multiple directions. For example, in the function $h^*(\mathbf{x}) = x_1 + x_1x_2$, the network learns the relevant directions sequentially, with EgD showing superior performance in aligning with the primary direction $w_1^*$.
Figure 6: Learning dynamics for a multi-index model $h^*(\mathbf{x}) = x_1 + x_1x_2$. EgD significantly outperforms SGD in aligning with the primary relevant direction $w_1^*$.

Discussion and Limitations

While the results are promising, several avenues for future work remain. The current analysis is restricted to two-layer networks; extending these proofs to deep architectures is a critical next step. Additionally, the mathematical rigor relies on Gaussian input assumptions, whereas real-world data distributions are significantly more complex. Finally, to maintain tractability, the second-layer weights were kept fixed; future studies should explore the joint dynamics of both layers.

Conclusion

"Repetita Iuvant"—repetition helps. By moving beyond the one-pass SGD paradigm, this work provides a theoretical foundation for why common practices like multi-epoch training and extra-gradient methods are so effective. It suggests that the "curse of dimensionality" for many complex functions can be broken not just with more data, but with smarter data usage.

Summary updated

BibTeX
@inproceedings{arnaboldi2024repetita,
  author = {Luca Arnaboldi and Yatin Dandi and Florent Krzakala and Luca Pesce and Ludovic Stephan},
  title = {{Repetita Iuvant: Data Repetition Allows SGD to Learn High-Dimensional Multi-Index Functions}},
  booktitle = {HiLD @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=DVmxh2kuqc},
}
Figure