Using Implicit Solvent With Neural Network Potentials

by Corin Wagen · Oct 7, 2025

Neural network potentials (NNPs) are typically trained to reproduce the results of gas-phase density-functional-theory calculations. Unfortunately, chemistry is weird in the gas phase and many reactions don't really exist on the gas-phase potential-energy surface, making it tough to use NNPs to study many important chemical processes.

For instance, here's a fairly iconic reaction: the addition of methanethiolate to methyl vinyl ketone. These sorts of thia-Michael additions are fairly common in covalent inhibitors, and we might hope that a simple ground-state two-electron process would be well-described by conventional computational methods. Unfortunately, running a scan for this process in the gas phase shows a confused potential-energy surface without a particularly obvious barrier to thiolate addition.

A thia-Michael reaction run with DFT.

View this calculation on Rowan.

The fundamental problem is not with the specific computational method but with the fact that this modeling is done in the gas phase: the unsolvated anions are so unstable and reactive that this addition becomes almost barrierless. Without the ability to add solvent corrections, even the best NNP will be incapable of usefully modeling this chemistry.

One solution to this problem is to train a separate NNP on implicit-solvent DFT calculations. This has been done before—Roman Zubatyuk and co-workers used transfer learning to build a version of AIMNet that predicted energies with implicit water—but necessitates training a new model for every solvent under study, which isn't ideal.

Instead, we've built machinery here at Rowan to separately compute the energy of solvation using semiempirical quantum chemistry. Using the analytical linearized Poisson–Boltzmann (ALPB) implicit-solvent model in combination with Grimme's GFN2-xTB semiempirical method, we're able to quickly add solvent corrections to calculations from any NNP. While this makes calculations slightly slower (since we have to run xTB calculations in addition to standard NNP calculations), the results are much improved for many reactive systems.

Here's the same thia-Michael addition with ALPB solvation. As the strength of the solvent increases from gas-phase (purple) to hexane (blue) to dichloromethane (green) to water (red), we can see that the barrier becomes more defined and the reaction becomes more clearly downhill, as expected.

A thia-Michael reaction run with different implicit-solvent models.

View these scans on Rowan.

Adding implicit solvent to NNPs can also be useful even in cases where the underlying PES is described qualitatively correctly in the gas phase. The prototypical SN2 reaction between chloride and methyl chloride has a low barrier of around 14 kcal/mol, but addition of an implicit-solvent water model produces a more reasonable barrier of about 23 kcal/mol. (Note that these barriers are estimated from the scan graph, and that actual thermochemical calculations should be performed to get quantitative barrier-height estimates.)

A Sn2 reaction run with different implicit-solvent models.

View these scans on Rowan.

A few caveats are worth noting here. This approach relies on GFN2-xTB/ALPB getting the underlying chemistry approximately correct, and so it might not work in every case. Also, the requisite xTB calculations require matrix diagonalization and thus can become slow for large systems—this isn't as scalable as a pure NNP-based approach. Still, we've found that the ALPB-based approach is quite effective and allows us to model a lot of properties and reactions with much-improved accuracy.

If you want to try combining NNPs with ALPB yourself, it's very simple to do through Rowan. Simply select any NNP from Rowan and then choose ALPB from the solvent menu:

Selecting ALPB implicit water for an NNP in Rowan.

How to add ALPB to an NNP in Rowan.

That's it! We automatically take care of adding implicit-solvent corrections for geometry optimization, single-point energies, and frequency calculations. If this is of interest to your research, you can try this out for free today by making a Rowan account.

Banner background image

Start running calculations in minutes!

Our platform lets you submit, view, analyze, and share calculations using cutting-edge methods trusted by hundreds of leading scientists. We give every new user 500 free credits to start, plus more every week. Making an account and running your first calculation takes only seconds: start using Rowan today!

Start computing →

What to read next

Improving Rowan's Performance on the OpenBind EV-A71 Release

Improving Rowan's Performance on the OpenBind EV-A71 Release

How we recovered useful RBFE accuracy on a challenging real-world dataset.
May 20, 2026 · Corin Wagen
New Protein Visualizations

New Protein Visualizations

distilling insight from complexity; two-dimensional protein–ligand interaction diagrams; protein blob surfaces; space-filling molecule representations
May 19, 2026 · Ari Wagen
Notes on Rowan Engineering; Or How to Vibe-Refactor a Codebase

Notes on Rowan Engineering; Or How to Vibe-Refactor a Codebase

stuck in Rowan's dependency slough of despond; fleeing the complexity of microservices & partial refactors; multiplying packages to reduce complexity; using agents to vibe-refactor our whole codebase
May 13, 2026 · Jonathon Vandezande
Testing Rowan on the OpenBind EV-A71 Release

Testing Rowan on the OpenBind EV-A71 Release

How Rowan's analogue-docking and RBFE workflows fare on this dataset.
May 6, 2026 · Corin Wagen
Benchmarking Membrane-Permeability Predictors

Benchmarking Membrane-Permeability Predictors

Testing GNN-MTL and PyPermm on datasets of small molecules, macrocycles, and PROTACs
Apr 28, 2026 · Ari Wagen
Smarter Analogue Docking, Pocket Detection, and g-xTB Analytical Gradients

Smarter Analogue Docking, Pocket Detection, and g-xTB Analytical Gradients

more robust MCS detection; conformer sampling with torsional Monte Carlo; better alignment and RBFE results; a new pocket-detection workflow; analytical gradients now available for g-xTB
Apr 23, 2026 · Zachary Fried, Corin Wagen, Ari Wagen, and Jonathon Vandezande
g-xTB pKa and Website Redesign

g-xTB pKa and Website Redesign

the flaws with Rowan's AIMNet2-based pKa method; our new g-xTB-based approach; benchmarking and availability; a logo and new website for Rowan
Apr 15, 2026 · Corin Wagen and Ari Wagen
Easter Updates to Rowan

Easter Updates to Rowan

webhooks, draft workflows, and usage estimates for Rowan's Python API; tautomers in non-aqueous solvents; COSMO-based descriptors; overage-based billing; an FEP speed test; welcome Zach
Apr 9, 2026 · Eli Mann, Ari Wagen, Spencer Schneider, Jonathon Vandezande, and Corin Wagen
How Fast Can FEP Run?

How Fast Can FEP Run?

Pushing the speed limit for RBFE calculations run through TMD.
Apr 8, 2026 · Corin Wagen
Improving Rowan's API

Improving Rowan's API

API as a coequal interface to Rowan's product; what we're changing in v3.0.0 of rowan-python; typed outputs; new workflow API; more agent-friendly features; acknowledging our early partners here
Mar 19, 2026 · Eli Mann, Corin Wagen, Jonathon Vandezande, and Spencer Schneider