Solving the fully-connected spherical
p-spin model with the cavity method: equivalence with the replica results
This paper solves the fully-connected spherical $p$-spin model using the cavity method, obtaining the same free energy as the replica method. The authors derive cavity equations for both the Replica Symmetric (RS) ansatz, corresponding to Belief Propagation, and the 1-step Replica Symmetry Breaking (1RSB) ansatz, corresponding to Survey Propagation. These equations are solved by assuming Gaussian (RS) and multivariate Gaussian (1RSB) distributions for the cavity fields. The results match the replica computation, confirming a phase transition to a 1RSB phase at low temperatures. This work is a first step toward solving the diluted version of the model, which is relevant for random laser theory.