cs.LGJul 6, 2026

EquiFiLM: Charge-Conditioned Equivariant Force Fields via Feature-wise Linear Modulation

Authors: Samuel Sahel-SchackisKen-ichi NomuraAiichiro NakanoMatthias F. KlingThomas Linker

Organizations: Department of Physics, Stanford University · Collaboratory for Advanced Computing and Simulation, University of Southern California · Linac Coherent Light Source, SLAC National Accelerator Laboratory · Stanford PULSE Institute, SLAC National Accelerator Laboratory

Abstract

Foundation machine learning force fields (MLFFs) such as MACE-MP-0 and UMA cover broad chemical space at near density functional theory (DFT) accuracy. However, they assume equilibrium ground-state physics and do not natively handle externally induced changes to the electronic state, such as charging, applied fields, or electronic excitation, which limits their use for driven processes such as photoexcitation and charge injection. We propose EquiFiLM, a lightweight extension that adds continuous external conditioning to any equivariant foundation MLFF via a per-layer Feature-wise Linear Modulation (FiLM) block, learning externally driven changes to the potential energy surface from minimal training data. The block modulates only scalar channels and preserves E(3)-equivariance exactly. We demonstrate the recipe on charged liquid water with the foundation model MACE-MatPES as the backbone, yielding E-MACE. On the four training charges, E-MACE delivers a 3.1×3.1\times reduction in force RMSE (21.321.3 to 6.966.96 meV/A˚\mathring{A}) and a 61×61\times reduction in per-atom energy RMSE (6.16.1 to 0.10.1 meV/atom) over a baseline without EquiFiLM trained on the same data, at indistinguishable inference cost. Across seven held-out interpolation and extrapolation charges, force RMSE stays within 186118-61 meV/A˚\mathring{A} and energy RMSE within 0.75.40.7-5.4 meV/atom. The model runs stable molecular dynamics across the full range tested and predicts the charge-dependent first-shell response of the reduced pair distribution function probed by ultrafast electron diffraction. Adding this conditioning axis to the foundation requires only a few thousand DFT-labeled frames, against the 108\approx 10^8 structures of a charge-aware foundation trained from scratch. The recipe is backbone- and conditioning-agnostic: it applies without architectural change to any equivariant MLFF with scalar interaction-layer channels.

Explore similar work

CardsList