Injectivity of ReLU networks: perspectives from statistical physics
Antoine Maillard, Afonso S. Bandeira, David Belius, Ivan Dokmani\'c,, Shuta Nakajima

TL;DR
This paper investigates the injectivity of single-layer ReLU neural networks in high dimensions, connecting it to statistical physics models and challenging existing geometric conjectures with analytical and rigorous methods.
Contribution
It introduces a novel perspective linking neural network injectivity to spin glass models, deriving analytical thresholds and refuting previous geometric predictions.
Findings
Derived analytical equations for injectivity thresholds using replica symmetry-breaking theory.
Proved that a replica-symmetric upper bound contradicts the Euler characteristic conjecture.
Established a connection between spin glasses and integral geometry in the context of neural networks.
Abstract
When can the input of a ReLU neural network be inferred from its output? In other words, when is the network injective? We consider a single layer, , with a random Gaussian matrix , in a high-dimensional setting where . Recent work connects this problem to spherical integral geometry giving rise to a conjectured sharp injectivity threshold for by studying the expected Euler characteristic of a certain random set. We adopt a different perspective and show that injectivity is equivalent to a property of the ground state of the spherical perceptron, an important spin glass model in statistical physics. By leveraging the (non-rigorous) replica symmetry-breaking theory, we derive analytical equations for the threshold whose solution is at odds with that from the Euler characteristic. Furthermore, we use…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications · Face and Expression Recognition · Topological and Geometric Data Analysis
Injectivity of ReLU networks: perspectives from statistical physics
Antoine Maillard*⋆,⋄, Afonso S. Bandeira⋆, David Belius♯, Ivan Dokmanić♯,♭*, Shuta Nakajima▷
Abstract
When can the input of a ReLU neural network be inferred from its output? In other words, when is the network injective? We consider a single layer, , with a random Gaussian matrix , in a high-dimensional setting where . Recent work connects this problem to spherical integral geometry giving rise to a conjectured sharp injectivity threshold for by studying the expected Euler characteristic of a certain random set. We adopt a different perspective and show that injectivity is equivalent to a property of the ground state of the spherical perceptron, an important spin glass model in statistical physics. By leveraging the (non-rigorous) replica symmetry-breaking theory, we derive analytical equations for the threshold whose solution is at odds with that from the Euler characteristic. Furthermore, we use Gordon’s min–max theorem to prove that a replica-symmetric upper bound refutes the Euler characteristic prediction. Along the way we aim to give a tutorial-style introduction to key ideas from statistical physics in an effort to make the exposition accessible to a broad audience. Our analysis establishes a connection between spin glasses and integral geometry but leaves open the problem of explaining the discrepancies.
†† Department of Mathematics, ETH Zürich, Switzerland.
Department of Mathematics and Computer Science, University of Basel, Switzerland.
Department of Electrical and Computer Engineering, University of Illinois at Urbana–Champaign, USA.
Graduate School of Science and Technology, Meiji University, Kanagawa, Japan.
To whom correspondence shall be sent: [email protected].
Contents
-
3.2 Zero-temperature limit and algorithm for the injectivity threshold
-
B.1 Zero-temperature limit of the replica-symmetric solution
-
B.2.3 de Almeida-Thouless condition for replica-symmetric stability
-
F.1 Technicalities of the derivation of the algorithmic procedure
-
G An upper bound from Gordon’s “escape through a mesh” theorem
1 Introduction
We ask the following question: when is a randomly-initialized ReLU neural network injective? For we consider a single layer at initialization, that is the map defined as
[TABLE]
with and , the ReLU activation. The weights at initialization are random; concretely, we let in what follows, although we expect some of our results to generalize to W with independent entries with zero mean, unit variance, and uniformly bounded third moment; see the discussion on universality in Section 1.3.
Earlier work studied this question in the proportional growth asymptotics, where and the aspect ratio . Puthawala et al. proved that there exist values and , with , such that the probability that the map is injective converges to for and to [math] for , suggesting that interesting transitions may appear precisely in this proportional scaling [PKL*+*22] . Indeed, by studying the expected Euler characteristic of the intersection of a random subspace with a union of orthants with sufficiently many negative coordinates, Clum, Paleka, Bandeira, and Mixon conjectured a sharp injectivity threshold at the value [Pal21, Clu22, CPBM22]. We adopt this setting and propose an alternative derivation of the injectivity threshold, by making a connection with a spin glass model known as the spherical perceptron.
1.1 Injectivity and (random) neural networks
Our focus is on framing injectivity as a statistical physics problem and exploring parallels and discrepancies with the mentioned conjecture based on integral geometry111If formal injectivity was itself the goal, we could simply replace ReLU by Leaky ReLU and reduce the problem to injectivity of matrices. In that case the interesting quantity to study may be the inverse Lipschitz constant.. But a study of injectivity has a variety of motivations in contemporary machine learning. Inferring x from is an ill-posed problem unless is injective. The question thus arises naturally when applying neural networks to model forward and inverse maps in inverse problems [PKL*+*22, AMÖS19]. There has been considerable interest in inverting generative models on their range to regularize ill-posed inverse problems [BJPD17] and in building injective generative models [BC20, KKdHD21, RC21]. Normalizing flows are designed to be invertible with efficiently computable inverses; similar feats can be achieved with injective maps, even with ReLU activations, while retaining favorable approximation-theoretic properties [PKL*+*22, PLDDH22, KKdHD21]. In finite dimension injective maps are (locally) Lipschitz [SU09]. There is significant work on estimating and controlling the Lipschitz constants of deep neural networks; see for example [FRH*+*19, JD20, GFPC21] and references therein.
Applications abound beyond inverse problems: certain injective generative models can provably be trained with sample complexity which is polynomial in image dimension [BMR18]; a message-passing graph neural networks is as powerful as the Weisfeiler–Lehman test, but only if the aggregation function is injective [XHLJ18]; injective ReLU networks are universal approximators of any map with a sufficiently high-dimensional output space [PKL*+*22] as well as of densities on manifolds [PLDDH22].
There is an analogy between random neural networks and random matrices. Just as results for random matrices help us understand general matrices and have implications throughout mathematics, physics, engineering, and computer science, random neural networks yield insight into general neural networks. This is the perspective of recent work on “nonlinear random matrix theory” for machine learning [PW17, LLC18]. We mention two other examples from this emerging line of research: neural networks at initialization have been used to theoretically study batch normalization [DKB*+*20] and properties of gradients in deep networks [HN20].
1.2 Injectivity and random geometry
Notation –
denotes the positive integers. We say that an event occurs with high probability (w.h.p.) when its probability is as the dimension . We denote the uniform probability measure on the Euclidean unit sphere in . The symbol refers to convergence in probability, and is the standard Gaussian measure on , as usual in physics.
Our first tool is a proposition proved in Appendix A.1, stated as Proposition 4.10 in [Pal21] and Proposition 37 in [Clu22], which is a simple consequence of Theorem 1 of [PKL*+*22]. It connects injectivity to random geometry:
Proposition 1.1** (Injectivity and random geometry).**
The probability that is injective is
[TABLE]
where is a uniformly random -dimensional subspace of , and is the set of vectors in with strictly less than strictly positive coordinates.
Remark – Since is a cone, we can equivalently ask in eq. (2) that be an empty set.
Recall that we will study injectivity for large matrices W in the proportional growth asymptotics,
[TABLE]
In what follows we will only consider the case (and therefore ). For even is not injective, implying that .
The expression on the right-hand side of (2) immediately evokes Gordon’s “escape through a mesh” theorem which bounds the probability that a uniformly-sampled random subspace intersects a closed subset of the sphere in terms of the Gaussian width of [Gor88]. Applying Gordon’s theorem is natural but we could only use it to show that when , which is suboptimal, given that previous work [PKL*+*22] proves injectivity w.h.p. when ; see Appendix G for details. A more refined analysis of the random subspace–set intersection based on the phase transition in the expected Euler characteristic yields a sharp injectivity threshold prediction of [Pal21], see Section 1.4. Here we refute this prediction and conjecture a new threshold based on a different geometric intuition.
1.3 Statistical physics and the spherical perceptron
Injectivity as energy minimization –
The random subspace of Proposition 1.1 is constructed as the column space of the random matrix W, which has dimension with probability when . If is the image of the -dimensional unit sphere, we have that . Moreover, for any we can define as the total number of positive coordinates of W****x, and as a normalization of this quantity:
[TABLE]
where is the Heaviside step function, with the convention . Since is the set of all vectors in with strictly less than (strictly) positive coordinates, one has immediately that . Therefore, by Proposition 1.1, can be rewritten as222 The minimum is always reached since is a finite set.
[TABLE]
Eqs. (2) and (4) express two different geometric intuitions. The former one lives in (recall that ) and it is about an intersection of a random -dimensional subspace and a certain nonconvex union of orthants. The latter one lives in and it is about the existence of a halfspace which contains less than (out of ) random vectors. The two intuitions naturally encourage different analytic tools.
Statistical physics of disordered systems –
The right-hand side of eq. (4) is reminiscent of quantities that theoretical physicists have been tackling since the 1970s, in the field of physics of disordered systems. In these disordered models (also known as spin glasses), one wishes to minimize an energy function like , which is itself a function of random interactions (also called quenched disorder), represented in our case by W. We recommend the famous book by Mézard, Parisi, and Virasoro for a beautiful review of the early breakthroughs of the physics of spin glasses [MPV87].
Given this short description, we can see that eq. (4) fits the framework of these studies: the energy function given in eq. (3) defines a model known in the statistical physics literature as the spherical perceptron (sometimes referred to as the Gardner–Derrida perceptron [GD88] when is given by eq. (3)). We consider this perhaps unexpected point of the view on injectivity of random layers in neural networks.
Cover’s theorem and the bound –
Cover’s theorem [Cov65] leads to a first natural bound for . It proves that for , there exists with high probability (as ) s.t. (that is, the constraint satisfaction problem is satisfiable w.h.p.). This can be shown to imply that :
Lemma 1.2** (Cover’s lower bound for injectivity).**
Assume . Then as the ReLU layer is non injective with high probability, i.e., .
Such arguments are classical, and we detail the proof of Lemma 1.2 for completeness in Appendix A.2333In a nutshell, by Lemma 1.2 there is always an x at obtuse angle with the top rows of W. Even if all the remaining rows form acute angles with x, we need at least such rows for injectivity.. Results about the perceptron based on Cover’s theorem were greatly extended by Gardner and Derrida [Gar88, GD88] using non-rigorous tools, and then later rigorously justified by Scherbina and Tirozzi [ST02, ST03] and Stojnic [Sto13a]. In the constraint satisfaction problem (CSP) view on the perceptron, is sometimes referred to as the Gardner capacity, which marks the limit between the satisfiable (SAT) and unsatisfiable (UNSAT) phases.
Thermal relaxation: the Gibbs–Boltzmann distribution –
Statistical physicists characterize the landscape of the (random) energy function by considering the Gibbs–Boltzmann distribution , defined for any inverse temperature as
[TABLE]
Informally, the parameter interpolates between two extremes: the infinite-temperature () regime, in which the Gibbs measure is uniform on the sphere, and the zero-temperature () limit, in which the Gibbs measure is concentrated on the global minima of the energy function . Studying the properties of the Gibbs measure for at various (remaining finite when ) yields deep insight about the landscape of the corresponding energy function [Ell06]444The Gibbs distribution is also the invariant measure of stochastic optimization procedures such as Langevin dynamics.. In particular, many of our results will be based on an analysis of the large limit of the free entropy, which is defined as the the logarithm of the normalization in eq. (5):
[TABLE]
Universality of the free entropy –
Following classical arguments based on the Lindeberg exchange method [Cha06], one can show that the free entropy is universal for all matrices W with independent zero-mean entries with unit variance and uniformly bounded third moment. In particular, all our conjectures and theorems on the free entropy can be stated in this more general case. We note that in a recent line of work, similar universality properties have been generalized to matrices with independent rows (see, e.g., [MS22a, GKL*+*22] and references therein) under a “one-dimensional CLT” condition. In particular, [GKL*+*22] conjectures that the ground state energy (shown in Fig. 1) is universal with respect to the distribution of W in a much wider class than matrices with independent elements: we leave the investigation of this conjecture and its implications on injectivity for future work.
1.4 Related work
Average Euler characteristic prediction –
We follow here closely the presentation of [Pal21] (see also [Clu22]). Proposition 1.1 is reminiscent of the kinematic formulas in integral geometry [SW08], that allow to compute expressions of the type , when is a uniformly-sampled random -dimensional subspace, and
is a finite union of convex cones.
is an additive function, i.e., it satisfies for any that .
Recall that we can write eq. (2) as , with the indicator function of the sphere. While is indeed a finite union of orthants (and thus of convex cones), is not additive. However, it follows from Groemer’s extension theorem [SW08] that the unique additive function defined on finite unions of convex cones to agree with on convex cones is the (spherical) Euler characteristic . A possible heuristic is thus to approximate by
[TABLE]
in order to apply the kinematic formulas. We refer to [Pal21] for more discussion on the validity of this heuristic. In particular, let us note that this strategy has also been used to estimate the probability of excursions of random fields, see [AT07]. Using the kinematic formulas, one can obtain an explicit formula for . Estimating its limit as is involved, and a non-rigorous calculation performed in [Pal21] leads to the conjecture:
[TABLE]
for a sharp threshold , which we will call the average Euler characteristic prediction for injectivity. Checking the validity of this heuristic approach as a prediction for the behavior of was one of the motivations of our work.
Physics and mathematics of the perceptron –
Motivated in particular by the relation of the perceptron to continuous constraint satisfaction problems (e.g. to soft sphere packing), studies of the spherical perceptron in physics and mathematics are numerous. Without aiming at being exhaustive, and rather primarily referring to works relevant for our presentation, these studies include [GD88, Gar88, FPS*+*17] in the physics literature, while the spherical perceptron has also been studied with mathematically rigorous techniques [ST02], [Tal10, Chapter 3], [Tal11, Chapter 8], [Sto13a, Sto13b, MZZ21]. In particular, the satisfiability threshold has been rigorously determined. The techniques however do not apply to the unsatisfiable (UNSAT) regime, which is the one that is relevant in this paper. One reason for this is that the satisfiability question can be formulated in terms of a convex Hamiltonian, while in the unsatisfiable regime one is interested in a Hamiltonian given by the number of half-spaces a point is contained in, which is not convex. This precludes the straightforward use of these rigorous techniques to study the injectivity question. A rigorous sharp characterization of the unsatisfiable phase remains an important open problem. We refer to [BNSX22] for a summary of current advances on the spherical perceptron, from both the physics and the mathematics points of view.
Other related work –
Puthawala et al. derived a suite of results on injectivity of neural networks, including a simple analysis of random ReLU layers [PKL*+*22]. By combining ideas related to Cover’s theorem with union bounds over row selections from W and concentration of measure, they proved upper and lower bounds on the injectivity threshold, the upper bound being later improved by Paleka [Pal21] and Clum [Clu22]. We summarize them in the following theorem:
Theorem 1.3** (Known bounds for injectivity [PKL*+*22, Pal21, Clu22]).**
[TABLE]
By Proposition 1.1, the injectivity threshold can be characterized as a phase transition in the probability that a random subspace intersects a certain union of orthants. Similar characterizations arise in the study of convex relaxations of sparse linear regression and other high-dimensional convex optimization problems with random data. Amelunxen et al. connect the probability of success of these optimization problems to random convex constraint satisfaction problems, namely the probability that two random convex cones have a common ray [ALMT14]. They prove that this probability exhibits a sharp phase transition in terms of scalar values known as the statistical dimension of the cones. Unfortunately, these results are limited to convex cones, whereas the union of orthants from Proposition 1.1 is non-convex.
1.5 Main results
Recall that we study a high-dimensional regime in which and satisfies . We will sometimes use the notation . The proofs of the rigorous statements in this section are given in Appendix A.
1.5.1 Relating the free entropy to injectivity
Our starting point is eq. (4) in Proposition 1.1 (recall that ):
[TABLE]
Recall the definition of the free entropy in eq. (6). We immediately have
[TABLE]
which formalizes the fact that the Gibbs distribution is a relaxation of the uniform distribution on the global minima of . Our strategy is to use eq. (9) to characterize injectivity. This involves two challenging steps:
Make the inequality of eq. (9) as tight as possible: as we explain below, conjecturally, when taking and then , eq. (9) becomes an equality. While we are not able to prove this statement, we will use it to conjecture a sharp transition for injectivity in terms of the aspect ratio . Moreover, without assuming that this conjecture holds, we will also use eq. (9) to prove upper bounds on the injectivity threshold.
Second, computing the large system limit of on the left-hand side of eq. (9). This is a central object in the physics of disordered systems, and we will provide a conjecture for its limiting value, as well as rigorous upper bounds. Our results leverage a long line of work combining probability theory with heuristic predictions of statistical physics.
The following statement is classical in the theory of disordered systems and a direct consequence of celebrated concentration inequalities [BLM13]. It bounds the probability that the free entropy deviates from its mean (with respect to the disorder W):
Theorem 1.4** (Free entropy concentration).**
For any and , we have,
[TABLE]
Combined with the bound of eq. (9), this already allows us to state a sufficient condition for non-injectivity with high probability. We summarize this in the following corollary, proved in Appendix A.4.
Corollary 1.5** (Sufficient condition for non-injectivity).**
We denote . It has the following properties:
* is a positive non-increasing function of .*
Its limit as satisfies
[TABLE]
that is, the limit being smaller than 1 implies non-injectivity w.h.p. as 555The proof actually shows that goes to zero exponentially fast in , see eq. (65).**.
Existence of the limit –
While we expect the limit of as to exist, or, in other words, to be defined not only as a , this fact is far from trivial. In the spin glass literature, this has historically been shown using interpolation methods due to Guerra, by showing sub-additivity of the free entropy in the system size [GT02, Tal10] for mean-field spin glass models possessing certain convexity properties. Guerra’s technique, however, fails beyond this setting, e.g. in bipartite (or other multi-species) spin glass models [Pan15]. On the other hand, even in some mean-field spin glasses, including spherical -spins, the existence of the limit was only shown as a corollary of the much stronger asymptotically tight two-sided bound allowing to precisely relate the value of the limit to the Parisi formula, i.e. the prediction of statistical physics [Tal06a, Che13]666However an approximate sub-additivity property has recently been shown to be enough to deduce the convergence of the free entropy in this case [Sub22].. In the spherical perceptron we consider here, the existence of this limit is, to the best of our knowledge, still a conjecture.
Following the statistical physics intuition about the asymptotic tightness of eq. (9), we conjecture the following.
Conjecture 1.6** (Tightness of the free entropy bound).**
The bound of Corollary 1.5 is tight, i.e.,
[TABLE]
A generalized conjecture –
Conjecture 1.6 is a weakened version of a more general conjecture one can make from the definition of , which largely motivates the study of free entropies in statistical physics. First, assume that the limit defining is well defined, so that . As , we expect the configurations that have dominating mass under the Gibbs measure of eq. (5) to have the smallest energy, i.e., to be the ground state configurations. Therefore, the stronger conjecture that motivates our use of to characterize injectivity is that as , the bound of eq. (9) is actually an equality. In a nutshell, this conjecture can be stated as ( denotes limit in probability):
[TABLE]
Note that such a statement also assumes the concentration of the ground state energy on a value independent of W as . Generally, the concentration of the intensive energy under the Gibbs measure at any given can be deduced from the existence of the limiting free entropy and its differentiability in [AC18]777Unfortunately, proving these properties often requires the full power of the so-called Parisi formula for the limit of the free entropy, which must first be proven as we discuss later..
A remark on discretization –
A subtlety in establishing eq. (10) arises from the continuous nature of the variable x: one needs to discard the existence of sets with “super-exponentially” small volume that might contain the global minima of . In discrete models this issue is often not present. For example, replacing by in eq. (6) yields a model called the binary (or Ising) perceptron, for which it is easy to see that
[TABLE]
so that the generalized conjecture of eq. (10) follows from the concentration and existence of the limit of the free entropy. In our spherical model one could hope to approximate by a sufficiently fine -net, so that the value of is well approximated by averaging over the points of this net, and such that a two-sided bound similar to eq. (11) holds. Let us briefly describe such an approach. Considering an arbitrary fixed vector , it is clear that with high probability there exists s.t. 888Since .. From this, one easily deduces that there exists a small rotation of x (in the direction of ), with angle , such that , while This (very) rough estimation shows that is necessary to approximate the minimum of over by the minimum on an Euclidean-distance net. However it is well known that such a net needs to have cardinality at least [vH14]. Thus under this discretization the term in the upper bound of eq. (11) becomes . Therefore we would need to consider diverging inverse temperatures in the discretized system for its free entropy to provably approximate the ground state energy. A rigorous computation of the free entropy on this net with diverging would be challenging: since our results are based on heuristic methods of statistical physics assuming Conjecture 1.6 (with the exception of a rigorous upper bound), we leave the analysis of a possible discretization for future work.
1.5.2 Predictions of full replica symmetry breaking theory
Computing is in general intractable rigorously. We will show in Theorem 1.8 that we can still derive meaningful rigorous bounds, but before describing that result we first introduce another conjecture, stemming from non-rigorous methods of statistical physics. This conjecture, which we call a Parisi formula as usual in spin glass models, and that we derive in Section 3 using the non-rigorous replica method of statistical physics, gives us a (heuristic) means to exactly compute .
Conjecture 1.7** (Parisi formula).**
* is given by the full replica symmetry breaking (FRSB) prediction of statistical physics, discussed in Section 3. More precisely, we have , cf. eq. (47), with the following interpretation:*
We have the “Parisi formula”:
[TABLE]
with the set of non-decreasing functions from to , and a functional of , whose expression is given in eq. (47).
The infimum in eq. (12) is attained at a that is the functional inverse of the CDF of a probability distribution on , such that for any continuous bounded function we have
[TABLE]
where is the Gibbs measure defined in eq. (5).
Eq. (13) shows that in the Parisi formula of eq. (12), the functional parameter can be interpreted as the average overlap distribution of the system. Intuitively speaking, the “alignment” of two independent draws of the Gibbs measure (sharing the same matrix W) will, on average, be distributed according to as . The fact that the large-size limit of the system is characterized by this overlap distribution (called therefore an “order parameter” in statistical physics) is one of the most important predictions of the replica symmetry breaking theory of Parisi, and we will further discuss this theory in the following.
Rigorous approaches –
While the most general full replica symmetry breaking framework is widely believed to yield exact predictions in the asymptotic limit, proving these predictions is a field of probability theory in itself. Indeed, significant progress has been made in some mean-field spin glass models, see e.g. [Tal10, Pan14], or in the context of inference problems and the study of computational-to-statistical gaps [BPW18, BKM*+*19], but proving the validity of the replica symmetry breaking procedure in more generality remains one of the important open problems in a rigorous description of the physics of disordered systems. In particular, in the spherical perceptron considered here, the general full-RSB prediction is still a conjecture beyond the satisfiable phase.
Based on Conjectures 1.6 and 1.7, we can design a statistical physics program to characterize the injectivity of the ReLU layer:
For any , compute , as given by the Parisi formula of Conjecture 1.7.
Compute analytically the limit . As we discussed above, this is a non-decreasing function of , and moreover .
is (typically) injective if , and non-injective if . In particular, if is continuous and strictly increasing (which we numerically observe), the injectivity threshold is characterized by
[TABLE]
We perform this procedure in detail in Section 3, and it yields the main result of this section.
Result 1.1** (“Full-RSB” conjecture).**
Assume Conjectures 1.6 and 1.7 hold. Denote by the event “* (cf. eq. (1)) is injective”, and let . There exists a constant , obtained via the Full-RSB prediction of Conjecture 1.7, such that:*
If , then .
If , then .
1.5.3 Additional bounds
The replica hierarchy of upper bounds –
In Conjecture 1.7, the FRSB prediction is given as
[TABLE]
and we saw that the function could be interpreted in terms of an overlap distribution. Restricting the infimum to atomic overlap distributions with atoms (or, equivalently, letting be a step function with steps) yields a sequence of upper bounds indexed by :
[TABLE]
in which the “” functional is given by eq. (15), with the infimum restricted to step functions with steps, and we suppressed the dependence of all quantities on and to lighten notation. Let be the smallest such that . If , we say that the system is -th step replica symmetry breaking; if the system is called replica-symmetric (RS); if does not exist the system is said to exhibit full replica symmetry breaking. We will clarify the meaning of “replica symmetry breaking” in Section 2. Finally, note that by using Corollary 1.5 and Conjecture 1.6, eq. (16) transfers into a hierarchy of upper bounds for the injectivity threshold:
[TABLE]
in which is the value of at which crosses . In particular, as we will see in Section 2, one can compute . Note that increasing and in particular going to the full-RSB solution, which conjecturally solves the problem, only takes us further from the Euler characteristic prediction . In Fig. 1 we illustrate the predictions at the RS, 1-RSB, and Full-RSB levels.
Proving the replica-symmetric bound –
We can state another rigorous characterization. Using Gordon’s min-max theorem [Gor85, TAH18], we can prove that the replica-symmetric prediction is an upper bound on the injectivity threshold:
Theorem 1.8** (Replica-symmetric upper bound for the injectivity threshold).**
Assume that . Then as , that is, is injective w.h.p.
Note that for the computation of the Gardner capacity of the so-called “positive” perceptron, the replica-symmetric prediction has been shown to be tight also using Gordon’s inequality [Sto13a], because one can rewrite the associated min-max problem using a convex function on convex sets. In the unsatisfiable phase we consider here the solution is conjecturally full-RSB, and the replica-symmetric bound of Theorem 1.8 is not expected to be tight.
Theorem 1.8 is proved in Appendix A.5. It improves upon the earlier upper bounds of Theorem 1.3, and it disproves the Euler characteristic based threshold prediction [Pal21, Clu22, CPBM22]. Finally, let us mention two other bounds one can obtain on the injectivity threshold.
The annealed bound –
A classical approach in statistical physics to upper-bound the free entropy is an annealed calculation. Namely, one uses Jensen’s inequality to write
[TABLE]
This gives us an additional upper bound 999However, it never improves over the replica-symmetric one, since it is a general fact that . and a corresponding upper bound for the injectivity threshold . We leave to the reader the exercise to show . In particular, we have as for any , and therefore : here, the result of the annealed calculation is completely uninformative.
An additional lower bound –
In Fig. 1 we also show in green a region that is discarded for the injectivity threshold by a non-rigorous lower bound , based on the de Almeida-Thouless criterion [dAT78] of statistical physics. We detail its origin in Section 2.3, and its calculation in Appendix C. While it is not mathematically rigorous, proving it would follow from a rigorous computation of the free entropy in the “high-temperature” (or small ) phase in which replica symmetry is conjectured to hold. In many models, this turned out to be possible to handle more easily than the complete full-RSB conjecture, so we mention it for completeness. We also note that it improves over the lower bound of Theorem 1.3.
1.6 Structure of the paper and open problems
Section 2 has in great part a pedagogical purpose, to introduce the unacquainted reader to the (mostly non-rigorous) results of statistical physics known in the spin glass literature under the umbrella of replica method and replica symmetry breaking. We detail there the replica computation in the spherical perceptron and the arising of replica symmetry breaking, and derive the replica symmetric and one-step replica symmetry breaking predictions for the injectivity threshold. In Section 3 we discuss the full-replica symmetry breaking prediction for the free entropy, and we derive an efficient algorithmic procedure to solve the zero-temperature full-RSB equations. We discuss the numerical behavior of this algorithm, and use it to derive the numerical estimate of the injectivity threshold in Result 1.1. As mentioned, the proofs of our rigorous results (in particular Theorem 1.8) are given in Appendix A, and other analytical or numerical details and technical arguments will be deferred to the other appendices.
Let us finally mention a few open directions that stem from our analysis.
Deep networks –
A natural extension of our results would be to analyze a composition of multiple ReLU layers. Denoting still by the input dimension, Theorem 1.8 guarantees injectivity w.h.p. if the size of the -th layer satisfies . However, this is far from optimal: leveraging the structure of the image space of a ReLU layer, [Pal21, Clu22] have shown that (for some constants ) is enough to guarantee injectivity; this may be further improved using arguments based on random projections [PKL*+*22]. An interesting open question is whether the techniques we develop here (and in particular the replica symmetry breaking framework) can be extended to predict exact injectivity transitions in the multi-layer case.
Stability of the inverse –
While the injectivity question is limited to non-injective – such as ReLU – in eq. (1), a natural extension would be to estimate the Lipschitz constant of the inverse of on its range, either in the injective phase we described for , or for any when is injective. Whether this question can be tackled using statistical physics tools similar to the ones we used here is an interesting open direction.
Improvement over Theorem 1.8 –
One can consider a closely-related model called the negative perceptron by replacing by with in the energy of eq. (3). In this model, even computing the Gardner capacity conjecturally requires the full-RSB prediction. However, [Sto13b, MZZ21] have made a refined use of Gordon’s inequality to improve over the replica-symmetric upper bound for the capacity. While similar ideas might be able to improve the upper bound of Theorem 1.8, it is not immediate to implement them, since the method used in [MZZ21] relies on the min-max problem being formulated over unit-norm vectors, which is not the case here. Since Theorem 1.8 already allows to disprove the Euler characteristic prediction, we leave such an improvement for later work.
Large deviations of sublevel sets –
The non-validity of the average Euler characteristic prediction also leads to interesting predictions on the energy landscape of the perceptron. Indeed, the quantity of eq. (7) is the mean Euler characteristic of a sublevel set of the perceptron, more precisely , with . Recall that while . According to Theorem 1.8, for all (and conjecturally in ) the set is typically empty: however its average Euler characteristic is exponentially large! A possible explanation for this discrepancy is that there exist large deviations events with probability in which the set is not only non-empty, but has Euler characteristic . A natural conjecture is that for and for . Exploring further these large deviations could thus explain the error made in the Euler characteristic approach.
Numerical code and reproducibility –
All figures and numerical results in this paper are fully reproducible. The JAX [BFH*+*18] code is available in a GitHub repository [Mai23].
Acknowledgments –
A.M. and A.B. thank D. Paleka, C. Clum, and D. Mixon for several discussions related to this paper. A.M. is grateful to F. Krzakala, L. Zdeborová, B. Loureiro and P. Urbani for insightful discussions.
2 The replica hierarchy of upper bounds
2.1 General principles of the replica method
The replica method is based on the replica trick, a heuristic use of the following formula, for any random variable (assuming that all the moments written hereafter are well-defined):
[TABLE]
While the replica trick is most often described as the first equality in eq. (18), we will here use the second (and equivalent) equality. Assuming that is well defined, we reach:
[TABLE]
So far, eq. (19) is not really surprising. The replica method is based on several heuristics, and leverages the fact that it is often possible to compute the RHS of eq. (19) for integer . More precisely, the replica method proceeds as follows:
Replica method
Assume that the limits and can be inverted in eq. (19), i.e. that we have , with
\displaystyle\coloneqq\lim_{n\to\infty}\frac{1}{n}\log\mathbb{E}_{\textbf{W}}\big{\{}\mathcal{Z}_{n}({\textbf{W}},\beta)^{r}\big{\}}.
(20)
Compute for integer , i.e. the asymptotics of the moments of .
Use these values to analytically expand to all .
Compute from the analytic continuation above.
Note that step , although a priori non-rigorous, can sometimes be put on rigorous ground using convexity arguments, cf. e.g. page 146 of [Tal10] in the context of the Sherrington-Kirkpatrick (or SK) model. The arguably “most heuristic” step is , as there in general no guarantee for the uniqueness of the analytic continuation (and it is often not unique!). The choice of the conjecturally correct continuation was proposed by Parisi in a remarkable series of papers [Par79, Par80a, Par80b], one of the most important contributions for which he earned a Nobel prize in Physics in 2021, and we will describe this choice in the following sections. In the SK model originally studied by Parisi his prediction was ultimately proven to be correct by Talagrand [Tal06b] and generalized by Panchenko [Pan14], leveraging notably interpolation techniques that originated with Guerra [Gue03]. An actual rigorous treatment of the replica method itself remains out of reach, and in the spherical perceptron considered here replica predictions have not been proven, with the exception of the satisfiable phase [ST03, Sto13a].
2.2 First steps of the replica method
Let us now perform step of the replica method. From now on, we relax the level of rigor and sometimes adopt notations closer to the theoretical physics literature, since the core of the method is heuristic. Fixing we have (recall eq. (6)):
[TABLE]
We have used Fubini’s theorem in eq. (2.2). We see appearing a set of independent samples from the Gibbs measure , with the same realization of the matrix W: we call such independent samples replicas, following the statistical physics nomenclature. The expectation with respect to W in eq. (2.2) can be performed, since at fixed , are jointly Gaussian vectors with covariance , where we introduced the overlap matrix (note that , , and that the matrix is almost surely invertible under ). Therefore we have:
[TABLE]
in which we defined
[TABLE]
One can thus write eq. (2.2) as:
[TABLE]
with defined as the PDF of the overlap matrix (for ) evaluated in Q:
[TABLE]
in which we used that and we re-normalized by . One way to compute the numerator in eq. (23) is to use an exponential tilting method, by the following argument: for any symmetric positive-definite, we have
[TABLE]
The idea is to pick so that under the probability distribution , we have with high probability as . Since is Gaussian, one finds as the correct choice. Heuristically, the argument then goes as follows: for , the constraint terms in eq. (2.2) are satisfied as , so that we can remove the Dirac deltas without affecting the asymptotic value of the integral. Performing the same calculation in the denominator (for which is now the correct choice), one reaches:
[TABLE]
Such “exponential tilting” arguments can be made rigorous, and are classical e.g. in the theory of large deviations [DZ98]. Another (equivalent) way to obtain eq. (25) is to introduce the Fourier transform of the Dirac delta in eq. (23), and perform a saddle-point method over the parameters of the Fourier integral, see e.g. [CC05] or [Urb18]. The Gaussian integral in eq. (25) can be computed:
[TABLE]
This yields:
[TABLE]
with
[TABLE]
It is crucial that in many physical models, the average of the replicated partition function can be written as in eq. (26), as a function of a low-dimensional parameter (recall that Q is a matrix, and that is a fixed positive integer). In physics, one refers to the overlap matrix Q as the order parameter of the problem: a low-dimensional quantity that allows to characterize the macroscopic behavior of our high-dimensional system (similarly to the average magnetization in a ferromagnet for instance).
Applying Laplace’s method to the integral in eq. (26), we finally reach:
[TABLE]
where the supremum is over symmetric positive-definite matrices such that , and recall that is defined in eq. (22). Note that we completely removed the high dimensionality of the problem! The remaining task is to perform step of the replica method, i.e. to analytically continue to any . This is the crucial difficulty of the replica method (and the main reason why it is ill-posed mathematically in general), which was solved by Parisi [Par79, Par80a, Par80b].
2.3 The replica-symmetric solution
The functional in eq. (27) is symmetric: one can permute the different replicas of the systems (and correspondingly swap the rows and columns of Q) without changing the value of the functional. This has led physicists to first assume that the supremum in eq. (27) is attained by a matrix Q that is also invariant under permutations, i.e. that satisfies for all . This replica-symmetric assumption was historically the first one considered to find a solution to the SK model [SK75]. We will see how it allows to complete the final steps of the replica method.
Note that replica symmetry can be put on a firmer mathematical ground, using the following characterization.
Replica symmetry (RS) – Let , and recall the Gibbs distribution of eq. (5). Replica symmetry amounts to assuming that the random variable concentrates when are sampled independently from (with the same W), in the following sense:
\lim_{n\to\infty}\mathbb{E}_{\textbf{W}}\Big{[}\mathbb{E}_{({\textbf{x}},{\textbf{x}}^{\prime})\sim\mathbb{P}_{\beta,{\textbf{W}}}^{\otimes 2}}\Big{\{}(Q({\textbf{x}},{\textbf{x}}^{\prime})-\mathbb{E}Q)^{2}\Big{\}}\Big{]}=0,
(28)
with the shorthand .
In particular, under the RS ansatz, we can write the off-diagonal elements of the overlap matrix appearing in eq. (27) as , in which are two independent samples under the Gibbs measure with quenched noise W (two replicas of the system), and . . Therefore, we also have , which implies in particular that .
Let us now finish the replica calculation under a replica symmetric assumption, going back to eq. (27). By simple linear algebra calculations, the RS ansatz implies, for all :
[TABLE]
and moreover
[TABLE]
Plugging the form of we have:
[TABLE]
Recall that is the standard Gaussian measure on , and we have used the identity . Plugging eqs. (29) and (2.3) in eq. (27) we reach, for :
[TABLE]
One can now begin to see how the replica-symmetric ansatz yields an analytical continuation of for all . A final non-trivial (and very non-rigorous) technicality of the replica method, which we do not detail here, is that when we analytically expand the function above to , theoretical physicists argue that maximizers of eq. (31) are continued into minima of . We refer to [MPV87] for a detailed discussion: a rough intuition is that one performs a Laplace method over the variables , which becomes a negative number of variables (!) for , turning the supremum into an infimum. In the present case this phenomenon can be easily observed, see Fig. 2.
Under the replica-symmetric ansatz, we therefore obtain:
[TABLE]
The inner integral is easy to work out:
[TABLE]
where . In particular, . Then:
[TABLE]
For any , the minimizing is thus given by the solution to
[TABLE]
that minimizes the functional of eq. (32). The quantity is called the average intensive energy: as can be seen from eq. (6), is the average number of negative components of x when sampled from the Gibbs measure of eq. (5). At the replica-symmetric level it is given by:
[TABLE]
In particular, one sees that for we have and , which is the typical number of negative components of a random -dimensional vector (divided by ).
The zero-temperature limit – For any (i.e. in the UNSAT phase), one can check from eq. (33) that as . This means that the replica-symmetric ansatz predicts that, as , the Gibbs measure concentrates on the global minima of , and that (at fixed W) the distance between any two such minima goes to [math] as 101010As we will see in Sec 3, while the replica-symmetry assumption turns out to be wrong, this prediction remains correct!. One can see also from this equation (cf. [GD88, FPS*+*17]) that the expansion of the solution is of the type:
[TABLE]
where is the so-called zero-temperature susceptibility. Plugging this expansion in the equations above, we recover the result of [GD88] (we detail the computations in Appendix B.1). We find that is the unique solution to:
[TABLE]
and is given as (recall ):
[TABLE]
Replica-symmetric prediction for – Recall the criterion of eq. (14) for the injectivity threshold. Eqs. (36) and (37) are easy to analyze numerically, and they yield that for:
[TABLE]
in which stands for the replica-symmetric assumption.
Instability of the replica-symmetric solution and the need for a different ansatz – An important check of the validity of the replica-symmetric ansatz is that it indeed is a maximum of the functional given in eq. (27) (or a minimum when as we discussed). This can be verified locally, by considering the Hessian of this function, and looking at the sign of its eigenvalues when . The stability criterion is called the de Almeida-Thouless (dAT) condition [dAT78], and we derive it in Appendix B.2 for any inverse temperature , cf. eq. (98). However, we also show that this condition is never satisfied in the limit , for any . This suggests that the correct solution actually breaks the replica symmetry! Formally, the functional of eq. (27) exhibits a well-known physical phenomenon known as spontaneous symmetry breaking: while the function to maximize is invariant under the group of permutations of the replicas, any particular maximum is not invariant under this symmetry.
A replica-symmetric lower bound – In Appendix C, we detail a way to use the replica-symmetric prediction at finite , combined with the stability analysis of Appendix B.2, to obtain a lower bound on :
[TABLE]
in which the definition and calculation of can be deduced solely from the replica-symmetric calculation: we refer to Appendix C for more details on this bound, which is shown as a light green area in Fig. 1.
2.4 The overlap distribution and replica symmetry breaking
Since we must go beyond replica symmetry, one has to understand what could happen if the overlap concentration of eq. (28) is not satisfied. We define , in which are independent samples under the Gibbs measure of eq. (5), with the same quenched noise W, and we will study the law of averaged over W, which we will denote .
A natural possibility is that, while the random variable no longer concentrates, its average distribution still converges (weakly) to an asymptotic law (for ) as . Replica-symmetry then corresponds to the case . But how does an arbitrary transfers to a overlap matrix Q maximizing eq. (27)? Actually, the other way (going from Q to ) is easier to formalize. Indeed, for the same W, let us draw two independent samples under the Gibbs measure (two “replicas”). On average, their overlap is distributed as the off-diagonal elements of the overlap matrix, i.e. we have (one can formalize this argument, see e.g. [MS22b])
[TABLE]
However, recall that our physical system is not represented by the overlap matrix Q at finite , but rather by its limit, so we should take this limit as well to get the that describes our original physical system (even though taking the limit of a matrix shatters much of our intuition!). More concretely, the overlap distribution is related to the overlap matrix Q by:
[TABLE]
One-step replica symmetry breaking – To build back our intuition a bit, let us look at the simplest possible beyond the RS ansatz, that is, let us assume that , with , and . One brilliant realization of Parisi [Par79, Par80a, Par80b] was that this distribution arises from an ultrametric overlap matrix Q, i.e. that has the following form:
[TABLE]
Let us detail how to go from the Q shown in eq. (41) to the that we want. We denote the size of the diagonal blocks in this matrix Q. Then:
[TABLE]
Now arises an issue: since we take the limit, and is an integer, how should we proceed? Comparing eq. (42) with our target gives us a possible answer (which turns out to be the correct one [MPV87]): relaxing the constraint that , and taking the limit independently of , we reach:
[TABLE]
i.e. exactly the we wanted to build, with which now became a real parameter in . This type of distribution (and by extension the corresponding Q in eq. (41)) is called One-Step Replica Symmetry Breaking (1RSB).
General replica symmetry breaking – More generally, one can represent a distribution with a finite support of elements as , with weights , using the conventions . This distribution is called “-step replica symmetry breaking” (-RSB), and in this ansatz, the overlap matrix can be written as a hierarchical generalization of eq. (41) (with the convention and ):
[TABLE]
with the block-diagonal matrix with blocks of size , each diagonal block being the all-ones matrix. Once again, the integers become elements of in the limit. As in the replica-symmetric case discussed above, the limit also turns the maximum over into an infimum [MPV87]. In the end, the -RSB prediction for the free entropy is of the form:
[TABLE]
It is common to represent the right hand side as a function of a step function for , uniquely defined by and , see Fig. 3 (left, blue curve). We write then the argument of the RHS of eq. (43) as .
This allows to consider completely generic distributions (or equivalently functions ), by taking the limit of eq. (43). This generic procedure is called “Full Replica Symmetry Breaking” (Full RSB), and was introduced by Parisi in [Par79]. It yields for the free entropy a formula of the type:
[TABLE]
Such formulas are usually called Parisi formulas in the spin glass literature. Note that in many disordered models, the overlap distribution has been observed to have two points with positive mass, at the edges of its bulk (see Fig. 3, right). This leads to generically characterize the function as (see Fig. 3 right, red curve):
[TABLE]
This is purely a convention that often turns out to be convenient and does not remove any generality as one can always set and .
Relation between and – For an overlap distribution with a well-defined density , one has the relation , with the CDF of the overlap, and is then the functional inverse of .
RSB and the form of the Gibbs measure – Interestingly, one can interpret the level of RSB as an assumption on the structure of the level sets of the Gibbs measure (or the global minima of the energy, when ). Roughly speaking, 1-RSB corresponds to an organization of the mass of the Gibbs measure into clusters. Inside each cluster two solutions typically have overlap , while solutions belonging to two different clusters have a typical overlap . This hierarchy can be iterated inside each cluster, which gives rise to the 2-RSB structure. Iterating even further, the level of RSB corresponds to the depth of this hierarchical structure of clusters, which is known as ultrametric [MPS*+*84, Pan13]. Ultrametricity and RSB is a beautiful mathematical representation of the free energy landscape of spin glass models, which also allows to create efficient algorithms [EAM20, EAMS21, Sub21, Mon21, AMS22].
A thorough description of all the consequences of replica symmetry breaking would be beyond our scope: the major reference on this topic is [MPV87], and we invite the reader to read as well [Tal10], and the very recent lecture notes [MS22b], for discussions in a more mathematically-friendly language.
2.5 One-step replica symmetry breaking
We start by generalizing the calculation we made in Section 2.3 to the more general one-RSB ansatz we described above. We give the results here, while the calculation is detailed in Appendix D. The final result is given as an infimum over three parameters (see Fig. 3 for their interpretation):
[TABLE]
Note that when or when , the overlap distribution reduces to a single delta peak, and we consistently retrieve the replica-symmetric solution of eq. (32).
The zero-temperature limit and the injectivity threshold – In Appendix D.2, we detail how to take the limit in , and to obtain the function . In Appendix D.3 we present the numerical procedure we used to solve the resulting equations. We reach the light blue curve in Fig. 1 for , and in particular we have
[TABLE]
Validity of the 1-RSB assumption – While the 1-RSB ansatz is a natural extension of the previous replica symmetric assumption, the results of [FPS*+*17] (which study the same model with a slightly different energy function) strongly suggest that for any , at low enough temperatures the system undergoes a continuous transition from a RS to a Full RSB phase, without any finite level of RSB at intermediate temperatures111111 In particular, a stability analysis of the 1-RSB ansatz, similar to what we did in Appendix B.2, would yield that it becomes unstable at the same temperature as the RS ansatz. . This motivates us to compute the complete Full RSB picture in Section 3. Nevertheless, we will see the 1-RSB prediction of eq. (46) is already very accurate.
3 The full-RSB solution: exact injectivity threshold
3.1 The full-RSB prediction for the free entropy
The full-RSB calculation is detailed in Appendix E, and quite closely follows a similar derivation presented in [FPS*+*17, Urb18].
Notations – Before stating the result, let us introduce some notation. For any , we let the PDF of . For two functions , we denote their convolution. For a function with and , we always consider convolutions in the variable, e.g. the notation denotes the function . Moreover, we denote with a dot derivatives in the variable, and with a prime derivatives in the variable, e.g. and .
Let us now state the results of the full-RSB calculation. We obtain the following formula for the free entropy:
[TABLE]
Here, we denoted and we defined the auxiliary function:
[TABLE]
Moreover, is taken to be the solution of the Parisi PDE:
[TABLE]
Similar equations were derived and analyzed in [FPS*+*17, Urb18]. These works followed a long series of important papers on the spherical perceptron and its connection to the packing of hard spheres [CKP*+*14, FPUZ15, RUYZ15]. Note that these works consider a shift in the perceptron activation, so that here we are in the setting of their results. Moreover, their energy function is slightly different from eq. (3), as it contains a multiplicative quadratic term.
The positive-temperature FRSB equations – In order to impose the Parisi PDE constraint on the function in eq. (47), we use a functional Lagrange multiplier . This yields that the free entropy is given by the extremization with respect to of:
[TABLE]
Differentiating these equations with respect to yields the Parisi PDE of eq. (49) (as it should), while differentiation w.r.t. and respectively yield:
[TABLE]
Finally, differentiation w.r.t. yields the average energy:
[TABLE]
A sanity check: the RS solution – In the RS assumption, we have for all . In particular, this implies that , and . Moreover, it is easy to see that in this case, since , we have for all , and similarly . Therefore, eq. (51a) becomes:
[TABLE]
One can check (the derivation is presented in Appendix E.3) that this equation is equivalent to eq. (33): we found back the RS solution!
3.2 Zero-temperature limit and algorithm for the injectivity threshold
The zero-temperature limit – In the zero temperature limit, the scaling of the FRSB equations in the “UNSAT” phase of a slightly different spherical perceptron has been shown in [FPS*+*17] to be very similar to the one of the SK model. We conjecture that this scaling remains the same in our model. More precisely, in the limit, letting and , we assume:
[TABLE]
Moreover, remains finite. In particular, since by definition (see Fig. 3), we have that now extends up to . We define as the inverse function to , and then we can define all functions in terms of , e.g. . In this limit, all eqs. (51a),(51b),(51c) scale very naturally, and the Parisi PDE of eq. (49) as well. The only non-trivial part is the boundary condition at , which becomes
[TABLE]
The scaling of the right hand-side can be worked out exactly:
[TABLE]
Similarly, we can work out the zero-temperature limit of eq. (52), and we get:
[TABLE]
Algorithmic procedure – In this paragraph, for the clarity of the presentation, all quantities are considered in the zero-temperature limit, and we drop the subscripts.
The procedure we use is relatively similar to the finite-temperature one described in Appendix B of [FPS*+*17], but is done at zero temperature, and at fixed rather than fixed (as we found this choice to be numerically more stable). In order to increase numerical precision, we rescale and use , allowing to handle small values of the susceptibility . Our algorithmic procedure is as follows:
Before starting – Pick large enough, large enough, and a grid .
Initialization – Start from a guess and .
Find the functions via the procedure:
[TABLE]
Find via the procedure:
[TABLE]
Compute (the hierarchical elements of , not ) using, for all :
[TABLE]
Update via
[TABLE]
Update with and
[TABLE]
Update by solving the equation (with and ):
[TABLE]
Iterate steps until convergence.
Final value for the energy – We then compute the ground state energy as:
[TABLE]
The procedure is done for large enough so that the result does not vary with and approaches the limit. Steps and are a discretization of the zero-temperature limits of the PDEs of eqs. (49) and (51b), arising from the -RSB ansatz (see Appendix E). We give more details on the derivation of steps in Appendix F.1, leveraging results of [FPS*+*17].
The different convolutions with Gaussians are done using an analytical formula for the Discrete Fourier Transform (DFT) of a Gaussian under a Shannon-Whittaker interpolation, and fast Fourier transform techniques. More details on this point are given in Appendix F.3.
Implementation and results – We present our results for and the zero-temperature susceptibility in Fig. 1, and the zero-temperature overlap distribution function for various values of in Fig. 4.
In particular, the full-RSB prediction for the injectivity threshold is . We ran a more precise binary search procedure for computing the value of this transition, which we detail in Appendix F.4. A summary of its result is presented in Fig. 5, and it yields the bound we conjecture in Result 1.1:
[TABLE]
Note that this bound is compatible with the hierarchy described in eq. (17). Moreover, the 1-RSB predictions are found to be very close (but not equal) to the exact FRSB results. This can be intuitively visualized by the fact that is relatively well approximated by a step function, which corresponds to the 1RSB ansatz, cf. Fig. 4. We emphasize however that the full-RSB algorithmic procedure above does not allow to directly recover the -RSB result, even used with : indeed it implicitly relies on the fact that one takes large enough so as not to have to optimize over the variables , so that we can take them to be fixed.
Remark: convexity of the Parisi functional – In the context of mixed -spin models, the so-called Parisi functional, i.e. the functional whose infimum we take in eq. (47), has been shown to be strictly convex, and thus to have a unique minimizer [AC15]. This is conjectured to hold as well in our setting, however there is no rigorous guarantee that our iterative procedure should converge to a global minimizer. However, our numerical simulations are compatible with this conjecture: as we detail in Appendix F.2, we find the iterative procedure to converge to a consistent solution for all initializing points. Moreover, our procedure exhibits polynomial convergence (see Fig. 6): this suggests that there is an accumulation of near-zero eigenvalues in the Hessian of the Parisi functional close to the minimum (otherwise we would observe exponential convergence), and thus that the Parisi functional is strictly but not strongly convex.
Appendix A Proofs
A.1 Proof of Proposition 1.1
Note that if , then is not injective, , and eq. (2) stands trivially. We thus assume . Since is then a.s. injective, is a (random) -dimensional subspace of . Moreover, by rotation invariance of the Gaussian distribution, it is uniformly sampled. Thus it is enough to show that . In the end, it suffices to show the following lemma, whose proof elements can be found in [PKL*+*22, Pal21, Clu22], which we repeat for completeness:
Lemma A.1**.**
Almost surely under the law of W, the following two statements are equivalent:
* is injective.*
.
Proof of Lemma A.1 – In the following, we assume that the following event stands:
[TABLE]
It is easy to see that , since every set of independent standard Gaussian vectors in is linearly independent almost surely.
Let us show first that . Recall . Note that for any , implies that ReLU is constant on . Assume that . Let us consider , then by the note above. Moreover, for all such that , then . On the other hand, if , then necessarily , since . By , W****z has at least non-negative coordinates, so the argument above implies that there exists at least values of such that . Since stands, this shows that .
Let us now show . We divide into equivalence classes defined by the relation . These equivalence classes are defined by a subset of , so that for all , . Assume that there exists such that and W****x has strictly less than positive coordinates, i.e. with . On , is a linear transformation with linearly independent rows . Its image has thus dimension smaller than . Therefore, the following result, which implies that has dimension , then implies that is not injective on . Having proved the contrapositive, we can then infer .
Lemma A.2**.**
The following statement is true almost surely: for all , either , or there exists and such that .
Proof of Lemma A.2 – By a union bound over all , it suffices to show this statement a.s. for any fixed . Let us assume that . The following statement implies the conclusion of Lemma A.2:
[TABLE]
Indeed, one can then a.s. find an element such that for all and for all , therefore for sufficiently small . We now show eq. (64).
Assume that there exists , with all indices such that , that satisfies . Note that by (which stands a.s.) and since we must have . Thus, since are linearly independent on , we can then fix {\textbf{y}}\in\big{(}\{{\textbf{W}}_{\nu_{i}}\}_{i=1}^{k_{\textbf{x}}-1}\big{)}^{\perp} such that . Consider with arbitrary . By hypothesis, for all . Moreover, for small enough, has the same sign as if . Finally, . In the end, taking small enough, we have found with . Iterating this procedure, we have shown that a.s. there exists a point such that , which implies eq. (64).
A.2 Proof of Lemma 1.2
Let us first recall Cover’s theorem [Cov65]. We use the function, with the convention . We call a set of vectors in in general position if it has no linearly independent subset of size strictly less than . Cover’s theorem is an exact formula for the number of dichotomies121212A dichotomy is a binary labeling of the vectors. of this set that are realizable by a linear separation:
Theorem A.3** (Cover [Cov65]).**
Let be in general position. Then
[TABLE]
Let us now show that Theorem A.3 implies Lemma 1.2. We assume , so in particular we can fix such that for large enough. We denote . Since W is a Gaussian matrix, the set is a.s. in general position. Moreover, by sign invariance, for any we have:
[TABLE]
For uniformly sampled in (independently of W), we denote the joint probability law of , and the law of . The previous remark on sign invariance allows to deduce:
[TABLE]
by Theorem A.3. Since , it is then elementary to check that this implies
[TABLE]
The proof is then finished by noticing that if x satisfies for all , it must satisfy , and using eq. (4).
A.3 Proof of Theorem 1.4
It is easy to see that if are two matrices for which for all , then
[TABLE]
The theorem is then a simple consequence of McDiarmid’s inequality (see e.g. Theorem 6.2 of [BLM13]).
A.4 Proof of Corollary 1.5
By a dominated convergence argument, we have:
[TABLE]
Therefore
[TABLE]
Recall the definition of the Gibbs measure in eq. (5). It is easy to see that the previous equation relates directly to the entropy of , i.e.
[TABLE]
In the language of statistical physics, this is a rewriting of the fact that the temperature derivative of the free energy is given by (minus) the entropy. In particular, for any , is non-increasing, and in the limit this shows that is non-increasing. The positivity of this function follows from , since .
Let us now assume that there exists some such that . In particular, fixing , for large enough we have . Using Theorem 1.4, for large enough , this implies
[TABLE]
for some . In particular, using eq. (9) and Proposition 1.1:
[TABLE]
The claim follows.
A.5 Proof of Theorem 1.8
Remark – In what follows we usually consider with , and the proof can be straightforwardly generalized to the original assumption . For lightness of the presentation, we assume the simplified statement we described.
First, note that given Lemma 1.2, we can assume in what follows. Using Proposition 1.1, we want to characterize
[TABLE]
in which . The minimum of this function is reached since it takes discrete values. Introducing an auxiliary variable , and a Lagrange multiplier to fix this relation, the problem is equivalent by strong duality to
[TABLE]
Note that the infimum over z in eq. (A.5) is actually done over , since the supremum over becomes for . Letting , we know by classical concentration inequalities (see e.g. [Ver18] - Theorem 4.4.5) and since , that , for some constant (that might depend on ). Let us denote . By the argument above and the law of total probability, for all ,
[TABLE]
with
[TABLE]
Moreover, we will approximate by continuous functions; we let, for any :
[TABLE]
Since , it is clear that:
[TABLE]
We now make use of the Gaussian min-max theorem [Gor88, TOH15]:
Proposition A.4** (Gaussian min-max theorem).**
Let be an i.i.d. standard normal matrix, and two independent vectors with i.i.d. coordinates. Let be two compact subsets respectively of and , and let be a continuous function. We define the two optimization problems:
[TABLE]
Then, for all , one has
[TABLE]
Remark I – It is easy to see from the proof of [Gor88, TOH15] that the statement of the theorem also holds if W is a block matrix of the form
[TABLE]
with having i.i.d. elements. Denoting , the definition of the auxiliary problem that appears in the theorem is then modified as:
[TABLE]
for , .
Remark II – The full result of [TOH15] actually includes the proof of a converse bound to eq. (71) when the function is convex-concave, and the sets are convex. Here, we do not expect such a converse bound to be true, since the solution is conjecturally described by the full-RSB equations, and we will see that the upper bound of eq. (71) corresponds to the replica-symmetric (RS) solution.
Let us first state a lemma that simplifies the auxiliary problem:
Lemma A.5** (Auxiliary problem simplification).**
For any , and any , we define the auxiliary optimization problem, for :
[TABLE]
Then is non-decreasing and one has:
[TABLE]
Note that we added a constraint over in the auxiliary problem, so that the set of considered is compact. This allows to deduce, using Proposition A.4 (and Remark I below) in eqs. (70) and (67):
Lemma A.6**.**
For all , and all , one has
[TABLE]
with the RHS of eq. (74), and vectors with i.i.d. coordinates.
Lemmas A.5 and A.6 are proven in Section A.6. We are now ready to prove Theorem 1.8. Note that by weak duality:
[TABLE]
Therefore . Moreover, by , one has:
[TABLE]
Let us show
[TABLE]
We can assume , an event that has probability . Denoting the maximized function in eq. (75), we then have131313Indeed, . and , so that we can write . Letting
[TABLE]
we have then for all :
[TABLE]
Note that are i.i.d. random variables, and one shows easily that , so by Hoeffding’s inequality, for all :
[TABLE]
Plugging it in eq. (77) and using the concentration of , we reach that for all :
[TABLE]
It is elementary to check that this implies , and therefore eq. (76). By Lemma A.6 we have then shown that for any ,
[TABLE]
We will then conclude by considering the limit :
Lemma A.7**.**
We have , with
[TABLE]
Moreover, the maximum in eq. (A.7) is reached in such that:
[TABLE]
And the limit is then given by:
[TABLE]
We recognize the replica-symmetric prediction of eq. (37), with ! By Lemma A.7 and eq. (78), we showed that implies that as . Applying it for ends the proof of Theorem 1.8. ∎
A.6 Proof of Lemmas A.5, A.6 and A.7
Proof of Lemma A.5 – First note that in eq. (73), writing with , one can perform the supremum over e:
[TABLE]
The maximum over and the minimum over x can be carried out explicitly:
[TABLE]
Letting , this yields:
[TABLE]
We now show that:
[TABLE]
which ends the proof. Notice that the LHS of eq. (80) is obviously a non-decreasing function of , so that it indeed has a limit (possibly ). Moreover, we can restrict the infimum to , since trivially for all one has (recall ):
[TABLE]
in which we used in and that . We let , and for all we fix with such that:
[TABLE]
Since , we can extract a converging subsequence such that , and , with . Therefore . Moreover:
[TABLE]
Letting be arbitrarily small, the claim of eq. (80) follows.
Proof of Lemma A.6 – Recall eq. (70). In particular, for any we have:
[TABLE]
By eq. (67) and eq. (81), we have:
[TABLE]
Using Proposition A.4 (since all sets are compact and functions involved are continuous, see in particular Remark I below it) we have, for all :
[TABLE]
in which is defined as in eq. (73), restricting furthermore the infimum to . In particular, . Therefore by eq. (82):
[TABLE]
Note that , and moreover by Lemma A.5141414We use there the fact that is non-decreasing:
[TABLE]
Taking the limit in eq. (83) and using the dominated convergence theorem ends the proof of Lemma A.6.
Proof of Lemma A.7 – For , we define
[TABLE]
so that for , and . Notice first that eq. (A.7) follows from the following identity, that can be easily checked:
[TABLE]
Lemma A.7 will follow if we can show:
[TABLE]
Notice that for all and all , we have . In particular,
[TABLE]
One computes easily the left and right sides of this inequality:
[TABLE]
Therefore we reach:
[TABLE]
which goes to [math] as , uniformly in . This ends the proof.
Appendix B Replica-symmetric supplementary calculations
B.1 Zero-temperature limit of the replica-symmetric solution
In this section, we derive eqs. (36) and (37). Our arguments will sometimes be informal, and a rigorous treatment would demand more care.
Recall that we have the expansion of eq. (35), with the zero-temperature susceptibility of the system. In this section, we often drop the subscript on quantities to lighten the notations. We use the expansion of for large :
[TABLE]
Computation of – We start by deriving eq. (37). As one can check from eq. (32) that is a differentiable function of , by L’Hospital’s rule we have , with . We have from eq. (35):
[TABLE]
We compute the limit of the integrand in eq. (34) (changing variables ):
[TABLE]
We separate three cases, and use the expansion of eq. (85) to reach that at leading order in :
[TABLE]
Using the pointwise limit above, we reach (as we mentioned above, a more careful argument would need to be carried out to make this expansion rigorous)
[TABLE]
In the end, we reach eq. (37):
[TABLE]
Computing – There now remains to find as a function of , from eq. (33). Plugging in the expansion of eq. (35) we find (changing ):
[TABLE]
In the same way as in eq. (86), we can show:
[TABLE]
Therefore, we reach from eq. (87) that, as :
[TABLE]
which is eq. (36).
B.2 Stability of the replica-symmetric solution
In this section we follow Appendix 4 of [EVdB01] (see also e.g. [Urb18]) to characterize the stability of the RS solution in replica space. This gives rise to the so-called de Almeida-Thouless conditions [dAT78, GD88], which is a criterion for stability expressed in terms of so-called replicon eigenvalues.
We start again from the general expression of eq. (27): , with
[TABLE]
In what follows, we compute the Hessian of taken at the replica-symmetric point.
B.2.1 The derivatives of
The derivatives of can be worked out in terms of the matrix elements of (here and ):
[TABLE]
Recall that at the replica symmetric point with and we have
[TABLE]
Therefore (taking the notations of [EVdB01]):
[TABLE]
in which are defined as:
[TABLE]
We now take the limit . With an abuse of notation, we still denote the limits :
[TABLE]
B.2.2 The derivatives of
We now turn to , that we rewrite using a Gaussian transformation:
[TABLE]
This form is more suitable for computing the Hessian with respect to Q. In order to write the formulas compactly, we introduce the following average for any function of :
[TABLE]
With this definition, we have from eq. (93):
[TABLE]
in which and . One can easily see that this Hessian has the same “replica-symmetric” structure as the one of :
[TABLE]
We compute these three terms separately in the limit . In order to simplify the results, we introduce the notation , with the expectation over , and
[TABLE]
From this definition and eq. (94), one can check (using the same trick to decouple the replicas we used in the RS calculation, cf. Section 2.3) that we have, as :
[TABLE]
B.2.3 de Almeida-Thouless condition for replica-symmetric stability
Classical replica studies [EVdB01] show that for a Hessian having the form of eqs. (91) or (95), the linear stability of the RS local maximum is given by the sign of the “replicon” eigenvalue . More precisely, the AT condition for the stability of the RS solution in replica space reads here:
[TABLE]
[TABLE]
In order to make eq. (97) more explicit, we compute the right-hand side using the identity , with
[TABLE]
This integral is easy to work out:
[TABLE]
Let us define , so that . Then . The AT condition for the stability of the replica-symmetric solution is then expressed easily as a function of at any as
[TABLE]
B.2.4 The limit
We now take the limit in eq. (98), introducing the zero-temperature susceptibility (cf. eq. (35)). Using the same expansions as in eqs. (86) and (88) we have as :
[TABLE]
Therefore, we have at large , that . Since , the RS stability condition (98) becomes, in the limit:
[TABLE]
However, recall that in the zero-temperature limit, the RS susceptibility is given by the solution to eq. (36):
[TABLE]
which can be turned easily by integration by parts into:
[TABLE]
in which the inequality holds in all the “UNSAT” phase for which . Therefore, eq. (100) is never satisfied for any : at zero-temperature, the replica-symmetric solution is never linearly stable!
Appendix C A replica-symmetric lower bound
High-dimensional concentration on energy level sets – Let us first describe physical reasons (at a heuristic level) for the concentration of the energy under the Gibbs measure of eq. (5), for any . As we mentioned in Section 1, proving this property is highly non-trivial. While we did not need to assume this concentration to hold in the rest of the paper, it will be important in this part to describe the derivation of a replica-symmetric lower bound for the injectivity threshold.
At fixed W, the distribution of intensive energies is described by a probability density given by:
[TABLE]
One can show (using properties of the uniform measure and the fact that the energy is extensive) that the “entropic” term on the right scales exponentially with , that is that for any , one has a well-defined . In mathematical terms, for , satisfies a large deviation principle in the scale , with rate function . Therefore, by eq. (101), has large deviations in the scale around a value , i.e. we have the following behavior:
[TABLE]
In particular, the probability (under the Gibbs measure) of having a configuration with energy such that is exponentially small in for any . Therefore, we expect that at any , all the mass of the Gibbs measure concentrates (as ) around the level set with intensive energy , given thus also by the mean energy under the Gibbs measure [Ell06]. Note that we discarded the dependency of on W: the concentration with respect to W can be justified (but not proven!) using the concentration of in Theorem 1.4. Indeed, note that the average energy under the Gibbs measure is precisely given by a derivative of the free energy:
[TABLE]
Therefore, one expects that the concentration of the free energy transfers to the derivatives, and thus that the energy level also concentrates as a function of W. Summing up, the function (we explicit its dependency on and ) is – conjecturally – equal to the following limit:
[TABLE]
in which the limit is again in probability over the randomness induced by W. Furthermore, in the limit – as we argued in the main text – we expect the Gibbs measure to concentrate its mass around the global minima of , and therefore that
[TABLE]
The lower bound – By eq. (4) and eq. (103), 151515Assuming that is continuous and strictly increasing, which we always observe, see Fig. 1.. Since is a decreasing function of and , this implies that for any there exists such that
[TABLE]
Moreover, it is easy to see that is a non-decreasing function of . In particular, if for all the RS solution is stable (in the sense of the dAT condition described above, and derived in Appendix B.2), then the replica-symmetric ansatz will yield the exact solution for all . We denote the largest such :
[TABLE]
Recall that is, according to our criterion, equal to:
[TABLE]
However, we know that for the RS solution is never stable for (see Appendix B.2), so for all , if then . In particular, we get the lower bound . On the other hand, an important property of is that it can be computed solely from the RS solution (and its stability analysis). Recall that the stability condition for the RS solution is given by eq. (98), in which is the overlap given by the RS calculation, i.e. by eq. (33). A numerical evaluation of eq. (98), available in the attached code [Mai23], yields , which implies the lower bound presented in eq. (39).
Appendix D One-step replica symmetry breaking
D.1 Derivation of the 1-RSB free entropy
We perform here, for completeness of our presentation, the textbook calculation of the spherical perceptron free entropy at the one-RSB level. We start again from eq. (27), which we rewrite using a Gaussian transformation as:
[TABLE]
We assume a 1RSB ansatz given in eq. (41), with , and with the Parisi parameter (i.e. the size of the diagonal blocks in the ultrametric Q). More precisely we have, with :
[TABLE]
The entropic contribution – We focus on the first term of eq. (104). It is elementary algebra to check that under the ansatz of eq. (105), the spectrum of Q is:
[TABLE]
In particular, this yields:
[TABLE]
And thus:
[TABLE]
The interaction contribution – We focus now on the second term in eq. (104), with:
[TABLE]
Under the 1-RSB ansatz, it becomes:
[TABLE]
Introducing Gaussian transformations based on the formula to decouple the replicas, we obtain:
[TABLE]
Using this Gaussian transformation trick, we were able to decouple replicas and therefore obtain an expression that is analytic in . This allows to take the limit (keeping fixed), and to reach:
[TABLE]
Performing the Gaussian integrals, and recall the definition of , we reach:
[TABLE]
Combining eq. (106) and eq. (107), we reach eq. (2.5).
D.2 Zero-temperature limit
Recall that in the limit we have the scaling (see e.g. [FPS*+*17])
[TABLE]
while has a limit in as . In the following of this section, we write to lighten the notations. The asymptotics of the determinant term in eq. (2.5) can be worked out:
[TABLE]
The limit of the other term in eq. (2.5) can also be computed, using that:
[TABLE]
with , and . We described the expansion of for large in eq. (99) (simply replacing by ). We reach then:
[TABLE]
Anticipating on what follows, we introduce the auxiliary functions (in which ):
[TABLE]
By integration by parts, all these functions can be expressed in terms of elementary functions and . Moreover, note that we have the identities:
[TABLE]
Eqs. (111b) and (111c) can be obtained directly from the definition of eq. (110). For eq. (111a), we found more convenient to differentiate the finite- integral one can write for using eq. (109), and then take its large limit. We leave the derivation of these equations to the reader. Using the expansion of eq. (109), we obtain the limit of the second term of eq. (2.5):
[TABLE]
In the end, we have computed the limit of the free energy at the 1-RSB level, i.e. :
[TABLE]
in which one must implicitly maximize over . Note that an equivalent expression can be obtained using the limit of the average energy, since . Performing expansions in a similar way to the RS computations described in Appendix B.1, we reach:
[TABLE]
Let us emphasize that eq. (113) is an identity involving the parameters , which have to be found by maximizing eq. (112).
D.3 Numerical procedure
Let us summarize here the equations that allow to find the -RSB prediction for the injectivity threshold, using the set of auxiliary functions of eq. (110). One simply proceeds by derivation of the limit of the free energy functional given in eq. (112) with respect to , using eq. (111c). More precisely, at a given value of , one must find and satisfying the following set of three equations:
[TABLE]
Once one has found the solution to eq. (114), we can obtain the large- limit of the energy either from eq. (112) or eq. (113).
Following the statistical physics folklore, in order to implement an iterative scheme to solve eq. (114), we use auxiliary variables. Namely, we iterate the first two equations of eq. (114) as:
[TABLE]
in which we added a time subscript for the auxiliary functions to highlight their dependency on . Moreover, the functions are defined as the only roots (in ) of the equations
[TABLE]
such that and . Note that this implies that
[TABLE]
Therefore, in order for the solution to exist we must have , and then the solution satisfies . The remaining equation on can be written as:
[TABLE]
We solve eq. (117) on with a polynomial equations solver, and consider the unique solution in such that the corresponding in eq. (116) satisfies , i.e. such that .
At a given iteration , we iterate eq. (115) for the value . We then do a binary search to solve the last equation of eq. (114) and find . We found this procedure to converge very quickly (see the attached code [Mai23]), and it yields the 1RSB curves in Fig. 1 and the prediction of eq. (46).
Appendix E Details of the FRSB computation
In this section we derive the full RSB conjecture for the free entropy . Our computation is extremely close to the one of [FPS*+*17], and we refer to this work (and the lecture notes [Urb18]) for more details on the technicalities of the derivation.
Recall the form of the -th moment of the partition function, written as a function of the overlap matrix (without any assumption on the form of the saddle point), that is eq. (27). Note that by using the Gaussian integration formula, we can rewrite so as to obtain:
[TABLE]
Let us now perform the replica method under the full-RSB ansatz described in Fig. 3.
E.1 Entropic contribution
We start with the first “entropic” term in eq. (118). Its expression under a full-RSB ansatz is given in eq. (23) of [FPS*+*17], itself taken from Appendix A.II of [MP91]. However the derivation is itself very interesting and will be useful for the other term in eq. (118), so we first detail it here.
Derivation for – We focus on the entropic term, which we may write as:
[TABLE]
We fix a -RSB ansatz, cf. Fig. 3, and we will take in the end the limit . We have in the limit , and the parameters . Recall that in this ansatz, the hierarchical overlap matrix can be written as:
[TABLE]
with the block-diagonal matrix with blocks of size , each diagonal block being the all-ones matrix. In order to compute the integral of eq. (119), we use a simple yet very powerful identity introduced in [Dup81], and valid for any matrix (not necessarily a hierarchical RSB matrix) :
[TABLE]
This identity can be shown by Taylor-expanding the exponential involving the differential operator. Using it in eq. (119) we get:
[TABLE]
Note that u does not appear in the differential operator, so that one can exchange the differential operator and the integral over u. Integrating with respect to u yields then, using the Fourier representation of the delta distribution (we denote ):
[TABLE]
We use now the crucial identity, for any and smooth function , and which can be shown by Taylor-expanding around inside the integral on the right hand side:
[TABLE]
Here we denoted , and . Using eq. (123) inside eq. (E.1) we reach:
[TABLE]
We will iteratively apply the differential operator in the exponential, starting from up to . We will make use of another important identity, which is just a consequence of simple differential calculus combined with eq. (123), and valid for any and smooth :
[TABLE]
Let us now come back to eq. (124). We separate the term , and we have, with eq. (123):
[TABLE]
with defined as:
[TABLE]
Note that factorizes over the inner diagonal blocks of size , and we have , with
[TABLE]
Therefore, putting it back into eq. (E.1) and using eq. (125), we have:
[TABLE]
with defined in eq. (127). This procedure can then be repeated iteratively on the diagonal blocks, all the way to the innermost ones. Eq. (124) then becomes:
[TABLE]
with the functions iteratively defined as:
[TABLE]
We now take the (Full RSB) limit in eq. (129). In this limit we can approximate any function (see Fig. 3), and taking for a regular grid on , we have , , and for all , we have and . Moreover , , and . We sometimes also use the notation , . To make things clearer, we will denote derivatives w.r.t. with dots, and the ones w.r.t. with the usual prime. The second line of eq. (129) becomes, at first order in (recall the crucial eq. (123)), for :
[TABLE]
Comparing the terms at first order in , we reach the PDE:
[TABLE]
It is convenient to rewrite eq. (130) in terms of , which yields the Parisi PDE:
[TABLE]
The boundary condition in the first line was given by eq. (129): .
Remark: universality of the Parisi PDE – As can be already hinted by the calculation above and the method of [Dup81], the Parisi PDE described in eq. (131) is actually extremely general: the specificities of the term that we wish to compute only appear in the boundary conditions at , while the evolution equation is only dependent on the ultrametric structure of the problem. We will see a clear example of this when computing the energetic contribution to the free entropy.
The limit – Taking the limit in eq. (128) yields finally:
[TABLE]
Solution to the Parisi PDE for the entropic contribution – Fortunately, with the boundary condition that we have here, the Parisi PDE of eq. (131) is analytically solvable. Indeed always remains (up to a scaling) a centered Gaussian function of , or equivalently we can look for a solution in the form
[TABLE]
with and . This yields after some algebra simple ODEs on that are easily verified to be solved by:
[TABLE]
We took the notation defined in eq. (48). In particular, for every , we have:
[TABLE]
We can take the limit of this equation as . With our notations, we have , and . By integration by parts, we reach:
[TABLE]
Final result for the entropic contribution – Therefore, taking the limit , we have
[TABLE]
Note that eq. (132) is also equivalent to a formula given in Appendix II of [MP91] as can be seen by integration by parts:
[TABLE]
In the IPP, one uses , , and .
E.2 Energetic contribution
The second part of the free entropy is the energetic contribution, i.e. , with
[TABLE]
Again using the identity of eq. (120), we have:
[TABLE]
One can notice that this equation is extremely similar to eq. (E.1), but the function has been replaced with . However, the whole procedure that we described above to obtain the Parisi PDE does not change at all, since it did not depend on the specifics of this function: the PDE itself remains the same, only the boundary condition at will be different. In the end, this yields:
[TABLE]
with given as the solution to the Parisi PDE with specific boundary condition at :
[TABLE]
Note that one can equivalently write this PDE in terms of the parameter rather than by a change of variable , as described e.g. in [Urb18].
E.3 Recovering the RS result from the full RSB equations
In this paragraph we show that eq. (53) is equivalent to eq. (33). We denote coherently with the RS computation. One computes easily that
[TABLE]
In particular, we have:
[TABLE]
Therefore eq. (53) reads:
[TABLE]
or equivalently:
[TABLE]
Since , letting we can rewrite eq. (135) and use an integration by parts:
[TABLE]
which is equivalent to eq. (33).
Appendix F Technicalities of the algorithmic FRSB procedure
F.1 Technicalities of the derivation of the algorithmic procedure
We give here some details on the arising of eqs. (59)-(62). Recall that here all the quantities are considered at zero-temperature, with the scaling of eq. (54).
Eq. (59) is a general relation between , and when eq. (51c) is satisfied. It is explained for instance in [FPS*+*17], see eq. (B.4).
Eq. (60) is a consequence of the general relation between (the function corresponding to the overlap matrix ) and in the full RSB ansatz, which is (see e.g. eq. (B.9) in [FPS*+*17]):
[TABLE]
Discretization of this relation yields eq. (60).
One can invert eq. (48) to obtain as a function of via:
[TABLE]
It is the discretization of this equation that yields eq. (61).
Eq. (62) is a consequence of the boundary condition of eq. (51a) taken at , followed by a change of variable from to in the parameters of the functions . After these procedures, eq. (51a) becomes, for the unrescaled variables and any :
[TABLE]
After taking the limit, this yields for the variables that are rescaled as according to eq. (54) (dropping the subscript):
[TABLE]
Moreover, . Therefore, rescaling then (and using the abusive notation ) we have:
[TABLE]
We focus on the left-hand side of this last equation, in the -RSB ansatz. We first use that , a simple consequence of eq. (48), after change of variables and rescaling. Therefore, we have:
[TABLE]
Using the convention and , we therefore reach from eq. (136) that:
[TABLE]
which is precisely eq. (62).
F.2 Numerical results of the procedure
In Fig. 6 we present the results of typical iterations of the algorithmic procedure described above. For different values of and the RSB parameter we show the evolution of the estimates of , the susceptibility , and the function , along the iterations. In all the cases implemented we see power-law convergence to the solution, and very consistent results when varying the parameters used in the algorithm (in particular increasing ).
F.3 Some details on the implementation of convolutions
F.3.1 Convolutions via DFTs
In order to implement the algorithmic procedure of Section 3.2, we use a discrete Fourier transform approach. We refer to [Get13] for a review on Gaussian convolution algorithms. The goal is to compute the convolution of a centered Gaussian with variance and a function :
[TABLE]
We fix and , and we consider a grid , with . In order to leverage analytical formulas for the DFT of the Gaussian, we use a Shannon-Whittaker interpolation for , i.e. we approximate as:
[TABLE]
with . Since for all , and , we have . This approximation transfers into an approximation for as:
[TABLE]
with . Thus we have, with , and using :
[TABLE]
Note that we naturally extended to all , since these coefficients have an analytic expression. In the same way, we extend if . For a general sequence , we define its Discrete Fourier Transform (DFT) as, for :
[TABLE]
Taking the DFT of eq. (137), one finds:
[TABLE]
Moreover, we define the Fourier transform as , and have then easily . The Fourier transform of the convolution is . This yields, via inverse Fourier transformation:
[TABLE]
Therefore, we have by eq. (138):
[TABLE]
Taking , the term on the right is well approximated by the Dirac comb:
[TABLE]
However, since and , this implies:
[TABLE]
Plugging it back into eq. (139), we finally obtain the formula we use for the DFT of the convolution :
[TABLE]
F.3.2 Taking a large enough value of
Note that in order for the Gaussian convolutions to be numerically well defined, we need the spacing in the grid we take on to be much smaller than the standard deviation of the Gaussians, that is we need for any :
[TABLE]
Note that, as shown in [FPS*+*17], and as one can also verify from Fig. 4, we have the following scaling as : , with . Therefore . Since we take in our numerical procedure, we have that in order for our procedure to be valid we need
[TABLE]
In practice, we find typically , so that we will impose , with
[TABLE]
In practice, we consider (we often take ) with a constant in order to be well into the regime , and still have a reasonable computational time.
F.4 Bounds on the injectivity threshold
Let us detail the results of our numerical computation of , illustrated in Fig. 5. For a given value of all parameters of the algorithm detailed in Section 3.2, we ran Brent’s method to find the zero of , with a tolerance of on the value of . For all values of , we iterated the FRSB equations until . We ran this procedure for different values of , , , and (recall that and are defined in Section F.3). In Fig. 5 the runs with different values of and are aggregated.
Appendix G An upper bound from Gordon’s “escape through a mesh” theorem
After reformulating the injectivity question in Proposition 1.1, a first natural attempt to bound is to use Gordon’s “escape through a mesh” theorem [Gor88], which gives upper bounds on the probability of a random set intersecting another fixed set. We record here this approach, which turns out to be looser than previous analyses [PKL*+*22].
For , we denote , for . One can easily show the bound [Ver18]:
[TABLE]
Moreover, for a closed set , we define its Gaussian width as
[TABLE]
We are now ready to state Gordon’s theorem:
Theorem G.1** ([Gor88]).**
Let a closed subset such that . Let be a uniformly-sampled random -dimensional subspace of . Then
[TABLE]
Applying this theorem to Proposition 1.1, we directly reach
Corollary G.2**.**
Assume that as . Then , i.e. is injective w.h.p.
We therefore aim for an upper bound on . We can prove the following
Lemma G.3**.**
Let (for ) denote the binary entropy function. Assume . Then
[TABLE]
Since by eq. (140), Lemma G.3 and Corollary G.2 imply that whenever
[TABLE]
A numerical application yields that eq. (141) is satisfied whenever , with . Note that this bound is suboptimal with respect to previous works [PKL*+*22] and to Theorem 1.8.
Proof of Lemma G.3 – We denote . By weak duality, we have
[TABLE]
An element can be parametrized by a subset with , and a set of values , with for and for . This yields:
[TABLE]
We used that , for . Since the law of g is invariant under permutation of the indices, we can assume , with . It is then straightforward to check that:
[TABLE]
Therefore
[TABLE]
Note that a more careful analysis than the argument presented so far would show that the first inequality of eq. (142) is actually an equality, although this is not needed in what follows. We also used Jensen’s inequality in the second inequality. The second term inside the square root can be computed easily:
[TABLE]
Moreover, for any we have by Jensen’s inequality:
[TABLE]
using the union bound in . Therefore, we reach
[TABLE]
Combining it with eqs. (142) and eq. (143) concludes the proof.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[AC 15] Antonio Auffinger and Wei-Kuo Chen. The Parisi formula has a unique minimizer. Communications in Mathematical Physics , 335(3):1429–1444, 2015.
- 2[AC 18] Antonio Auffinger and Wei-Kuo Chen. On concentration properties of disordered Hamiltonians. Proceedings of the American Mathematical Society , 146(4):1807–1815, 2018.
- 3[ALMT 14] Dennis Amelunxen, Martin Lotz, Michael B Mc Coy, and Joel A Tropp. Living on the edge: Phase transitions in convex programs with random data. Information and Inference: A Journal of the IMA , 3(3):224–294, 2014.
- 4[AMÖS 19] Simon Arridge, Peter Maass, Ozan Öktem, and Carola-Bibiane Schönlieb. Solving inverse problems using data-driven models. Acta Numerica , 28:1–174, 2019.
- 5[AMS 22] Antonio Auffinger, Andrea Montanari, and Eliran Subag. Optimization of random high-dimensional functions: Structure and algorithms. ar Xiv preprint ar Xiv:2206.10217 , 2022.
- 6[AT 07] Robert J Adler and Jonathan E Taylor. Random fields and geometry , volume 80. Springer, 2007.
- 7[BC 20] Johann Brehmer and Kyle Cranmer. Flows for simultaneous manifold learning and density estimation. Advances in Neural Information Processing Systems , 33:442–453, 2020.
- 8[BFH + 18] James Bradbury, Roy Frostig, Peter Hawkins, Matthew James Johnson, Chris Leary, Dougal Maclaurin, George Necula, Adam Paszke, Jake Vander Plas, Skye Wanderman-Milne, and Qiao Zhang. JAX: composable transformations of Python+Num Py programs, 2018.
