Abstract
Classical density functional theory (cDFT) and dynamical density functional theory (DDFT) are modern statistical mechanical theories for modeling many-body colloidal systems at the one-body density level. The theories hinge on knowing the excess free-energy accurately, which is however not feasible for most practical applications. Dijkman et al. [Phys. Rev. Lett. 134, 056103 (2025)] recently showed how a neural excess free-energy functional for cDFT can be learned from bulk simulations via pair-correlation matching. In this article, we demonstrate how this same functional can be applied to DDFT, without any retraining, to simulate non-equilibrium overdamped dynamics of inhomogeneous densities. We evaluate this on a 3D Lennard-Jones system with planar geometry under various complex external potentials and observe good agreement of the dynamical densities with those from expensive Brownian dynamic simulations, up to the limit of the adiabatic approximation. We further develop and apply an extension of DDFT based on gradient flows, to a grand-canonical system modeled after breakthrough gas adsorption studies, finding similarly good agreement. Our results demonstrate a practical route for leveraging learned free-energy functionals in DDFT, paving the way for accurate and efficient modeling of many-body non-equilibrium systems.
Introduction
Predicting the time-evolution of interacting particle systems, such as colloids or gases, is a fundamental challenge in soft matter physics and chemical engineering. Dynamical Density Functional Theory (DDFT) provides a robust framework for modeling these systems at the one-body density level. However, the accuracy of DDFT is strictly tied to the excess free-energy functional, $\mathcal{F}_{exc}$, which captures complex inter-particle interactions. For most realistic systems, the exact form of this functional is unknown, leading researchers to rely on crude analytical approximations.
Recent advances in machine learning have enabled the "learning" of these functionals. However, many models require extensive datasets of particles in diverse, complex environments to achieve generalization. This paper investigates whether a functional learned solely from the simplest possible data—uniform bulk fluids—can accurately predict the behavior of complex, non-equilibrium systems.
Methodology: Pair-Correlation Matching
The authors utilize a technique called "pair-correlation matching" to train a neural excess free-energy functional. The functional is represented by a Convolutional Neural Network (CNN). Rather than training on complex inhomogeneous "scenes," the network is trained exclusively on the radial distribution functions of uniform bulk fluids. By matching the network's second functional derivative to the direct correlation function derived from these bulk simulations, the model learns the underlying physics of particle interactions.
This learned functional is then integrated into the DDFT equation. Under the "adiabatic approximation," the system is assumed to locally resemble an equilibrium state even while in motion. Furthermore, the authors extend DDFT to open systems—where particle number is not conserved—by adopting a gradient flow perspective using the Wasserstein-Fisher-Rao metric to model systems connected to a reservoir.
Key Results and Insights
The most significant finding is that a network trained only on bulk data generalizes remarkably well to highly inhomogeneous densities. Whether particles are packed against walls or subjected to complex external potentials, the neural DDFT approach tracks reference Brownian Dynamics (BD) simulations with high precision, significantly outperforming standard analytical approximations like Fundamental Measure Theory.
Beyond accuracy, the computational efficiency is transformative. For closed systems, the neural DDFT reached equilibrium in approximately 25 seconds, whereas the averaged BD simulations required 34 hours. In open systems, such as those modeling gas adsorption in Metal-Organic Frameworks (MOFs), the speedup remained significant (40 minutes vs. 48 hours). The model successfully predicted "breakthrough curves," matching the complex physics of gas-adsorption experiments.
Conclusion
This work demonstrates a practical and efficient route for leveraging learned free-energy functionals in DDFT. By training on easily obtainable bulk data, researchers can simulate complex non-equilibrium dynamics with near-BD accuracy at a fraction of the computational cost. Future work will focus on extending this framework to full 3D geometries and accounting for non-conservative forces, such as shear flow or active matter, which would require learning additional correction terms.
Summary updated