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

Landscape Complexity for the Empirical Risk of Generalized Linear Models

Antoine Maillard, Gérard Ben Arous, Giulio Biroli

Abstract

We present a method to obtain the average and the typical value of the number of critical points of the empirical risk landscape for generalized linear estimation problems and variants. This represents a substantial extension of previous applications of the Kac-Rice method since it allows to analyze the critical points of high dimensional non-Gaussian random functions. We obtain a rigorous explicit variational formula for the annealed complexity, which is the logarithm of the average number of critical points at fixed value of the empirical risk. This result is simplified, and extended, using the non-rigorous Kac-Rice replicated method from theoretical physics. In this way we find an explicit variational formula for the quenched complexity, which is generally different from its annealed counterpart, and allows to obtain the number of critical points for typical instances up to exponential accuracy.

1. Introduction

In high-dimensional machine learning, the success of gradient-based optimization algorithms often hinges on the geometry of the underlying loss landscape. While these algorithms frequently converge to high-quality solutions, a complete theoretical understanding of why they avoid being trapped in local minima remains elusive.

Traditional theoretical approaches often focus on the "easy" regime, proving that under specific conditions, no spurious local minima exist. However, practical applications often operate in "hard" regimes where the landscape is non-convex and potentially littered with critical points. This paper addresses this gap by characterizing the "ruggedness" of optimization landscapes in Generalized Linear Models (GLMs), providing a framework to predict when a landscape transitions from simple to exponentially complex.

2. Theoretical Framework

To count the number of critical points (minima, maxima, and saddles), the authors extend the Kac-Rice method, a standard probabilistic tool typically reserved for Gaussian random functions. Because GLMs involve non-Gaussian interactions between data matrices and activation functions, the authors incorporate tools from three distinct fields:

  1. Probability Theory: Extending Kac-Rice to handle non-Gaussian random fields to calculate annealed complexity (the logarithm of the average number of critical points).
  2. Statistical Physics: Utilizing the replica trick to determine quenched complexity. This represents the typical number of critical points an optimizer encounters, which is often more relevant than the average.
  3. Free Probability: Using free multiplicative convolution and the Marchenko-Pastur law to describe the spectral properties of high-dimensional Hessian matrices, which determines the nature of each critical point.

3. Model Setup: The Teacher-Student Paradigm

As a theoretical study, the analysis is conducted using a "teacher-student" setup rather than empirical datasets. This framework allows for precise mathematical derivation in the thermodynamic limit, where the number of samples ($m$) and dimensions ($n$) both go to infinity while their ratio $\alpha = m/n$ remains constant.

  • Data Matrix: An $m \times n$ matrix with i.i.d. standard Gaussian elements.
  • Labels: Generated by a "teacher" vector through a smooth activation function $\phi$.
  • Goal: To characterize the empirical risk landscape as a function of the sample-to-dimension ratio $\alpha$.

4. Key Insights and Results

4.1 Annealed vs. Quenched Complexity

A central insight of the paper is the distinction between annealed and quenched complexity. The average number of critical points (annealed) can be misleading, as it may be dominated by rare, extreme instances of the data. The quenched complexity provides a more accurate picture of a "typical" optimization run, characterizing the landscape with exponential accuracy.

4.2 Variational Formulas

The paper provides explicit variational formulas (Theorems 1 & 2) that serve as optimization problems. When solved, these formulas yield the complexity of the landscape for a given loss function. The authors provide rigorous proofs for the annealed complexity of perceptron-like models, moving beyond the heuristic arguments common in physics literature.

4.3 The "Hard" Regime

By applying these formulas, researchers can pinpoint the exact threshold where the number of critical points begins to grow exponentially with the dimension $n$. This allows for a formal definition of the "complexity" that hinders optimization in high-dimensional spaces.

5. Limitations and Future Work

While the paper offers a significant advancement in landscape analysis, several areas remain for future exploration:

  • Replica Symmetry: The current quenched results assume replica symmetry. In extremely complex landscapes (similar to spin glasses), this symmetry may break, requiring more advanced (RSB) calculations.
  • Deep Learning: The study is currently limited to single-layer models. Extending this to deep neural networks remains a challenge due to the increasing complexity of dependencies within the Hessian matrix.
  • Index Counting: Future work is needed to more precisely distinguish between local minima and various types of saddle points (index counting).

6. Conclusion

This work provides a rigorous mathematical bridge between statistical physics and machine learning. By providing tools to quantify the complexity of non-Gaussian landscapes, it moves the field closer to a predictive theory of optimization in high-dimensional, non-convex environments.

Summary updated

BibTeX
@inproceedings{maillard2020landscape,
  author = {Antoine Maillard and Gérard Ben Arous and Giulio Biroli},
  title = {{Landscape Complexity for the Empirical Risk of Generalized Linear Models}},
  booktitle = {MSML},
  year = {2020},
  url = {https://openreview.net/forum?id=qBfynzxi6t},
}
Figure