Out-of-distribution Neural Inference in Dynamical Ising Models

Yuan-Bin Zhu, Shuang Qiao, Shi-Ju Ran
7/3/2026
cs.LGcond-mat.stat-mech
transformer-attention

No confident code implementation found for this paper.

Abstract

Neural networks are increasingly used to infer hidden physical structure from dynamical observations, yet it remains unclear whether their out-of-distribution performance reflects transferable physical rule learning. We address this question in a controlled inverse problem: reconstructing interaction graphs of a kinetic Ising model from Glauber magnetization trajectories.

Show full abstract

Across convolutional, graph, Transformer, and hybrid architectures, we find that data-driven training produces distinct and reproducible statistical strategies under topology and temperature shifts. Edge-population diagnostics reveal that Transformer-based models tend to preserve the link density of the training ensemble, whereas convolutional models can collapse toward sparse- or no-link predictions that appear out-of-distribution stable by exploiting the majority no-link class. Thus, high in-distribution accuracy and apparent out-of-distribution robustness do not necessarily imply a learned dynamics-to-structure rule. Instead, neural reconstruction can be governed by architecture-dependent statistical priors. Our results identify a concrete failure mode of standard data-driven learning in physical inverse problems and motivate rule-guided principles for machine-learning-assisted scientific discovery.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhu2026outofdistribution,
  title  = {Out-of-distribution Neural Inference in Dynamical Ising Models},
  author = {Yuan-Bin Zhu and Shuang Qiao and Shi-Ju Ran},
  year   = {2026},
  eprint = {2607.03039},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.03039v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.03039.svg)](https://codeofpaper.com/paper/2607.03039)

Discussion