Physica Scripta
Inverse Ising problem: attention-guided physics-regularized reconstruction of corrupted spin configurations
Partha Sarathi Bishnu
Abstract
Abstract Objective. Reconstructing clean spin configurations from corrupted or partially observed lattice data is an important inverse problem in statistical physics and scientific machine learning. This paper proposes an attention-guided physics -regularized deep learning framework to reconstruct corrupted two-dimensional Ising spin configurations. Approach. The proposed framework receives a degraded spin lattice together with its corresponding observation mask and jointly reconstructs the unknown spin configuration while estimating its global thermodynamic state. A convolutional encoder–decoder with residual connections and spatial attention is employed to recover the underlying clean spin field. Physical consistency is enforced during training through a composite objective combining reconstruction fidelity with constraints on energy ( E ), absolute magnetization ( | M | ), second-neighbor correlation ( C 2 ) at lattice separation r l = 2 , and binary spin consistency, together with temperature regression and phase classification. Main results. Experiments on Monte Carlo generated datasets for lattice sizes L show that the proposed model achieves a high reconstruction accuracy of approximately 0.88 , with an observed-spin accuracy around 0.90 and a missing-spin accuracy around 0.83 . The model also attains a low temperature prediction error, with the mean absolute error decreasing from 0.197 ( L = 32 ) to 0.088 ( L = 128 ), together with strong phase classification performance ranging from 0.985 to 0.999 . Significance. The reconstructed configurations preserve key thermodynamic observables across temperature, including magnetization, energy, correlation, and heat capacity, demonstrating that the framework successfully maintains physical consistency while performing inverse reconstruction from corrupted Ising data.