Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Detecting the three-dimensional Ising model phase transition with a ground-state-trained autoencoder

Ahmed Abuali1,*, David A. Clarke2,†, Morten Hjorth-Jensen3,‡, Ioannis Konstantinidis4, Claudia Ratti1, and Jianyi Yang4

  • *Contact author: amabuali@uh.edu; ahmed.abuali1975@gmail.com
  • †Contact author: clarke.davida@gmail.com
  • ‡Contact author: mhjensen@uio.no

APS Open Sci. 1, 000072 – Published 27 July, 2026

DOI: https://doi.org/10.1103/h8n4-94g4

Abstract

We develop a one-class, deep-learning framework to detect the phase transition and recover critical behavior of the three-dimensional (3D) Ising model. A 3D convolutional autoencoder (CAE) is trained on ground-state configurations only, without prior knowledge of the critical temperature, the Hamiltonian, or the order parameter. After training, the model is applied to Monte Carlo configurations across a wide temperature range and different lattice sizes. The mean-square reconstruction error is shown to be sensitive to the transition. Finite-size scaling of the peak location for the reconstruction error susceptibility yields the critical temperature Tc=4.5128(58), in excellent agreement with the known value. Additionally, we obtain an estimate of the correlation-length critical exponent, ν=0.63(27), also consistent with results from the literature. Our results show that a one-class CAE, trained on zero-temperature configurations only, can recover nontrivial critical behavior of the 3D Ising model.

View figure in article

Physics Subject Headings (PhySH)

Article Text

References (62)

  1. J. Carrasquilla and R. G. Melko, Machine learning phases of matter, Nat. Phys. 13, 431 (2017).
  2. C.-D. Li, D.-R. Tan, and F.-J. Jiang, Applications of neural networks to the studies of phase transitions of two-dimensional Potts models, Ann. Phys. 391, 312 (2018).
  3. G. Cossu, L. Del Debbio, T. Giani, A. Khamseh, and M. Wilson, Machine learning determination of dynamical parameters: The Ising model case, Phys. Rev. B 100, 064304 (2019).
  4. S. S. Funai and D. Giataganas, Thermodynamics and feature extraction by machine learning, Phys. Rev. Res. 2, 033415 (2020).
  5. D. R. Tan, C. D. Li, W. P. Zhu, and F. J. Jiang, A comprehensive neural networks study of the phase transitions of Potts model, New J. Phys. 22, 063016 (2020).
  6. D. Bachtis, G. Aarts, and B. Lucini, Extending machine learning classification capabilities with histogram reweighting, Phys. Rev. E 102, 033303 (2020).
  7. N. Walker, K.-M. Tam, and M. Jarrell, Deep learning on the 2-dimensional Ising model to extract the crossover region with a variational autoencoder, Sci. Rep. 10, 13047 (2020).
  8. S.-W. Li, Y.-H. Tseng, M.-C. Hsieh, and F.-J. Jiang, Minimal training set for training a successful CNN: A case study of the frustrated J1−J2 Ising model on the square lattice, Prog. Theor. Exp. Phys. 2025, 113A02 (2025).
  9. A. Abuali, D. A. Clarke, M. Hjorth-Jensen, I. Konstantinidis, C. Ratti, and J. Yang, Deep learning of phase transitions with minimal examples, Phys. Rev. E 112, 035315 (2025).
  10. L. Wang, Discovering phase transitions with unsupervised learning, Phys. Rev. B 94, 195105 (2016).
  11. W. Hu, R. R. P. Singh, and R. T. Scalettar, Discovering phases, phase transitions, and crossovers through unsupervised machine learning: A critical examination, Phys. Rev. E 95, 062122 (2017).
  12. S. J. Wetzel, Unsupervised learning of phase transitions: From principal component analysis to variational autoencoders, Phys. Rev. E 96, 022140 (2017).
  13. J. F. Rodriguez-Nieva and M. S. Scheurer, Identifying topological order through unsupervised machine learning, Nat. Phys. 15, 790 (2019).
  14. C. Alexandrou, A. Athenodorou, C. Chrysostomou, and S. Paul, The critical temperature of the 2D-Ising model through deep learning autoencoders, Eur. Phys. J. B 93, 226 (2020).
  15. X.-Q. Han, S.-S. Xu, Z. Feng, R.-Q. He, and Z.-Y. Lu, Framework for contrastive learning phases of matter based on visual representations, Chin. Phys. Lett. 40, 027501 (2023).
  16. B. Çivitcioğlu, R. A. Römer, and A. Honecker, Phase determination with and without deep learning, Phys. Rev. E 111, 024131 (2025).
  17. I. Jang and A. Yethiraj, Unsupervised machine learning method for the phase behavior of the constant magnetization Ising model in two and three dimensions, J. Phys. Chem. B 129, 532 (2025).
  18. G. Aarts et al., Phase transitions in particle physics: Results and perspectives from lattice quantum chromo-dynamics, Prog. Part. Nucl. Phys. 133, 104070 (2023).
  19. D. Kim and D.-H. Kim, Smallest neural network to learn the Ising criticality, Phys. Rev. E 98, 022138 (2018).
  20. K. Ch'ng, N. Vazquez, and E. Khatami, Unsupervised machine learning account of magnetic transitions in the Hubbard model, Phys. Rev. E 97, 013306 (2018).
  21. R. Zhang, B. Wei, D. Zhang, J.-J. Zhu, and K. Chang, Few-shot machine learning in the three-dimensional Ising model, Phys. Rev. B 99, 094427 (2019).
  22. X. Li, R. Guo, Y. Zhou, K. Liu, J. Zhao, F. Long, Y. Wu, and Z. Li, Machine learning phase transitions of the three-dimensional Ising universality class, Chin. Phys. C 47, 034101 (2023).
  23. R. Guo, X. Li, R. Wang, S. Chen, Y. Wu, and Z. Li, Exploring percolation phase transition in the three-dimensional Ising model with machine learning, Chin. Phys. C 49, 054103 (2025).
  24. R. K. Panda, R. Verdel, A. Rodriguez, H. Sun, G. Bianconi, and M. Dalmonte, Non-parametric learning critical behavior in Ising partition functions: PCA entropy and intrinsic dimension, SciPost Phys. Core 6, 086 (2023).
  25. L. Onsager, Crystal statistics. 1. A two-dimensional model with an order disorder transition, Phys. Rev. 65, 117 (1944).
  26. J. Adler, Critical temperatures of the d = 3, s = 1/2 Ising model; the effect of confluent corrections to scaling, J. Phys. A: Math. Gen. 16, 3585 (1983).
  27. G. S. Pawley, R. H. Swendsen, D. J. Wallace, and K. G. Wilson, Monte Carlo renormalization group calculations of critical behavior in the simple cubic Ising model, Phys. Rev. B 29, 4030 (1984).
  28. M. N. Barber, R. B. Pearson, D. Toussaint, and J. L. Richardson, Finite size scaling in three-dimensional Ising model, Phys. Rev. B 32, 1720 (1985).
  29. F. Livet, The cluster updating Monte Carlo algorithm applied to the 3-d Ising problem, Europhys. Lett. 16, 139 (1991).
  30. N. Ito and M. Suzuki, Monte Carlo study of the spontaneous magnetization of the three-dimensional Ising model, J. Phys. Soc. Jpn. 60, 1978 (1991).
  31. H. Blöte and G. Kamieniarz, Finite-size calculations on the three-dimensional Ising model, Physica A 196, 455 (1993).
  32. D. Landau, Computer simulation studies of critical phenomena, Physica A 205, 41 (1994).
  33. H. W. J. Blote, E. Luijten, and J. R. Heringa, Ising universality in three dimensions: A Monte Carlo study, J. Phys. A: Math. Gen. 28, 6289 (1995).
  34. A. L. Talapov and H. W. J. Blote, The magnetization of the 3-D Ising model, J. Phys. A: Math. Gen. 29, 5727 (1996).
  35. R. Gupta and P. Tamayo, Critical exponents of the 3-D Ising model, Int. J. Mod. Phys. C 07, 305 (1996).
  36. J.-K. Kim, A. J. F. de Souza, and D. P. Landau, Numerical computation of finite size scaling functions: An alternative approach to finite size scaling, Phys. Rev. E 54, 2291 (1996).
  37. P. Butera and M. Comi, N vector spin models on the sc and the bcc lattices: A study of the critical behavior of the susceptibility and of the correlation length by high temperature series extended to order beta(21), Phys. Rev. B 56, 8212 (1997).
  38. P. Butera and M. Comi, Renormalized couplings and scaling correction amplitudes in the N vector spin models on the sc and the bcc lattices, Phys. Rev. B 58, 11552 (1998).
  39. Z. Salman and J. Adler, High and low temperature series estimates for the critical temperature of the 3-D Ising model, Int. J. Mod. Phys. C 09, 195 (1998).
  40. H. W. J. Blote, L. N. Shchur, and A. L. Talapov, The cluster processor: New results, Int. J. Mod. Phys. C 10, 1137 (1999).
  41. M. Hasenbusch, Finite size scaling study of lattice models in the three-dimensional Ising universality class, Phys. Rev. B 82, 174433 (2010).
  42. B. Nickel, Hyperscaling and universality in 3 dimensions, Physica A 106, 48 (1981).
  43. B. G. Nickel and J. J. Rehr, High-temperature series for scalar-field lattice models: Generation and analysis, J. Stat. Phys. 61, 1 (1990).
  44. M. Hasenbusch and K. Pinn, Computing the roughening transition of Ising and solid-on-solid models by BCSOS model matching, J. Phys. A: Math. Gen. 30, 63 (1997).
  45. M. Hasenbusch, K. Pinn, and S. Vinti, Critical exponents of the three-dimensional Ising universality class from finite-size scaling with standard and improved actions, Phys. Rev. B 59, 11471 (1999).
  46. H. G. Ballesteros, L. A. Fernandez, V. Martin-Mayor, A. Munoz-Sudupe, G. Parisi, and J. J. Ruiz-Lorenzo, Scaling corrections: Site percolation and Ising model in three-dimensions, J. Phys. A: Math. Gen. 32, 1 (1999).
  47. M. Campostrini, A. Pelissetto, P. Rossi, and E. Vicari, Improved high temperature expansion and critical equation of state of three-dimensional Ising-like systems, Phys. Rev. E 60, 3526 (1999).
  48. M. Hasenbusch, A Monte Carlo study of leading order scaling corrections of ϕ4 theory on a three-dimensional lattice, J. Phys. A: Math. Gen. 32, 4851 (1999).
  49. M. Campostrini, A. Pelissetto, P. Rossi, and E. Vicari, 25th order high temperature expansion results for three-dimensional Ising like systems on the simple cubic lattice, Phys. Rev. E 65, 066127 (2002).
  50. S. El-Showk, M. F. Paulos, D. Poland, S. Rychkov, D. Simmons-Duffin, and A. Vichi, Solving the 3d Ising model with the conformal bootstrap II. C-minimization and precise critical exponents, J. Stat. Phys. 157, 869 (2014).
  51. F. Kos, D. Poland, D. Simmons-Duffin, and A. Vichi, Precision islands in the Ising and O(N) models, J. High Energy Phys. 08 (2016) 036.
  52. C. Bonanno, A. Cappelli, M. Kompaniets, S. Okuda, and K. J. Wiese, Benchmarking the Ising universality class in 3≤d<4 dimensions, SciPost Phys. 14, 135 (2023).
  53. C.-H. Chang, V. Dommes, R. S. Erramilli, A. Homrich, P. Kravchuk, A. Liu, M. S. Mitchell, D. Poland, and D. Simmons-Duffin, Bootstrapping the 3d Ising stress tensor, J. High Energy Phys. 03 (2025) 136.
  54. These averages are not meant to be exhaustive: Our goal is to have high-precision results to benchmark against that incorporate recent papers.
  55. D. A. Clarke, L. Altenkort, J. Goswami, and H. Sandmeyer, Streamlined data analysis in Python, PoS LATTICE2023, 136 (2024).
  56. LatticeQCD, AnalysisToolbox, GitHub, 2026, https://github.com/LatticeQCD/AnalysisToolbox.
  57. J. Wojtkiewicz and K. Kalinowski, Monte Carlo simulations of the Ising model on GPU, CMST 21, 69 (2015).
  58. In fact, depending on the ML observable used as pseudo-order parameter/order parameter analog, β may not be determinable even in principle. For example, observables that quantify the probability of belonging to a particular phase cannot be used to extract β [9].
  59. CAE Ising3D public code repository, https://github.com/clarkedavida/CAE_Ising3D.
  60. M. Abadi et al., TensorFlow: Large-scale machine learning on heterogeneous systems, 2015, software available from https://www.tensorflow.org.
  61. F. Chollet et al., Keras, 2015, https://keras.io.
  62. Compared to standard ReLU, LeakyReLU maintains a nonzero gradient for negative inputs, which improves training stability and preserves sensitivity to both signs of the spin field. This is particularly important for autoencoders operating on ±1 spin configurations and for reconstruction-based anomaly detection.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation