Interpolation and differentiation of alchemical degrees of freedom in machine learning interatomic potentials
Juno Nam, Jiayu Peng, Rafael Gómez-Bombarelli
TL;DR
This work introduces continuous alchemical degrees of freedom within graph-based interatomic potentials by augmenting the input graph with alchemical atoms weighted by a compositional vector $\bm{\lambda}$. The approach yields end-to-end differentiability with respect to composition, enabling gradient-based optimization and efficient nonequilibrium free-energy calculations via thermodynamic integration along alchemical pathways. The authors demonstrate the method on solid-solution representations, solid-solution disorder energetics, and alchemical free-energy calculations for vacancies and phase transformations, achieving accurate interpolation beyond Vegard’s law and faster convergence than traditional methods like Frenkel–Ladd. The framework offers a scalable avenue to model compositional disorder, optimize material compositions for targeted properties, and quantify composition-dependent thermodynamics using pre-trained universal MLIPs.
Abstract
Machine learning interatomic potentials (MLIPs) have become a workhorse of modern atomistic simulations, and recently published universal MLIPs, pre-trained on large datasets, have demonstrated remarkable accuracy and generalizability. However, the computational cost of MLIPs limits their applicability to chemically disordered systems requiring large simulation cells or to sample-intensive statistical methods. Here, we report the use of continuous and differentiable alchemical degrees of freedom in atomistic materials simulations, exploiting the fact that graph neural network MLIPs represent discrete elements as real-valued tensors. The proposed method introduces alchemical atoms with corresponding weights into the input graph, alongside modifications to the message-passing and readout mechanisms of MLIPs, and allows smooth interpolation between the compositional states of materials. The end-to-end differentiability of MLIPs enables efficient calculation of the gradient of energy with respect to the compositional weights. With this modification, we propose methodologies for optimizing the composition of solid solutions towards target macroscopic properties, characterizing order and disorder in multicomponent oxides, and conducting alchemical free energy simulations to quantify the free energy of vacancy formation and composition changes. The approach offers an avenue for extending the capabilities of universal MLIPs in the modeling of compositional disorder and characterizing the phase stability of complex materials systems.
