T-6: Difference between revisions

From Disordered Systems Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<strong>Goal: </strong>  
<strong>Goal: </strong>  
So far we have discussed the equilibrium properties of disordered systems, that are encoded in their partition function/free energy. When a system (following Langevin, Monte Carlo dynamics) equilibrates at sufficiently large times, its long-time properties are captured by these equilibrium calculations. In glassy systems the equilibration timescales are extremely large: for very large timescales the system  does not visit equilibrium configurations, but rather metastable states. In this set of problems, we characterize the energy landscape of the spherical <math>p</math>-spin by studying its metastable states (local minima).
Complete the characterisation of the energy landscape of the spherical <math>p</math>-spin.
<br>
<br>
<strong>Techniques: </strong> conditional probabilities, saddle point, random matrix theory.
<strong>Techniques: </strong> saddle point, random matrix theory.
<br>
<br>




== Dynamics, optimization, trapping local minima ==
[[File:Landscapes-GDD.png|thumb|right|x200px|Convex and rugged energy landscapes.]]
<ul>
<li> '''Rugged landscapes.''' Consider the spherical <math>p</math>-spin model: <math>E(\vec{\sigma})</math> is an <ins> energy landscape </ins>. It is a random function on configuration space (the surface <math> \mathcal{S}_N </math> of the sphere). This landscape has its global minimum(a) at the ground state configuration(s): the energy density of the ground state(s) can be obtained studying the partition function <math> Z </math> in the limit <math> \beta \to \infty </math>. Besides the ground state(s), the energy landscape can have other local minima; fully-connected models of glasses are characterized by the fact that there are plenty of these local minima: the energy landscape is <ins> rugged</ins>, see the sketch.
</li>
<br>
<li> '''Optimization by gradient descent.''' Suppose that we are interested in finding the configurations of minimal energy, starting from an arbitrary configuration <math>\vec{\sigma}_0</math>: we can implement a dynamics in which we progressively update the configuration moving towards lower and lower values of the energy, hoping to eventually converge to the ground state(s). The simplest dynamics of this sort is <ins>gradient descent</ins>,
<center> <math>
\frac{d \vec{\sigma}(t)}{dt}=- \nabla_{\perp} E(\vec{\sigma})
</math> </center>
where <math>\nabla_{\perp} E(\vec{\sigma})</math> is the gradient of the landscape restricted to the sphere. The dynamics stops when it reaches a  <ins> stationary point </ins>, a configuration where <math>  \nabla_\perp E(\vec{\sigma})=0</math>. If the landscape has a convex structure, this will be the ground state; if the energy landscape is very non-convex like in glasses, the end point of this algorithm will be a local minimum at energies much higher than the ground state (see sketch).
</li>
<br>
<li> '''Stationary points and complexity.''' To guess where gradient descent dynamics (or <ins> Langevin dynamics </ins>) are expected to converge, it is useful to understand the distribution of the stationary points, i.e. the number <math> \mathcal{N}(\epsilon)</math> of such configuration having a given energy density <math> \epsilon </math>. In fully-connected models, this quantity has an exponential scaling, <math> \mathcal{N}(\epsilon) \sim \text{exp}\left(N \Sigma(\epsilon) \right)</math>, where  <math>  \Sigma(\epsilon)</math> is the landscape’s <ins>complexity</ins>. <sup>[[#Notes|[*] ]]</sup>. Stationary points can be stable (local minima), or unstable (saddles or local maxima): their stability is encoded in the spectrum of the <ins> Hessian matrix </ins> <math>\nabla_{\perp}^2 E(\vec{\sigma})</math>: when all the eigenvalues of the Hessian are positive, the point is a local minimum (and a saddle otherwise).
</li>
</ul>
<br>
<div style="font-size:89%">
: <small>[*]</small> - This quantity looks similar to the entropy <math> S(\epsilon) </math> we computed for the REM in Problem 1. However, while the entropy counts all configurations at a given energy density, the complexity <math> \Sigma(\epsilon) </math> accounts only for the stationary points.
</div>
<br>


== Problems ==
== Problems ==
In these problems, we discuss the computation of the annealed complexity of the spherical <math>p</math>-spin model, which is defined by
<center> <math>
\Sigma_{\text{a}}(\epsilon)= \lim_{N \to \infty}\frac{1}{N}\log \overline{\mathcal{N}(\epsilon)} , \quad \quad \mathcal{N}(\epsilon)= \left\{ \text{number stat. points of energy density }  \epsilon\right\}
</math> </center>
=== Problem 5.1: the Kac-Rice formula and the complexity ===
<ol>
<li> <em> The Kac-Rice formula.</em> Consider first a random function of one variable <math> f(x)</math> defined on an interval <math> [a,b]</math>, and let <math> \mathcal{N}</math> be the number of points <math> x </math> such that <math> f(x)=0</math>. Justify why
<center>
<math>
\overline{\mathcal{N}}= \int_a^b dx \,p_0(x) , \quad \quad p_0(x)=\overline{\delta(f(x)) |f'(x)|}
</math>
</center>
where <math>  p_0(x) </math> is the probability density that <math> x </math> is a zero of the function.
In particular, why is the derivative of the function appearing in this formula? Consider now the number of stationary points <math> \mathcal{N}(\epsilon)</math> of the <math>p</math>-spin energy landscape, which satisfy <math> \nabla_\perp E(\vec{\sigma})=0</math>. Justify why the generalization of the formula above gives
<center>
<math>
\overline{\mathcal{N}(\epsilon)}= \int_{\mathcal{S}_N} d \vec{\sigma} \,p_{\epsilon}(\vec{\sigma})  , \quad \quad p_{\epsilon}(\vec{\sigma})=\overline{|\text{det} \nabla_\perp^2 E (\vec{\sigma})|\,\, \delta(\nabla_\perp E(\vec{\sigma})=0) \, \,\delta(E(\vec{\sigma})- N \epsilon)}
</math>
</center>
where <math> p_{\epsilon}(\vec{\sigma})</math> is the probability density that <math> \vec \sigma</math> is a stationary point of energy density <math> \epsilon </math>, and <math> \nabla_\perp^2 E (\vec{\sigma}) </math> is the Hessian matrix of the function  <math> E (\vec{\sigma}) </math> restricted to the sphere.
</li>
</ol>
<br>
<ol start="2">
<li><em> Statistical rotational invariance.</em> Recall the expression of the correlations of the energy landscape of the <math>p</math>-spin computed in Problem 3.1: in which sense the correlation function is rotationally invariant? Justify why rotational invariance implies that
<center>
<math>
\overline{\mathcal{N}(\epsilon)}= (2 \pi e)^{\frac{N}{2}} \, p_{\epsilon}(\vec{1})
</math>
</center>
where <math> \vec{1}=(1,1,1, \cdots, 1) </math> is one fixed vector belonging to the surface of the sphere. Where does the prefactor arise from?
</li>
</ol>
<br>
<ol start="3">
<li><em> Gaussianity and correlations.</em>
<ul>
<li> Determine the distribution of the quantity <math> E (\vec{1})</math>. </li>
<li> The entries of <math>\nabla_\perp E (\vec{1}), \nabla^2_\perp E (\vec{1})</math> are Gaussian variables. One can show that the <math> N-1 </math> components of <math> \nabla_\perp E (\vec{1})</math> are uncorrelated to <math> E (\vec{1}), \nabla^2_\perp E (\vec{1})</math>; they have zero mean and covariances
<math>
\overline{(\nabla_\perp E)_\alpha  \, (\nabla_\perp E)_\beta}=  p \, \delta_{\alpha \beta}+O\left(\frac{1}{N} \right).
</math>
Compute the probability density that <math> \nabla_\perp E (\vec{1})=0</math>. </li>
<li> The <math>(N-1)\times (N-1) </math> matrix <math> \nabla_\perp^2 E (\vec{\sigma}) </math> conditioned to the fact that <math> E(\vec 1)=N \epsilon </math> can be written as
<center>
<math>
[\nabla_\perp^2 E(\vec{1})]_{\alpha \beta}=  M_{\alpha \beta}- p  \epsilon\, \delta_{\alpha \beta},
</math>
</center>
where the matrix <math> M </math> has random entries with zero average and correlations
<math>
\overline{{M}_{\alpha \beta} \, {M}_{\gamma \delta}}= \frac{p (p-1)}{ N} \left( \delta_{\alpha \gamma} \delta_{\beta \delta}+ \delta_{\alpha \delta} \delta_{\beta \gamma}\right)
</math>
Combining this with the results above, show that
<center>
<math>
\overline{\mathcal{N}(\epsilon)}= (2 \pi e)^{\frac{N}{2}} \,\frac{1}{(2 \pi \, p)^{\frac{N-1}{2}}}\; \sqrt{\frac{N}{2 \pi}} e^{-\frac{N \epsilon^2}{2}}\;\overline{|\text{det} \left( M- p  \epsilon \mathbb{I} \right)|}
</math>
</center>
</ul>
</li>
</ol>
<br>


=== Problem 5.2: the Hessian and random matrix theory ===
=== Problem 6: the Hessian and random matrix theory ===


To get the complexity, it remains to compute the expectation value of the determinant of the Hessian matrix: this is the goal of this problem. We will do this exploiting results from random matrix theory.
To get the complexity, it remains to compute the expectation value of the determinant of the Hessian matrix: this is the goal of this problem. We will do this exploiting results from random matrix theory.
Line 188: Line 88:
== Check out: key concepts ==
== Check out: key concepts ==


Gradient descent, rugged landscapes, metastable states, Hessian matrices, random matrix theory, landscape’s complexity.
Metastable states, Hessian matrices, random matrix theory, landscape’s complexity.

Revision as of 00:50, 6 March 2024

Goal: Complete the characterisation of the energy landscape of the spherical -spin.
Techniques: saddle point, random matrix theory.


Problems

Problem 6: the Hessian and random matrix theory

To get the complexity, it remains to compute the expectation value of the determinant of the Hessian matrix: this is the goal of this problem. We will do this exploiting results from random matrix theory.


  1. Gaussian Random matrices. Show that the matrix is a GOE matrix, i.e. a matrix taken from the Gaussian Orthogonal Ensemble, meaning that it is a symmetric matrix with distribution What is the value of ?



  1. Eigenvalue density and concentration. Let be the eigenvalues of the matrix . Show that the following identity holds:

    where is the empirical eigenvalue density. It can be shown that if is a GOE matrix, the distribution of the empirical density has a large deviation form (recall TD1) with speed , meaning that where now is a functional (a function of a function). Using a saddle point argument, show that this implies

    where is the typical value of the eigenvalue density, which satisfies .



  1. The semicircle and the complexity. The eigenvalue density of GOE matrices is self-averaging, and it equals to

    • Check this numerically: generate matrices for various values of , plot their empirical eigenvalue density and compare with the asymptotic curve. Is the convergence faster in the bulk, or in the edges of the eigenvalue density, where it vanishes?
    • Combining all the results, show that the annealed complexity is

      The integral can be computed explicitly, and one finds:

      Plot the annealed complexity, and determine numerically where it vanishes: why is this a lower bound or the ground state energy density?


  1. The threshold and the stability. Sketch for different values of ; recalling that the Hessian encodes for the stability of the stationary points, show that there is a transition in the stability of the stationary points at the critical value of the energy density When are the critical points stable local minima? When are they saddles? Why the stationary points at are called marginally stable ?


Check out: key concepts

Metastable states, Hessian matrices, random matrix theory, landscape’s complexity.