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:2406.10012 · Machine Learning Science and Technology

Characterizing out-of-distribution generalization of neural networks: application to the disordered Su–Schrieffer–Heeger model

Kacper Cybiński, Marcin Płodzień, Michał Tomza, Maciej Lewenstein, Alexandre Dauphin, Anna Dawid

Published Jan 22, 2025• 12 citations
arXivHTMLPDF

Abstract

Machine learning (ML) is a promising tool for the detection of phases of matter. However, ML models are also known for their black-box construction, which hinders understanding of what they learn from the data and makes their application to novel data risky. Moreover, the central challenge of ML is to ensure its good generalization abilities, i.e. good performance on data outside the training set. Here, we show how the informed use of an interpretability method called class activation mapping, and the analysis of the latent representation of the data with the principal component analysis can increase trust in predictions of a neural network (NN) trained to classify quantum phases. In particular, we show that we can ensure better out-of-distribution (OOD) generalization in the complex classification problem by choosing such an NN that, in the simplified version of the problem, learns a known characteristic of the phase. We also discuss the characteristics of the data representation learned by a network that are predictors of its good OOD generalization. We show this on an example of the topological Su–Schrieffer–Heeger model with and without disorder, which turned out to be surprisingly challenging for NNs trained in a supervised way. This work is an example of how the systematic use of interpretability methods can improve the performance of NNs in scientific problems.

DOI
10.1088/2632-2153/ad9079

Related papers

Machine Learning Topological Invariants in Disordered Systems

Yang Yue, Zeming Fang, Ying Hu +1 more

The identification of topological phases in disordered systems is a significant field in condensed matter physics, where disorder breaks translational symmetry and invalidates conventional topological invariants defined in momentum space. Currently, machine learning offers promising alternatives in the identification of topological phases. In this work, by regarding the population dynamics as input data, we used feedforward neural networks (FNNs), vanilla recurrent neural networks (RNNs), and long short-term memory (LSTM) networks to identify the topology in the Su–Schrieffer–Heeger (SSH) model and the disordered SSH model, respectively. We also compared the identification capabilities of different neural networks using different input data. Our results show that FNN has the lowest training cost and a relatively high prediction accuracy. However, when increasing the time length and reducing the number of time points, vanilla RNN has higher prediction accuracy. Furthermore, we develop an interactive web-based tool, enabling real-time topological phase prediction based on user-specified parameters. This study not only lays the foundation for researchers to identify topology by using population dynamics as the input data of neural networks but also provides an accessible platform to support data-driven exploration of complex quantum phases.

Symmetry•Feb 15, 2026•1 citation

Applications of machine learning to studies of quantum phase transitions

Laura Malo Roset

In the past years Machine Learning has shown to be a useful tool in quantum many-body physics to detect phase transitions. Being able to identify phases via machine learning introduces the question of how did the algorithm learn to classify them, and thus how to interpret the model?s prediction. In this thesis we present a study of the transition from a normal insulator to a topological insulator. We study this quantum phase transition in the framework of the Su-Schrie?er-Heeger model. In the area of Deep Learning, we introduce two models, a normal convolutional neural network and a model based on deep residual learning. In particular, we focus on the interpretability of the model and its prediction by generating class activation maps (CAM) using a global average pooling (GAP) layer. We show the application of this technique by applying it on the model without disorder and with disorder. Here we give further analysis of the detection of states using transfer learning from no disordered to disordered systems. We conclude that the neural network is able to detect edge states when there is no disorder but unable to distinguish between edge states and Anderson localized states when disorder is introduced.

•Sep 6, 2019•5 citations

Replacing Neural Networks by Optimal Analytical Predictors for the Detection of Phase Transitions

Julian Arnold, Frank Schäfer

Identifying phase transitions and classifying phases of matter is central to understanding the properties and behavior of a broad range of material systems. In recent years, machine-learning (ML) techniques have been successfully applied to perform such tasks in a data-driven manner. However, the success of this approach notwithstanding, we still lack a clear understanding of ML methods for detecting phase transitions, particularly of those that utilize neural networks (NNs). In this work, we derive analytical expressions for the optimal output of three widely used NN-based methods for detecting phase transitions. These optimal predictions correspond to the results obtained in the limit of high model capacity. Therefore, in practice they can, for example, be recovered using sufficiently large, well-trained NNs. The inner workings of the considered methods are revealed through the explicit dependence of the optimal output on the input data. By evaluating the analytical expressions, we can identify phase transitions directly from experimentally accessible data without training NNs, which makes this procedure favorable in terms of computation time. Our theoretical results are supported by extensive numerical simulations covering, e.g., topological, quantum, and many-body localization phase transitions. We expect similar analyses to provide a deeper understanding of other classification tasks in condensed matter physics.

arXiv:2203.06084•Physical Review X•Sep 28, 2022•41 citations

Machine Learning-Driven Prediction of Phase Transitions in Advanced Condensed Matter Systems: A Review of Methods, Applications, and Open Challenges

Amit Ghas et al.

The identification and characterization of phase transitions is one of the oldest and most central problems in condensed matter physics, traditionally approached through order parameters, free-energy expansions, renormalization-group analysis, and direct numerical simulation. Over the past decade, machine learning (ML) has emerged as a complementary and, in some regimes, transformative methodology for this task. Supervised classifiers can learn to distinguish phases directly from raw configurations without an a priori order parameter; unsupervised and self-supervised techniques such as principal component analysis, autoencoders, and learning-by-confusion can locate transition points with minimal or no labeled data; and generative and variational architectures, including neural-network quantum states, now approximate ground-state wavefunctions of strongly correlated systems well beyond the reach of exact diagonalization. This paper reviews the theoretical foundations of phase transitions relevant to machine-learning applications, surveys the principal families of algorithms used to detect and classify phases, and examines their application across classical spin systems, percolation, topological and quantum phases, strongly correlated electron systems, and experimentally measured spectroscopic data. Representative case studies are discussed, including convolutional and graph-neural-network classifiers of lattice configurations, explainable-ML detection of thermodynamic transitions in photoemission spectra, and deep-learning-guided discovery of high-temperature superconductors. The review closes with a critical discussion of persistent challenges interpretability, data scarcity in correlated-electron experiments, generalization across Hamiltonians, and the reliability of learned order parameters near criticality and outlines directions for future research, including physics-informed architectures, uncertainty quantification, and closed-loop integration with autonomous experimentation.

The International Journal of Multiphysics•Dec 31, 2021•0 citations

Machine learning of topological insulator and Anderson insulator in the one-dimensional extended Su-Schrieffer-Heeger chain

Zhekai Yin, C. K. Ong

We study disorder effects in the extended Su-Schrieffer-Heeger model using a convolutional neural network (CNN) trained on reduced correlation matrices (RCMs) of disorder-free systems to predict winding number phase diagrams in systems with off-diagonal and diagonal disorder. The trained CNN model generalizes to a chiral-symmetry-preserving off-diagonal disorder system, but fails in the presence of a chiral-symmetry-breaking diagonal disorder system. Using principal component analysis of the RCM feature space, we demonstrate that disorder-free and symmetry-preserving systems share overlapping feature manifolds, whereas symmetry-breaking disorder causes them to diverge. Inverse participation ratio (IPR) and energy-spectrum analyses further demonstrate that off-diagonal disorder preserves topological edge states, whereas diagonal disorder drives a transition to an Anderson insulator. Our results show that the out-of-distribution behavior of a CNN trained on clean systems can be understood through the evolution of the RCM feature space under symmetry-preserving and symmetry-breaking disorder, with IPR and energy-spectrum analyses providing the corresponding physical interpretation.

arXiv:2603.11688•Physical review. B./Physical review. B•Jul 6, 2026•0 citations

Phase detection with neural networks: interpreting the black box

Anna Dawid, Patrick Huembeli, Michał Tomza +2 more

Neural networks (NNs) usually hinder any insight into the reasoning behind their predictions. We demonstrate how influence functions can unravel the black box of NN when trained to predict the phases of the one-dimensional extended spinless Fermi–Hubbard model at half-filling. Results provide strong evidence that the NN correctly learns an order parameter describing the quantum transition in this model. We demonstrate that influence functions allow to check that the network, trained to recognize known quantum phases, can predict new unknown ones within the data set. Moreover, we show they can guide physicists in understanding patterns responsible for the phase transition. This method requires no a priori knowledge on the order parameter, has no dependence on the NN’s architecture or the underlying physical model, and is therefore applicable to a broad class of physical models or experimental data.

arXiv:2004.04711•New Journal of Physics•Nov 1, 2020•47 citations
Machine learning (ML) is a promising tool for the detection of phases of matter. However, ML models are also known for their black-box construction, which hinders understanding of what they learn from the data and makes their application to novel data risky. Moreover, the central challenge of ML is to ensure its good generalization abilities, i.e. good performance on data outside the training set. Here, we show how the informed use of an interpretability method called class activation mapping, and the analysis of the latent representation of the data with the principal component analysis can increase trust in predictions of a neural network (NN) trained to classify quantum phases. In particular, we show that we can ensure better out-of-distribution (OOD) generalization in the complex classification problem by choosing such an NN that, in the simplified version of the problem, learns a known characteristic of the phase. We also discuss the characteristics of the data representation learned by a network that are predictors of its good OOD generalization. We show this on an example of the topological Su–Schrieffer–Heeger model with and without disorder, which turned out to be surprisingly challenging for NNs trained in a supervised way. This work is an example of how the systematic use of interpretability methods can improve the performance of NNs in scientific problems.
The identification of topological phases in disordered systems is a significant field in condensed matter physics, where disorder breaks translational symmetry and invalidates conventional topological invariants defined in momentum space. Currently, machine learning offers promising alternatives in the identification of topological phases. In this work, by regarding the population dynamics as input data, we used feedforward neural networks (FNNs), vanilla recurrent neural networks (RNNs), and long short-term memory (LSTM) networks to identify the topology in the Su–Schrieffer–Heeger (SSH) model and the disordered SSH model, respectively. We also compared the identification capabilities of different neural networks using different input data. Our results show that FNN has the lowest training cost and a relatively high prediction accuracy. However, when increasing the time length and reducing the number of time points, vanilla RNN has higher prediction accuracy. Furthermore, we develop an interactive web-based tool, enabling real-time topological phase prediction based on user-specified parameters. This study not only lays the foundation for researchers to identify topology by using population dynamics as the input data of neural networks but also provides an accessible platform to support data-driven exploration of complex quantum phases.
In the past years Machine Learning has shown to be a useful tool in quantum many-body physics to detect phase transitions. Being able to identify phases via machine learning introduces the question of how did the algorithm learn to classify them, and thus how to interpret the model?s prediction. In this thesis we present a study of the transition from a normal insulator to a topological insulator. We study this quantum phase transition in the framework of the Su-Schrie?er-Heeger model. In the area of Deep Learning, we introduce two models, a normal convolutional neural network and a model based on deep residual learning. In particular, we focus on the interpretability of the model and its prediction by generating class activation maps (CAM) using a global average pooling (GAP) layer. We show the application of this technique by applying it on the model without disorder and with disorder. Here we give further analysis of the detection of states using transfer learning from no disordered to disordered systems. We conclude that the neural network is able to detect edge states when there is no disorder but unable to distinguish between edge states and Anderson localized states when disorder is introduced.
Identifying phase transitions and classifying phases of matter is central to understanding the properties and behavior of a broad range of material systems. In recent years, machine-learning (ML) techniques have been successfully applied to perform such tasks in a data-driven manner. However, the success of this approach notwithstanding, we still lack a clear understanding of ML methods for detecting phase transitions, particularly of those that utilize neural networks (NNs). In this work, we derive analytical expressions for the optimal output of three widely used NN-based methods for detecting phase transitions. These optimal predictions correspond to the results obtained in the limit of high model capacity. Therefore, in practice they can, for example, be recovered using sufficiently large, well-trained NNs. The inner workings of the considered methods are revealed through the explicit dependence of the optimal output on the input data. By evaluating the analytical expressions, we can identify phase transitions directly from experimentally accessible data without training NNs, which makes this procedure favorable in terms of computation time. Our theoretical results are supported by extensive numerical simulations covering, e.g., topological, quantum, and many-body localization phase transitions. We expect similar analyses to provide a deeper understanding of other classification tasks in condensed matter physics.
The identification and characterization of phase transitions is one of the oldest and most central problems in condensed matter physics, traditionally approached through order parameters, free-energy expansions, renormalization-group analysis, and direct numerical simulation. Over the past decade, machine learning (ML) has emerged as a complementary and, in some regimes, transformative methodology for this task. Supervised classifiers can learn to distinguish phases directly from raw configurations without an a priori order parameter; unsupervised and self-supervised techniques such as principal component analysis, autoencoders, and learning-by-confusion can locate transition points with minimal or no labeled data; and generative and variational architectures, including neural-network quantum states, now approximate ground-state wavefunctions of strongly correlated systems well beyond the reach of exact diagonalization. This paper reviews the theoretical foundations of phase transitions relevant to machine-learning applications, surveys the principal families of algorithms used to detect and classify phases, and examines their application across classical spin systems, percolation, topological and quantum phases, strongly correlated electron systems, and experimentally measured spectroscopic data. Representative case studies are discussed, including convolutional and graph-neural-network classifiers of lattice configurations, explainable-ML detection of thermodynamic transitions in photoemission spectra, and deep-learning-guided discovery of high-temperature superconductors. The review closes with a critical discussion of persistent challenges interpretability, data scarcity in correlated-electron experiments, generalization across Hamiltonians, and the reliability of learned order parameters near criticality and outlines directions for future research, including physics-informed architectures, uncertainty quantification, and closed-loop integration with autonomous experimentation.
We study disorder effects in the extended Su-Schrieffer-Heeger model using a convolutional neural network (CNN) trained on reduced correlation matrices (RCMs) of disorder-free systems to predict winding number phase diagrams in systems with off-diagonal and diagonal disorder. The trained CNN model generalizes to a chiral-symmetry-preserving off-diagonal disorder system, but fails in the presence of a chiral-symmetry-breaking diagonal disorder system. Using principal component analysis of the RCM feature space, we demonstrate that disorder-free and symmetry-preserving systems share overlapping feature manifolds, whereas symmetry-breaking disorder causes them to diverge. Inverse participation ratio (IPR) and energy-spectrum analyses further demonstrate that off-diagonal disorder preserves topological edge states, whereas diagonal disorder drives a transition to an Anderson insulator. Our results show that the out-of-distribution behavior of a CNN trained on clean systems can be understood through the evolution of the RCM feature space under symmetry-preserving and symmetry-breaking disorder, with IPR and energy-spectrum analyses providing the corresponding physical interpretation.
Neural networks (NNs) usually hinder any insight into the reasoning behind their predictions. We demonstrate how influence functions can unravel the black box of NN when trained to predict the phases of the one-dimensional extended spinless Fermi–Hubbard model at half-filling. Results provide strong evidence that the NN correctly learns an order parameter describing the quantum transition in this model. We demonstrate that influence functions allow to check that the network, trained to recognize known quantum phases, can predict new unknown ones within the data set. Moreover, we show they can guide physicists in understanding patterns responsible for the phase transition. This method requires no a priori knowledge on the order parameter, has no dependence on the NN’s architecture or the underlying physical model, and is therefore applicable to a broad class of physical models or experimental data.