Proceedings

A First Runtime Analysis of Parallel Tempering in Quadratic Optimization

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 6343-6351.

https://doi.org/10.24963/ijcai.2026/706

Abstract

Parallel tempering, or the replica exchange method, is a Markov Chain Monte Carlo (MCMC) sampling technique for finding low-energy states in complex landscapes by executing multiple processes at different temperatures and allowing for states to migrate between parallel processes based on the Metropolis criterion. Despite a growing interest in the technique as a randomized search heuristic, it is not clear when and why parallel tempering is effective. We conduct a first runtime analysis of the parallel tempering algorithm on a simple quadratic unconstrained binary optimization problem that induces a rugged energy landscape with tunable parameters. We prove that a single-temperature Metropolis process fails to efficiently optimize the problem at any temperature. In sharp contrast, a two-state parallel tempering approach using a low and a high temperature typically solves the problem in O(n^2 log n) iterations. The low-temperature process ensures stability, as it is unlikely to accept worsenings, whereas the high-temperature process facilitates exploration by traversing energy barriers. Improvements are discovered through exploration in the high-temperature process and transferred to the low-temperature process, where they are permanently retained. This effective interplay between processes demonstrates the power of parallel tempering and lends credence to its design.

  1. [Alba et al., 2013] Enrique Alba, Gabriel Luque, and Sergio Nesmachnow. Parallel metaheuristics: recent advances and new trends. International Transactions in Operational Research, 20(1):1-48, 2013.
  2. [Almeida et al., 2025] André Luís Barroso Almeida, Jou- bert de Castro Lima, and Marco Antonio Moreira Car- valho. Revisiting the parallel tempering algorithm: High- performance computing and applications in operations re- search. Computers & Operations Research, 178:107000, June 2025.
  3. [Aramon et al., 2019] Maliheh Aramon, Gili Rosenberg, Elisabetta Valiante, Toshiyuki Miyazawa, Hirotaka Tamura, and Helmut G. Katzgraber. Physics-Inspired Op- timization for Quadratic Unconstrained Problems Using a Digital Annealer. Frontiers in Physics, 7, April 2019.
  4. [Černý, 1985] Vladimir Černý. Thermodynamical approach to the traveling salesman problem: An efficient simulation algorithm. Journal of Optimization Theory and Applica- tions, 45(1):41-51, January 1985.
  5. [Doerr and Goldberg, 2013] Benjamin Doerr and Leslie Ann Goldberg. Adaptive drift analysis. Algorithmica, 65:224- 250, 2013.
  6. [Doerr et al., 2023] Benjamin Doerr, Taha El Ghazi El Hous- saini, Amirhossein Rajabi, and Carsten Witt. How well does the Metropolis algorithm cope with local optima? In Proceedings of the Genetic and Evolutionary Computation Conference, GECCO '23, pages 1000-1008, New York, NY, USA, July 2023. Association for Computing Machin- ery.
  7. [Geyer, 1991] Charles J. Geyer. Markov chain Monte Carlo maximum likelihood. In Elaine M. Keramidas and Selma M. Kaufman, editors, Proceedings on the Twenty- Third Symposium on the Interface of Computing Science and Statistics, pages 156-163, 1991.
  8. [Habeck et al., 2005] Michael Habeck, Michael Nilges, and Wolfgang Rieping. Replica-exchange Monte Carlo scheme for Bayesian data analysis. Physical Review Let- ters, 94(1), January 2005.
  9. [Hansmann, 1997] Ulrich H. E. Hansmann. Parallel tem- pering algorithm for conformational studies of biological molecules. Chemical Physics Letters, 281(1):140-150, December 1997.
  10. [Hastings, 1970] Wilfred K. Hastings. Monte Carlo sam- pling methods using Markov chains and their applications. Biometrika, 57(1):97-109, 1970.
  11. [Jansen and Wegener, 2007] Thomas Jansen and Ingo We- gener. A comparison of simulated annealing with a sim- ple evolutionary algorithm on pseudo-boolean functions of unitation. Theoretical Computer Science, 386(1):73-93, October 2007.
  12. [Jerrum and Sorkin, 1998] Mark Jerrum and Gregory B. Sorkin. The Metropolis algorithm for graph bisection. Dis- crete Applied Mathematics, 82(1):155-175, March 1998.
  13. [Kirkpatrick et al., 1983] Scott Kirkpatrick, C. Daniel Gelatt, and Mario P. Vecchi. Optimization by simulated annealing. Science, 220(4598):671-680, May 1983.
  14. [Lässig and Sudholt, 2013] Jörg Lässig and Dirk Sudholt. Design and analysis of migration in parallel evolutionary algorithms. Soft Computing, 17(7):1121-1144, 2013.
  15. [Lissovoi et al., 2023] Andrei Lissovoi, Pietro S. Oliveto, and John Alasdair Warwicker. When move acceptance se- lection hyper-heuristics outperform Metropolis and elitist evolutionary algorithms and when not. Artificial Intelli- gence, 314:103804, January 2023.
  16. [Luque and Alba, 2011] Gabriel Luque and Enrique Alba. Parallel Genetic Algorithms: Theory and Real World Applications. Studies in Computational Intelligence. Springer, 2011.
  17. [Mambrini et al., 2012] Andrea Mambrini, Dirk Sudholt, and Xin Yao. Homogeneous and heterogeneous island models for the set cover problem. In Carlos A. Coello Coello, Vincenzo Cutello, Kalyanmoy Deb, Stephanie Forrest, Giuseppe Nicosia, and Mario Pavone, editors, Proceedings of the Twelfth International Conference on Parallel Problem Solving from Nature (PPSN XII), pages 11-20, Berlin, Heidelberg, 2012. Springer.
  18. [Marinari and Parisi, 1992] Enzo Marinari and Giorgio Parisi. Simulated tempering: A new Monte Carlo scheme. Europhysics Letters (EPL), 19(6):451-458, July 1992.
  19. [Metropolis et al., 1953] Nicholas Metropolis, Arianna W. Rosenbluth, Marshall N. Rosenbluth, Augusta H. Teller, and Edward Teller. Equation of state calculations by fast computing machines. The Journal of Chemical Physics, 21(6):1087-1092, June 1953.
  20. [Mitzenmacher and Upfal, 2017] Michael Mitzenmacher and Eli Upfal. Probability and Computing. Cambridge University Press, second edition, 2017.
  21. [Oliveto and Witt, 2011] Pietro S. Oliveto and Carsten Witt. Simplified drift analysis for proving lower bounds in evolutionary computation. Algorithmica, 59(3):369-386, 2011.
  22. [Oliveto and Witt, 2012] Pietro S. Oliveto and Carsten Witt. Erratum: Simplified drift analysis for prov- ing lower bounds in evolutionary computation. CoRR, abs/1211.7184, 2012.
  23. [Oliveto et al., 2018] Pietro S. Oliveto, Tiago Paixão, Jorge Pérez Heredia, Dirk Sudholt, and Barbora Trubenová. How to escape local optima in black box optimisation: When non-elitism outperforms elitism. Algorithmica, 80(5):1604-1633, May 2018.
  24. [Poelwijk et al., 2011] Frank J. Poelwijk, Sorin Tȃnase- Nicola, Daniel J. Kiviet, and Sander J. Tans. Recip- rocal sign epistasis is a necessary condition for multi- peaked fitness landscapes. Journal of Theoretical Biology, 272(1):141-144, 2011.
  25. [Rowe and Sudholt, 2014] Jonathan E. Rowe and Dirk Sud- holt. The choice of the offspring population size in the (1,λ) evolutionary algorithm. Theoretical Computer Sci- ence, 545:20-38, 2014.
  26. [Sasaki and Hajek, 1988] Galen H. Sasaki and Bruce Hajek. The time complexity of maximum matching by simulated annealing. J. ACM, 35(2):387-403, April 1988.
  27. [Sudholt, 2015] Dirk Sudholt. Parallel evolutionary algo- rithms. In Janusz Kacprzyk and Witold Pedrycz, editors, Springer Handbook of Computational Intelligence, pages 929-959. Springer Berlin Heidelberg, Berlin, Heidelberg, 2015.
  28. [Swendsen and Wang, 1986] Robert H. Swendsen and Jian- Sheng Wang. Replica Monte Carlo simulation of spin- glasses. Physical Review Letters, 57(21):2607-2609, November 1986.
  29. [Wang et al., 2024] Shouda Wang, Weijie Zheng, and Ben- jamin Doerr. Choosing the right algorithm with hints from complexity theory. Information and Computation, 296:105125, January 2024. IJCAI
  30. [Wegener, 2005] Ingo Wegener. Simulated annealing beats Metropolis in combinatorial optimization. In Luís Caires, Giuseppe F. Italiano, Luís Monteiro, Catuscia Palamidessi, and Moti Yung, editors, Automata, Languages and Pro- gramming, pages 589-601, Berlin, Heidelberg, 2005. Springer.
  31. [Zheng et al., 2024] Weijie Zheng, Mingfeng Li, Renzhong Deng, and Benjamin Doerr. How to use the Metropolis al- gorithm for multi-objective optimization? In Proceedings of the Thirty-Eighth AAAI Conference on Artificial Intelli- gence, volume 38 of AAAI'24, pages 20883-20891. AAAI Press, February 2024.
  32. [Zhu et al., 2020] Zheng Zhu, Chao Fang, and Helmut G. Katzgraber. borealis-A generalized global update algo- rithm for Boolean optimization problems. Optimization Letters, 14(8):2495-2514, November 2020.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards