AIMNet2 - A DFT-Quality Machine-Learned Potential

"Boccioni's Dynamism of a Cyclist, representing the immense speed of AIMNet2"

AIMNet2 is the latest machine learning-based interatomic potential from Olexander Isayev’s group at Carnegie Mellon, released just a few months ago. While there have been lots of exciting developments in ML potentials recently, AIMNet2 is particularly suited for routine use by computational chemists.

Here's why we're so excited about AIMNet2:

AIMNet2 Is Generally Applicable

AIMNet2 supports 14 elements (H, B–F, Si–Cl, As–Br, I), up from 4 elements in the original ANI release and 7 in ANI-2x; and while ANI is limited to neutral compounds, AIMNet2 can also handle charged molecules. This means that AIMNet2 can handle the vast majority of druglike molecules, although transition metals and open-shell species remain impossible.

Furthermore, unlike many machine learning-based methods, no system-specific training or external descriptors are required, making AIMNet2 a fast and simple “black box” way to accelerate routine chemical modeling.

AIMNet2 Is Accurate

On a variety of benchmarks (like GMTKN55), AIMNet2 is more accurate than semiempirical methods like GFN2-xtb and displays comparable accuracy to common DFT methods. Here's a high-level summary of AIMNet2's performance on GMTKN55: overall, AIMNet2 performs better than the popular semiempirical method GFN2-xtb, slightly worse than B97-3c, a pure functional with a tailored triple-zeta basis set, and significantly worse than wB97X, a sophisticated range-separated hybrid functional from Jeng-Da Chai and Martin Head-Gordon.

MethodBasic propertiesReaction energiesBarrier heightsIntermolecular interactionsIntramolecular interactionsAll
AIMNet23.9313.569.6916.4510.7611.68
GFN2-xtb27.6330.7612.119.8324.9219.99
B97-3c9.3613.618.0310.378.419.68
wB97X5.698.964.515.486.856.27

(Thanks to Dylan Anstine for sharing the original data from the AIMNet2 paper)

If these data show that AIMNet2 is worse than wB97X, why is AIMNet2 is a good substitute for routine DFT calculations? Most commonly employed DFT methods, like the classic B3LYP/6-31G(d) level of theory, would perform significantly worse than B97-3c on similar benchmarks. While benchmarking is typically done with large triple- or quadruple-zeta basis sets, this isn't how most calculations are run in the real world.

Double-zeta basis sets like Pople's 6-31G(d), which for medium-sized systems and above are frequently the only practical choice for geometry optimizations and frequency calculations, lead to significant inaccuracies, namely basis-set incompleteness error and basis-set superposition error. This article by Holger Kruse, Lars Goerigk, and Stefan Grimme illustrates in gory detail how these errors can lead to problems with B3LYP/6-31G(d), but the phenomenon is significantly more general! (See also Figure 5 in this recent review of best practices in computational chemistry.)

AIMNet2 was trained to reproduce data computed at the ωB97M-V/def-TZVPP level of theory, and so should in principle be mostly free from basis-set incompleteness and superposition errors, although of course the training process introduces its own errors. (It's worth noting that, excluding double-hybrid functionals, ωB97M-V is probably the best functional yet developed.)

AIMNet2 Is Crazy Fast

Perhaps most importantly, AIMNet2 is incredibly fast compared to conventional quantum chemical calculations—so fast that the entire experience of running a calculation is different. Rather than submitting a job and waiting hours or days, you can get your answers in the time it takes to check your email. Here’s how fast AIMNet2 is when run through Rowan:

These results might seem too good to be true, so we recorded a video showing an optimization of tofacitinib (Xeljanz), starting from a SMILES string and finishing with a frequency calculation. Here's the video:

Although AIMNet2 is open-source, there are many advantages to running AIMNet2 through Rowan. Rowan uses energy and gradient calculations from ML potentials to run geometry optimizations, compute frequencies, analyze thermochemistry and molecular symmetry, and more. With Rowan, you can run calculations with AIMNet2 just like you would for a conventional QM calculation—and Rowan’s autoscaling capabilities mean that even hundreds of jobs can all run within minutes.

If you want to see if AIMNet2 can make your calculations faster and more accurate, create an account on Rowan today! All new users get 500 free credits, enough to run hundreds of calculations with AIMNet2.