NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Finding ground states of Sherrington-Kirkpatrick spin glasses with hierarchical boa and genetic algorithms

Martin Pelikan, Helmut G. Katzgraber, Sigismund KobeGECCO 2008

Abstract

Finding the ground state of Sherrington-Kirkpatrick (SK) spin glasses is a fundamental NP-hard problem in disordered physics. While exact methods like Branch and Bound are limited to small systems ($n \approx 90$), heuristic approaches are required for larger instances to study thermodynamic properties. This paper evaluates the hierarchical Bayesian Optimization Algorithm (hBOA) against standard Genetic Algorithms (GA). By modeling the statistical distribution of required population sizes, we demonstrate that hBOA reliably identifies ground states for systems up to $n=300$ spins, significantly outperforming GAs by effectively capturing the complex structural dependencies inherent in infinite-range interactions.

Introduction

In the study of disordered systems, spin glasses represent a significant computational challenge. The Sherrington-Kirkpatrick (SK) model is a prototypical example where every spin interacts with every other spin in the system. Finding the "ground state"—the configuration of spins that minimizes the total energy—is an NP-complete optimization problem. Traditional exact methods, such as Branch and Bound (B&B), suffer from exponential time complexity, typically hitting a practical limit at approximately 90 spins. To explore the physics of larger systems, researchers must turn to heuristic algorithms that can find the global optimum with high probability.

Methodology

This study compares the performance of standard Genetic Algorithms (GA) with the hierarchical Bayesian Optimization Algorithm (hBOA) in the context of the SK model.

hBOA: An Estimation of Distribution Approach

Unlike standard GAs that rely on stochastic crossover and mutation, hBOA is an Estimation of Distribution Algorithm (EDA). It operates by:

  1. Selecting a population of high-quality solutions.
  2. Building a Bayesian network to model the probabilistic dependencies between spins.
  3. Sampling new candidate solutions from this model.

This mechanism allows hBOA to "learn" the underlying structure of the problem, preserving beneficial dependencies that are often disrupted by traditional crossover operators.

Both hBOA and GA were hybridized with a Deterministic Hill Climber (DHC). Before evaluation, each candidate solution is refined by flipping individual bits until no further energy reduction is possible. This ensures the algorithms explore the space of local minima rather than the raw configuration space.

Scaling Strategies

To determine the population size required to find the ground state for systems where $n > 90$, three statistical strategies were employed:

  • Modeling Percentiles: Predicting the 99.999th percentile of required population size based on small-scale data.
  • Modeling Distribution Parameters: Fitting mean and variance of success rates to power-law functions.
  • Population Doubling: A parameter-less approach that iteratively increases population size until solution quality stabilizes.

Results

The study utilized 310,000 unique instances for small-scale verification ($n=20$ to $80$) and 1,000 instances for each step up to $n=300$ with Gaussian couplings.

Performance Comparison

hBOA consistently outperformed GA variants using two-point and uniform crossover. As the system size $n$ increased, the performance gap widened. While standard crossovers tend to break the complex, infinite-range dependencies of the SK model, hBOA’s Bayesian modeling successfully captured and exploited these relationships.

Statistical Insights

A key finding was that the computational effort (measured by population size and evaluations) follows a log-normal distribution. This allowed for robust predictions of the resources needed for larger systems. Interestingly, at $n=300$, the data began to align more closely with a Generalized Extreme Value (GEV) distribution, which aligns with physics theories suggesting the thermodynamic limit of the SK model manifests around $n=150$.

Scaling to $n=300$

By applying the developed scaling models, the researchers successfully identified ground states for systems up to $n=300$. The reliability of these results was cross-verified by running significantly larger populations and observing no further energy improvements, providing high confidence in the optimality of the discovered states.

Conclusion

The hierarchical Bayesian Optimization Algorithm provides a scalable and reliable framework for solving the SK spin glass model. By shifting from random shuffling to structured probabilistic modeling, hBOA manages the complex dependencies of infinite-range interactions more effectively than traditional GAs. While the problem remains NP-hard, the polynomial growth in required population size for hBOA makes it a powerful tool for investigating large-scale disordered systems. Future work will explore bimodal couplings and more advanced local search techniques to further push the boundaries of solvable system sizes.

Summary updated

BibTeX
@inproceedings{pelikan2008finding,
  author = {Martin Pelikan and Helmut G. Katzgraber and Sigismund Kobe},
  title = {{Finding ground states of Sherrington-Kirkpatrick spin glasses with hierarchical boa and genetic algorithms}},
  booktitle = {GECCO},
  year = {2008},
  doi = {10.1145/1389095.1389176},
}
Figure