Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Log inSign up
Challenges
Datasets
Workspaces
Papers
Discussions
Leaderboard
Blog
Job Board
Q3AS

© 2026 Aqora Quantum S.A.S.

TermsPrivacyLegal Notice

arXiv:1812.01522 · Progress of Theoretical and Experimental Physics

Phase transition encoded in neural network

Kouji Kashiwa, Yuta Kikuchi, Akio Tomiya

Published Aug 1, 2019• 34 citations
arXivHTMLPDF

Abstract

Abstract We discuss an aspect of neural networks for the purpose of phase transition detection. To this end, we first train the neural network by feeding Ising/Potts configurations with labels of temperature so that it can predict the temperature of the input. We do not explicitly supervise whether the configurations are in the ordered/disordered phase. Nevertheless, we can identify the critical temperature from the parameters (weights and biases) of the trained neural network. We attempt to understand how temperature-supervised neural networks capture information on the phase transition by paying attention to what quantities they learn. Our detailed analyses reveal that they learn different physical quantities depending on how well they are trained. The main observation in this study is how the weights in the trained neural network can have information on the phase transition in addition to temperature.

DOI
10.1093/ptep/ptz082

Related papers

Deep learning of phase transitions with minimal examples

A. M. Abuali, David A. Clarke, Morten Hjorth-Jensen +3 more

Over the past several years, there have been many studies demonstrating the ability of deep neural networks to identify phase transitions in many physical systems, notably in classical statistical physics systems. One often finds that the prediction of deep learning methods trained on many ensembles below and above the critical temperature T_{c} behaves similarly to an order parameter, and this analogy has been successfully used to locate T_{c} and estimate universal critical exponents. In this work, we pay particular attention to the ability of a convolutional neural network to capture these critical parameters for the two-dimensional Ising model when the network is trained on configurations at T=0 and T=∞ only. We directly compare its output to the same network trained at multiple temperatures below and above T_{c} to gain understanding of how this extreme restriction of training data can impact a neural network's ability to classify phases. We find that the network trained on two temperatures is still able to identify T_{c} and ν, while the extraction of γ becomes more challenging.

arXiv:2501.05547•Physical review. E•Aug 20, 2025•6 citations

Can a CNN trained on the Ising model detect the phase transition of the q-state Potts model?

Kimihiko Fukushima, Kazumitsu Sakai

Abstract Employing a deep convolutional neural network (deep CNN) trained on spin configurations of the 2D Ising model and the temperatures, we examine whether the deep CNN can detect the phase transition of the 2D $q$-state Potts model. To this end, we generate binarized images of spin configurations of the $q$-state Potts model ($q\ge 3$) by replacing the spin variables $\{0,1,\ldots,\lfloor q/2\rfloor-1\}$ and $\{\lfloor q/2\rfloor,\ldots,q-1\}$ with $\{0\}$ and $\{1\}$, respectively. Then, we input these images to the trained CNN to output the predicted temperatures. The binarized images of the $q$-state Potts model are entirely different from Ising spin configurations, particularly at the transition temperature. Moreover, our CNN model is not trained on the information about whether phases are ordered/disordered but is naively trained by Ising spin configurations labeled with temperatures at which they are generated. Nevertheless, the deep CNN can detect the transition point with high accuracy, regardless of the type of transition. We also find that, in the high-temperature region, the CNN outputs the temperature based on the internal energy, whereas, in the low-temperature region, the output depends on the magnetization and possibly the internal energy as well. However, in the vicinity of the transition point, the CNN may use more general factors to detect the transition point.

arXiv:2104.03632•Progress of Theoretical and Experimental Physics•Apr 30, 2021•15 citations

Smallest neural network to learn the Ising criticality

Dongkyu Kim, DH Kim

Learning with an artificial neural network encodes the system behavior in a feed-forward function with a number of parameters optimized by data-driven training. An open question is whether one can minimize the network complexity without loss of performance to reveal how and why it works. Here we investigate the learning of the phase transition in the Ising model and find that having two hidden neurons can be enough for an accurate prediction of critical temperature. We show that the networks learn the scaling dimension of the order parameter while being trained as a phase classifier, demonstrating how the machine learning exploits the Ising universality to work for different lattices of the same criticality within a single set of trainings in one lattice geometry.

arXiv:1804.02171•Physical review. E•Aug 31, 2018•56 citations

Machine-learning detection of the Berezinskii-Kosterlitz-Thouless transition and the second-order phase transition in XXZ models

Yusuke Miyajima, Masahito Mochizuki

We propose two machine-learning methods based on neural networks, which we respectively call the phase-classification method and the temperature-identification method, for detecting different types of phase transitions in the XXZ models without prior knowledge of their critical temperatures. The XXZ models have exchange couplings which are anisotropic in the spin space where the strength is represented by a parameter $\mathrm{\ensuremath{\Delta}}(>0)$. The models exhibit second-order phase transition when $\mathrm{\ensuremath{\Delta}}>1$, but the Berezinskii-Kosterlitz-Thouless (BKT) phase transition when $\mathrm{\ensuremath{\Delta}}<1$. In the phase-classification method, the neural network is trained using spin or vortex configurations of well-known classical spin models other than the XXZ models, e.g., the Ising models and the XY models, to classify those of the XXZ models to corresponding phases. We demonstrate that the trained neural network successfully detects the phase transitions for both $\mathrm{\ensuremath{\Delta}}>1$ and $\mathrm{\ensuremath{\Delta}}<1$, and the evaluated critical temperatures coincide well with those evaluated by conventional numerical calculations. In the temperature-identification method, on the other hand, the neural network is trained so as to identify temperatures at which the input spin or vortex configurations are generated by the Monte Carlo thermalization. The critical temperatures are evaluated by analyzing the optimized weight matrix, which coincides with the result of numerical calculation for the second-order phase transition in the Ising-like XXZ model with $\mathrm{\ensuremath{\Delta}}=1.05$ but cannot be determined uniquely for the BKT transition in the XY-like XXZ model with $\mathrm{\ensuremath{\Delta}}=0.95$.

arXiv:2304.08871•Physical review. B./Physical review. B•Apr 17, 2023•14 citations

Learning the phase transitions of two-dimensional Potts model with a pre-trained one-dimensional neural network

Yuan-Heng Tseng, Fu-Jiun Jiang

Conventionally, the training of a neural network for learning phases of matter uses real physical quantities as the training set. However, it has been demonstrated in several studies that this may not be required. Here we investigate the phase transitions of the two-dimensional (2D) q-state Potts models on the square lattice using a pre-trained neural network (NN). The employed NN was trained previously using two artifically made configurations as the training set. Hence no training is conducted for the present study. Remarkably, the used NN not only calculates the critical points of the considered phase transitions precisely, but also determines the nature of these phase transition definitely without ambiguity. Our results as well as the outcomes found previously suggest that training a NN using real physical quantities as the training set is not required to obtain a working NN. These unconventional studies also imply that if the configuration space of a system can be classified into two categories, then the NN considered here is likely applicable to study the phase transition of that system. Comparison between our approach and other known NN methods for studying the 2D q-state Potts models is briefly discussed as well.

Results in Physics•Dec 13, 2023•6 citations

Parameter diagnostics of phases and phase transition learning by neural networks

Philippe Suchsland, Stefan Weßel

We present an analysis of neural network-based machine learning schemes for phases and phase transitions in theoretical condensed matter research, focusing on neural networks with a single hidden layer. Such shallow neural networks were previously found to be efficient in classifying phases and locating phase transitions of various basic model systems. In order to rationalize the emergence of the classification process and for identifying any underlying physical quantities, it is feasible to examine the weight matrices and the convolutional filter kernels that result from the learning process of such shallow networks. Furthermore, we demonstrate how the learning-by-confusing scheme can be used, in combination with a simple threshold-value classification method, to diagnose the learning parameters of neural networks. In particular, we study the classification process of both fully-connected and convolutional neural networks for the two-dimensional Ising model with extended domain wall configurations included in the low-temperature regime. Moreover, we consider the two-dimensional XY model and contrast the performance of the learning-by-confusing scheme and convolutional neural networks trained on bare spin configurations to the case of preprocessed samples with respect to vortex configurations. We discuss these findings in relation to similar recent investigations and possible further applications.

arXiv:1802.09876•Physical review. B./Physical review. B•May 31, 2018•78 citations
Abstract We discuss an aspect of neural networks for the purpose of phase transition detection. To this end, we first train the neural network by feeding Ising/Potts configurations with labels of temperature so that it can predict the temperature of the input. We do not explicitly supervise whether the configurations are in the ordered/disordered phase. Nevertheless, we can identify the critical temperature from the parameters (weights and biases) of the trained neural network. We attempt to understand how temperature-supervised neural networks capture information on the phase transition by paying attention to what quantities they learn. Our detailed analyses reveal that they learn different physical quantities depending on how well they are trained. The main observation in this study is how the weights in the trained neural network can have information on the phase transition in addition to temperature.
Over the past several years, there have been many studies demonstrating the ability of deep neural networks to identify phase transitions in many physical systems, notably in classical statistical physics systems. One often finds that the prediction of deep learning methods trained on many ensembles below and above the critical temperature T_{c} behaves similarly to an order parameter, and this analogy has been successfully used to locate T_{c} and estimate universal critical exponents. In this work, we pay particular attention to the ability of a convolutional neural network to capture these critical parameters for the two-dimensional Ising model when the network is trained on configurations at T=0 and T=∞ only. We directly compare its output to the same network trained at multiple temperatures below and above T_{c} to gain understanding of how this extreme restriction of training data can impact a neural network's ability to classify phases. We find that the network trained on two temperatures is still able to identify T_{c} and ν, while the extraction of γ becomes more challenging.
Abstract Employing a deep convolutional neural network (deep CNN) trained on spin configurations of the 2D Ising model and the temperatures, we examine whether the deep CNN can detect the phase transition of the 2D qqq-state Potts model. To this end, we generate binarized images of spin configurations of the qqq-state Potts model (q≥3q\ge 3q≥3) by replacing the spin variables {0,1,…,⌊q/2⌋−1}\{0,1,\ldots,\lfloor q/2\rfloor-1\}{0,1,…,⌊q/2⌋−1} and {⌊q/2⌋,…,q−1}\{\lfloor q/2\rfloor,\ldots,q-1\}{⌊q/2⌋,…,q−1} with {0}\{0\}{0} and {1}\{1\}{1}, respectively. Then, we input these images to the trained CNN to output the predicted temperatures. The binarized images of the qqq-state Potts model are entirely different from Ising spin configurations, particularly at the transition temperature. Moreover, our CNN model is not trained on the information about whether phases are ordered/disordered but is naively trained by Ising spin configurations labeled with temperatures at which they are generated. Nevertheless, the deep CNN can detect the transition point with high accuracy, regardless of the type of transition. We also find that, in the high-temperature region, the CNN outputs the temperature based on the internal energy, whereas, in the low-temperature region, the output depends on the magnetization and possibly the internal energy as well. However, in the vicinity of the transition point, the CNN may use more general factors to detect the transition point.
Learning with an artificial neural network encodes the system behavior in a feed-forward function with a number of parameters optimized by data-driven training. An open question is whether one can minimize the network complexity without loss of performance to reveal how and why it works. Here we investigate the learning of the phase transition in the Ising model and find that having two hidden neurons can be enough for an accurate prediction of critical temperature. We show that the networks learn the scaling dimension of the order parameter while being trained as a phase classifier, demonstrating how the machine learning exploits the Ising universality to work for different lattices of the same criticality within a single set of trainings in one lattice geometry.
We propose two machine-learning methods based on neural networks, which we respectively call the phase-classification method and the temperature-identification method, for detecting different types of phase transitions in the XXZ models without prior knowledge of their critical temperatures. The XXZ models have exchange couplings which are anisotropic in the spin space where the strength is represented by a parameter $\mathrm{\ensuremath{\Delta}}(>0)$. The models exhibit second-order phase transition when $\mathrm{\ensuremath{\Delta}}>1$, but the Berezinskii-Kosterlitz-Thouless (BKT) phase transition when $\mathrm{\ensuremath{\Delta}}<1$. In the phase-classification method, the neural network is trained using spin or vortex configurations of well-known classical spin models other than the XXZ models, e.g., the Ising models and the XY models, to classify those of the XXZ models to corresponding phases. We demonstrate that the trained neural network successfully detects the phase transitions for both $\mathrm{\ensuremath{\Delta}}>1$ and $\mathrm{\ensuremath{\Delta}}<1$, and the evaluated critical temperatures coincide well with those evaluated by conventional numerical calculations. In the temperature-identification method, on the other hand, the neural network is trained so as to identify temperatures at which the input spin or vortex configurations are generated by the Monte Carlo thermalization. The critical temperatures are evaluated by analyzing the optimized weight matrix, which coincides with the result of numerical calculation for the second-order phase transition in the Ising-like XXZ model with $\mathrm{\ensuremath{\Delta}}=1.05$ but cannot be determined uniquely for the BKT transition in the XY-like XXZ model with $\mathrm{\ensuremath{\Delta}}=0.95$.
Conventionally, the training of a neural network for learning phases of matter uses real physical quantities as the training set. However, it has been demonstrated in several studies that this may not be required. Here we investigate the phase transitions of the two-dimensional (2D) q-state Potts models on the square lattice using a pre-trained neural network (NN). The employed NN was trained previously using two artifically made configurations as the training set. Hence no training is conducted for the present study. Remarkably, the used NN not only calculates the critical points of the considered phase transitions precisely, but also determines the nature of these phase transition definitely without ambiguity. Our results as well as the outcomes found previously suggest that training a NN using real physical quantities as the training set is not required to obtain a working NN. These unconventional studies also imply that if the configuration space of a system can be classified into two categories, then the NN considered here is likely applicable to study the phase transition of that system. Comparison between our approach and other known NN methods for studying the 2D q-state Potts models is briefly discussed as well.
We present an analysis of neural network-based machine learning schemes for phases and phase transitions in theoretical condensed matter research, focusing on neural networks with a single hidden layer. Such shallow neural networks were previously found to be efficient in classifying phases and locating phase transitions of various basic model systems. In order to rationalize the emergence of the classification process and for identifying any underlying physical quantities, it is feasible to examine the weight matrices and the convolutional filter kernels that result from the learning process of such shallow networks. Furthermore, we demonstrate how the learning-by-confusing scheme can be used, in combination with a simple threshold-value classification method, to diagnose the learning parameters of neural networks. In particular, we study the classification process of both fully-connected and convolutional neural networks for the two-dimensional Ising model with extended domain wall configurations included in the low-temperature regime. Moreover, we consider the two-dimensional XY model and contrast the performance of the learning-by-confusing scheme and convolutional neural networks trained on bare spin configurations to the case of preprocessed samples with respect to vortex configurations. We discuss these findings in relation to similar recent investigations and possible further applications.