Phase-field models derived from molecular dynamics, with the free-energy functional and mobility learned from ab initio data.
1Department of Mathematics, National University of Singapore
2Department of Materials Science and Engineering, National University of Singapore
3Institute for Functional Intelligent Materials, National University of Singapore
*Corresponding author
We derive the mesoscopic equation from a Mori–Zwanzig projection of molecular dynamics onto species-density fields under explicit assumptions, rather than postulating it.
We train on short molecular dynamics trajectories of a few thousand atoms, generated with machine-learning interatomic potentials of ab initio accuracy, without external potentials.
We learn from the dynamics of demixing and interface relaxation rather than from equilibrium sampling, which is data efficient and gives direct access to the spinodal region.
We select the free-energy functional and mobility from ladders of systematically improvable models, with their parameters learned jointly from the same dynamics.
We develop ab initio phase-field (AIPF) models, grounded in microscopic theory and data. The term ab initio is used in the same spirit as in ab initio molecular dynamics (AIMD). In AIMD,
So what makes a phase-field model ab initio? Hover a column of the figure below.
Derivation and learning
Ab initio in both its derivation and its learning. Both start from quantum mechanics.
Hover a column.
Derivation
Learning
The excess free energy carries all interparticle correlations. From exact statistical mechanics down to phenomenology, each lower rung restricts its form further. Hover or tap a rung to see its functional form.
Exact statistical mechanics
The ideal-gas part and the external-potential part are known exactly, with the thermal wavelength. The excess part accounts for interparticle interactions, and every rung below is an approximation of it.
Rung 4 · Neural operator
A neural operator, with layer fields , convolution kernels , channel-mixing weights , biases and a pointwise nonlinearity.
Rung 3 · Nonlocal kernel this work
Here is a function of the local densities and the radial kernel between species and . The kernel extends the square-gradient term of rung 2 to the full wavevector dependence of the pair correlations.
Rung 2 · Cahn–Hilliard
The Cahn–Hilliard square-gradient form with coefficient .
Rung 1 · Basis expansion
A prescribed basis expansion in composition , with basis functions such as Landau polynomials or Redlich–Kister terms and coefficients .
Two examples
Exact statistical mechanics
The exact Mori–Zwanzig projection gives a generalized Langevin equation with a memory kernel, which describes how the density at the current time is affected by its past. The mobility is the time integral of this kernel, and every rung below approximates it.
Rung 4 · Nonlocal mobility
The mobility couples every pair of points and depends on the whole density field.
Rung 3 · Local mobility this work
The mobility depends only on the densities and temperature at the same point. The construction makes symmetric and positive semidefinite.
Rung 2 · Prescribed density dependence
The density dependence is fixed in advance, and only a few constants are fitted.
Examples
Rung 1 · Constant mobility
A constant mobility, fixed separately or prescribed, as in standard phase-field models. It sets the relaxation rate but carries no dependence on density or composition.
Data generation. Short molecular dynamics trajectories of small systems containing a few thousand atoms, driven by a machine-learning interatomic potential of ab initio accuracy, without external potentials. The trajectories start from unstable homogeneous mixtures or slabs and are coarse-grained into species-density fields.
Training. The free energy and mobility, parametrized by neural networks, are learned jointly by matching the deterministic part of the mesoscopic equation to the measured evolution of the density fields,
Fluctuations in homogeneous equilibrium trajectories provide additional constraints on the mobility and the curvature of the free energy.
Inference. The free energy alone gives the phase diagram. Together with the mobility, it gives fluctuating phase-field dynamics at length and time scales that molecular dynamics cannot reach without parallelization.
A preliminary check of the framework on a symmetric binary Lennard-Jones mixture under overdamped Langevin dynamics. Below the critical temperature the mixture demixes spontaneously within the spinodal region. The AIPF model is compared with two rung 1 baselines, Landau and Flory–Huggins, trained on the same data with the same loss and mobility parametrization.
Dynamics
FeB4 is predicted to be thermodynamically stable, but its synthesis has been reported only under high pressure. One route to solid-state synthesis proceeds through a transient melt at the interface between two solid precursors, which requires the melt at the target composition to be locally stable. A single AIPF model of the Fe–B melt is learned at 0, 5 and 10 GPa, and the curvature of its Gibbs free energy of mixing is quantified by the thermodynamic factor
with for a locally stable melt and inside the spinodal region.
By learning from the dynamics, the AIPF model accesses the spinodal region directly, resolving the negative curvature inaccessible to equilibrium fluctuation measurements.
Hydrogen–helium mixtures make up most of the mass of gas giants such as Jupiter and Saturn. Inside them, helium is hypothesized to become immiscible in metallic hydrogen and settle as droplets toward the planetary center, a process known as helium rain. Whether and where it occurs depends on the immiscibility boundary, and its evolution on the kinetics of droplet nucleation, growth and transport. A single AIPF model spans 200 to 800 GPa and 2000 to 12 000 K.
Thermodynamics
Helium rain in gas giants
The model captures droplet nucleation and growth in helium-rain simulations of a domain corresponding to 2.2 million atoms, far beyond the scale of atomistic modeling at comparable accuracy.
Dynamics simulation
If you use this code, please cite the paper.
@article{chen2026aipf,
title = {Learning ab initio phase-field models},
author = {Chen, Mengyi and Zhong, Peichen and Zhang, Zihan and Li, Qianxiao},
journal = {arXiv preprint arXiv:2610.01432},
year = {2026},
doi = {10.48550/arXiv.2610.01432},
url = {https://arxiv.org/abs/2610.01432}
}