Skip to content
DAH

Diluted spin glasses and the cavity method

Spin glasses on sparse random graphs (Viana–Bray, diluted p-spin, random K-SAT), whose free energy physicists predict by the Mézard–Parisi cavity method.

On this page14 sections
Why other work relies on it

Satisfiability thresholds of random CSPs, the analysis of message-passing algorithms and the rigorous theory of replica symmetry breaking on sparse graphs all depend on this programme.

Sparse random magnets whose energy physicists predict by the cavity method; mathematicians are still proving it.

  1. 1Sparse random network of spins
  2. 2Remove one spin: study the cavity
  3. 3Clusters of states need nested levels
  4. 4Free energy = best value over all levels
  5. 5Upper bound proved; lower bound claimed 2026

The model. Take NN spins σi=±1\sigma_i=\pm1, like tiny compass needles that point up or down. A Hamiltonian H(σ)H(\sigma) assigns an energy to each configuration. In a diluted spin glass the energy is a sum of random terms ("clauses"), each depending on only KK spins chosen at random, and the number of terms is random with mean proportional to NN (a Poisson number). So every spin sits in a bounded number of terms on average. Random KK-SAT is the same idea with a clause that is satisfied or violated.

Free energy. At inverse temperature β\beta the Gibbs measure gives configuration σ\sigma probability proportional to eβH(σ)e^{\beta H(\sigma)}. The quantity physicists want is the free energy per spin, FN=1N Elog⁡∑σeβH(σ),F_N=\frac1N\,\mathbb E\log\sum_\sigma e^{\beta H(\sigma)}, the average over the randomness of the logarithm of the sum over all 2N2^N configurations. It encodes the typical energy and entropy. E\mathbb E means "average over the random couplings", an idea from probability.

The cavity method. Remove one spin and look at the "cavity" left behind. Because the graph is sparse and locally tree-like, the neighbours of the removed spin are nearly independent, so you can write a recursion for how a spin's average value depends on its neighbours'. In the simple case this is Belief Propagation. In the spin-glass phase the Gibbs measure breaks into many clusters ("pure states"), and the recursion has to be run hierarchically: clusters inside clusters. The number of levels is the depth of replica symmetry breaking, and the answer is the infimum over all depths and over all choices of the trial distributions. That infimum is the Mézard–Parisi formula.

What is proved. An interpolation argument (Franz–Leone, 2002; Panchenko–Talagrand, 2004) shows that FNF_N is at most the Mézard–Parisi infimum for every NN. For the matching lower bound one must show that the real Gibbs measure has the structure the formula assumes, the "reproducibility" property: correlations among many replicas are fixed by correlations between pairs. Panchenko proved this for one and finitely many levels of symmetry breaking (2013 and 2014). The remaining step was to allow any overlap distribution.

October 2026. OpenAI's openai/math release (family 221) claims the formula for even-arity Poisson-diluted Ising models under stated assumptions. Panchenko's preprint (arXiv:2610.39545) claims the lower bound for a broad class and the full formula for even KK-spin and random KK-SAT, via an approximate reproducibility result. Both are unrefereed, so DARC lists the question as open.

Go deeper

The full technical text.

Models

A diluted spin glass has Ising spins on the vertices of a sparse random (hyper)graph, with random couplings on its edges. Examples are the Viana–Bray model, diluted pp-spin models and random KK-SAT viewed as a spin system at positive temperature. In the standard rigorous setting the number of interactions is Poisson with mean proportional to the number of spins NN, and each interaction involves KK spins chosen uniformly at random. Unlike the Sherrington–Kirkpatrick model, each spin interacts with only a bounded number of others on average, so the local tree-like geometry matters.

The cavity method

Mézard and Parisi (2001) proposed a solution of the Bethe lattice spin glass by the cavity method, at a level of approximation equivalent to one-step replica symmetry breaking. In the physics picture the Gibbs measure splits into many pure (Bethe) states, each described by Belief Propagation, and the free energy is the value of a variational functional over hierarchies of distributions (replica symmetry breaking, with any number of levels). For random KK-SAT the one-step version predicts the satisfiability threshold, which Ding–Sly–Sun confirmed for large KK.

Rigorous progress

Franz–Leone and Panchenko–Talagrand proved, by Guerra-type interpolation, that the Mézard–Parisi functional gives a one-sided bound on the free energy (the free energy is at most its infimum). Panchenko showed that, after a small perturbation of the Hamiltonian, finite-RSB asymptotic Gibbs measures obey the Mézard–Parisi ansatz; what was missing was a way to pass from finitely many levels to a general overlap distribution. Coja-Oghlan and Perkins established the Bethe-state decomposition for broad classes of models, and replica symmetric regimes have been identified (e.g. Biswas–Chen–Sen). The matching lower bound, and so the formula with the infimum over all levels of symmetry breaking, had remained open in general.

2026

Two unrefereed manuscripts claim to close the gap. OpenAI's release (family 221, AI-generated, with an unreviewed Lean formalization listed) claims the formula for Poisson-diluted even-arity Ising models in the Panchenko–Talagrand class, under factorization, independence, integrability and positivity assumptions. Panchenko's preprint of 29 October 2026 (arXiv:2610.39545) claims the lower bound for a broader class of diluted models and the full formula for diluted even KK-spin and random KK-SAT models, by proving an approximate form of the Mézard–Parisi reproducibility hypothesis without assuming a finite-support overlap distribution. Neither has been refereed; see the open problem.

Words on this page (12)
Words on this page
spin glass
A magnet with random, conflicting interactions between its tiny magnetic moments, so it cannot settle into a simple ordered pattern.
Ising spin
A variable that is either +1 or -1, like a compass needle pointing up or down.
Hamiltonian
A function giving the energy of each configuration of the system.
Gibbs measure
The probability rule that weights each configuration exponentially by its energy, with the temperature setting how strongly.
free energy
The quantity combining energy and entropy that determines a system's equilibrium behaviour.
Poisson distribution
The pattern of how many rare, independent events occur in a fixed stretch, here the number of random clauses.
random graph
A network whose connections are chosen by chance; sparse means each node has only a few links.
cavity method
A technique that removes one site from a system and studies how the rest respond, to derive self-consistent equations.
Belief Propagation
An algorithm that passes messages between neighbours on a graph to estimate each variable's probabilities.
replica symmetry breaking
The spin-glass phenomenon where the equilibrium splits into many states arranged in a hierarchy; described using copies (replicas) of the system.
random K-SAT
A random logic puzzle made of clauses, each involving K variables, which may or may not be satisfiable all at once.
SAT solving
The DARC page on algorithms that decide whether such logic puzzles can be satisfied.
New to this? Read first (3)
New to this? Read first
AI-reviewedAn AI drafted this explanation. Check it against the technical text.

Understanding map

map of the whole wiki →

What to read before Diluted spin glasses and the cavity method (left), and what builds on it: entries that depend on it and its open problems (right). Every box links to its page.

  1. Start with
  2. Then

Open problems & questions

Progress timeline

  1. Oct 29, 2026
    Panchenko: the Mézard–Parisi formula (preprint)
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    A preprint claims the matching lower bound for a general class of diluted models under symmetry and integrability assumptions, completing the formula for diluted even K-spin and random K-SAT, via an approximate reproducibility result without finite-support overlaps. The author credits ChatGPT Astra with finding the proof. Unrefereed.

    source
  2. Oct 29, 2026
    Panchenko preprint claims the matching lower bound

    A preprint claims the lower bound of the Mézard–Parisi formula for a general class of diluted models, and the full formula for diluted even K-spin and random K-SAT, via an approximate reproducibility result without finite-support overlaps. Unrefereed.

    source
  3. Oct 6, 2026
    OpenAI releases a claimed proof for even-arity Ising models

    The openai/math release (family 221) claims the Mézard–Parisi formula for Poisson-diluted even-arity Ising models in the Panchenko–Talagrand class. AI-generated and unrefereed.

    source
  4. Oct 6, 2026
    OpenAI release: claimed proof for even-arity Ising models
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    The openai/math release (family 221, manuscript dated 23 Sep 2026) claims the Mézard–Parisi formula for Poisson-diluted even-arity Ising models in the Panchenko–Talagrand class; a Lean formalization is listed. AI-generated and unrefereed.

    source
  5. Oct 21, 2024
    Biswas, Chen and Sen: replica symmetric solution in diluted spin glasses
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    Identifies two regimes (high temperature, and a subcritical sparsity regime independent of temperature) in which general diluted spin glasses are replica symmetric with an explicit free energy.

    source
  6. Aug 10, 2018
    Coja-Oghlan and Perkins: spin systems on Bethe lattices
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    Establishes rigorously the Bethe-state decomposition hypothesized by Mézard and Parisi for a general family of spin systems on random regular graphs, and derives a variational formula for the free energy.

    source
  7. Sep 12, 2017
    Coja-Oghlan and Perkins: Bethe states of random factor graphs
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    Verifies for a broad class of random factor graph models that the Gibbs measure decomposes into a moderate number of Bethe states whose marginals are Belief Propagation fixed points.

    source
  8. Jun 18, 2014
    Panchenko: finite-RSB Gibbs measures in diluted models
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    Shows that after a small modification of the Hamiltonian, all finite-RSB asymptotic Gibbs measures satisfy the Mézard–Parisi ansatz, and proposes this as a route to the formula; what remained missing was a description of general full-RSB measures.

    source
  9. Aug 8, 2013
    Panchenko: 1-RSB Gibbs measures in diluted p-spin models
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    Proves that 1-RSB asymptotic Gibbs measures of diluted p-spin models are described by the Mézard–Parisi ansatz (with an exceptional zero-overlap case without external field only partly characterised).

    source
  10. May 18, 2004
    Panchenko and Talagrand: bounds for diluted spin glasses
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    Derives the Franz–Leone bounds for the diluted p-spin and K-SAT models from a single general principle, with a shorter proof.

    source
  11. Aug 14, 2002
    Franz and Leone: replica bounds for diluted spin systems
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    Extends Guerra's interpolation to diluted models (Viana–Bray, diluted p-spin, random K-SAT and XOR-SAT), proving that the replica-symmetry-breaking ansatz gives rigorous one-sided bounds on the free energy.

    source
  12. Sep 27, 2000
    Mézard and Parisi: the Bethe lattice spin glass revisited
    Related to: Mézard–Parisi formula for the free energy of diluted spin glasses

    Proposes, by the cavity method, a non-perturbative one-step replica-symmetry-breaking solution of the spin glass on the Bethe lattice: the origin of the Mézard–Parisi formula.

    source