Scaling Autoregressive Models for Lattice Thermodynamics
Organizations: Department of Chemical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA · Department of Materials Science and Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA
Abstract
Predicting how materials behave under realistic conditions requires understanding the statistical distribution of atomic configurations on crystal lattices, a problem central to alloy design, catalysis, and the study of phase transitions. Traditional Markov-chain Monte Carlo sampling suffers from slow convergence and critical slowing down near phase transitions, motivating the use of generative models that directly learn the thermodynamic distribution. Existing autoregressive models (ARMs), however, generate configurations in a fixed sequential order and incur high memory and training costs, limiting their applicability to realistic systems. Here, we develop a framework combining any-order ARMs, which generate configurations flexibly by conditioning on any known subset of lattice sites, with marginalization models (MAMs), which approximate the probability of any partial configuration in a single forward pass and substantially reduce memory requirements. This combination enables models trained on smaller lattices to be reused for sampling larger systems, while supporting expressive Transformer architectures with lattice-aware positional encodings at manageable computational cost. We demonstrate that Transformer-based any-order MAMs achieve more accurate free energies than multilayer perceptron-based ARMs on both the two-dimensional Ising model and CuAu alloys, faithfully capturing phase transitions and critical behavior. Overall, our framework scales from to Ising systems and from to CuAu supercells at reduced computational cost compared to conventional sampling methods.
Figures & tables
Autoregressive Modeling
Autoregressive modeling predicts sequences step by step from prior context, spanning language, time series, images, audio, and scientific simulations.
See all 82 papers