arXiv:2609.02948cond-mat.mtrl-sciSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.02948

FrOGS: Discrete Neural Sampler for Independent Alloy Configurations Across Chemical Conditions

Kyucheol Min, Elyssa Hofgard, Tess Smidt

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Predicting the thermodynamic properties of an alloy requires sampling its configurations across many chemical conditions and recovering free energies on a common absolute scale. Markov chain Monte Carlo (MCMC) is the standard tool, but it requires separate simulations at different conditions, and auxiliary free-energy methods such as thermodynamic integration are used to place results on a common absolute scale. Modern discrete neural samplers typically use reverse KL divergence as the objective and can be mode-seeking or biased. We present Free energy Offering Generative Sampler (FrOGS), a hybrid discrete neural sampler that couples an autoregressive model to a continuous-time Markov chain (CTMC) to be trained jointly under a single shared loss. FrOGS draws i.i.d. configurations, returns an unbiased estimate of the partition function, and gives consistent estimates of thermodynamic observables. We train a single model across a wide range of chemical conditions to produce estimates on a common absolute free-energy scale. FrOGS matches exact finite-size results on the 2D Ising model and reference phase diagrams for AgPd and CuAu, without mode collapse. We additionally compare to SEGAL, a published autoregressive baseline, and find that only FrOGS recovers the stability range of the CuAu3_3 phase.

1 Introduction

Sampling the different ways constituent atoms can occupy sites in an alloy according to their energetics is a core task in computational materials science, enabling the prediction of thermodynamic behavior and material properties. The established framework for predicting the properties of an alloy consists of two steps: (1) fitting a computationally inexpensive cluster expansion (CE) to computationally expensive first-principles data such as density functional theory (DFT) calculations [Sanchez et al., 1984, Connolly and Williams, 1983]; (2) sampling with Markov chain Monte Carlo (MCMC) in the semi-grand canonical (SGC) ensemble on the CE to obtain thermodynamic averages. Integrating the averages over the chemical condition (Δμ,T\Delta\mu, T) [van de Walle and Asta, 2002] gives free energies and phase diagrams, where Δμ\Delta\mu is the difference in chemical potential between two atomic species and TT is the temperature.

MCMC is a well-established method, yet it has known drawbacks. A Markov chain is built to sample one specific target distribution at a given (Δμ,T\Delta\mu, T), and its updates are inherently sequential. Thus, to obtain the phase diagram across chemical conditions, one must do separate MCMC runs. The free energies are then obtained only through an auxiliary calculation that places the separate runs on a common absolute scale [van de Walle and Asta, 2002]. Additionally, near phase boundaries, MCMC may require more steps to produce reasonable configurations [Berg and Neuhaus, 1991, Wolff, 1989].

Neural samplers have been proposed to address some of the drawbacks of MCMC. However, they can miss entire modes of the target distribution without increasing its loss, a failure known as mode

Preprint.

Figure

(a)

Figure

(b)

Figure 1: (a) FrOGS model architecture. FrOGS couples the continuous-time Markov chain (CTMC) transport (blue), which is based on the LEAPS algorithm, to an autoregressive network (purple) to flexibly model the prior. The cells with a red circle on the upper right side mark the neural-network-parametrized parts of the framework. (b) Architecture of the rate matrix network for the CTMC transport. The encoder and decoder blocks are described in the main text (§4.3).

collapse. This is a known consequence of training using the reverse KL divergence [Minka, 2005, Soletskyi et al., 2025]. To address these limitations, we introduce the Free energy Offering Generative Sampler (FrOGS), which builds upon the Locally Equivariant discrete Annealed Proactive Sampler (LEAPS) framework [Holderrieth et al., 2025].

In §2, we review previous work on neural sampling and complementary MCMC approaches. In §3, we review background on the LEAPS framework and present our model in §4. In §5, we confirm that FrOGS reproduces the exact finite-size thermodynamics of the 2D Ising model and reconstructs the phase diagrams of AgPd and CuAu. We additionally compare to a prior autoregressive model [Damewood et al., 2022] and find that FrOGS more accurately reconstructs the phase diagrams for AgPd and CuAu.

Our main contributions are:

  • One trained sampler for the entire c=(Δμ,T)c = (\Delta\mu, T) region. A single trained FrOGS model samples microstates across chemical conditions cc on a common absolute scale. Feature-wise

Linear Modulation (FiLM) conditioning on cc, which provably preserves local equivariance, enables a single model to generate samples at each chemical condition.

  • Hybrid architecture. FrOGS takes a novel approach of coupling an autoregressive network as a prior to the neural CTMC transport via a shared loss. The prior absorbs the discontinuity at a first-order boundary, enabling the representation of multiple phases with one model, as discussed in §4.1. The downstream CTMC part is the learned generalization of annealed importance sampling [Neal, 2001, Holderrieth et al., 2025], thereby refining the proposal the prior makes.

  • Effective sampling in the multimodal regime without mode collapse. By comparing the free energy at fixed composition (§A.4), we recover the miscibility gap of AgPd and the regions of all three ordered phases of CuAu, attesting to the accuracy of the free-energy prediction even near the phase boundaries.

  • Extending the LEAPS framework. We generalize the LEAPS framework to be applicable to real chemical systems. A locally equivariant multi-scale head lets the network capture long-range interactions, and the reparametrization of the rate matrix avoids the numerically unstable density ratio computation at low temperatures.

References (39)