Complex energy landscapes in spiked-tensor and simple glassy models: ruggedness, arrangements of local minima and phase transitions

Valentina Ros, Gerard Ben Arous, Giulio Biroli, Chiara Cammarota

I Introduction

Characterizing rough multi-dimensional energy landscapes is a challenging task that is central in many different fields from physics to computer science, high-dimensional statistics, machine learning and biology. In a nutshell this problem consists in analyzing the statistical properties of functions defined on very high dimensional spaces. Relevant information that one wants to obtain is for instance the number of minima at a given energy, and more generally of the critical points, and the spectral properties of their corresponding Hessian. This issue is crucial to understand the dynamics within these landscapes, in particular gradient descent which has many physical and practical applications. Depending on the context, the landscape can correspond to the energy of a physical system, to the loss-function of a machine learning algorithm, to the cost function of an optimization problem or to the fitness function of a biological system. Pioneering works on this subject were done in physics, in the context of mean field spin-glasses, starting from the 80s moore ; kurchan ; crisantisommers ; giardinacavagnaparisi , see cavagnapedestrian for a review. One of the essential results, besides the explicit computations in several models, was the understanding that the statistical properties of rough energy landscapes are the ones characteristic of two different physical systems: spin-glasses and glasses cavagnapedestrian . The origin of this universality lies in replica theory: the properties of the landscape are actually encoded in the type of mean-field solution obtained by the replica method, respectively full replica symmetry breaking and one step replica symmetry breaking footnote1 . Remarkably, it was also realized that pure systems can behave as disordered ones, as first found in long-range spin models bernasconi ; accordingly energy functions of several complex systems are qualitatively similar to random functions. In mathematics, in particular in probability theory, there has been a recent and growing research activity aimed at developing rigorous analysis of rough energy landscapes. Starting from the seminal work fyodorov the Kac-Rice method has emerged as the mathematical framework suited to do that braydean ; auffingerbenaouscerny ; auffingerbenaous ; fyodorovnadal ; eliran . It allowed to put on a firmer basis previous results obtained in the physics literature, and it highlighted important relationships with random matrix theory. Moreover, it has been recently exploited to analyze landscape properties of machine learning and inference models tengyuma ; MontanariBenArous . The recent results and questions concerning the statistical properties of rough landscapes make clear that what found for mean-field glassy systems represents only a facet of a much more general challenge. There are several different directions in which further investigations are timely and interesting. One of them is the characterization of landscapes in current problems central in machine learning and high-dimensional statistics, such as the analysis of rough energy landscapes and associated phase transitions when an increasingly stronger preference for a given configuration arises. This problem is central in data science (the signal versus noise problem) reviewkrzakalazdeborova , as well as in biology and in physics, in cases where a specific ground state competes with many random ones (e.g. protein folding remprotein and random pinning glass transition randompinning ). Another important and quite distinct research direction consists in studying the number of equilibria in non-conservative dynamical systems that arise in neuroscience sompolinsky1 and theoretical ecology bunin . In this case, forces do not derive from a potential, hence there is no landscape to start with, but nevertheless information about the number of equilibria and their stability can be obtained by methods similar to the one used for the conservative case touboul ; fyodorovmay . From the methodological point of view, the main open crucial issue is developing the Kac-Rice method to compute the typical number of critical points, related to the average of the logarithm of the number of critical points (called quenched entropy). Computing the logarithm of the average (called annealed entropy), as done until now, is correct in a few cases only eliran ; in general, the two computations lead to different results even at leading order. Physics methods based on replica theory and super-symmetry provided guidance and results in specific cases, but as we shall discuss in the following they suffer important limitations Monasson ; Annibale ; CLR1 ; CLR2 ; Rizzo1 ; Rizzo2 ; Aspelmeier0 . Our work has a double valence. One is conceptual: we present a general analysis of the properties and the phase transitions occurring in rough energy landscapes whenever an increasingly stronger preference for a given configuration arises, an interesting and timely issue as discussed above. The other is methodological: we develop the sought generalization of the Kac-Rice method to compute the typical number of critical points and the corresponding quenched entropy, a theoretical framework expected to have multiple applications in several fields. Overall, our work opens the way to throughout analysis of the statistical properties of rough landscapes in topical problems relevant in several different fields, from physics to machine learning and biology. We focus on the pp-spin spherical model and add to its Hamiltonian a term favoring all configurations that are close to a given one sherrington1 . This choice is natural from different points of view. First, the system without the additional extra term has already proven to be an instrumental paradigm for rough energy landscapes cavagnapedestrian ; crisom92 , so it is a natural starting point to study the effect of a preferred configuration on a random landscape. Second, it is directly relevant for very recent problems studied in the computer science literature; in fact a particular realization of it corresponds to the so called spiked-tensor model, which recently attracted a lot of attention montanari ; krzakala ; bandera ; Chen ; MontanariBenArous . The thermodynamics of the system we focus on, that we henceforth call generalized spiked-tensor, has been originally introduced in Ref. sherrington1, to study the effect of a ferromagnetic coupling on a pp-spin spherical model. Here we investigate in detail its energy landscape. Depending on the functional form of the additional term, we generically find different scenarios and different types of energy landscape (or geometric) phase transitions. Although this model is certainly extremely simplified, we think that the lessons that can be learnt from its analysis provide instrumental guidelines and extend to more realistic cases. Moreover, because of its relation with the spiked-tensor model, our results are directly relevant to current issues investigated in high-dimensional statistics and inference. As stressed above, one of the main outcome of our work is the construction of a general Kac-Rice method which allows one to analyze cases in which the so-called quenched entropy does not coincide with the annealed one, as it happens for the model we consider. Since we use replicas in a rather innocuous way—we remain at the replica symmetric level—transforming it from a theoretical physics technique to a fully rigorous one should be within reach in a not too distant future. In the following two sections we present a summary of the main results. In Section IV we discuss the zero temperature thermodynamics of the model by means of the replica method. In Section V we present the new Kac-Rice method for the quenched complexity, and we compare its findings with the ones obtained with the replica method in Section VI. After reviewing the implications of these findings for the special case of the spiked-tensor model in Section VII, we present our conclusions in Section VIII.

II Definition of the model

We consider the Hamiltonian or energy functional:

where the first sum is over all distinct pp-uples and the subindices run from 11 to NN. The configuration space of the model is the sphere of radius N\sqrt{N}, i.e. a given configuration is a vector s{\bf s} of NN components {s1,s2,…,sN}\{s_{1},s_{2},\dots,s_{N}\} such that ∑iNsi2=N\sum_{i}^{N}s_{i}^{2}=N. The NN-dimensional vector v0{\bf v_{0}} points towards a specific direction, say v0={1,1,…,1}{\bf v_{0}}=\{1,1,\dots,1\} without loss of generality (we have imposed on v0{\bf v_{0}} the same normalisation condition as s{\bf s}). In the following we are going to refer to this preferential direction of the model as the North Pole. The first term of Hp,kH_{p,k} is the Hamiltonian of the standard spherical pp-spin model cavagnapedestrian with random coupling Ji1,i2,…,ipJ_{i_{1},i_{2},\dots,i_{p}} normally distributed with zero mean and variance ⟨J2⟩=p!/2Np−1\langle J^{2}\rangle=p!/2N^{p-1} . The second term represents an energetic gain when the system’s configuration s{\bf s} is aligned with v0{\bf v_{0}}. We generically describe this energetic gain by a function fk(x)f_{k}(x) of the scalar product x=∑iNsiv0i/Nx=\sum_{i}^{N}s_{i}v_{0}^{i}/N.

Our aim is to use fk(x)f_{k}(x) as a template of a smooth function defined on the NN dimensional sphere, with a deep minimum in a specific direction. We found that the main relevant features of fk(x)f_{k}(x) are its derivatives in x=0x=0: the sub-index kk indicates what is the first non zero derivative in x=0x=0. We assume that the function fk(x)f_{k}(x) reaches its highest value in x=1x=1, is zero for x=0x=0 and is monotonously increasing in $.Italsohasasymmetricoranantisymmetriccontinuationfor. It also has a symmetric or an antisymmetric continuation forx\leq 0dependingwhetherdepending whetherkisevenoroddrespectively.Forconcreteness,weshalloftenrefertothecaseis even or odd respectively. For concreteness, we shall often refer to the casef_{k}(x)=x^{k}/k,whichwasfirstintroducedinRef.sherrington1,.When, which was first introduced in Ref. sherrington1, . Whenp=k$, the model corresponds to the so called spiked-tensor model which has been the focus of several recent studies in the computer science literature montanari ; krzakala ; bandera ; Chen ; MontanariBenArous . In particular, for this limiting case the calculation of the average number of stationary points has been very recently performed in MontanariBenArous .

III Summary of results

The energy function Hp,kH_{p,k} contains two terms. The first is a random Gaussian function, whereas the second one is deterministic. These contributions are competing: the random fluctuations encoded in the former lead to an exponential (in NN) number of critical points. On the sphere in very high dimensions the majority of the configurations are orthogonal to the North Pole, thus it is on the equator that we expect the deepest minima created by the first term alone. Since there are exponentially less configurations in the direction of v0{\bf v_{0}}, and the less so when the overlap with v0{\bf v_{0}} is higher, the random fluctuations alone lead to minima of higher energy on parallels closer to the north pole. On the other hand, the deterministic term energetically favors configurations aligned with v0{\bf v_{0}}. In consequence, depending on the relative strength of the two terms, that can be tuned by changing the value of rr, and on the form of the function fk(x)f_{k}(x) the resulting rough energy landscape changes shape and the low lying energy minima change position and nature from many to a single one. As we shall see, all that corresponds to phase transitions in the geometry of the landscape. Topological phase transitions, occurring when the landscape changes from being complex to simple, have been recently studied in FyodorovTopologyTrivialization ; fyodledou ; fyodalone and dubbed topological trivialization. The change in the global minima structure, which is directly accessible to a thermodynamic study, was already reported in Ref. sherrington1, . In the following we present our main results on the evolution with rr of the full energy landscape. For the sake of the presentation we group the different scenarios in three classes, associated with the behavior of the global minima as a function of rr.

This case corresponds to functions fk(x)f_{k}(x) which are monotonically increasing and such that f′(0)>0f^{\prime}(0)>0. The simplest example, fk(x)=xf_{k}(x)=x, corresponds to the pp-spin spherical model in an external magnetic field (with rr playing the role of the field), and has been studied in crisantisommers ; cavagnagarrahan ; fyodledou . In agreement with those analyses, we find that the energy landscape evolves as illustrated in Fig. 1. First, at r=0r=0, there are an exponential number of minima located around the equator, i.e. for q‾∈[q‾m(0),q‾M(0)]\overline{q}\in[\overline{q}_{m}(0),\overline{q}_{M}(0)], where q‾m(0)=−q‾M(0)\overline{q}_{m}(0)=-\overline{q}_{M}(0). This corresponds to the first sphere on the left, in which the presence of minima is indicated with a red strip. The deepest minima, not exponentially numerous, are at q‾=0\overline{q}=0 and correspond to the continuous yellow line. The most numerous states, which are also the marginally stable ones since the density of states of their Hessian is a Wigner semicircle with left edge touching zero, are also at q‾=0\overline{q}=0 for r=0r=0 (and they are of course at higher energy). By increasing rr the strip containing all the minima moves toward the north pole, see the second sphere from the left in Fig. 1. The deepest ones are on a parallel closer to the north pole as soon as r>0r>0. The most numerous ones, always marginally stable, are now on a different parallel with smaller latitude, as it can be expected on general grounds since in order to have a lot of minima it is better to avoid too large latitudes at which less configurations are available (they are represented by a yellow dashed line in the figure). By increasing rr the landscape becomes smoother due to a larger deterministic term and, accordingly, the number of minima and the strip where they are located shrink until reaching a value rcr_{c} above which only one minimum remains. This corresponds to a phase transition of the landscape, which is associated to recovering a replica symmetric solution for the global minimum within the replica method, and hence also to a phase transition in the thermodynamics (related to the structure of the global minima).

For r>rcr>r_{c} there is only one minimum in the energy landscape. In this case the random contribution due to the first term in the Hamiltonian is no longer strong enough to create a rugged landscape but still deforms it sufficiently to move the global minimum at a finite overlap with v0{\bf v_{0}}. This corresponds to the rightmost sphere in Fig. 1. As we shall see in the following, a much richer energy landscape evolution is found for k>1k>1. In these cases the behavior of the global minima is only a facet of a more general complex organization in configurations space.

This regime corresponds to functions fk(x)f_{k}(x) which have vanishing derivative in x=0x=0 but finite second derivative and are monotonically increasing from x=0x=0 to x=1x=1. In order to simplify the discussion we consider the symmetric case in which fk(−x)=fk(x)f_{k}(-x)=f_{k}(x). The simplest example of such a function is fk(x)=x2/2f_{k}(x)=x^{2}/2. With this choice, Hp,kH_{p,k} corresponds to a pp-spin spherical model with an extra ferromagnetic interaction among spins (rr plays the role of the coupling). The evolution of the energy landscape is now different from Case I and it is illustrated in Fig. 2. The starting point at r=0r=0 is the same. However, by increasing rr the strip containing all the minima widens and the deepest ones and the most numerous ones (always marginally stable) remain stuck on the equator. Actually they are exactly the same ones found for r=0r=0 since fk(x)f_{k}(x) has no effect on the equation that determines the critical points on the equator (this is due to the vanishing of the first derivative in x=0x=0). This situation persists until r=r2NDr=r_{2\rm{ND}}, at which a second-order phase transition takes place at the bottom of the landscape, as already found in Ref. sherrington1, . By increasing rr above r2NDr_{2\rm{ND}} the deepest minima continuously detach from the equator, see the second sphere in Fig. 2 (due to the symmetry x→−xx\rightarrow-x they are located both in the north and south hemispheres). The behavior for larger rr is different from case I: there is first a transition in the structure of the energy landscape in which the strip separates in three bands, two closer to the north and south poles respectively, to which the deepest minima belong, and one around the equator where the most numerous ones are located, see the middle sphere in Fig. 2. At r=rcr=r_{c} there is another transition at which the two bands closer to the north and south poles containing an exponential number of minima shrink to zero and are replaced by an isolated global minimum per hemisphere (fourth sphere from the left in Fig. 2). This corresponds to recovering the RS solution in the thermodynamic treatmentsherrington1 . Finally, at even larger rr all minima around the equator disappear and a final transition toward a fully smooth landscape characterized by only two minima takes place. This corresponds to the rightmost sphere in Fig. 2. The most numerous minima remain always at the equator for any value of rr until this final transition at which they disappear. However, they change nature when increasing rr: at the beginning all the eigenvalues of their Hessian are distributed along a Wigner semi-circle whose left edge touches zero (so-called threshold states), whereas at large values of rr they are all distributed along a Wigner semi-circle whose support is strictly positive except for one eigenvalue, corresponding to an eigenvector oriented toward the north pole, which pops out from the semi-circle and is located exactly in zero. Thus, in both cases they are marginally stable but in a very different way. In conclusion, in the k=2k=2 case in which the strength of the deterministic part is weaker in particular around the equator, the spurious local minima created by the random fluctuations are more stable. This results in a different evolution of the landscape, that before becoming fully smooth is characterized by isolated islands of ruggedness around the equator and close to the global minima.

This regime corresponds to functions fk(x)f_{k}(x) which are monotonically increasing in $andhavevanishingfirstandsecondderivativesinand have vanishing first and second derivatives inx=0.Forsimplicity,weshallconsiderevenandoddfunctionsunder. For simplicity, we shall consider even and odd functions underx\rightarrow-xwhenwhenkisoddandevenrespectively.Thesimplestexampleofsuchafunctionisis odd and even respectively. The simplest example of such a function isf_{k}(x)=x^{k}/kwithwithk\geq 3,firstintroducedinRef.sherrington1,.Withthischoiceandtaking, first introduced in Ref. sherrington1, . With this choice and takingp=k,,H_{p,k}correspondstothespiked−tensormodelrecentlyinvestigatedinRefs.montanari,;krzakala,;bandera,;Chen,;MontanariBenArous,.TheparticularityofCaseIIIisthatthecriticalpointsontheequatorarenotaffectedatallbythedeterministicperturbation,noteventheirHessian(contrarytocaseII)sincecorresponds to the spiked-tensor model recently investigated in Refs. montanari, ; krzakala, ; bandera, ; Chen, ; MontanariBenArous, . The particularity of Case III is that the critical points on the equator are not affected at all by the deterministic perturbation, not even their Hessian (contrary to case II) sincef^{\prime\prime}(0)=0:theyremainstableandunperturbedforanyfinitevalueof: they remain stable and unperturbed for any finite value ofr.Inconsequence,thereisalwaysastripofminimaaroundtheequator.WehavefoundthatdifferentevolutionarepossibleinCaseIIIdependingon. In consequence, there is always a strip of minima around the equator. We have found that different evolution are possible in Case III depending onp,k$.

This is the case found for example for spiked-tensor models such as p=k=3p=k=3 and p=k=4p=k=4. For concreteness we focus on p=k=3p=k=3 (p=k=4p=k=4 is analogous but one has to take into account that fk(x)f_{k}(x) is even instead of being odd). A band of minima, growing with rr, is found around the equator. At a value rcr_{c} an isolated minimum detaches from the top of the band, and for larger values of rr it moves to higher latitudes, while the rest of the band shrinks around the equator. The deepest minima are located on the equator and are the ones of the original (unperturbed) pp-spin model until a value of rr, that we call r1STr_{1\rm{ST}}, is reached. When rr reaches the value r1STr_{1\rm{ST}} the global minimum switches from the equator to the single minimum outside the band and close to the north pole. Increasing rr further the isolated global minimum approaches the north pole and the band around the equator shrinks but never disappears for any finite rr. The most numerous states are on the equator and are the threshold states of the unperturbed pp-spin model. The evolution of the energy landscape and its transitions are illustrated in Fig. 3.

III.3.2 Option B

This is the case found for example for p=3p=3 and k=4k=4. A band of minima, which first grows with rr, is found around the equator. The deepest minima are located on the equator until r1STr_{1\rm{ST}} and are the ones of the original (unperturbed) pp-spin model. When rr reaches the value r1STr_{1\rm{ST}} the global minimum switches discontinuously from the equator to another minimum inside the band, at higher latitude. Increasing rr further, the band divides in two: one closer to the equator and one around the global minimum. For r=rcr=r_{c}, the band around the global minimum shrinks to zero (this corresponds to recovering the RS solution in the thermodynamics treatment sherrington1 ). For r>rcr>r_{c} the global minimum is isolated. The remaining band around the equator shrinks but never disappears for any finite rr. The most numerous states are on the equator and are the threshold states of the unperturbed pp-spin model. The evolution of the energy landscape and its transitions are illustrated in Fig. 4. Two other options are possible: the discontinuous transition at r1STr_{1\rm{ST}} could take place after that the band has divided and, depending whether r1STr_{1\rm{ST}} is larger or smaller than rcr_{c}, it could take place when the global minimum is isolated (option C) or is still surrounded by many other local minima (option D). We did scan a few more (see Fig. 5), but not all possible values of p,kp,k, nor analyzed all possible functions fk(x)f_{k}(x) to search for these two behaviors but this can be easily (even though painfully) done if specific interest in these intermediate cases arises.

III.4 Randomness versus deterministic contribution

A short conclusion of the results presented above is that the evolution of an energy landscape in which random fluctuations compete with a deterministic contribution favoring a single minimum depends on the behavior of the deterministic part on the portion of configuration space where the majority of minima created by randomness lie. If the deterministic part affects and deforms these minima then the evolution is quite simple: the number of minima decreases and they become more and more oriented toward the direction favoured by the deterministic part until a point at which only one isolated global minimum remains. A different behavior is instead found when the deterministic part does not deform the majority of minima created by randomness. In this case, the competition between random and deterministic contributions is resolved in two different ways: it deforms the landscape in the proximity of the configurations favoured by the deterministic part, which can even result in an island of ruggedness and many local minima, and it creates a very rugged landscape in the region where the deterministic part has no effect, where the majority of the configuration lie. As it can be easily guessed, this landscape structure can have crucial consequences on dynamical properties. We shall discuss these issues and, more generally the implications and consequences of our results in the Conclusion. In the following we present the methods we used, and our findings in more details. We first recall the thermodynamic analysis of the model, focusing on the zero temperature limit, in order to discuss the behavior of the global minima of the landscape. Subsequently, we analyze the evolution of the full set of minima, encoded in the quenched complexity.

IV Structure of global minima by the replica method

Using the replica method, one can only partially characterize the energy landscape and its critical points. The aim of this section is to show and recall what kind of information can be gained in this way. The comparison with the Kac-Rice analysis is presented in Sec. VI. Previous studies can be found in Ref. sherrington1, (see also Ref. CrisantiLeuzzi2013, ). Our motivation and perspective on the equilibrium results are different from those, since we focus on where, and to which extent, the recovery of a signal is thermodynamically favored against the noise dispersion. The starting point of the thermodynamic analysis is the evaluation of the free energy f(β,r)f(\beta,r), obtained by computing the nn-times replicated partition function ⟨Zn⟩\langle Z^{n}\rangle:

and where the signal contribution to the Hamiltonian is represented by fk(x)=xk/kf_{k}(x)=x^{k}/k. To gain direct information on the energy landscape we focus on the zero temperature limit, when the equilibrium states dominating the partition function (2) coincide with the absolute minima (or minimum) of the energy landscape. This thermodynamic analysis gives then access to the equilibrium transitions, which occur whenever these global minima detach from the equator and move at higher latitudes in the sphere, becoming correlated to the signal. Moreover, it allows to determine whether the bottom of the energy landscape is simple, i.e. just one global minimum, or has a more complicated structure, encoded in the Replica Symmetry Breaking (RSB) formalism.

We first describe the main results of the replica analysis, the computation is shown later. One important remark is that the signal affects the model’s solution only through the value of the typical overlap q‾\overline{q} with the north-pole. To get the zero temperature solution, it is interesting then to focus on the intensive ground state energy of the original pp-spin spherical model, i.e. without the function fk(x)f_{k}(x), for configurations constrained to have a fixed overlap q‾\overline{q}. We denote this function E(q‾)E(\overline{q}). As it is expected by the q‾→−q‾\overline{q}\rightarrow-\overline{q} symmetry of the original pp-spin problem, E(q‾)=EGS+Cp2q‾2+O(q‾4)E(\overline{q})=E_{GS}+\frac{C_{p}}{2}\overline{q}^{2}+O(\overline{q}^{4}) for small q‾\overline{q}, where EGSE_{GS} is the intensive ground state energy of the pp-spin spherical model, and CpC_{p} happens to be a positive constant. This result already allows us to show the existence of the three regimes discussed in the previous section because now we can obtain and study the ground state energy of our model as E(q‾)−rq‾kkE(\overline{q})-r\frac{\overline{q}^{k}}{k}.

Case I: If k=1k=1 then, no matter how small is rr, the ground state is at q‾>0\overline{q}>0 and increases when rr is augmented. This is the first scenario described in the previous section.

Case II: If k=2k=2 then the ground state is at q‾=0\overline{q}=0 for r<r2ND=Cpr<r_{2{\rm ND}}=C_{p} and becomes continuously different from zero by increasing rr above CpC_{p}. This corresponds to a second-order like transition and to the second scenario discussed before.

Case III: if k≥3k\geq 3 then a discontinuous transition is bound to take place: for r<r1STr<r_{1{\rm ST}} the ground state is at q‾=0\overline{q}=0, whereas for r>r1STr>r_{1{\rm ST}} it jumps to a finite value. This corresponds to a first-order like transition and to the third scenario discussed before.

An insight on the changes in the structure of the bottom of the landscape can be obtained along the same lines. At r=0r=0 the replica solution is 1RSB. Proceeding as before, i.e. studying the pp-spin spherical model at fixed q‾\overline{q}, one can show that at fixed pp the solution always remains 1RSB until a given value of q‾c\overline{q}_{c} is reached where the 1RSB-RS transition takes place. Moreover the replica structure is the same for identical values of q‾\overline{q}. Only the way in which q‾\overline{q} changes as a function of rr depends on the value of kk. In consequence, when the ground state is at q‾=0\overline{q}=0, there is a 1RSB structure of the energy landscape close to the global minimum (roughly speaking the energy landscape is rough close to the bottom). When the ground state is at q‾>0\overline{q}>0, for rr larger than a critical value rcr_{c}, the structure of the energy landscape close to the global minimum become RS (roughly speaking the energy landscape is convex close to the bottom). In case III there are two minima of E(q‾)E(\overline{q}) close to the first order transition: one at q‾=0\overline{q}=0 and one at q‾>0\overline{q}>0. The high-overlap minimum can become 1RSB before or after the discontinuous transition depending on the value of rcr_{c} and r1STr_{1{\rm ST}}. The replica analysis that we present below, see also Refs. sherrington1, ; CrisantiLeuzzi2013, , allows to find the models in which this happens, see Fig. 5. The yellow sheet identifies (on its right) models that display a regime in which a rough landscape around the high-overlap global minimum is present for r1ST≤r≤rcr_{1{\rm ST}}\leq r\leq r_{c}.

We present below the replica computation. The following section will be also useful to fully understand the comparison with the Kac-Rice method discussed in Sec. VI. [Readers not interested in replica theory can skip Sec.IV.2 and jump directly to Sec.V]

IV.2 Replica Solution

The standard replica computation cavagnapedestrian for f(β,r)f(\beta,r) leads to the following result

and QαβQ_{\alpha\beta} is an (n+1)(n+1)x(n+1)(n+1) matrix (α,β∈[0,n]\alpha,\beta\in[0,n]) composed by 11 on the diagonal, Q0,aQ_{0,a} on the 2n2n entries of the first line and column, and a matrix Qa,bQ_{a,b} with a,b∈[1,n]a,b\in[1,n] on the remaining nnxnn block. The action has 33 parts: the energy of the pp-spin part of the original Hamiltonian, the energy due to the added potential fkf_{k} controlled by the parameter rr, and the entropy of a NN-dimensional spherical system with one special direction. To proceed in the calculation, we use a RS ansatz on the entries Q0,aQ_{0,a}, Q0,a=q‾Q_{0,a}=\overline{q}, and the usual RS or 11RSB ansatz for the Qa,bQ_{a,b} matrix (no additional breaking of replica symmetry is expected). The first case corresponds to Qa,b=qQ_{a,b}=q if a≠ba\neq b. In the second case the replicas are classified according to n/mn/m different blocks, Qa,b=q1Q_{a,b}=q_{1} for a≠ba\neq b with aa and bb in the same block of size mm, and Qa,b=q0Q_{a,b}=q_{0} when aa and bb belong to different blocks. The 1RSB ansatz contains the RS one: the second can be recovered by setting either m=1m=1 or q1=q0q_{1}=q_{0}. We thus only focus on the first.

The expression of the 11RSB action S1RSBS_{\rm 1RSB} in the N→∞N\rightarrow\infty and n→0n\rightarrow 0 limit is reported in Appendix IX.1 for generic values of β\beta. When β→∞\beta\rightarrow\infty the action reads

where the parameters β(1−q1)\beta(1-q_{1}), q0q_{0}, βm\beta m, and q‾\overline{q} have to be determined by the following saddle point equations:

with fk′(x)=xk−1f^{\prime}_{k}(x)=x^{k-1} being the first derivative of fkf_{k}. For each value of rr, the value of q‾\overline{q} obtained solving the saddle point equations gives the latitude of the deepest minima of the landscape, while the function −S1RSB/β-S_{\rm 1RSB}/\beta evaluated at the saddle point parameters gives their energy density.

IV.2.2 RS-111RSB transition for the high overlap phase

We now discuss the limit where the ground state energy ceases to be obtained by a 11RSB solution and is instead determined by a RS one. The transition between these two regimes signals a change in the structure at the bottom of the landscape from many low-lying minima to one single global minimum. We call rcr_{c} the corresponding critical value of rr at which this occurs. The first piece of information about this change of structure is obtained by expanding the four 1RSB saddle point equations crisom92 for small q1−q0q_{1}-q_{0}, and by keeping the lowest order non-zero terms. This gives four equations, see Appendix IX.1. Applying them to the 11RSB solution with high q‾\overline{q}, we get that the critical point occurs at

At this point the high q‾\overline{q} solution recovers a RS structure, i.e. it becomes a single minimum. Still one has to consider whether this solution is a global minimum of the energy landscape or only a local one. This piece of information is recovered by comparing the energy cost of the high q‾\overline{q} solution with the solution with q‾=0\overline{q}=0, when this does still exist. A full account of all the possible models’ solution obtained by using all the gathered information is presented in the next section.

IV.3 Results

From the numerical study of all the T=0T=0 equations above we recover the three distinct scenarios accounted for in Sec. III. Case k=3k=3 and higher. For k>2k>2, we find a stable 11RSB q‾=0\overline{q}=0 solution at every value of rr. This solution is orthogonal to the signal and completely dominated by the noise represented by the pp-spin part. Beside this solution, when rr increases we find a second, high-q‾\overline{q} solution which undergoes a continuous transition between a 11RSB phase and a RS phase at rcr_{c}. The high-q‾\overline{q} solution (q‾≠0\overline{q}\neq 0) contains at least partial information about the signal, the amount of this information being represented by the overlap q‾\overline{q}. This solution is at first metastable compared to the q‾=0\overline{q}=0 state, but it becomes stable at higher rr. This occurs through a first order transition at r1STr_{1{\rm ST}}. If r1ST>rcr_{\rm 1ST}>r_{c} the first order-transition marks a thermodynamic discontinuity between a 11RSB state (at q‾=0\overline{q}=0) and a RS state (the high q‾\overline{q} one). This scenario is generally found for k≥pk\geq p as shown in the phase diagram in Fig. 5. If r1ST<rcr_{\rm 1ST}<r_{c} instead two transitions are observed when rr increases. A first order transition will occur at lower rr showing the exchange of stability between the q‾=0\overline{q}=0 and high-q‾\overline{q}, 11RSB, states. A continuos transition between the 11RSB and the RS phase will follow within the high-q‾\overline{q} state at higher rr. An intermediate complex phase, related to a rugged landscape, already containing partial information on the signal, or North Pole, then emerges in this case. Case k=2k=2. The case k=2k=2 is qualitatively different from k=3k=3. The first order transition is replaced by a continuous, 22nd order-like, transition between the q‾=0\overline{q}=0 state and the high-q‾\overline{q} state before the last one becomes RS at rcr_{c}. As explained before this can be rationalised thinking that the 11RSB action is quadratic in q‾\overline{q}. As such a term fkf_{k} with higher power of q‾\overline{q} (k>2k>2) cannot affect the local stability of the q‾=0\overline{q}=0 state. When k=2k=2 instead, fkf_{k} can counterbalance the quadratic contribution of the 11RSB action leading to the instability of the q‾=0\overline{q}=0 solution at high enough r2NDr_{2{\rm ND}}. The 1RSB-RS transition happens for a strictly larger value of rr since it takes place for a finite value of q‾\overline{q}. Case k=1k=1. Finally the case k=1k=1 has been extensively studied years ago crisom92 , it corresponds to the pp-spin spherical model in an external magnetic field. In this case there are no competing 11RSB states at all. The linear field immediately shifts q‾\overline{q} of the 11RSB phase away from zero until the continuous transition at rcr_{c} brings the 11RSB phase into the RS solution. In order to show concrete examples, we report in Table 1 the different transition values for different pp and kk, in particular for the spike-tensor model p=k=3p=k=3.

As shown above, in the k≥3k\geq 3 case whether the discontinuous transition to the high q‾\overline{q} phase takes place before or after the 1RSB-RS transition depends on the model, i.e. on pp and kk. In order to find a general criterion we evaluate the action of the high overlap phase at the 1RSB-RS transition:

see Eqs. (61,62,63,64) in Appendix IX.1. We then compare this action to the one of the 1RSB phase with q‾=0\overline{q}=0: S1RSBLS_{1RSB}^{L}. There are two possible cases:

SRSHc<S1RSBLS^{Hc}_{RS}<S^{L}_{1RSB}. In this case the high-overlap phase becomes energetically favorable after the 1RSB-RS transition takes place. Thus, the rough energy landscape around the north pole described by the 1RSB phase does not contain the global minima of the landscape, but only some local (metastable) ones.

SRSHc>S1RSBLS^{Hc}_{RS}>S^{L}_{1RSB}. In this case the high-overlap phase becomes energetically favorable before the 1RSB-RS transition takes place, hence there is a range of rr where the stable high-overlap phase is 11RSB. This region extends up to rcr_{c}.

In Fig. 5 we show a diagram in the p,k−p,k-space, with the black line representing the point where SRSHc/β=S1RSBL/βS^{Hc}_{RS}/\beta=S^{L}_{1RSB}/\beta at zero temperature. To the right (respectively left) of the line lie models in which the 11RSB-RS transition takes place after (respectively before) the discontinuous transition to the high overlap phase. Whenever the 11RSB-RS transition takes place after the discontinuous transition, the complex phase with partial information about the signal contains ground state minima for a finite range of rr. The height of the coloured sheet in Fig. 5 represents the range of rr for which this holds, i.e. rc−r1STr_{c}-r_{1ST}. Note that the range becomes larger and larger when pp increases for fixed kk, or kk decreases at fixed pp. The two complex phases we have discussed present a multi-minima structure that is worth studying to get insights on the possibility to recover the signal through different sampling dynamics. We perform this study in the following section, making use of the Kac-Rice formalism. A comparison with the results obtained by means of the replica formalism is postponed to Sec. VI.

V Landscape analysis via replicated Kac-Rice formula

In this section, we present the analysis of the energy landscape of Hp,k(r)H_{p,k}(r) performed through the replicated version of the Kac-Rice method. Our aim is to determine the number NN(ϵ,q‾)\mathcal{N}_{N}(\epsilon,\overline{q}) of local minima (or, more generally, of stationary points) of the energy functional, having a given energy density ϵ\epsilon and a fixed overlap s⋅v0=Nq‾{\bf s}\cdot{\bf v_{0}}=N\overline{q} with the special direction v0{\bf v_{0}}. The number NN(ϵ,q‾)\mathcal{N}_{N}(\epsilon,\overline{q}) is a random variable that, when the random fluctuations dominate over the signal, scales exponentially with NN. This occurs over a finite range of energies; among the exponentially-many local minima, the lowest-energy ones dominate the thermodynamics of the model (described in detail in the previous section), while the higher-energy ones are expected to play a relevant role when discussing the dynamical evolution on the energy landscape. We are interested in determining the exponential scaling of the typical value of NN(ϵ,q‾)\mathcal{N}_{N}(\epsilon,\overline{q}), that is, we aim at computing the quenched complexity Σp,k(ϵ,q‾;r)\Sigma_{p,k}(\epsilon,\overline{q};r) defined as

As anticipated, we perform the calculation making use of the Kac-Rice formula Kac ; AdlerRandomFields . This formalism has been recently exploited to characterize the topological properties of random landscapes associated to the pure and mixed pp-spin models auffingerbenaouscerny ; auffingerbenaous , to the spiked-tensor model MontanariBenArous , as well as to count the equilibria of dynamical systems modeling large ecosystems fyodorovmay ; FyodorovTopologyTrivialization and neural networks touboul . In these contexts, results have been given for annealed complexity, which governs the exponential scaling of the average number of stationary points, or equilibria. This corresponds to averaging NN\mathcal{N}_{N} over the disorder realization before taking the logarithm, at variance with Eq. (6). For the Hamiltonian Hp,k(r)H_{p,k}(r) with r=0r=0, it is known that the quenched and annealed prescriptions give the same result for the complexity crisantisommers ; eliran . In presence of a signal, however, this equivalence does not hold (as we show below), so that the quenched calculation becomes necessary. We perform the latter by means of the replica trick, via the identity

analytically continuing the expression for the higher moments of NN\mathcal{N}_{N}. The replicated version of the Kac-Rice formula allows us to obtain (to leading order in NN) the moments ⟨NNn⟩\langle\mathcal{N}_{N}^{n}\rangle, for integers values of nn. As we show in the following, the expression for ⟨NNn⟩\langle\mathcal{N}_{N}^{n}\rangle that we obtain involves nn critical points sa{\bf s}^{a}, a=1,⋯ ,na=1,\cdots,n, each with energy density ϵ\epsilon and overlap Nq‾N\overline{q} with the North Pole. Introducing their mutual overlaps sa⋅sb=Nqab{\bf s}^{a}\cdot{\bf s}^{b}=Nq_{ab}, we find that we can parametrize the moments as:

where the integral can be computed with the saddle point approximation, optimizing over the order parameters qabq_{ab}. In consequence the action evaluated at the saddled point directly gives ln⁡⟨NNn(ϵ,q‾)⟩/N\ln\langle\mathcal{N}_{N}^{n}(\epsilon,\overline{q})\rangle/N up to vanishing corrections in the large NN limit. To get the complexity, i.e the typical value of the number of critical points, we perform this calculation assuming replica symmetry, meaning that we set qab≡qq_{ab}\equiv q for a≠ba\neq b, and take the n→0n\rightarrow 0 limit; we expect this to give accurate results, in view of the fact that Hp,k(r)H_{p,k}(r) does not exhibit full-RSB but only 1-RSB in the statics. Before entering into the details of the calculation, we collect the main resulting expressions in the following subsection.

For arbitrary values of nn and assuming replica symmetry, we find that the action in Eq. (8) is given by

where I(y)I(y) is an even function of its argument, equal to:

From this result, we can readily obtain the expression for the annealed complexity, which is obtained setting n=1n=1. In this case, the dependence on qq drops (as it is natural to expect, since there is only one replica and thus no overlap with any other one), and the action reduces to:

For p=kp=k, this expression agrees with the results in Ref. MontanariBenArous . The annealed complexity is an upper bound to the quenched one. As we argue in Sec. V.9, it captures correctly the properties of the energy landscape whenever this is smooth and has only one isolated minimum, i.e., in the regime r>rcr>r_{c}. Our result at fixed nn provides all the integer moments of the number of critical points. To get the quenched complexity, the limit n→0n\to 0 has to be performed, by analytically continuing (9). The result is

while qSP=qSP(ϵ,q‾)q_{\text{SP}}=q_{\text{SP}}(\epsilon,\overline{q}) is the saddle point extremizing the function (14). The evaluation of the quenched complexity therefore requires to compute a saddle point on qq for given values of the parameters q‾,ϵ\overline{q},\epsilon. A substantial simplification comes from a general identity that we derive in Sec. V.8 and which relates, for fixed pp and q‾\overline{q}, the complexities Σp,k(ϵ,q‾;r)\Sigma_{p,k}(\epsilon,\overline{q};r) for different values of kk:

for fk≡fk(q‾)f_{k}\equiv f_{k}(\overline{q}), meaning that all complexity curves for k>1k>1 can be derived from the ones at k=1k=1. This is convenient, as it allows us to solve the saddle point equations for qq in one single case. We remark however that not all the properties of the landscape at k>1k>1 can be deduced from the case k=1k=1: in particular, the analysis of the stability of the stationary points (i.e., of the spectrum of their hessian) has to be performed separately for any kk, as we discuss in more detail in the following subsections.

V.2 The replicated Kac-Rice formula

Here we present the replicated version of the Kac-Rice formula, and outline the main steps of the subsequent calculation. For convenience, we introduce the vectors σ=s/N{\bm{\sigma}}={\bf s}/\sqrt{N} and w0=v0/N{\bf w_{0}}={\bf v_{0}}/\sqrt{N} having unit norm, and we define the rescaled energy functional

with hps[σ]≡−∑⟨i1,i2,…,ip⟩Ji′σi1σi2…σiph_{ps}[{\bm{\sigma}}]\equiv-\sum_{\langle i_{1},i_{2},\dots,i_{p}\rangle}J^{\prime}_{\bf i}\sigma_{i_{1}}\sigma_{i_{2}}\dots\sigma_{i_{p}} denoting the pp-spin energy functional with rescaled coupling satisfying ⟨(Ji′)2⟩=p!\langle(J^{\prime}_{\bf i})^{2}\rangle=p!. We count the stationary point σ{\bm{\sigma}} of this functional satisfying h[σ]=2N ϵh\left[{\bm{\sigma}}\right]=\sqrt{2N}\,\epsilon and σ⋅w0=q‾{\bm{\sigma}}\cdot{\bf w_{0}}=\overline{q}, which are in one-to-one correspondence with the stationary points of Hp,k(r)H_{p,k}(r) with energy density ϵ\epsilon and s⋅v0=Nq‾{\bf s}\cdot{\bf v_{0}}=N\overline{q}. The Kac-Rice formula incorporates the spherical constraint, as it counts the number of stationary points of the functional h[σ]h[{\bm{\sigma}}] restricted to the unit sphere; such points σ{\bm{\sigma}} nullify the surface gradient of (16), which is a vector g[σ]{\bf g}[{\bm{\sigma}}] lying on the tangent plane to the sphere at the point σ{\bm{\sigma}}. Similarly, their stability is governed by the Hessian on the sphere, which we denote with H[σ]\mathcal{H}[{\bm{\sigma}}] (see Eq. (19) for a precise definition of this matrix). Given nn replicas σa{\bm{\sigma}}^{a}, a=1,⋯ ,na=1,\cdots,n, we introduce the shorthand notation ga≡g[σa]{\bf g}^{a}\equiv{\bf g}[{\bm{\sigma}}^{a}], Ha≡H[σa]\mathcal{H}^{a}\equiv\mathcal{H}[{\bm{\sigma}}^{a}], ha≡h[σa]h^{a}\equiv h[{\bm{\sigma}}^{a}], and denote with pσ⃗p_{\vec{{\bm{\sigma}}}} the joint density function of the (N−1)n(N-1)n gradients components gαag_{\alpha}^{a} and of the nn functionals hah^{a}, induced by the distribution of the couplings Ji′J^{\prime}_{\bf i} in (16). With this notation, the replicated Kac-Rice formula reads:

In (17) the integral is over nn replicas σa{\bm{\sigma}}^{a} constrained to be in the unit sphere, at overlap q‾\overline{q} with the vector w0{\bf w_{0}}. The function pσ⃗(0,ϵ)p_{\vec{{\bm{\sigma}}}}({\bf 0},\epsilon) is the joint density of gradients and energies evaluated at gαa=0g_{\alpha}^{a}=0 and ha=2N ϵh^{a}=\sqrt{2N}\,\epsilon for any a=1,⋯ ,na=1,\cdots,n. The expectation value (18) is over the joint distribution of the Hessians Ha\mathcal{H}^{a}, conditioned on each σa{\bm{\sigma}}^{a} being a stationary point with rescaled energy 2Nϵ\sqrt{2N}\epsilon, and overlap q‾\overline{q} with w0{\bf w_{0}}. The computation of the moments (17) requires to determine, for each configuration of the replicas σa{\bm{\sigma}}^{a}, the joint distribution of the variables Hαβa\mathcal{H}^{a}_{\alpha\beta}, gαag_{\alpha}^{a} and hah^{a}, which are all mutually correlated and whose distribution depends, in principle, on the coordinates of all the replicas. For the simplest case (n=1n=1) of a single replica σ{\bm{\sigma}}, it can be shown (see the discussion below, and Refs. auffingerbenaouscerny ; fyodorov ) that (i) the gradient g[σ]{\bf g}\left[{\bm{\sigma}}\right] is statistically independent from h[σ]h\left[{\bm{\sigma}}\right] and from the Hessian, and (ii) the distributions depend on σ{\bm{\sigma}} only through its overlap q‾\overline{q} with the special direction w0{\bf w_{0}} (in absence of the signal, the distribution turns out to be independent on σ\bm{\sigma}). These features make the computation of the annealed complexity feasible; in particular, (ii) is crucial, as it allows to integrate out the variable σ{\bm{\sigma}} and get an expression for ⟨NN⟩\langle\mathcal{N}_{N}\rangle which depends only on few parameters. Moreover, it suggests that the distributions of the random vector g[σ]{\bf g}\left[{\bm{\sigma}}\right] and of the random matrix H[σ]\mathcal{H}\left[{\bm{\sigma}}\right] satisfy some rotation invariant symmetry, hinting at the connection with the random matrix theory of invariant ensembles auffingerbenaouscerny ; fyodorov . When the number of replicas is larger than one, the situation is more involved, as the random variables associated to different replicas are non-trivially correlated. However, it remains true that their joint distribution can be parametrized in terms of q‾\overline{q} and few additional order parameters, that are the overlaps qab=σa⋅σbq_{ab}={\bm{\sigma}}^{a}\cdot{\bm{\sigma}}^{b} between the different replicas footnote2 . In the following subsection, we discuss in more detail this structure, which allows us to re-express the moments (17) as an integral over the order parameters qabq_{ab} of three terms scaling exponentially with NN, see Eq. (24). The first term is a volume factor, emerging when integrating over the variables σa{\bm{\sigma}}^{a}: this is evaluated with standard methods in Sec. V.4. The second terms is the joint distribution of gradients and energy fields; the difficulty in computing this term relies in the inversion of the correlation matrix of the gradients: we overcome it by realizing that it is sufficient to invert the projection of the matrix on a restricted portion of replica space, see Sec. V.5. Finally, the third term is the conditional expectation value of the product of determinants. We find that the conditioned Hessians of the various replicas are coupled, weakly perturbed GOE matrices, such that their mutual correlations can be neglected when computing the expectation value to leading order in NN (Sec. V.6.1 and Sec. V.6.2). As a consequence, we find that this term contributes with a factor that is independent on qabq_{ab}, and which is governed by the properties of the GOE invariant ensembles, see Sec. V.6.3. We discuss the stability of the stationary points, which is encoded in the statistics of the spectrum of the Hessians, in Sec. V.7. The final result of the calculation is Eq. (13), where we remind that the integral over the order parameters has been performed within the saddle point approximation, assuming a replica-symmetric structure of the overlap matrix, qab≡qq_{ab}\equiv q for a≠ba\neq b.

V.3 Structure of covariances and order parameters

As a first step, we analyze the structure of the correlations between the random variables Ha\mathcal{H}^{a}, gag^{a} and hah^{a}: since they are Gaussian, their statistics is fully determined by their averages and mutual covariances, which turn out to depend only on q‾\overline{q} and on the overlaps qab=σa⋅σbq_{ab}={\bm{\sigma}}^{a}\cdot{\bm{\sigma}}^{b}. To uncover this structure, we consider the gradients ∇ha≡∇h[σa]{\bm{\nabla}}h^{a}\equiv{\bm{\nabla}}h[{{\bm{\sigma}}^{a}}] and Hessian ∇2ha≡∇2h[σa]{\bm{\nabla}}^{2}h^{a}\equiv{\bm{\nabla}}^{2}h[{\bm{\sigma}}^{a}] of the functional (16) extended to the whole NN-dimensional space footnote3 , and determine the covariances between their components along arbitrary directions in the NN-dimensional space, given by some NN-dimensional unit vectors ei{\bf e}_{i}. From here, the correlations of the components ga{\bf g}^{a} and Ha\mathcal{H}^{a} are easily determined setting ei→eαa{\bf e}_{i}\to{\bf e}_{\alpha}^{a}, where {eαa}α=1N−1\left\{{\bf e}_{\alpha}^{a}\right\}_{\alpha=1}^{N-1} is an arbitrarily chosen basis of the tangent plane at σa{\bm{\sigma}}^{a}. This follows from the fact that ga{\bf g}^{a} is an (N−1)(N-1)-dimensional vector with components gαa=∇ha⋅eαa{g}^{a}_{\alpha}={\bm{\nabla}}h^{a}\cdot{\bf e}_{\alpha}^{a}, which is obtained from ∇ha{\bm{\nabla}}h^{a} by simply projecting it onto the tangent plane. Similarly, Ha\mathcal{H}^{a} is an (N−1)×(N−1)(N-1)\times(N-1) matrix with components

as it follows from imposing the spherical constraint with a Lagrange multiplier footnote4 . For arbitrary ei{\bf e}_{i}, taking the derivative of (16) and computing the expectation value we find:

Finally, the correlations between Hessians and gradients read:

Consider first the case of a single replica: choosing ei→eα[σ]{\bf e}_{i}\to{\bf e}_{\alpha}\left[{\bm{\sigma}}\right] to be vectors in the tangent plane, using (19) and eα[σ]⋅σ=0{\bf e}_{\alpha}\left[{\bm{\sigma}}\right]\cdot{\bm{\sigma}}=0 one sees that g[σ]{\bf g}\left[{\bm{\sigma}}\right] is uncorrelated from H[σ]\mathcal{H}\left[{\bm{\sigma}}\right] and h[σ]h\left[{\bm{\sigma}}\right]; moreover, irrespectively of the choice of the basis in the tangent plane, the components of the gradient are independent Gaussian variables with variance pp, while the Hessian is a GOE matrix with variance p(p−1)p(p-1), shifted by a random diagonal matrix. For more than one replica, correlations arise because of the non-zero overlaps between some directions eαa{\bf e}_{\alpha}^{a} in the tangent plane at σa{\bm{\sigma}}^{a} and the other replicas σb{\bm{\sigma}}^{b}. However, the correlations of the components along directions that are orthogonal to w0{\bf w}_{0} and to all the σa{\bm{\sigma}}^{a} hugely simplify. To exploit this, it is convenient to separate the NN-dimensional space embedding the sphere into the (n+1)(n+1)-dimensional subspace SS spanned by the vectors w0{\bf w}_{0} and {σa}a=1n\left\{{\bm{\sigma}}^{a}\right\}_{a=1}^{n}, and its orthogonal complement S⊥S^{\perp}. The reference frame of the embedding space, which we denote with {xi}i=1N\left\{{\bf x}_{i}\right\}_{i=1}^{N}, can be chosen in such a way that the last (n+1)(n+1) vectors xN−n⋯ ,xN{\bf x}_{N-n}\cdots,{\bf x}_{N} are a linear combination of w0{\bf w_{0}} and of all the σa{\bm{\sigma}}^{a}, forming an orthonormal basis of SS, while the remaining N−n−1N-n-1 vectors x1,⋯ ,xN−n−1{\bf x}_{1},\cdots,{\bf x}_{N-n-1} generate S⊥S^{\perp}. Similarly, the basis vectors in the tangent planes eαa{\bf e}_{\alpha}^{a} can be chosen so that the last nn vectors eN−na,⋯ ,eN−1a{\bf e}_{N-n}^{a},\cdots,{\bf e}^{a}_{N-1}, together with the normal direction σa{\bm{\sigma}}^{a}, are a basis for SS, while the remaining eαa{\bf e}_{\alpha}^{a} with α<N−n\alpha<N-n generate S⊥S^{\perp}. In particular, these can be chosen equal for any aa, as eαa=δα,i xi{\bf e}^{a}_{\alpha}=\delta_{\alpha,i}\,{\bf x}_{i} for i<N−ni<N-n. With this choice, the covariances between the first N−n−1N-n-1 components of the gradients do not depend on the corresponding directions eαa{\bf e}^{a}_{\alpha}, and depend trivially on the overlaps qabq_{ab}. The covariances between the last components are instead more complicated functions of qabq_{ab}, which depend explicitly on the choice of the basis in SS. Optimal choices for the basis can be made, to simplify the calculations; we discuss an example in Appendix IX.3. Regardless of these choices, Eq. (17) can be rewritten in terms of the overlaps alone, as:

where E\mathcal{E} and pQ^p_{\hat{Q}} are the expectation value and the joint distribution in Eq.(17), now expressed as a function of the overlap matrix Q^\hat{Q} with components

is an entropic contribution. We determine the leading order term in NN of each of the three contributions in (24) for qab≡qq_{ab}\equiv q, and subsequently perform the integral with the saddle point method. To simplify the calculation, we choose the bases xi{\bf x}_{i} and eαa{\bf e}_{\alpha}^{a} so that only one vector has a non-zero overlap with the special direction w0{\bf w_{0}}: this can be done setting xN=w0{\bf x}_{N}={\bf w_{0}} (hence the name North Pole), and choosing eN−1a{\bf e}_{N-1}^{a} to be the projection of w0{\bf w_{0}} on the tangent plane of σa{\bm{\sigma}}^{a}, eN−1a=(w0−q‾σa)/1−q‾2{\bf e}_{N-1}^{a}=\left({\bf w_{0}}-\overline{q}{\bm{\sigma}}^{a}\right)/\sqrt{1-\overline{q}^{2}}.

V.4 The phase space factor: V​(Q^,q¯)𝑉^𝑄¯𝑞V\left(\hat{Q},\overline{q}\right)

The term V(Q^,q‾)V(\hat{Q},\overline{q}) is a phase space factor, which accounts for the multiplicity of configurations of replicas satisfying the constraints on the overlap. Its large-NN limit can be obtained from the representation:

where Λ^\hat{\Lambda} and Q^\hat{Q} are n×nn\times n matrices in replica space with elements Λab=(1+δab)λab\Lambda_{ab}=(1+\delta_{ab})\lambda_{ab} and Qab=(1−δab)qab+δabQ_{ab}=(1-\delta_{ab})q_{ab}+\delta_{ab}, and v(Q^,q‾;μ,Λ^,σ⃗)=∑a≤biλab(σa⋅σb−qab)+∑aiμa(σa⋅w0−q‾)v(\hat{Q},\overline{q};{\bm{\mu}},\hat{\Lambda},\vec{\bm{\sigma}})=\sum_{a\leq b}i\lambda_{ab}\left({\bm{\sigma}}^{a}\cdot{\bm{\sigma}}^{b}-q_{ab}\right)+\sum_{a}i\mu_{a}\left({\bm{\sigma}}^{a}\cdot{\bf w}_{0}-\overline{q}\right). Performing the Gaussian integrals over the variables σia\sigma^{a}_{i} and μa\mu_{a} we get:

This contribution is dominated by q=q‾2q=\overline{q}^{2}, which corresponds to configurations in which the replicas are almost independent with each others, correlated only through the constraint on q‾\overline{q} (indeed, it corresponds to replicas having zero mutual overlap in the portion of phase space that is orthogonal to the special direction w0{\bf w_{0}}). These configurations are the most numerous, and reproduce the phase space factor obtained in the annealed calculation (when n=1n=1), since in that case:

However, they are disfavored by the other terms in (24), which depend non-trivially on qq; the competition between these terms leads to a more complicated global saddle point solution qSPq_{SP}.

We now determine the joint distribution pQ^(0,ϵ)p_{\hat{Q}}({\bf 0},\epsilon) of the (N−1)n+n(N-1)n+n components (gαa,ha)(g^{a}_{\alpha},h^{a}). This can be obtained from the joint distribution of the gradient components ∇hia=∇h[σa]⋅xi{\bm{\nabla}}h^{a}_{i}={\bm{\nabla}}h[{\bm{\sigma}}^{a}]\cdot{\bf x}_{i} in the enlarged, NN-dimensional space, whose covariances read (see Eq. 21):

and averages ⟨∇hia⟩=−δiN 2N rfk′(q‾)\langle{{\bm{\nabla}}h^{a}_{i}}\rangle=-\delta_{iN}\,\sqrt{2N}\,rf^{\prime}_{k}\left(\overline{q}\right). The joint density of the ∇hia{\bm{\nabla}}h^{a}_{i} is thus:

and where [C^−1]ab[\hat{C}^{-1}]^{ab} is the abab block (in replica space) of the inverse covariance matrix, of dimension N×NN\times N. Due to our choice of the reference frame xi{\bf x}_{i}, each C^ab\hat{C}^{ab} is block-diagonal, C^ab=diag(A^ab,B^ab)\hat{C}^{ab}=\text{diag}(\hat{A}^{ab},{\hat{B}}^{ab}), where A^ab\hat{A}^{ab} is an (N−n−1)×(N−n−1)(N-n-1)\times(N-n-1) block with components A^ijab=δij[pδab+p(1−δab)qp−1]\hat{A}_{ij}^{ab}=\delta_{ij}[p\delta_{ab}+p(1-\delta_{ab})q^{p-1}] giving the covariances between the gradients components in S⊥S^{\perp}, while B^ab{\hat{B}^{ab}} is an (n+1)×(n+1)(n+1)\times(n+1) block whose elements are the covariances of the gradients components in SS, which are explicit functions of qq and of σia\sigma_{i}^{a}. To leading order in NN this smaller block can be neglected for the computation of the normalization, and one gets:

Note that in (32) the matrix C^−1\hat{C}^{-1} is contracted with the vectors σa{\bm{\sigma}}^{a}, so that the quadratic form depends only on the overlaps q,q‾q,\overline{q}. The exponent (32) can be explicitly computed noticing that the vectors ξ1{\bm{\xi}}_{1} and ξ2{\bm{\xi}}_{2}, together with the vector ξ3=(∑a≠1σa,⋯ ,∑a≠nσa){\bm{\xi}}_{3}=\left(\sum_{a\neq 1}{\bm{\sigma}}^{a},\cdots,\sum_{a\neq n}{\bm{\sigma}}^{a}\right), form a closed set under the action of the matrix C^−1\hat{C}^{-1}: the inversion of the correlation matrix can be performed in the restricted subspace spanned by these three vectors, and the matrix elements of C^−1\hat{C}^{-1} within this subspace suffice to get (32). We refer to the Appendix IX.2 for the details of this computation. As a result, we obtain

where D(q)D(q) is given in (11). In the limit of a single replica n→1n\to 1, the quadratic form reduces to:

which is consistent with (20), as it reflects the factorization of the distribution of the gradients and of the rescaled energy fields: the first term in (34) corresponds to the Gaussian weight of the energy functional h[σa]h\left[{\bm{\sigma}}^{a}\right], while the second accounts for the non-zero average of the last component of the vector ga{\bf g}^{a} (here we used that eN−1a=(xN−q‾σa)/1−q‾2{\bf e}_{N-1}^{a}=\left({\bf x}_{N}-\overline{q}{\bm{\sigma}}^{a}\right)/\sqrt{1-\overline{q}^{2}}). To leading order in nn, setting Qp,k(n)≡n Qp,k+O(n2)Q_{p,k}^{(n)}\equiv n\,Q_{p,k}+O(n^{2}), we obtain

This term is dominated by an energy dependent value of q=q(ϵ,q‾)q=q(\epsilon,\overline{q}). As we argue in the following section, to leading order in NN the expectation value E\mathcal{E} turns out to be independent on qq, so that (36) is the term responsible for shifting footnote5 the saddle-point solution away from the value q=q‾2q=\overline{q}^{2} maximizing the phase space term (27).

V.6 The expectation value of the product of determinants ℰℰ\mathcal{E}

The expectation value E\mathcal{E} in (24) is over the joint distribution of the Hessian matrices Ha\mathcal{H}^{a}, conditioned on a particular value of the gradients ga{\bf g}^{a} and field hah^{a}. Using the identities (19) and (31) we get that the Hessians can be written as:

Consider first a single matrix Ma\mathcal{M}^{a}: before conditioning to the values of the gradients and energy functionals, the distribution of each Ma\mathcal{M}^{a} is the one of a GOE matrix, with independent entries with variance ⟨[Mαβa]2⟩=p(p−1)(1+δαβ)\langle[\mathcal{M}^{a}_{\alpha\beta}]^{2}\rangle=p(p-1)(1+\delta_{\alpha\beta}), see Eq.(22) (this follows from the fact that the vectors eia{\bf e}_{i}^{a} in the tangent plane are orthogonal to σa{\bm{\sigma}}^{a}). This distribution is modified by the conditioning, as the entries of Ma\mathcal{M}^{a} are correlated to the gradients and energies of all the other replicas. To determine this effect, we partition each (N−1)×(N−1)(N-1)\times(N-1) matrix Ma\mathcal{M}^{a} into blocks,

V.6.2 Factorization of the expectation value of the determinants

V.6.3 The GOE computation

Given these observations, and given the symmetry between replicas, the expectation in (40) reduces to

where I(y)=I(−y)=∫dμ2−μ2log⁡∣μ−y∣/πI(y)=I(-y)=\int d\mu{\sqrt{2-\mu^{2}}}\log|\mu-y|/\pi is given in (V.1), and β(ϵ,q‾)\beta(\epsilon,\overline{q}) in (10). The contribution of the determinants in (24) thus reads:

V.7 Threshold energy, isolated eigenvalue and complexity of the stable stationary points

The results obtained so far suffice to derive the explicit expression for the quenched complexity, since combining everything we get:

where NN is here the dimension of the matrix and σ{\bm{\sigma}} is assumed to be a stationary point. The quantity (46) is a fluctuating variable even for fixed realization of the random field, as it changes from stationary point to stationary point. To capture its typical behavior, we first average it over all stationary points at given q‾,ϵ\overline{q},\epsilon at fixed realization of the field, and subsequently average of the random field itself. This leads to

where χ(q‾,ϵ)=δ(σ⋅w0−q‾)δ(h[σ]−2Nϵ)\chi(\overline{q},\epsilon)=\delta({\bm{\sigma}}\cdot{\bf w_{0}}-\overline{q})\delta(h[{\bm{\sigma}}]-\sqrt{2N}\epsilon) enforces the constraints on the overlap with the signal and on the energy density. The above average can be performed by means of the replica trick, using the identity x−1=lim⁡n→0xn−1x^{-1}=\lim_{n\to 0}x^{n-1}. Exploiting the replicated Kac-Rice formula, we get

Proceeding as before, and using that the resolvent of the Hessian at a stationary point σ1{\bm{\sigma}}^{1} is a function only of the eigenvalue density ρ1(λ)\rho^{1}(\lambda), we find that (48) can be evaluated with the same saddle-point calculation discussed above, and:

V.8 Mapping between complexity at different k𝑘k

Before presenting the results, we derive the mapping (15) relating the complexity for different values of kk. Suppose that σ{\bm{\sigma}} is a stationary point of the functional (16) for a fixed kk and for a given value of r=rkr=r_{k} (we now make explicit the dependence on kk and rr writing hk,r[σ]h_{k,r}\left[{\bm{\sigma}}\right]), with overlap q‾\overline{q} and with energy density ϵ=ϵk\epsilon=\epsilon_{k}. Then, the point σ{\bm{\sigma}} is also a stationary point of the functional (16) with k=1k=1, provided that r=r1effr=r_{1}^{\text{eff}} is chosen so that:

In this case, σ{\bm{\sigma}} has overlap q‾\overline{q} with w0{\bf w_{0}}, and has energy density:

Indeed, for σ{\bm{\sigma}} to be a stationary point at a fixed kk, it must hold ∇hk,rk⋅eα[σ]=0{\bm{\nabla}}h_{k,r_{k}}\cdot{\bf e}_{\alpha}\left[{\bm{\sigma}}\right]=0, which implies:

where we exploited our choice of bases xN=w0{\bf x}_{N}={\bf w_{0}} and eN−1[σ]=(xN−q‾σ)/1−q‾2{\bf e}_{N-1}\left[{\bm{\sigma}}\right]=\left({\bf x}_{N}-\overline{q}{\bm{\sigma}}\right)/\sqrt{1-\overline{q}^{2}}. Moreover, hps[σ]=ϵk+rkfk(q‾)h_{\text{ps}}\left[{\bm{\sigma}}\right]=\epsilon_{k}+r_{k}f_{k}(\overline{q}). This in turn implies that ∇h1,r1[σ]⋅eα[σ]=0{\bm{\nabla}}h_{1,r_{1}}\left[{\bm{\sigma}}\right]\cdot{\bf e}_{\alpha}\left[{\bm{\sigma}}\right]=0 for α<N−1\alpha<N-1, while ∇h1,r1[σ]⋅eN−1[σ]=(rkfk′(q‾)−r1f1′(q‾))1−q‾2{\bm{\nabla}}h_{1,r_{1}}\left[{\bm{\sigma}}\right]\cdot{\bf e}_{N-1}\left[{\bm{\sigma}}\right]=(r_{k}f^{\prime}_{k}(\overline{q})-r_{1}f^{\prime}_{1}(\overline{q}))\sqrt{1-\overline{q}^{2}}. Thus, this is a stationary point for k=1k=1 if r1r_{1} is chosen as (52). In this case, it is easy to check that its energy density equals (53). It follows from this that the knowledge of the curves (13) for k=1k=1 is sufficient to reconstruct the curves at any larger kk, via the mapping (15). We however remind that the analysis of the instability of the stationary point induced by the isolated eigenvalue is strongly dependent on kk, and thus has to be performed separately for any case.

V.9 The results of the Kac-Rice calculation

We are now ready to discuss concrete results. In the following we report the curves resulting from the computation of (13), focusing on the cases p=3p=3 and p=4p=4. For each of the values of kk that we consider, we find the following general features: as long as r<rcr<r_{c} (and, in most cases, also for r>rcr>r_{c}), there are values of q‾,ϵ\overline{q},\epsilon for which the quenched complexity is positive and the typical Hessian of the stationary points is positive definite, indicating the presence of exponentially many local minima of the energy functional. In particular, at fixed latitude q‾\overline{q} this occurs over a finite range of energies ϵ∗(q‾)≤ϵ≤ϵth(q‾)\epsilon^{*}(\overline{q})\leq\epsilon\leq\epsilon_{\text{th}}(\overline{q}), with ϵth(q‾)\epsilon_{\text{th}}(\overline{q}) replaced by ϵst(q‾)\epsilon_{\text{st}}(\overline{q}) whenever the isolated eigenvalue exists. We find that Σp,k(ϵ,q‾)\Sigma_{p,k}(\epsilon,\overline{q}) is monotone increasing in this energy range, implying that the most numerous stable stationary points at a given q‾\overline{q} are the ones at higher energy. At the other extreme of the support ϵ∗(q‾)\epsilon^{*}(\overline{q}), the quenched complexity vanishes, Σp,k(ϵ∗(q‾),q‾)=0\Sigma_{p,k}(\epsilon^{*}(\overline{q}),\overline{q})=0. We denote with ϵ∗(r)\epsilon^{*}(r) the absolute minimum of the energies over all q‾\overline{q}, and with q∗(r)q^{*}(r) the corresponding latitude; these values coincide with the ones found solving the RSB equations in Sec. IV.2. We use the notation q‾num(r)\overline{q}_{\text{num}}(r) for the latitude where the largest number of stationary points is found, for any fixed rr. At the transition point rcr_{c} and at the latitude q‾c\overline{q}_{c} given in (12), the support of the positive part of the complexity shrinks to a single point ϵ∗=ϵth=ϵc\epsilon^{*}=\epsilon_{\text{th}}=\epsilon_{c}, where Σp,k(ϵc,q‾c)=0\Sigma_{p,k}(\epsilon_{c},\overline{q}_{c})=0. Moreover, the whole complexity curve at this latitude coincides with the annealed one, Eq. (12). The same remains true for larger rr: the annealed complexity is exactly zero at values of q‾∗,ϵ∗\overline{q}^{*},\epsilon^{*} which coincide with the solution of the RS limit of the saddle point equations in Sec. IV.2, and which give the latitude and energy of an isolated minimum of the energy landscape. For k>1k>1 and for some values of rr, beyond this isolated minimum there is a residual band containing exponentially many local minima, at smaller overlap q‾\overline{q} with the signal. In the following, we present in more detail the results for each of the cases presented qualitatively in Sec. III.

Instances of the complexity curves Σp,k(ϵ,q‾)\Sigma_{p,k}(\epsilon,\overline{q}) in the case k=1k=1, f1(x)=xf_{1}(x)=x are given in Fig. 6, for p=3p=3 and fixed r<rcr<r_{c}. The curves are obtained solving numerically the saddle point equations for qq for each value of the parameters q‾,ϵ\overline{q},\epsilon. For k=1k=1 we find that there is no isolated eigenvalue exiting the bulk of the semicircle: thus, for each q‾\overline{q} the maximal energy where stable stationary points are found is ϵth(q‾)\epsilon_{\text{th}}(\overline{q}), which is marked with the squares in Fig. 6. The curves show the following trend: below a minimum value q‾m\overline{q}_{m}, the complexity is positive only for the states which have energy above the threshold, and are therefore unstable. At q‾m\overline{q}_{m}, the equality ϵ∗(q‾m,r)=ϵth(q‾m,r)\epsilon^{*}(\overline{q}_{m},r)=\epsilon_{\text{th}}(\overline{q}_{m},r) holds, meaning that at this latitude there are only marginally stable (and unstable) stationary points. For larger latitudes, as q‾\overline{q} increases the energy interval in which the complexity is positive (and the points are stable) gets wider and moves toward smaller energies, until the maximal width is reached at q‾num\overline{q}_{\text{num}}. At larger q‾\overline{q}, the energy interval start shrinking, and the minimal energies ϵ∗(q‾)\epsilon^{*}(\overline{q}) decrease until the absolute minimum is reached at q‾∗\overline{q}^{*}; for q‾>q‾∗\overline{q}>\overline{q}^{*} the trend is reversed and ϵ∗(q‾)\epsilon^{*}(\overline{q}) starts increasing, until it collapses to ϵth(q‾)\epsilon_{\text{th}}(\overline{q}) at q‾M\overline{q}_{M}. Analogous results are obtained for different values of rr below rcr_{c}, as well as for p=4p=4.

In Fig. 7, we plot the bands q‾m(r)≤q‾≤q‾M(r)\overline{q}_{m}(r)\leq\overline{q}\leq\overline{q}_{M}(r) containing exponentially many local minima, as a function of rr. These bands correspond to the red ones plotted pictorially in Fig. 1. For each of the q‾\overline{q} within the bands, the quenched complexity behaves as in Fig. 6. As rr increases, the bands gets wider and subsequently shrink and collapse to q‾c\overline{q}_{c} at r=rc(p)r=r_{c}(p), corresponding to the black points in the figures. Here the minimum becomes unique, and it is marginally stable. This landscape phase transition at rcr_{c} is signaled by the fact that the saddle point solution qSPq_{\text{SP}} converges to 11, meaning that all the replicas coincide, and that the quenched complexity becomes equal to the annealed one. This corresponds to the recovery of the RS symmetry in the replica calculation of Sec. IV.2.

V.9.2 Case II

According to the analysis of Sec. IV and of Ref. sherrington1 , for k=2k=2, f2(x)=x2/2f_{2}(x)=x^{2}/2, the minima of the energy landscape undergo a second order transition at r=r2ND<rcr=r_{\text{2ND}}<r_{c}. The transition marks the boundary between two different behaviors of the complexity curves, see Fig. 8: for r<r2NDr<r_{\text{2ND}}, the energy interval containing exponentially many states is maximally large at the equator, where both the deepest and the most numerous states lie. For r2ND<r<rcr_{\text{2ND}}<r<r_{c}, instead, the most numerous states remain at the equator and have ϵ=ϵth\epsilon=\epsilon_{\text{th}}, but the deepest states move toward a higher overlap q‾∗>0\overline{q}^{*}>0 with the signal. At r2NDr_{\text{2ND}}, the states of minimal energy ϵ∗(r)\epsilon^{*}(r) detach from the equator, moving toward larger latitudes. The features of the bottom of the landscape (that is, the spectrum of the minimal energies ϵ∗(q‾,r)\epsilon^{*}(\overline{q},r), the thermodynamic energies ϵ∗(r)\epsilon^{*}(r) and the value of r2NDr_{2ND}) can all be obtained from the corresponding k=1k=1 curves ϵ1∗(q‾,r1)\epsilon^{*}_{1}(\overline{q},r_{1}) satisfying Σp,1(ϵ1∗(q‾,r1),q‾;r1)=0\Sigma_{p,1}(\epsilon_{1}^{*}(\overline{q},r_{1}),\overline{q};r_{1})=0, as we discuss in more detail in Appendix IX.5.

Consider now the other transition in the energy landscape, which occurs when the strip containing exponentially many stationary points splits into three different bands (in the following, we restrict to positive values of q‾\overline{q}: due to the symmetry, the landscape at negative overlap is specular to the one at positive overlap). The strip containing the stationary points for k=2k=2 can be identified exploiting again the mapping (15), with the caveat that the stationary points so determined are stable only in the sense of the threshold, and the analysis of the sign of the isolated eigenvalue has to be performed separately. We give the details of the mapping in Appendix IX.5. The resulting bands are shown in Fig. 9, where one sees that they split at r≈1.55r\approx 1.55 for p=3p=3, and r≈2.05r\approx 2.05 for p=4p=4. For rr larger than this splitting point, the band closer to the North Pole, which is the one containing the deepest minima, shrinks until it collapses to a single state at the RS transition, while the band enclosing the equator, which is the one containing the most numerous minima, shrinks to zero only asymptotically (this corresponds to the dashed lines in Fig. 9). This implies that, for any value of rr, there is a strip of finite width and small overlap q‾\overline{q} with the signal, containing exponentially many stationary point with energy smaller than the threshold. To conclude the analysis of the landscape, it is necessary to investigate the possible instability of these points due to the presence of a negative, isolated eigenvalue.

For k=2k=2, the isolated eigenvalue exists only for sufficiently large rr, and it renders unstable, for each q‾\overline{q} for which it exists, the stationary points at higher energy ϵst(q‾,r)<ϵ<ϵth(q‾,r)\epsilon_{\text{st}}(\overline{q},r)<\epsilon<\epsilon_{\text{th}}(\overline{q},r). We refer to the Appendix IX.5 for a more detailed analysis of this instability, and report here only its main consequences. First, if this instability is accounted for, we find that for r>rcr>r_{c} the most numerous non-unstable points are still at q‾=0\overline{q}=0, but are no longer marginally stable. Rather, they have an energy ϵst(0,r)\epsilon_{\text{st}}(0,r) smaller than the threshold energy, and have one flat direction in their Hessian, corresponding to the isolated eigenvalue being zero. For general q‾\overline{q}, as rr increases ϵst(q‾,r)\epsilon_{\text{st}}(\overline{q},r) decreases, until it becomes smaller than the lower bound ϵ∗(q‾,r)\epsilon^{*}(\overline{q},r), implying that all the points at the given latitude are unstable because of a single negative eigenvalue (See Fig. 16 in Appendix IX.5). This happens first for the larger values of q‾\overline{q} belonging to the band: thus, the band of those stationary points gets narrower around the equator, from above. At a finite value of rr (r≈2.06r\approx 2.06 for p=3p=3 and r≈3.21r\approx 3.21 for p=4p=4), also the last stationary points at the equator become unstable (this value of rr can be computed within the annealed approximation, see the comments at the end of Appendix IX.4). For larger rr, there is a unique stable minimum, that is the minimum of the annealed complexity.

V.9.3 Case III

In this case, the transition at the bottom of the energy landscape is of first order. What distinguishes the two options presented in Sec. III is whether this thermodynamic transition occurs before or after the band of stationary points separates into two distinct strips, and the strip at larger overlap q‾\overline{q} undergoes the RS transition. The second case (Option B) is realized, for instance, for k=3k=3, p=4p=4. In this case, the curves Σp,k(ϵ,q‾)\Sigma_{p,k}(\epsilon,\overline{q}) behave in the following way: for small rr, they are monotone decreasing for increasing q‾\overline{q} (they look like their k=2k=2 counterpart in Fig. 8 (a)), so that both the deepest and the most numerous states are at the equator. At a spinodal point r1SP≈2.01r_{1\text{SP}}\approx 2.01, a local minimum in ϵ∗(q‾)\epsilon^{*}(\overline{q}) appears at a latitude q‾2∗(r)>0\overline{q}^{*}_{2}(r)>0, so that for r>r1SPr>r_{1\text{SP}} the curves are no longer monotone, see Fig. 10 (a). The absolute minima remain however at the equator, q‾∗=0\overline{q}^{*}=0. The latitude q‾2∗\overline{q}^{*}_{2} of the second minimum increases with rr, and its energy decreases; at the first order transition r1STr_{\text{1ST}}, its energy become smaller than the energy of the minima at the equator (that is the ground states of the unperturbed pp-spin model), and q‾∗\overline{q}^{*} jumps discontinuously from zero to a finite value q‾2∗(r1ST)\overline{q}^{*}_{2}(r_{\text{1ST}}), see Fig. 10 (b). The value of r1SPr_{1\text{SP}}, the latitudes of the second minima q‾2∗(r)\overline{q}^{*}_{2}(r) and the corresponding energies can be obtained via the mapping from the curves at k=1k=1, as we discuss in Appendix IX.5. The bands of latitudes corresponding to positive complexities below the threshold energy can also be obtained from k=1k=1, in a way analogous to the one discussed in the Appendix for k=2k=2. A major difference with respect to Case II concerns the effect of the isolated eigenvalue, since for k≥3k\geq 3 the states at the equator are not destabilized by it (see the details in Appendix IX.5). Thus, in this case the threshold states of the unperturbed pp-spin model are the most numerous stable minima, for any rr. This case is summarized in Fig. 11 (b).

Finally, we consider the case k=3k=3, p=3p=3, which realizes Option A of Sec. III. In this case we find that r1SP=rcr_{1\text{SP}}=r_{c}. The curves Σp,k(ϵ,q‾)\Sigma_{p,k}(\epsilon,\overline{q}) behave similarly to the ones in Fig. 8 (a) for any r<rc≈2.45r<r_{c}\approx 2.45. As rr approaches rcr_{c} from below, the band of stationary points rapidly grows, and at rcr_{c} it reaches its maximal width, incorporating q‾c\overline{q}_{c} (i.e., q‾M(rc)=q‾c\overline{q}_{M}(r_{c})=\overline{q}_{c}). Exactly at this latitude q‾c\overline{q}_{c}, the saddle point qSP=1q_{\text{SP}}=1 reaches one, and the quenched complexity becomes equal to the annealed one, having positive support for a single value of the energy density ϵc\epsilon_{c}. The curve of minimal energies ϵ∗(q‾)\epsilon^{*}(\overline{q}) has a minimum at q‾=0\overline{q}=0, and it is flat at q‾c\overline{q}_{c}, where it intersects the threshold energy ϵth\epsilon_{\text{th}} (which for p=kp=k is independent of q‾\overline{q} and rr, and equals to the threshold of the unperturbed pp-spin model). Therefore, the second minimum of ϵ∗(q‾)\epsilon^{*}(\overline{q}) appears exactly at rcr_{c}, and at this point it coincides with the RS solution. At larger values of rr, the minimum of the annealed complexity is isolated (it departs from the band containing all the other minima), and becomes energetically favorable at r1ST≈2.56r_{\text{1ST}}\approx 2.56. The band at small overlap shrinks asymptotically around the equator. Thus, in this case the band of minima is connected up to rcr_{c}, and it splits exactly at the critical point, see Fig. 11 (b). The analysis of the isolated eigenvalue shows that for large enough rr, the eigenvalue renders unstable the points at higher overlap in the strip enclosing the equator, but it does not affect the most numerous, marginally stable states at the equator, nor the minimum of the annealed complexity, which is stable for any r>rcr>r_{c}.

VI Comparison between Kac-Rice and replica method

As pointed out in the previous section, the information on the thermodynamics provided by the replica calculation is fully recovered from the Kac-Rice results, by analyzing the spectrum of minima ϵ∗(q‾,r)\epsilon^{*}(\overline{q},r) satisfying Σp,k(ϵ∗(q‾,r),q‾;r)=0\Sigma_{p,k}(\epsilon^{*}(\overline{q},r),\overline{q};r)=0. As first pointed out in Monasson , the thermodynamical replica method can also be used to obtain information on the number of critical points. In this section, by comparing the predictions of the two calculation schemes concerning the configurational entropy, i.e. the complexity of the most numerous stationary points Σc(ϵ)\Sigma_{c}(\epsilon), we show that the thermodynamical replica method is not able to reproduce the full Kac-Rice results and leads to partially incorrect predictions. This is an important point since, although the method could be probably amended, its present form which is often used for the purpose of computing the configurational entropy fails for the models we consider. We highlight below the two different reasons for failure. The replica formalism allows to sample local minima at energy higher than the equilibrium one by not imposing the saddle point condition on βm\beta m (the third among Eqs. IV.2.1), and using mm as a parameter, which plays the role of an effective inverse temperature. By lowering mm (βm\beta m in the T=0T=0 case) the remaining saddle point equations describe the macroscopic features of the most numerous local minima at higher energy. In particular, the expression contained in the disregarded saddle point equation (IV.2.1) gives the corresponding intensive log multiplicity of these minima, i.e. their configurational entropy ScS_{c}:

The stability of the metastable minima, whose multiplicity is accounted for by (54), is checked by analyzing the stability with respect to fluctuations in the overlap matrix QabQ_{ab}, see Appendix IX.6. The entropy ScS_{c} can then be compared with the Kac-Rice complexity of the most numerous stationary points. The latter is obtained, for each energy density ϵ\epsilon, as the maximum of the curves Σp,k(ϵ,q‾)\Sigma_{p,k}(\epsilon,\overline{q}) over those latitudes q‾\overline{q} that correspond to stationary points that are stable at the energy ϵ\epsilon.

We find that there are regimes in which the two calculations are not equivalent, with the replica calculation failing to identify part of the complexity curve resulting from Kac-Rice. As an illustrative case, we consider the parameters k=2k=2, p=4p=4. For r<rcr<r_{c}, the stability of the stationary points at fixed latitude is determined only by the bulk of the eigenvalues density of the Hessian, since no isolated eigenvalue is present. Therefore, the constrained maximization of the Kac-Rice complexities reads:

As long as r<r2NDr<r_{2\text{ND}}, at fixed ϵ\epsilon the curves Σ(ϵ,q‾)\Sigma(\epsilon,\overline{q}) are monotone decreasing in q‾\overline{q}, with a maximum at q‾=0\overline{q}=0. In this case, Σc(ϵ)\Sigma_{c}(\epsilon) coincides with the complexity of the stationary points at the equator, and the quantity (54) reproduces it. For r2ND<r<rcr_{2\text{ND}}<r<r_{c}, the two complexity curves coincide only in the lowest part of the energy domain (see Fig. 12 for a comparison between the curves obtained with the two methods for r=0.9r=0.9). More precisely, the curves coincide for the energies ϵ\epsilon for which the maximum in (55) is attained inside the interval, at a q‾s\overline{q}_{s} satisfying ϵ<ϵth(q‾s)\epsilon<\epsilon_{\text{th}}(\overline{q}_{s}). This means that the most numerous states at these energies have Hessian gapped away from zero, and are at latitudes satisfying ∂Σp,k(ϵ,q‾s)/∂q‾=0\partial\Sigma_{p,k}(\epsilon,\overline{q}_{s})/\partial\overline{q}=0. In this case, q‾s\overline{q}_{s} coincides with the value of q‾\overline{q} selected by the saddle point equations of the replica calculation (see Sec. IV.2), and we recover Sc(ϵ)=Σc(ϵ)S_{c}(\epsilon)=\Sigma_{c}(\epsilon). In the second part of the curve, instead, the maximum is attained at the boundary of the interval, at latitudes q‾s\overline{q}_{s} such that ϵ=ϵth(q‾s)\epsilon=\epsilon_{\text{th}}(\overline{q}_{s}). This part of the curve Σc(ϵ)\Sigma_{c}(\epsilon) is thus contributed by points that are marginally stable, and which do not fulfill the stationarity condition ∂Σp,k(ϵ,q‾)/∂q‾=0\partial\Sigma_{p,k}(\epsilon,\overline{q})/\partial\overline{q}=0. This piece of curve is not recovered by the replica scheme: rather, in this energy regime the replica solution corresponding to saddle point values q‾≠0\overline{q}\neq 0 results in a different entropy curve (the black-dashed line in the Inset of Fig. 13) that has to be disregarded, being unstable with respect to the replicon criterion recalled in Appendix IX.6. On the other hand, the dashed blue line in the figure corresponds to q‾=0\overline{q}=0, which is always a solution of the saddle point equations in the replica calculation, that coincides with the Kac-Rice curve only for the highest energies. Thus, the replica result is inconsistent with the Kac-Rice one at intermediate energy densities. As rr increases toward rcr_{c}, the interval of energies in which the two curves coincide shrinks, so that the replica calculation allows to recover only a very small portion of the configurational entropy obtained via Kac-Rice, the part of curve contributed by strictly stable points. The situation outlined above highlights the first way in which the replica method can fail: the correct result is recovered only when the largest contribution to the configurational entropy at fixed energy is given by a q‾\overline{q} such that ∂Σp,k(ϵ,q‾)/∂q‾=0\partial\Sigma_{p,k}(\epsilon,\overline{q})/\partial\overline{q}=0. The reason is that the configurations taken into account by the replica method if ∂Σp,k(ϵ,q‾)/∂q‾≠0\partial\Sigma_{p,k}(\epsilon,\overline{q})/\partial\overline{q}\neq 0 do not correspond to true minima since they have a non-zero gradient in the north-pole direction. Let’s now focus on the other way in which the usual replica method to compute the configurational entropy can fail. For r>rcr>r_{c} (but smaller than the value of rr at which the landscape becomes completely convex), for the smaller energies ϵ\epsilon the curves Σ(ϵ,q‾)\Sigma(\epsilon,\overline{q}) are monotonic in q‾\overline{q}, with a local minimum at q‾=0\overline{q}=0 and a global maximum at a latitude q‾>0\overline{q}>0 (see the Inset in Fig. 14), while at larger energies the minimum at the equator becomes the maximum of the curve. Therefore, at small energies Σc(ϵ)\Sigma_{c}(\epsilon) is contributed by the points at the latitudes q‾>0\overline{q}>0 of the maximum. The replica calculation reproduces nevertheless only the complexity at q‾=0\overline{q}=0, even when there is a full spectrum of more numerous (stable) points at higher overlap with the signal (see Fig. 14 for the case r=3r=3). The reason for this is that precisely at the latitude where the complexity has a maximum, the isolated eigenvalue of the Hessian is exactly equal to zero. Thus, the lower-energy part of the curve Σc(ϵ)\Sigma_{c}(\epsilon) obtained from Kac-Rice is contributed by stationary points that have the Hessian with a single zero mode, which are known to be not captured by the standard replica calculation Annibale ; CLR1 ; CLR2 . The physical reason is that these stationary points do not correspond to the zero-temperature limit of stable states. In fact, as shown in Aspelmeier , they correspond to minima characterized by finite barriers. This situation has been already found in computation of the multiplicity of TAP solutions in mixed models Annibale and in models exhibiting a full replica symmetry breaking phase CLR1 ; CLR2 .

VII On the spiked tensor case

As we have previously remarked, the Hamiltonian Hp,k(r)H_{p,k}(r) in the case k=pk=p is related to spiked tensor model montanari , i.e., to the inference problem of detecting a low-rank, additive perturbation of a symmetric Gaussian tensor, which has attracted a lot of attention recently. In this section we specifically present our analysis on this system, focusing in the case k=p≥3k=p\geq 3 for concrete results. Some of these observations are already stated in montanari ; krzakala ; bandera ; Chen . We also discuss which properties the annealed computation MontanariBenArous cannot capture. The inference task in the spiked tensor problem consists in reconstructing the unknown vector v0{\bf v}_{0} from the observation of a random pp-tensor with components

where the random couplings Ji1,…,ipJ_{i_{1},\dots,i_{p}}, symmetric with respect to a permutation of the indices, correspond to the noise and v0{\bf v}_{0} (the signal) is generated at random from a spherical prior distribution. In particular, one is interested in identifying the strong detection threshold bandera , i.e. the critical signal-to-noise ratio below which the spiked model is statistically indistinguishable from the un-spiked one with r=0r=0, and the detection threshold, above which an estimator s^\hat{\bf s} of the signal having a finite overlap with v0{\bf v}_{0} in the limit N→∞N\to\infty exists (for a precise definition of statistical indistinguishability see bandera ) . In the matrix case p=2p=2, the two thresholds coincide MontanariMatricesPCA ; OnatskiMatrixPCA ; BandeiraMatrixPCA . They are given by the signal-to-noise ratio at which the smallest eigenvalue of the matrix pops out from the semi-circle; the corresponding eigenvector is correlated with the signal. In the tensor case, rigorous bounds on both thresholds are given in montanari ; MontanariMatricesPCA ; bandera , while the sharp threshold given by the Minimal Mean Squared Error estimator is determined in krzakala . The connection with the analysis presented above emerges when considering the maximum-likelihood estimator s^ML\hat{{\bf s}}_{\text{ML}} of v0{\bf v}_{0} montanari . It is immediate to see that this corresponds to the vector that maximizes the injective norm of the tensor:

where ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle denotes the tensor product. This coincides, up to a global sign flip of the energy functional Hp,k(r)H_{p,k}(r), with its absolute minimum; therefore, a reliable estimate of the signal by means of s^ML\hat{{\bf s}}_{\text{ML}} is possible whenever the global minimum of the landscape acquires a non-zero overlap with the special direction of the signal, i.e., whenever r≥r1STr\geq r_{1\text{ST}}. The thermodynamic transition thus gives (in general) and upper bound to the detection threshold. On the other hand, the performance of algorithms montanari aiming at reconstructing the signal is expected to depend on the full structure of metastable states, encoded in the complexity. The analysis presented in the previous sections and in Refs. montanari ; krzakala ; bandera ; Chen lead to the following picture for the spiked-tensor model (p=k≥3p=k\geq 3):

The spinodal point r1SPr_{1\text{SP}}, where a high-overlap metastable minimum appears in the curve ϵ∗(q‾)\epsilon^{*}(\overline{q}) (or, equivalently, where a second solution appears for the replicas equations) is exactly equal to the point rc(p)r_{c}(p) where the trivialization of the portion of the landscape at high overlap with the signal occurs. Moreover, there is no splitting of the band of minima for r<rcr<r_{c}. This implies that the portion of landscape close to the high-overlap minimum is not rugged for all rrs such that the high-overlap minimum exists, and no intermediate phase with metastability at high-overlap with the signal is present.

The transition points rcr_{c} and r1STr_{1\text{ST}} are related, respectively, to the dynamical and statical transition temperatures (βd\beta_{d} and βs\beta_{s}) of the pure spherical pp-spin model; more precisely:

For r1SP≤r≤r1STr_{\text{1SP}}\leq r\leq r_{\text{1ST}} and for most energy densities ϵ\epsilon, the complexity is non-monotonic in the overlap q‾\overline{q}; however, for any ϵ\epsilon the most numerous minima are found to be orthogonal to the signal, at q‾=0\overline{q}=0.

The equality r1SP=rcr_{1\text{SP}}=r_{c} is shown in Appendix IX.5. It implies that for p=kp=k the thermodynamic transition always occurs when the high-overlap part of the energy landscape is convex. This allows for the annealed Kac-Rice computation MontanariBenArous to correctly capture the transition value rcr_{c} although quenched and annealed complexity do not coincide for r<rcr<r_{c}. For other models, such as p=3,k=4p=3,k=4 for which the landscape is rugged close to global high-overlap minimum at r1STr_{1\text{ST}}, this is no longer the case and the quenched computation is needed to also correctly describe the transition. The first identity in (58) can be read explicitly from Eq. 4. The second identity is naturally true for Bayes optimal estimates krzakala , as it holds in general along the Nishimori line (which corresponds to the line, in the (r,β)(r,\beta) phase diagram, where β=2r/p\beta=2r/p). The fact that the same detection threshold is found with the maximum likelihood estimator follows from the properties of the thermodynamic phase diagram sherrington1 , where the first-order transition line appears to be independent of temperature, thus implying that the same r1STr_{1\text{ST}} found on the Nishimori line is recovered at T=0T=0 (note however that this is a peculiarity of the spherical case and does not hold in general krzakala ). The property (iii) implies that the quenched complexity Σc(ϵ)\Sigma_{c}(\epsilon) is identical for the spiked and the un-spiked model for rSP≤r≤r1STr_{\text{SP}}\leq r\leq r_{1\text{ST}}, which is consistent with the strong detection threshold being at r1STr_{1\text{ST}}. Given the structure of the energy landscape, we expect that for all rr not diverging with NN, physical dynamics starting from random initial conditions behaves as in the un-spiked model, i.e., the system remains stuck in the vicinity of the most numerous, marginally stable states that lie at the equator q‾=0\overline{q}=0, thus being unable to recover any information on the signal. The approximate message passing algorithm is known to fail as well krzakala . On the other hand, for r>r1STr>r_{1\text{ST}} the dynamics with a warm start should converge to the global minimum of the energy landscapes over time scales of O(1)O(1), due to the smoothness of the landscape in its vicinity footnote8 . Polynomial-time algorithms are instead known to succeed for rr scaling as N(p−2)/4N^{(p-2)/4}, see montanari and references therein. Finally, it is proven in Chen that for the Ising spiked tensor defined on the hypercube (si=±1s_{i}=\pm 1), the strong detection and detection threshold coincide, being both equal to the threshold given by the minimal mean square error estimator krzakala . The proof relies on the bound (for large NN) of the fluctuations of the free energy of the Ising pp-spin model around its average value, in the high-TT phase. A similar bound should hold for the spherical case, since the variance of the intensive free-energy is found to be of order 1/N1/N by the replica method (the variance can be directly obtained using the RS approximation to compute the O(n2)O(n^{2}) term of the replicated free energy crisantisommers ). In consequence, we expect that this argument can be extended to the spherical case, thus implying that both thresholds are given by the maximum-likelihood estimator.

VIII Discussion and conclusion

We have analyzed the evolution of an archetypical model of high-dimensional landscapes generated by an energy function in which random fluctuations compete with a deterministic contribution favoring a single minimum. For entropic reasons the overall majority of the minima created by the randomness lie in a region different from the one favored by the deterministic contribution. By increasing the strength of the deterministic contribution, and depending on the form of the latter, different behaviors and geometric phase transitions, that we have classified and thoroughly analyzed, can take place. As discussed in the introduction, our results provide guidelines for current problems in several different fields, and a full analysis of the energy landscape of the spiked-tensor model which recently attracted a lot of attention montanari ; krzakala ; bandera ; Chen ; MontanariBenArous . In particular, our analysis is useful to understand how the dynamics governed by gradient descent (and stochastic versions of it) proceed in such landscapes. The region of bad and numerous local minima that we called the equator is a trap for the dynamics. Only in case of a sufficiently warm start, i.e. if the initial condition of the dynamics has a finite overlap with the special direction v0{\bf v_{0}} selected by the deterministic contribution, the system can end up close to v0{\bf v_{0}}, although not necessarily in the global minimum since many additional good local minima can be present. The other main contribution of our work is methodological. We have developed a framework based on the Kac-Rice method that allows to compute the quenched complexity, opening the way to full analysis of random landscapes in many different contexts. We have shown that it is superior to previous frameworks used in the literature. Indeed, the usual replica method fails in some cases, as demonstrated in this work, whereas the super-symmetry one is in comparison quite obscure. Instead, the Kac-Rice formalism we developed is free of ambiguities, straightforward although complex, and likely to be transformed in a rigorous formalism in a not too distant future. Acknowledgements. We thank A. Bandeira, S.Sarao, P. Urbani and L. Zdeborova for useful discussions. This work was partially supported by the grant from the Simons Foundation (♯\sharp454935, Giulio Biroli).

References

IX Appendices

In this Appendix we provide some additional details on the replica analysis presented in Sec. IV. At finite β\beta, the replicated action SS evaluated within the 11RSB ansatz for the overlap matrix QabQ_{ab} reads:

The saddle point equations for the four parameters q1,q0,mq_{1},q_{0},m and q‾\overline{q} equal to:

In the zero temperature limit β→∞\beta\to\infty, the variables of order one are β(1−q1)\beta(1-q_{1}) and βm\beta m. Performing this limit in the above equations one recovers the expressions given in the main text. The expansion of the saddle point equations in q1−q0q_{1}-q_{0} gives rise to four different equations; three of them are useful to get the variables q‾\overline{q}, q0=q1=qq_{0}=q_{1}=q and mm at the continuous transition between 1RSB structure to RS structure of the high overlap phase. The fourth equation fixes the position of the continuous transition line on the phase diagram T,rT,r, i.e. for a given TT it gives the corresponding rc(T)r_{c}(T). At zero temperature, when expressed in terms of β(1−q),βm,\beta(1-q),\beta m, and q‾\overline{q}, the equations read as follows:

Their solution gives the generic expression for rcr_{c} and q‾c\overline{q}_{c} reported in the main text, Eqs. 4 and 5.

IX.2 Computation of the quadratic form Eq. (32)

In this Appendix we provide some details on the computation of the inverse correlation matrix C^−1\hat{C}^{-1} in (32). As pointed out in the main text, for the purpose of computing the quadratic form (32) it suffices to invert C^\hat{C} within the subspace spanned by the NnNn-dimensional vectors ξ1,ξ2{\bm{\xi}}_{1},{\bm{\xi}}_{2} and ξ3{\bm{\xi}}_{3}, which is closed under the action of C^\hat{C}. For convenience, we separate the matrix C^\hat{C} into its diagonal and off-diagonal parts in replica space, C^=p(D^+O^)\hat{C}=p\left(\hat{D}+\hat{O}\right) with

It holds C^−1=p−1D^−1(1^+O^D^−1)−1\hat{C}^{-1}=p^{-1}\hat{D}^{-1}\left(\hat{1}+\hat{O}\hat{D}^{-1}\right)^{-1}, with [D^−1]ijab=δab(δij−(p−1)p−1σiaσja)[\hat{D}^{-1}]^{ab}_{ij}=\delta_{ab}\left(\delta_{ij}-(p-1)p^{-1}\sigma^{a}_{i}\sigma^{a}_{j}\right). The operator 1^+O^D^−1\hat{1}+\hat{O}\hat{D}^{-1} acts on the chosen vectors as follows:

Given that D^−1ξ1=p−1ξ1\hat{D}^{-1}{\bm{\xi}}_{1}=p^{-1}{\bm{\xi}}_{1} and D^−1ξ2=ξ2−q‾(p−1)p−1ξ1\hat{D}^{-1}{\bm{\xi}}_{2}={\bm{\xi}}_{2}-\overline{q}(p-1)p^{-1}{\bm{\xi}}_{1}, the quadratic form (32) can be straightforwardly rewritten in terms of matrix elements of the operator Y^≡(1^+O^D^−1)−1\hat{Y}\equiv\left(\hat{1}+\hat{O}\hat{D}^{-1}\right)^{-1}. To invert this operator, we introduce an orthonormal basis of the subspace spanned by the vectors ξi{\bm{\xi}}_{i}:

with A=n(n−1)(1−q)(1−nq‾2+(n−1)q)A={n(n-1)(1-q)\left(1-n\overline{q}^{2}+(n-1)q\right)}, and we write Yij=vi⋅Y^⋅vjY_{ij}={\bf v}_{i}\cdot\hat{Y}\cdot{\bf v}_{j}. In this basis, using fk(q‾)=q‾k/kf_{k}(\overline{q})=\overline{q}^{k}/k and u(ϵ)=pϵ+r(p/k−1)q‾ku(\epsilon)=p\epsilon+r(p/k-1)\overline{q}^{k}, we obtain for (32):

Using (66) and (67), we find that the operator (1^+O^D^−1)\left(\hat{1}+\hat{O}\hat{D}^{-1}\right) acts on the basis vi{\bf{v}}_{i} as follows:

while the relevant matrix elements of its inverse are:

with D(q)D(q) given in (11). The result (V.5) is recovered substituting these expressions into (68).

IX.3 Conditional distribution of Hessians

In this Appendix, we analyze the structure of the (N−1)n×(N−1)n(N-1)n\times(N-1)n covariance matrix of the Hessians components Hαβa\mathcal{H}^{a}_{\alpha\beta}, conditioned to the gradients and energy fields of all the nn replicas. We remind that, given (37), the Hessians can be written as

The stochastic part Sa\mathcal{S}^{a} has the block structure:

so that the conditional covariances read:

where SabS^{ab} is a block of size n×nn\times n, equal for every α\alpha, with components

and with Qab=δab+(1−δab)qQ_{ab}=\delta_{ab}+(1-\delta_{ab})q. Moreover

where the identity matrices have dimension M×MM\times M, and

where ζi=ζi(n,ϵ,q‾,q;r)\zeta_{i}=\zeta_{i}(n,\epsilon,\overline{q},q;r) are linear combinations of the matrix elements YijY_{ij}, and read:

IX.3.2 Explicit covariances in a given basis

with A=n(n−1)(1−q)[1−nq‾2+(n−1)q]A=n(n-1)(1-q)\left[1-n\overline{q}^{2}+(n-1)q\right], and

It can be checked that these vectors, together with σ1{\bm{\sigma}}^{1}, form an orthonormal basis of the subspace SS. Analogous choices can be made for any replica aa. Plugging these vectors into (77) with a=ba=b, we find that for any γ=M+1,⋯ ,N−3\gamma=M+1,\cdots,N-3 it holds ∑c(≠a)(eγa⋅σc)(eδa⋅σc)=δγδ(1−q)\sum_{c(\neq a)}({\bf e}^{a}_{\gamma}\cdot{\bm{\sigma}}^{c})({\bf e}^{a}_{\delta}\cdot{\bm{\sigma}}^{c})=\delta_{\gamma\delta}(1-q), and ∑c(≠a)(eγa⋅σc)=0\sum_{c(\neq a)}({\bf e}^{a}_{\gamma}\cdot{\bm{\sigma}}^{c})=0. This implies that the components Mαγa\mathcal{M}_{\alpha\gamma}^{a} for α≤M\alpha\leq M and M+1≤γ≤N−3M+1\leq\gamma\leq N-3 are uncorrelated with each others, and have a modified variance with respect to the one of the larger block, given by:

Thus, with this choice of basis in SS, the pair of elements in M1/2a\mathcal{M}^{a}_{1/2} belonging to the same row and to the last two columns are correlated with each others, and other than that all elements are independent, with variances that depend on the column to which they belongs to. For what concerns the averages (81), we find that in this basis, for γ=M+1,⋯ ,N−3\gamma=M+1,\cdots,N-3, it holds

with zN−2=(n−1)(1−q)(1+(n−1)q)z_{N-2}=(n-1)(1-q)(1+(n-1)q) and zN−1=(1−nq‾2+(n−1)q)(1+(n−1)q)z_{N-1}=(1-n\overline{q}^{2}+(n-1)q)(1+(n-1)q). In this new basis:

In summary, with this second choice of basis vectors in SS we find that the decomposition (71) holds, with a deterministic matrix Da\mathcal{D}^{a} equal to

IX.4 Isolated eigenvalues of the conditioned Hessians

where the largest (N−1−n)×(N−1−n)(N-1-n)\times(N-1-n) block A0A_{0} is a GOE with σ2=p(p−1)\sigma^{2}=p(p-1), and A1/2A_{1/2} and A1A_{1} have the statistics described in Appendix IX.3. In particular, we choose the basis in the subspace SS to be equal to the second one discussed in the Appendix. In the large-NN limit, the bulk of the density of eigenvalues of A\mathcal{A} is controlled by the largest block A0A_{0}, and is thus a centered semicircle. We aim at determining the poles of the resolvent of (92) that lie on the real axis outside the support of the semicircle, meaning that they are smaller than −2p(p−1)-2\sqrt{p(p-1)}. From the block structure of A\mathcal{A} it follows that the trace of (z−A)−1(z-\mathcal{A})^{-1} has two contributions, one coming from the largest (N−1−n)×(N−1−n)(N-1-n)\times(N-1-n) block, and one given by the small n×nn\times n block. We focus on this second contribution, since the corresponding matrix elements lie in the subspace SS, and have therefore a non-zero overlap with the signal w0{\bf w}_{0}. The poles of the part of the resolvent coming from this block correspond to isolated eigenvalues having an eigenvector with a non-zero component in the direction of the signal. The quantity to determine are thus the poles of ⟨Tr{1/N⋅D(z)}⟩\langle\text{Tr}\left\{1/N\cdot D(z)\right\}\rangle, where

and where now the average is over the distribution of the entries of the matrix A\mathcal{A}. To compute these poles, we exploit the fact that in the large NN limit:

This can be shown setting D=⟨D⟩+δDD=\langle D\rangle+\delta D and making use of the expansion:

Taking the average of the trace, we find that the corrections to the leading order term in (94) are given by:

where the sum is over indices taking nn distinct values. The fluctuating part δD\delta D of (93) is contributed by two independent terms: the first one is made by the fluctuating components qij/Nq_{ij}/\sqrt{N} of the block A1A_{1}, while the second term is made by the fluctuating part of

around its mean value. Since the covariances of the qijq_{ij} are O(1)O(1), the first term contributes to the sum (96) with O(1/N)O(1/N). We now consider the contribution of the second term. For large NN:

is the resolvent of a GOE matrix with variance σ2\sigma^{2}, while, given the results of Appendix IX.3, we have

where the constants are of O(1)O(1) in NN. Thus, the behavior in NN of this second contribution is controlled by the decay of the covariances of the matrix elements of the resolvent of a GOE matrix; since the latter go to zero with NN as it can be readily checked in perturbation theory, it follows that this is a subleading correction to the leading term in (94). Therefore, in the large-NN limit:

with d=z−μγ−σγ2Gσ(z)d=z-\mu_{\gamma}-\sigma_{\gamma}^{2}G_{\sigma}(z). The poles of the RHS of (94) can be found as zeros of the determinant of ⟨D(z)⟩\langle D(z)\rangle, and are therefore solutions of:

In the following, we focus on the solutions of Πn(z)=0\Pi_{n}(z)=0, since the corresponding eigenvectors have a non-zero component with the signal. Before doing that, it is instructive to consider the stability criterion which is obtained within the annealed approximation: besides giving some indications on what happens qualitatively also in the quenched case, it turns out to be the right criterion for the stationary points that are at the equator, q‾=0\overline{q}=0.

Taking the square of the resulting equation leads to the solution

This solution is defined for arbitrary values of μ\mu; however, it has to be considered only whenever it leads to a LHS of (106) that is positive. This holds provided that μ<−σ\mu<-\sigma, as one easily finds by substitution. Solving for rr, one finds that this corresponds to:

In particular, this implies that for k=1k=1 there is no solution (i.e., no isolated eigenvalue exists), as well as for k≥3k\geq 3 and q‾=0\overline{q}=0. We find that this remains true also within the quenched calculation. The result (107) is consistent with the fact that, for n=1n=1, the conditioned Hessian coincides with the non-conditioned one (modulo the shift by 2Nu(ϵ,q‾)\sqrt{2N}u(\epsilon,\overline{q})), and therefore it reduces to a GOE matrix perturbed with a rank-1 perturbations with negative eigenvalue equal to μ\mu. Eq. (107) follows then from a general result holding for matrices of the form M^=M^0+R(μ)\hat{M}=\hat{M}_{0}+R(\mu), where M^0\hat{M}_{0} is a random matrix with eigenvalues density ρ(λ)\rho(\lambda) with compact support in [a,b]\left[a,b\right] and R(μ)R(\mu) is a rank-1 perturbation with negative eigenvalue μ\mu. In this case, it is known BenaychGeorges ; Edwards that an isolated eigenvalue exists whenever μ<1/G0(a−)\mu<1/G_{0}(a^{-}), where

This condition can be recovered within the replica framework, in the RS setting, see Eq. (123).

IX.4.2 Isolated eigenvalue: quenched calculation

We now perform the quenched calculation of the isolated eigenvalue, which accounts for the correlations between minima at fixed, quenched realization of the random Gaussian field. This requires to determine the zeros of Πn(z)\Pi_{n}(z) in the limit n→0n\to 0, which are solutions of the equation:

where all the functions appearing in (111) are evaluated at n=0n=0. Substituting (99) into (111) we obtain the equation:

Taking the square of this equation and rearranging the components we find the third order equation

IX.5 Kac-Rice calculation: additional results

This Appendix contains some additional results related to the content of Sec. V.9: we discuss how the mapping (15) is exploited to derive the bands in Figs. 9 and 11, comment on some impliecations on the thermodynamical transitions, and provide some details on the isolated eigenvalue of the Hessian of the stationary points. For k=1k=1, the band containing the stable stationary points is delimited by the curves q‾m(r)\overline{q}_{m}(r) and q‾M(r)\overline{q}_{M}(r) plotted in Fig. (7). To determine the analogous curves for k=2k=2 (and fixed rr), it is sufficient to consider the functions q‾→q‾m(r1eff)\overline{q}\to\overline{q}_{m}(r_{1}^{\text{eff}}) and q‾→q‾M(r1eff)\overline{q}\to\overline{q}_{M}(r_{1}^{\text{eff}}), with r1eff(r,q‾)=rq‾r_{1}^{\text{eff}}(r,\overline{q})=r\overline{q}. Indeed, the latitudes q‾\overline{q} satisfying q‾m(r1eff)≤q‾≤q‾M(r1eff)\overline{q}_{m}(r_{1}^{\text{eff}})\leq\overline{q}\leq\overline{q}_{M}(r_{1}^{\text{eff}}) are such that the complexity Σp,2(ϵ,q‾)\Sigma_{p,2}(\epsilon,\overline{q}) is positive over a finite energy interval. In Fig. 15, we give an example of this mapping for different values of rr: for the smaller rr, there is a connected strip containing exponentially many stationary points, which encloses the equator. For the intermediate rr, the strip is instead separated into a larger band enclosing to the equator, and a thinner one at larger overlap q‾\overline{q} (the thinner band at larger overlap has its counterpart at negative overlap). The landscape phase transition in which the band splits into disconnected components occurs between these values of rr. The largest rr in Fig. 15 corresponds to r>rcr>r_{c}; in this case, the band of states enclosing the equator has shrunk but it is still finite, while the strip closer to the North Pole has collapsed to a single state. The bands at k=3k=3 can be obtained with an analogous procedure, using r1eff=rq‾2r_{1}^{\text{eff}}=r\overline{q}^{2}. In the same figure we show the case p=3p=3 and r=rc=6r=r_{c}=\sqrt{6}, to illustrate that at the critical point there is a unique connected band containing the equator, with maximal latitude q‾M(rc)=q‾c\overline{q}_{M}(r_{c})=\overline{q}_{c}.

The second equality follows from the fact that ϵk∗(q‾,r)=E(q‾)−rq‾k/k\epsilon^{*}_{k}(\overline{q},r)=E(\overline{q})-r\overline{q}^{k}/k with E(q‾)E(\overline{q}) the energy of the deepest states of the pp-spin Hamiltonian at fixed overlap q‾\overline{q} with the North Pole, see Sec. IV. We now characterize both r2NDr_{\text{2ND}} and the spinodal point r1SPr_{1\text{SP}} in terms of the function q‾1∗(r1)\overline{q}^{*}_{1}(r_{1}) or, more precisely, of its inverse r1∗(q‾)r_{1}^{*}(\overline{q}). Notice that, since q‾1∗(r1)\overline{q}^{*}_{1}(r_{1}) is defined by the condition ∂ϵ1∗(q‾∗,r1)/∂q‾=0\partial\epsilon^{*}_{1}(\overline{q}^{*},r_{1})/\partial\overline{q}=0, it holds r1∗(q‾)=∂E(q‾)/∂q‾r_{1}^{*}(\overline{q})=\partial E(\overline{q})/\partial\overline{q}. For general kk, we define the function rk(q‾)≡r1∗(q‾)/q‾k−1r_{k}(\overline{q})\equiv r_{1}^{*}(\overline{q})/\overline{q}^{k-1}, which associates to each q‾\overline{q} the value of rkr_{k} for which q‾k∗(rk)=q‾\overline{q}^{*}_{k}(r_{k})=\overline{q}, i.e., for which q‾\overline{q} is the latitude of the deepest minimum. For k=2k=2, r2(q‾)r_{2}(\overline{q}) is monotone increasing, and takes a finite minimum value at q‾=0\overline{q}=0, which is precisely r2NDr_{\text{2ND}}footnote10 . For smaller rr, q‾2∗(r)\overline{q}_{2}^{*}(r) is frozen to , and the corresponding energy ϵ∗(r)\epsilon^{*}(r) is frozen to the ground state energy of the pp-spin model with r=0r=0. For k=3k=3 and larger, the function rk(q‾)r_{k}(\overline{q}) is non-monotone, and two latitudes are associated to each fixed, large enough rr: the larges of these latitudes is the one of the local minimum q‾2∗(r)>0\overline{q}^{*}_{2}(r)>0 of ϵ3∗(q‾,r)\epsilon^{*}_{3}(\overline{q},r), while the smaller is the one of the local maximum. The function rk(q‾)r_{k}(\overline{q}) has minimum at a point q‾SP\overline{q}_{\text{SP}}, defined by

At this point, the local maximum and minimum merge, and thus rk(q‾SP)=r1SPr_{k}(\overline{q}_{\text{SP}})=r_{1\text{SP}}. For general kk, it holds r1SP=rcr_{1\text{SP}}=r_{c} whenever p=kp=k, (see for instance Fig. 11 (b)). This can be seen in the following way: for q‾≥q‾c\overline{q}\geq\overline{q}_{c}, the function ϵ1∗(q‾,r)\epsilon^{*}_{1}(\overline{q},r) is obtained from the annealed complexity, or, equivalently, from the solution of the RS equation in Sec. IV. This gives ϵ1∗(q‾,r)=−p(1−q‾2)/2−rq‾\epsilon^{*}_{1}(\overline{q},r)=-\sqrt{{p(1-\overline{q}^{2})}/{2}}-r\overline{q}, and minimizing and solving for rr we get r1∗(q‾)=p/[2(1−q‾2)]q‾ for q‾>q‾c.r^{*}_{1}(\overline{q})=\sqrt{p/[2(1-\overline{q}^{2})]}\overline{q}\text{ for }\overline{q}>\overline{q}_{c}. The solution of Eq. (115) then reads

which is consistent (i.e., larger than q‾c\overline{q}_{c}) for k>pk>p. In this case,

At k=pk=p, one recovers q‾SP=q‾c\overline{q}_{\text{SP}}=\overline{q}_{c} and r1SP=rcr_{1\text{SP}}=r_{c}, see Eqs. 4 and (5). For k<pk<p, r1∗(q‾)r^{*}_{1}(\overline{q}) has to be computed using the solutions to the RSB equations. We conclude this Appendix with some details on how the bands of minima are modified when accounting for the instability due to the isolated eigenvalue of the Hessians, focusing on the cases k=2k=2 and p=3p=3, and k=3=pk=3=p. For k=2k=2,we find that for r≳rcr\gtrsim r_{c} the first stationary points that are affected by the eigenvalue are the ones at smaller overlap q‾\overline{q}: among them, the isolated eigenvalue renders unstable the ones at higher energy, see Fig. 16 (a). Therefore, its effect is to diminish from above the width of the energy interval in which stable points are found. As rr increases, the instability propagates to the largest latitudes q‾\overline{q}, until eventually for these larger latitudes the energy ϵst(q‾,r)\epsilon_{\text{st}}(\overline{q},r) becomes smaller that ϵ∗(q‾,r)\epsilon^{*}(\overline{q},r), see Fig. 16 (b); at these intermediate values of rr, there are still stable stationary points at small overlap q‾\overline{q} and energy strictly smaller than the threshold, while the ones at larger overlap are all unstable, irrespective of their energy. The band is thus narrowed. The last points that become unstable are the ones at the equator; the instability of these points can be computed within the annealed approximation, as illustrated in Appendix IX.4. Note that in both the cases considered in Fig. 16, since r>rcr>r_{c}, the deepest minimum in the landscape is not in the band , but it is rather the minimum of the annealed complexity, which is stable as its energy density is below the threshold.

For k=3=pk=3=p, the isolated eigenvalue appears at r=rcr=r_{c}, see Fig. 17 (a): at the critical point q‾c\overline{q}_{c}, all the energies ϵst,ϵth,ϵ∗\epsilon_{\text{st}},\epsilon_{\text{th}},\epsilon^{*} coincide, and coincide with the energy ϵc\epsilon_{c}: exactly at this latitude, the annealed complexity is equal to zero at ϵc\epsilon_{c}, and negative otherwise. The corresponding stationary point is marginally stable, with the minimal eigenvalue of the Hessian being right at the lower boundary of the support of the semicircle, which is at zero. For larger rr, the band close to the equator becomes affected by the instability due to the eigenvalue, see Fig. 17 (b). In particular, within the numerical accuracy we find that ϵst(q‾)\epsilon_{\text{st}}(\overline{q}) intercepts ϵ∗(q‾)\epsilon^{*}(\overline{q}) at a latitude that corresponds to the local minimum of ϵ∗(q‾)\epsilon^{*}(\overline{q}), meaning that exactly at the local minimum the isolated eigenvalue is equal to zero. The isolated minimum of the annealed complexity at higher overlap is instead always stable.

IX.6 Stability of metastastable minima found with replicas

The stability of the metastable minima (counted by (54)) with respect to fluctuations in the structure of the overlap matrix QabQ_{ab} is probed by the replicon eigenvalue of the matrix Mαβ;γδ=∂2(nS[Qα,β])/∂Qαβ∂QγδM_{\alpha\beta;\gamma\delta}=\partial^{2}(nS[Q_{\alpha,\beta}])/\partial Q_{\alpha\beta}\partial Q_{\gamma\delta}, evaluated at the saddle point. This can be determined from the m(m−1)×m(m−1)m(m-1)\times m(m-1) block Mab;cdM_{ab;cd} of Mαβ;γδM_{\alpha\beta;\gamma\delta}, which corresponds to indices a,b,c,da,b,c,d of replicas belonging to the same group with mutual overlap qab=q1q_{ab}=q_{1}. The latter is given by

where Q−1Q^{-1} is the inverse of the overlap matrix. When evaluated at the saddle point and for n→0n\to 0, is has the structure crisantisommers

The replicon eigenvalue is given by M1M_{1}, and vanishes whenever

The stability condition obtained in the annealed approximation (see Eq. 109 and below) can be recovered within the replica setting, in the RS framework. It indeed corresponds to the vanishing of the longitudinal eigenvalue, and is obtained setting to zero the eigenvalues of the matrix of second derivatives (with respect to the order parameters q‾\overline{q} and β(1−q1)\beta(1-q_{1})) of the replica-symmetric limit of the action, which is given by:

and has two eigenvalues that both vanish whenever

This criterion can be re-written in terms of the resolvent G(z)G(z) associated to the Hessian of the pp-spin Hamiltonian in absence of the signal (at r=0r=0), since β(1−q1)\beta(1-q_{1}) is the spin susceptibility of the pp-spin model, which is related to the inverse of the Hessian matrix. More precisely, β(1−q1)=−G(0)\beta(1-q_{1})=-G(0), so that the condition in Eq. (123) is equivalent to rfk′′(q‾)(1−q‾2)=−1/G(0)rf^{\prime\prime}_{k}(\overline{q})(1-\overline{q}^{2})=-1/G(0). This is precisely the condition of vanishing eigenvalue obtained in the annealed Kac-Rice calculation, as it equals to z(μ)=0z(\mu)=0 where z(μ)=G−1(1/μ)z(\mu)=G^{-1}(1/\mu) and μ=−rfk′′(q‾)(1−q‾2)\mu=-rf^{\prime\prime}_{k}(\overline{q})(1-\overline{q}^{2}). As remarked in Appendix IX.4, this condition is exact at the equator q‾=0\overline{q}=0; in particular, it allows to obtain the value of rr where the equator band disappears in the case k=2k=2.