Topological Exploration of High-Dimensional Empirical Risk Landscapes: general approach, and applications to phase retrieval
Authors: Antoine Maillard, Tony Bonnaire, Giulio Biroli
Organizations: INRIA Paris & DI ENS, PSL University, Paris, France. · Université Paris-Saclay, CNRS, Institut d’Astrophysique Spatiale, 91405 Orsay, France · Laboratoire de Physique de l’École normale supérieure, ENS, Université PSL, CNRS, Sorbonne Université, Université Paris Cité, F-75005 Paris, France
We consider the landscape of empirical risk minimization for high-dimensional Gaussian single-index models (generalized linear models). The objective is to recover an unknown signal θ⋆∈Rd (where d≫1) from a loss function R^(θ) that depends on pairs of labels (xi⋅θ,xi⋅θ⋆)i=1n, with xi∼N(0,Id), in the proportional asymptotic regime n≍d. Using the Kac-Rice formula, we analyze different complexities of the landscape -- defined as the expected number of critical points -- corresponding to various types of critical points, including local minima. We first show that some variational formulas previously established in the literature for these complexities can be drastically simplified, reducing to explicit variational problems over a finite number of scalar parameters that we can efficiently solve numerically. Our framework also provides detailed predictions for properties of the critical points, including the spectral properties of the Hessian and the joint distribution of labels. We apply our analysis to the real phase retrieval problem for which we derive complete topological phase diagrams of the loss landscape, characterizing notably BBP-type transitions where the Hessian at local minima (as predicted by the Kac-Rice formula) becomes unstable in the direction of the signal. We test the predictive power of our analysis to characterize gradient flow dynamics, finding excellent agreement with finite-size simulations of local optimization algorithms, and capturing fine-grained details such as the empirical distribution of labels. Overall, our results open new avenues for the asymptotic study of loss landscapes and topological trivialization phenomena in high-dimensional statistical models.
Figures & tables
Figure 1: In the phase retrieval problem (see eq. ( 3 )), with a=0.01 , q=0.0 , and α=6.5 , we show the annealed Kac-Rice prediction for the Hessian density of typical-energy minima, see eq. ( 26 ). The predicted complexity is Σ0(q)≃7.10−3>0 (see also Fig. 5 below). The green arrow represents the position of the negative “BBP” outlier in the spectrum predicted by our theory for this Hessian density, see eq. ( 67 ). The red-shaded area delimitates the prediction for the location of the outlier for all minima with positive complexity, from the highest-energy to lowest-energy ones. The histograms correspond to numerical results obtained using finite-size gradient descent simulations, see Section 3.1 for more details.
Figure 2: For a=0.01 , q=0 , and three values α=6.0<αtriv. , α=7.5≃αtriv. and α=8.0>αtriv. , we show: (left) the complexity Σ0(q=0,e) for different values of e around the maximal complexity, (middle) the density of the Hessian at local minima of typical energy (at e⋆:=argmaxΣ0(q=0,e) ), and (right) the corresponding law ν(y,y⋆) . The results are obtained by solving the optimization problem of eq. ( 24 ).
Figure 3: For a=0.01 , q=0.4 , and three values α=4.0<αtriv. , α=4.55≃αtriv. and α=5.0>αtriv. , we show: (left) the complexity Σtot.(q,e) for different values of e around the maximal complexity, (middle) the density of the Hessian at critical points of typical energy (at e⋆:=argmaxΣtot.(q,e) ), and (right) the corresponding law ν(y,y⋆) . The results are obtained by solving the optimization problem of eq. ( 28 ).
Figure 4: For a=0.01 , q=0.0 , we show (left) the energy of the typical, lowest, and highest-energy minima as a function of α . The inset shows the value of the complexity Σ~0 (notice that highest and lowest-energy minima are always at zero complexity by definition). In the red region the complexity of local minima is negative. (Right) The spectral density ρ0(w) of the Hessian at these minima, for α=6.0 . We show in dotted red the line w=0 . In the inset, we show the Lagrange multiplier λ⋆ as a function of α . The results are obtained by solving the Kac-Rice formula of eq. ( 24 ).
Figure 5: Phase diagram predicted by the Kac-Rice method, for a=0.01 .
Figure 6: Evolution of the average energy ⟨e⟩ of the minima for a=0.01 with α at fixed (left) q=0.0 , (middle) q=0.1 , and (right) q=0.2 obtained from the experiments (in black) and the band of energy predicted by the annealed Kac-Rice (in shaded red).
Figure 7: Comparisons of the predicted Kac-Rice properties for the minima at q=0.0 and typical energy e⋆ and the empirical minima found by the gradient descent dynamics at d=512 and a=0.01 . We compare: (left) the eigenvalue distribution of the Hessian ρ(λ) , (middle) the distribution of the Hessian weights F(u)=∂12ℓ(y,y⋆) , and (right) the joint label distributions ν(y,y⋆) . In red are the Kac-Rice predictions described in Section 2 .
Figure 8: Minima phase diagram predicted by the Kac-Rice method for a=0.01 along with the experimental results.
Figure 9: Phase diagram predicted by the Kac-Rice method, for a∈{0.1,1.0} . The conventions and colors are the same as in Fig. 5 in the main text.
Figure 10: For a=1.0 and α=3.0 , the annealed complexity Σ0(q,e) as a function of q , for e=e⋆(q=0)/2≃0.048 , half of the loss value of typical minima. In red we show the overlap band of positive complexity.
Figure 11: Evolution of (left) the total complexity Σtot. , (middle) the energy, and (right) total number of steps as functions of α for two starting points: α∈{3.0,3.5} .
Figure 12: For a=1.0 and q=0.0 , we show the computation of the BBP transition point for typical-energy, lowest-energy and highest-energy minima.
Figure 13: Evolution of the average energy ⟨e⟩ of the minima for a=1 with α at fixed (left) q=0.0 , (middle) q=0.1 , and (right) q=0.2 obtained from the experiments (in black) and the band of energy predicted by the annealed Kac-Rice (in shaded red).
Figure 14: Comparisons of the predicted Kac-Rice properties for the minima at q=0.0 and typical energy e⋆ and the empirical minima found by the gradient descent dynamics at d=512 and a=1 . We compare: (left) the eigenvalue distribution of the Hessian ρ(λ) , (middle) the distribution of the Hessian weights F(u)=∂12ℓ(y,y⋆) , and (right) the joint label distributions ν(y,y⋆) . In red are the Kac-Rice predictions described in Section 2 .
Physics, Chalmers University of Technology and University of Gothenburg · Ecole Normale Superieure, PSL & CNRS · Data Science and AI, Computer Science and Engineering, Chalmers University of Technology and University of Gothenburg +1