arXiv:2610.01432cond-mat.stat-mechOct 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2610.01432

Learning ab initio phase-field models

Mengyi Chen, Peichen Zhong, Zihan Zhang, Qianxiao Li

Mengyi Chen, 1^{1} Peichen Zhong, 2,3^{2,3} Zihan Zhang, 2^{2} and Qianxiao Li 1,3,†^{1,3,\dagger}

1^{1}Department of Mathematics, National University of Singapore, Singapore

2^{2}Department of Materials Science and Engineering, National University of Singapore, Singapore

3^{3}Institute for Functional Intelligent Materials, National University of Singapore, Singapore

(Dated: October 2, 2026)

Simulating microstructure evolution requires quantum-mechanical accuracy and mesoscopic reach in length and time scales, a combination that no current method achieves. Classical phase-field models provide this reach, but their accuracy is limited by phenomenological free energies and mobilities. Here we develop a framework for learning ab initio phase-field models, where the mesoscopic equation is not postulated but derived from a Mori–Zwanzig projection of molecular dynamics onto species-density fields under explicit assumptions. The nonlocal free energy and mobility left unspecified by this equation are parametrized by neural networks and learned from short molecular dynamics trajectories generated with machine-learning interatomic potentials of ab initio accuracy. We demonstrate the framework on an iron–boron melt and on hydrogen–helium mixtures under planetary conditions. For iron–boron, the model shows that the melt at the FeB₄ composition is spinodally unstable at ambient pressure but stabilized at 10 GPa, offering a thermodynamic rationale for why FeB₄ has been synthesized only under high pressure. For hydrogen–helium, the model predicts the immiscibility boundary and captures droplet nucleation and growth in helium-rain simulations of a column corresponding to 2.2 million atoms, far beyond the scale of atomistic modeling at comparable accuracy. Trained across compositions and conditions, such models could provide a mesoscopic counterpart to ab initio molecular dynamics.

Collective behavior in materials, including nucleation, phase separation and coarsening, emerges from microscopic interactions and spans length scales from nanometers to micrometers and time scales from nanoseconds to hours [1, 2]. Accurate and scalable simulation across these length and time scales is therefore central to understanding the underlying physical mechanisms. Ab initio atomistic simulations retain quantum-mechanical accuracy, but their computational cost limits access to these length and time scales [3]. Phase-field models enable scalable simulations by representing microstructure through continuous fields at mesoscopic scales and have been successful across a wide range of materials processes [4–8]. However, they rely on prescribed forms of the free energy and mobility, with a few coefficients fitted to experiments or to the very phenomena being predicted, resulting in a phenomenological description with limited predictive accuracy [8–10].

Accurate and scalable mesoscopic simulation therefore remains a grand challenge, motivating the development of ab initio phase-field (AIPF) models grounded in microscopic theory and data (Fig. 1). We use the term ab initio in the same spirit as in ab initio molecular dynamics (AIMD). In AIMD, the equations of nuclear motion follow from quantum mechanics under the Born–Oppenheimer approximation. The forces are computed using density functional theory (DFT), where the exchange–correlation functional is chosen from a ladder of systematically improvable approximations known as Jacob's ladder [11]. Similarly, for phase-field models to qualify as ab initio, we impose two corresponding requirements. First, the evolution equation is derived from microscopic dynamics under stated assumptions, without phenomenological prescriptions (Fig. 1a). Second, the free-energy functional and mobility are selected from ladders of systematically improvable models, with their parameters learned from microscopic data of ab initio accuracy (free-energy ladder in Fig. 1b).

Several attempts have been made to obtain the mesoscopic free energy from microscopic theory rather than from the phenomena it describes, and each occupies a rung of the free-energy ladder. At the lowest rung, phase-field models retain a prescribed basis expansion for the free energy and determine its few coefficients from static DFT calculations [9, 12]. At the next rung of the ladder, the basis expansion for the local free energy is replaced by a neural network trained on equilibrium chemical potentials [13, 14]. At both rungs, only the local free energy is obtained from microscopic calculations. The gradient coefficient that sets the interfacial energy and the mobility that sets the relaxation rate are fixed separately or prescribed. Neural classical density functional theory (cDFT) extends this hierarchy to nonlocal free-energy functionals learned from equilibrium data [15–17]. Learning these functionals typically requires hundreds to thousands of simulations under external potentials to sample diverse equilibrium profiles [15–17]. The computational cost restricts applications largely to simple model fluids, such as hard spheres and Lennard-Jones fluids, in planar geometries. Few extend to three-dimensional density fields [17], or to complex liquids such as water, using training data generated with machine-learning interatomic potentials (MLIPs) [16]. The learned equilibrium free-energy functionals have also been used to predict dynamics within dynamical density functional the-

† qianxiao@nus.edu.sg a

b

Figure

Figure 1. Ab initio phase-field models. a, The proposed ab initio phase-field (AIPF) model is ab initio in both its derivation and its learning, which start from quantum mechanics. The derivation proceeds from quantum mechanics to molecular dynamics under the Born–Oppenheimer approximation, then to a generalized Langevin equation through the Mori–Zwanzig formalism, and finally to the ab initio phase-field model under the stated assumptions. For the learning process, the AIPF model is trained on molecular dynamics trajectories generated with a machine-learning interatomic potential (MLIP) of ab initio accuracy. The free energy and mobility of the density field are parametrized by neural networks, with the free-energy functional chosen from the ladder in b. b, Ladder of free-energy functionals from exact statistical mechanics to phenomenology, where F splits into the known ideal-gas and external-potential parts and the unknown excess part FexcF_{exc}. Each lower rung introduces additional restrictions, reducing flexibility and training-data requirements. Rung 4 is a neural operator, with layer fields vlv_l starting from v0=ρv_0 = \rho, convolution kernels kl(r−r′,T)k_l(\mathbf{r} - \mathbf{r}', T), channel-mixing weights WlW_l, biases bl(T)b_l(T) and a pointwise nonlinearity σ\sigma. Rung 3, adopted in this work, restricts the excess free energy to a local free-energy density floc(ρ,T)f_{\text{loc}}(\boldsymbol{\rho}, T) plus a nonlocal kernel W(∣r−r′∣,T)\mathbf{W}(|\mathbf{r} - \mathbf{r}'|, T). Rung 2 approximates the nonlocal term by the Cahn–Hilliard square-gradient form with coefficient κ\kappa. Rung 1 further restricts the local free energy to a prescribed basis expansion in composition x, such as Landau polynomials or Redlich–Kister expansions, with coefficients cn(T)c_n(T).

ory, under the adiabatic approximation in which the equilibrium functional determines the instantaneous driving forces [18]. A few studies instead learn the free energy and mobility jointly from dynamics, but use lattice or chain models rather than ab initio data [19, 20]. All of these approaches seek an explicit mesoscopic equation. Multiscale coupling instead bypasses the mesoscopic equation and calls the microscopic solver at every macroscopic step [21, 22], so every new simulation still requires microscopic runs.

Despite these advances, an ab initio phase-field framework for accurately predicting both thermodynamics and dynamics remains to be established. Here, we present a framework for learning ab initio phase-field models. The mesoscopic equation follows from molecular dynamics (MD) under three assumptions: Markovian dynamics, local mobility and Gaussian fluctuating forces. The nonlocal free-energy functional and mobility are then learned jointly from MD trajectories generated using MLIPs of ab initio accuracy (Fig. 2). Recent advances in MLIPs, including foundation potentials trained on extensive datasets, make the required training data computationally accessible [23, 24]. Training requires only short MD trajectories of systems containing a few thousand atoms, generated without external potentials, making the approach data efficient. The learned AIPF model can then simulate much larger systems over longer times.

Ab initio phase-field models

We consider a multicomponent system in which each species α\alpha comprises NαN_{\alpha} atoms with positions rjα(t)\mathbf{r}_j^\alpha(t) and momenta pjα(t)\mathbf{p}_j^\alpha(t). The dynamics is simulated using an MLIP of ab initio accuracy. We describe each species α\alpha by a band-limited number-density field ρα(r,t)\rho_\alpha(\mathbf{r}, t). This density field is constructed by removing modes with ∣k∣>kcut|\mathbf{k}| > k_{\text{cut}} from the Fourier representation of the microscopic particle density and transforming the remaining modes back to real space. The cutoff sets the spatial resolution, retaining long-wavelength density variations associated with slow mesoscopic dynamics. We apply an exact Mori–Zwanzig projection onto these band-limited density fields, yielding a generalized Langevin equation (GLE) [25–27]. The GLE describes the evolution of the density fields through a memory-dependent response to the free-energy gradient, while a fluctuating force accounts for stochastic effects from unresolved degrees of freedom.

Although exact, the GLE is difficult to evaluate be-

Simulation

Learning

Inference

Figure

Figure 2. Framework for learning ab initio phase-field models. In the simulation stage, molecular dynamics with an MLIP propagates a configuration xtx_t over a short interval δt\delta t. In the learning stage, each configuration is coarse-grained into species density fields ρ\rho, from which neural networks with trainable parameters θ\theta output the local mobility MθM_\theta and the free-energy functional FθF_\theta. At inference, the thermodynamics follows from minimizing the learned functional and the dynamics from integrating the mesoscopic equation.

cause its memory kernel and fluctuating force are not directly accessible. We make three assumptions to reduce the GLE to a practical mesoscopic model. First, in many systems, such as simple fluids, fluid mixtures, and colloidal suspensions, a particle's velocity decorrelates within a few collisions, so the memory kernel decays far faster than the evolution of the resolved density modes [28, 29]. We therefore take the dynamics to be Markovian, replacing the memory kernel by its time integral, which we call the mobility [26, 27, 30]. Second, we restrict the mobility to depend only on the local densities, since fully nonlocal mobility is difficult to identify from data. Third, we assume the fluctuating force to be Gaussian conditional on the current density fields, with covariance fixed by the fluctuation-dissipation relation [28, 30, 31]. Under these three assumptions, the GLE reduces to the mesoscopic model (Methods, 'Theoretical derivation'),

∂tρ=∇⋅[M∇δFδρ]+∇⋅[2kBTMξ(r,t)],(1)\partial_{t}\boldsymbol{\rho}=\nabla\cdot\Big[\mathbf{M}\nabla\frac{\delta\mathcal{F}}{\delta\boldsymbol{\rho}}\Big]+\nabla\cdot\Big[\sqrt{2k_{\mathrm{B}}T\mathbf{M}}\boldsymbol{\xi}(\mathbf{r},t)\Big], \tag{1}

with M=M(ρ(r),T)\mathbf{M} = \mathbf{M}(\boldsymbol{\rho}(\mathbf{r}), T) the local mobility, F=F([ρ],T)\mathcal{F} = \mathcal{F}([\boldsymbol{\rho}], T) the free-energy functional, and ξ\boldsymbol{\xi} a unit Gaussian white noise. The dynamics admits the Boltzmann equilibrium distribution associated with F\mathcal{F}, and the most probable configurations satisfy the stationarity condition

δF([ρ],T)δρ=μ,(2)\frac{\delta\mathcal{F}([\boldsymbol{\rho}],T)}{\delta\boldsymbol{\rho}}=\boldsymbol{\mu}, \tag{2}

with μ\mu the constant chemical potentials.

Equation (1) fixes the form of the equation but leaves F\mathcal{F} and M\mathbf{M} unspecified. The free energy can be decomposed as F=Fexc+Fid+Fext\mathcal{F} = \mathcal{F}_{\mathrm{exc}} + \mathcal{F}_{\mathrm{id}} + \mathcal{F}_{\mathrm{ext}}, where the ideal-gas part Fid\mathcal{F}_{\mathrm{id}} and the external-potential part Fext\mathcal{F}_{\mathrm{ext}} are known exactly and the excess part Fexc\mathcal{F}_{\mathrm{exc}} accounts for interparticle interactions. We adopt rung 3 of Fig. 1b for Fexc\mathcal{F}_{\mathrm{exc}},

Fexc([ρ],T)=∫floc(ρ,T)dr+12∑αβ∬ρα(r)Wαβ(∣r−r′∣,T)ρβ(r′)drdr′,\begin{align*}\mathcal{F}_{\mathrm{exc}}([\boldsymbol{\rho}],T)&=\int f_{\mathrm{loc}}(\boldsymbol{\rho},T)\mathrm{d}\mathbf{r}\\&+\frac{1}{2}\sum_{\alpha\beta}\iint\rho_{\alpha}(\mathbf{r})W_{\alpha\beta}(|\mathbf{r}-\mathbf{r}^{\prime}|,T)\rho_{\beta}(\mathbf{r}^{\prime})\mathrm{d}\mathbf{r}\mathrm{d}\mathbf{r}^{\prime},\end{align*}

(3)

with flocf_{loc} a function of the local densities and WαβW_{\alpha\beta} the radial kernel between species α\alpha and β\beta. Rung 3 balances nonlocal expressiveness with data efficiency. Its nonlocal kernel extends the square-gradient term of rung 2 to the full wavevector dependence of the pair correlations, while its quadratic pair term provides a stronger physical prior than rung 4, reducing the amount of training data required. Under the assumption of local mobility, M depends only on the densities at the same point. As a parametrization choice, M is taken to be separable, a function of the densities scaled by a temperature factor. The temperature factor takes an Arrhenius form with learned activation energies when necessary (Methods, ‘Model parametrization’).

With the model parametrization specified, we learn Fexc,θ\mathcal{F}_{\mathrm{exc},\theta} and MθM_{\theta} from short MD trajectories of systems containing only a few thousand atoms, generated without external potentials (Fig. 2; Methods, ‘Training data’). We consider two kinds of initial configuration, homogeneous mixtures and slabs with interfaces between regions of different composition. We learn the dynamics from phase separation in the former and interface relaxation in the latter, where phase separation provides direct access to unstable states in the spinodal region. We estimate the density evolution over an interval δt\delta t longer than the microscopic memory time, so that a Markovian description applies, but short enough that the drift does not change appreciably. We match the deterministic part of Eq. (1) to the measured density evolution (Methods, ‘Training objective’). Fluctuations in homogeneous equilibrium trajectories provide additional constraints on the mobility and the curvature of the free energy (Methods, a

Figure

b

Figure 3. Binary Lennard-Jones mixture. a, Phase diagrams from the AIPF model and the Landau (upper small panel) and Flory–Huggins (lower small panel) baselines, compared with MD [32]. All models are trained on the same data using the same loss function and mobility parametrization, differing only in the form of the free-energy functional. b, Domain size L(t)L(t) at T=1.20T = 1.20 (3 seeds each), compared between MD and the three models, with L(t)L(t) defined in Supplemental Material, Section S3 A. Fits to L∝tβL \propto t^{\beta} give effective exponents βMD=0.225±0.022\beta_{\mathrm{MD}} = 0.225 \pm 0.022 and βAIPF=0.217±0.008\beta_{\mathrm{AIPF}} = 0.217 \pm 0.008.

‘Fluctuation-based measurements’).