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

What We Learned from Our User Survey

What We Learned from Our User Survey

Results from our summer 2026 user survey: what's good & what we're excited to tackle next.
Aug 31, 2026 · Ari Wagen and Corin Wagen
2026 Intern Reflections

2026 Intern Reflections

Takeaways and other thoughts from each of our summer interns.
Aug 26, 2026 · Isaiah Sippel, Ishaan Ganti, Nick Casetti, and Raphael Stone
Excited States and UV-Vis with TDDFT

Excited States and UV-Vis with TDDFT

an extension of density-functional theory; modeling absorbance and fluorescence; excited-state optimization
Aug 25, 2026 · Jonathon Vandezande, Isaiah Sippel, and Ari Wagen
Predicting UV-Vis Spectra with TDDFT

Predicting UV-Vis Spectra with TDDFT

Comparing the experimental and predicted UV-Vis spectra of azo dyes and other compounds.
Aug 25, 2026 · Isaiah Sippel
Tricky Cases in Protein Preparation

Tricky Cases in Protein Preparation

How we're using Boltz-2 inpainting to improve protein preparation.
Aug 20, 2026 · Ari Wagen
Running a Full FEP Campaign in Python with Rowan

Running a Full FEP Campaign in Python with Rowan

Learn how to run an iterative FEP campaign programmatically with Rowan's Python SDK.
Aug 19, 2026 · Eli Mann
Phonons

Phonons

band structures and density of states; material waves; sound, light, and heat
Aug 18, 2026 · Raphael Stone and Jonathon Vandezande
Binder Optimization with LLMs and Specialized Models

Binder Optimization with LLMs and Specialized Models

Testing LLMs and specialized models on generating strongly binding ligands.
Aug 17, 2026 · Ishaan Ganti
Performance Optimization

Performance Optimization

or, how to get more Rowan for your dollar
Aug 10, 2026 · Corin Wagen and Eli Mann
Hits From a Hackathon

Hits From a Hackathon

How certain schemes to identify TBXT-binding compounds have succeeded.
Aug 7, 2026 · Kat Yenko, Corin Wagen, Ari Wagen, and Derek Alia