arXiv:2610.17226physics.chem-phOct 2026

Manuscript Offprint

arXiv:2610.17226

Solvating machine-learning interatomic potentials for solution-phase chemistry

Anton Z. Ni, Joonho Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Anton Z. Ni and Joonho Lee ∗^{*}

Department of Chemistry and Chemical Biology, Harvard University, Cambridge, MA (Dated: October 14, 2026)

Most machine-learning interatomic potentials (MLIPs) are trained on gas-phase data, which limits their use for chemistry in solution. Here, we introduce AnySolv, a transferable implicit solvation potential that provides solvent-dependent energy and force corrections to existing gas-phase potentials without retraining them. It is trained on 1.4 million solvation energies and forces computed with density functional theory (DFT) and SMD in 36 solvents, spanning charged, open-shell, and transition-state structures. Because solvents are represented by continuous physical descriptors, AnySolv supports 179 solvents, including those absent from training. On external benchmarks, AnySolv reproduces DFT-SMD solvation energies to 2–4 meV mean absolute error at more than three orders of magnitude lower cost, and it matches the accuracy of DFT-SMD against experimental solvation free energies. This enables screening of the mechanisms of 120 nucleophilic aromatic substitution reactions in six phases as well as molecular dynamics simulations that reproduce the experimentally observed solvent-dependent conformational preferences of alanine dipeptide. By providing transferable solvation corrections to existing MLIPs, AnySolv enables scalable simulations of solvent-dependent chemical reactivity and molecular dynamics.

I. INTRODUCTION

Solvents can fundamentally alter chemical reactivity by stabilizing charged intermediates, shifting reaction barriers, and changing conformational equilibria. 1,2^{1,2} Accurately capturing these effects is therefore essential for predictive simulations of solution-phase chemistry. Machine-learning interatomic potentials (MLIPs) have recently emerged as computationally efficient alternatives to density functional theory (DFT), enabling atomistic simulations at scales previously inaccessible to electronic structure methods. 3−7^{3-7} However, most general-purpose MLIPs are trained primarily on gas-phase reference data, limiting their applicability to solution-phase chemistry. 8^{8}

One approach to incorporating solvent effects into MLIP simulations is to represent solvent molecules explicitly, often requiring hundreds to thousands of additional atoms. 9,10^{9,10} Alternatively, implicit solvation models describe the solvent through an effective potential, allowing geometry optimizations, transition-state searches, and molecular dynamics without explicitly representing solvent molecules. Established approaches, including polarizable continuum models (PCM) and conductor-like screening models (COSMO), are widely used in electronic structure calculations. 1,11−13^{1,11-13} In particular, SMD represents solvent effects through a set of macroscopic physical descriptors, allowing a single parametrization to describe a broad range of solvents. 12,14,15^{12,14,15} However, the solvation potential in conventional DFT-based implicit solvation models is solved self-consistently with the electron density of the solute, which standard MLIPs do not provide. Consequently, these models cannot be directly incorporated into MLIP simulations, and inexpensive semiempirical alternatives such as GFN2-xTB with ALPB generally offer lower accuracy. 16,17^{16,17}

Several machine-learning approaches have sought to overcome these limitations, as recently reviewed in Ref. 18. Some predict solvation free energies but cannot provide the nuclear forces needed for geometry optimization or molecular dynamics. 19−21^{19-21} Others provide forces but are trained on classical force fields, inheriting the limitations of their reference models. 22−25^{22-25} Zubatyuk et al. learned SMD-water energies and forces with AIM-Net, but the model must be retrained for each solvent and base potential. 26^{26} More recently, ConSolv introduced solvent-conditioned learning that generalizes to solvents absent from training, but it is restricted to neutral solutes and does not provide a correction that can be added to arbitrary gas-phase potentials. 27^{27} To our knowledge, no existing model provides a multi-solvent correction, with forces, that can be added to any gas-phase potential and remains valid for charged and open-shell solutes and at geometries far from equilibrium, such as transition states.

Here, we introduce AnySolv, an equivariant message-passing graph neural network that learns solvation energy and force corrections independently of the gas-phase potential. Rather than predicting the total energy in solution, AnySolv learns the difference between solvated and gas-phase DFT energies at a given molecular geometry, together with the corresponding forces obtained as the negative energy gradient. These corrections can be added to existing MLIPs without retraining. We represent solvents with continuous physical descriptors, 14^{14} enabling a single model to support 179 solvents, including those absent from training. We train AnySolv on approximately 1.4 million DFT-SMD calculations in 36 solvents at the ω\omegaB97M-V/def2-TZVPD level of theory, using geometries drawn primarily from OMol25 8^{8} that span charged and open-shell species as well as nonequilibrium structures along reaction pathways.

We demonstrate that AnySolv reproduces DFT-SMD solvation energies and forces, including for solvents absent from training, while retaining the accuracy of the

Figure

FIG. 1. Overview of AnySolv. AnySolv predicts the solvation energy ΔE\Delta E and forces ΔF\Delta F of a solute with coordinates R, charge q, and spin multiplicity M in a continuum solvent described by the descriptor vector s, and adding them to any gas-phase MLIP gives the energy and forces in solution. From there, we can obtain solvent-dependent potential energy surfaces. This enables us to efficiently probe reaction mechanisms and perform molecular dynamics with implicit solvent.

reference method against experimental solvation free energies. Its compatibility with different gas-phase MLIPs and computational cost more than three orders of magnitude lower than DFT-SMD make previously impractical simulations feasible. In particular, we systematically examine solvent-dependent reaction mechanisms across 120 nucleophilic aromatic substitution reactions and obtain conformational free-energy landscapes of alanine dipeptide that reproduce experimentally observed solvent effects. Together, these results establish a general strategy for incorporating transferable solvation corrections into existing MLIP workflows. See Fig. 1 for an overview.