SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.10012 · 2024

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

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 13 functions out of this paper's own repositories and ran 4 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

FunctionStatusWhere it lives
Thermometer Ran kcybinski/interpreting_nns_for_topological_phases_of_matter/src/thermometer_encoding.py
pointer only (licence: NONE) · get_code("5cc1278ad1a88e4f")
compute_covariance Ran kcybinski/interpreting_nns_for_topological_phases_of_matter/src/coral.py
pointer only (licence: NONE) · get_code("8d382550d35731fb")
coral Ran kcybinski/interpreting_nns_for_topological_phases_of_matter/src/coral.py
pointer only (licence: NONE) · get_code("8000cd8b01b06ba5")
get_preds_from_model Ran kcybinski/interpreting_nns_for_topological_phases_of_matter/src/utils.py
pointer only (licence: NONE) · get_code("01b90d0e11981a1e")
calc_Dim Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/data_generation.py
pointer only (licence: NONE) · get_code("bafa2aa6a204ba9f")
calc_dim_tab Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/data_generation.py
pointer only (licence: NONE) · get_code("82c643b9633d049d")
get_tensor_basis Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/data_generation.py
pointer only (licence: NONE) · get_code("91884918abc54a17")
one_hot Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/thermometer_encoding.py
pointer only (licence: NONE) · get_code("63052d81412770ae")
one_hot_to_thermometer Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/thermometer_encoding.py
pointer only (licence: NONE) · get_code("518b0ded87c400a4")
prepare_dfs Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/utils.py
pointer only (licence: NONE) · get_code("822c059c5f109d5b")
returnCAM Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/cam_utils.py
pointer only (licence: NONE) · get_code("34fd79e9c20497fd")
test_model Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/utils.py
pointer only (licence: NONE) · get_code("1dcac578d4759333")
upsample_CAM Not yet run kcybinski/interpreting_nns_for_topological_phases_of_matter/src/cam_utils.py
pointer only (licence: NONE) · get_code("14456da0d059f968")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

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 (CAM), and the analysis of the latent representation of the data with the principal component analysis (PCA) 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 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 show this on an example of the topological Su-Schrieffer-Heeger (SSH) 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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.10012")
get_code_for_paper("2406.10012")
have("2406.10012")

Connect an agent — have() is free.