physics.chem-phNov 21, 2026

An equivariant classical density functional for ionic fluids at complex interfaces

Authors: Bingqing Cheng

Organizations: Department of Chemistry, UC Berkeley, California 94720, United States · Chemical Sciences Division, Lawrence Berkeley National Laboratory, Berkeley, California, 94720, United States · Bakar Institute of Digital Materials for the Planet, UC Berkeley, California 94720, United States

Abstract

Predicting the combined effects of ionic packing and long-range electrostatics at complex interfaces is technologically important, but remains challenging without atomistic simulations. Here we present a machine-learned classical density functional for ionic fluids that combines a symmetry-adapted neural free energy for short-range correlations with explicit long-range electrostatics. Trained on three-dimensional equilibrium densities and bulk correlations of the full-Coulomb restricted primitive model, a single functional transfers to charge-patterned particles and atomically structured electrodes. Around anisotropic charged solutes, it reproduces the ionic structure and mean forces from molecular dynamics, including reversals of the bare electrostatic force. At metal electrodes, self-consistent coupling to metal atoms captures the redistribution of ionic and electrode charge and the loading-dependent capacitance enhancement produced by steps and bumps. Combined with mobilities determined independently from bulk molecular dynamics, the same functional describes the main features of charging dynamics and resolves geometry-dependent spatial relaxation. This framework can be extended to more complex ionic fluids, enabling efficient exploration of how composition and geometry control structure and response.

Figures & tables

Explore similar work

Oct 8, 2026

A neural density functional for polymer electrolytes with exact structure and transferable Coulomb coupling

Ion correlations set the structure of polymer electrolytes and depend on the host permittivity, which is low and varies between polymers. A functional that carries these correlations from molecular simulations to larger inhomogeneous systems must transfer across domain sizes, geometries and coupling strengths. We introduce a neural density functional for the ions of a salt-doped polymer melt with built-in integrability, continuous spatial symmetry, the Noether identities, perfect screening in stable bulk states, and parameters that refer to no grid or box. The permittivity enters only through the Bjerrum length, an explicit argument constrained by an exact relation: the free-energy derivative with respect to the Bjerrum length is the Coulomb correlation energy. Trained by force matching on planar profiles at five Bjerrum lengths spanning 8-30 monomer diameters, the functional predicts, without retraining, density profiles in fourfold longer boxes and under two-dimensional fields, bulk structure factors and the long-wavelength number response, also at a concentration and a permittivity left out of training. It reproduces this energy identity on Coulomb energies that never enter the training. Its nonlinear density dependence captures correlations that a quadratic pair closure misses: the number response grows several-fold with concentration, and at low concentration the coupling lowers it through ion association, below the ideal value at the strongest coupling, while the host sets it in the concentrated melt. At fixed coupling, it is more accurate than three neural architectures and loses little accuracy with a quarter of the training data.
Mar 16, 2026

Design Space of Self--Consistent Electrostatic Machine Learning Interatomic Potentials

Machine learning interatomic potentials (MLIPs) have become widely used tools in atomistic simulations. For much of the history of this field, the most commonly employed architectures were based on short-ranged atomic energy contributions, and the assumption of locality still persists in many modern foundation models. While this approach has enabled efficient and accurate modelling for many use cases, it poses intrinsic limitations for systems where long-range electrostatics, charge transfer, or induced polarization play a central role. A growing body of work has proposed extensions that incorporate electrostatic effects, ranging from locally predicted atomic charges to self-consistent models. While these models have demonstrated success for specific examples, their underlying assumptions, and fundamental limitations are not yet well understood. In this work, we present a framework for treating electrostatics in MLIPs by viewing existing models as coarse-grained approximations to density functional theory (DFT). This perspective makes explicit the approximations involved, clarifies the physical meaning of the learned quantities, and reveals connections and equivalences between several previously proposed models. Using this formalism, we identify key design choices that define a broader design space of self-consistent electrostatic MLIPs. We implement salient points in this space using the MACE architecture and a shared representation of the charge density, enabling controlled comparisons between different approaches. Finally, we evaluate these models on two instructive test cases: metal-water interfaces, which probe the contrasting electrostatic response of conducting and insulating systems, and charged vacancies in silicon dioxide. Our results highlight the limitations of existing approaches and demonstrate how more expressive self-consistent models are needed to resolve failures.
Aug 13, 2026

Equivariant learning of a transferable three-dimensional classical density functional

Liquids exhibit collective behavior that depends sensitively on thermodynamic conditions, interfaces and confinement, yet predicting each new state commonly requires a separate atomistic simulation. Classical density functional theory offers a reusable variational description, but its central excess free-energy functional is generally unknown, and learned approximations for fluids have largely been developed in reduced-dimensional geometries. Here we show that this functional can be learned directly from fully three-dimensional canonical equilibrium density fields while preserving spatial symmetry and variational consistency, without free-energy or chemical-potential training labels. A functional learned from coarse three-dimensional density fields remains predictive at finer resolution, separating the sampling demands of training from the spatial resolution of subsequent predictions. A single learned functional transfers across temperatures, system sizes and statistical ensembles, and recovers the equation of state, liquid--vapor coexistence and interfacial broadening, none of which are used as training targets. Applied to complex three-dimensional geometries, it predicts the potential of mean force between colloids due to solvent mediation, and adsorption isotherms in an interconnected gyroid pore. These results demonstrate that molecular dynamics equilibrium density data can be converted into a transferable thermodynamic generator connecting microscopic liquid structure to response, phase behavior and collective phenomena.