Microcanonical simulated annealing: Massively parallel Monte Carlo simulations with sporadic random-number generation
M. Bernaschi, C. Chilin, L. A. Fernandez, I. González-Adalid Pemartín, E. Marinari, V. Martin-Mayor, G. Parisi, F. Ricci-Tersenghi, J. J. Ruiz-Lorenzo, D. Yllanes
TL;DR
MicSA addresses the heavy random-number burden in large-scale Monte Carlo simulations by embedding the spin system in a microcanonical ensemble augmented with daemons/walkers, enabling massively parallel updates with minimal randomness. The method preserves detailed balance through Creutz-like moves and leverages a controlled refresh schedule to steer dynamics toward canonical equilibrium, yielding dynamics that map onto the standard Metropolis evolution via simple time rescaling. Demonstrated on the 3D Edwards–Anderson spin glass, MicSA reproduces equilibrium and out-of-equilibrium results and achieves strong parallel performance on GPUs, with potential applicability to FPGAs and ASICs for extreme-scale simulations. The work suggests broad utility for disordered systems and optimization problems where random-number generation is a bottleneck, offering a practical path to scalable, low-noise Monte Carlo computing.
Abstract
Numerical simulations of models and theories that describe complex experimental systems $\unicode{x2014}$in fields like high-energy and condensed-matter physics$\unicode{x2014}$ are becoming increasingly important. Examples include lattice gauge theories, which can describe, among others, quantum chromodynamics (the Standard Model description of strong interactions between elementary particles), and spin-glass systems. Beyond fundamental research, these computational methods also find practical applications, among many others, in optimization, finance, and complex biological problems. However, Monte Carlo simulations, an important subcategory of these methods, are plagued by a major drawback: they are extremely greedy for (pseudo) random numbers. The total fraction of computer time dedicated to random-number generation increases as the hardware grows more sophisticated, and can get prohibitive for special-purpose computing platforms. We propose here a general-purpose microcanonical simulated annealing (MicSA) formalism that dramatically reduces such a burden. The algorithm is fully adapted to a massively parallel computation, as we show in the particularly demanding benchmark of the three-dimensional Ising spin glass. We carry out very stringent numerical tests of the new algorithm by comparing our results, obtained on GPUs, with high-precision standard (i.e., random-number-greedy) simulations performed on the Janus II custom-built supercomputer. In those cases where thermal equilibrium is reachable (i.e., in the paramagnetic phase), both simulations reach compatible values. More significantly, barring short-time corrections, a simple time rescaling suffices to map the MicSA off-equilibrium dynamics onto the results obtained with standard simulations.
