Uncertainty-driven dynamics for active learning of interatomic potentials

Maksim Kulichenko, Kipton Barros, Nicholas Lubbers, Ying Wai Li, Richard A. Messerly, Sergei Tretiak, Justin S. Smith, Benjamin Nebgen

Abstract

Machine learning (ML) models, if trained to data sets of high-fidelity quantum simulations, produce accurate and efficient interatomic potentials. Active learning (AL) is a powerful tool to iteratively generate diverse data sets. In this approach, the ML model provides an uncertainty estimate along with its prediction for each new atomic configuration. If the uncertainty estimate passes a certain threshold, then the configuration is included in the data set. Here we develop a strategy to more rapidly discover configurations that meaningfully augment the training data set. The approach, uncertainty-driven dynamics for active learning (UDD-AL), modifies the potential energy surface used in molecular dynamics simulations to favor regions of configuration space for which there is large model uncertainty. The performance of UDD-AL is demonstrated for two AL tasks: sampling the conformational space of glycine and sampling the promotion of proton transfer in acetylacetone. The method is shown to efficiently explore the chemically relevant configuration space, which may be inaccessible using regular dynamical sampling at target temperature conditions.

Introduction

Training accurate machine learning (ML) interatomic potentials requires a diverse dataset covering both stable equilibrium states and high-energy transition states. However, identifying these rare, high-energy configurations typically necessitates expensive simulations or human intuition. Standard sampling methods like Molecular Dynamics (MD) often become trapped in low-energy wells, repeatedly sampling stable configurations. To explore transition states, researchers often resort to high-temperature MD, which can unphysically distort molecules, or metadynamics, which requires manual definition of "collective variables" (CVs).

Researchers from Los Alamos National Laboratory and NVIDIA have introduced Uncertainty-Driven Dynamics for Active Learning (UDD-AL) to address these challenges. This approach utilizes model uncertainty as an automated navigational tool, driving simulations toward the most informative regions of chemical space without requiring manual parameter selection.

The UDD-AL Methodology

The core of this strategy is the Uncertainty-Driven Dynamics (UDD) algorithm, which builds upon the "Query by Committee" (QBC) approach. An ensemble of neural networks (e.g., ANI-type) is trained, and the disagreement (variance) between their energy predictions serves as a proxy for uncertainty.

The UDD-AL workflow integrates uncertainty-driven sampling into an active learning loop to efficiently discover high-uncertainty configurations.

The algorithm introduces a Gaussian bias term ($E_{bias}$) to the simulation's potential energy surface, which is a function of the model uncertainty. When the simulation enters a region of high uncertainty, this bias potential "pushes" the system further into that region, preventing it from returning to well-known, low-uncertainty states. Unlike metadynamics, UDD-AL does not require pre-defined structural variables; it treats uncertainty as a "universal collective variable" that naturally identifies chemically relevant but under-sampled regions, such as transition states.

Experimental Validation and Results

The performance of UDD-AL was evaluated on two primary tasks:

  1. Glycine Conformational Sampling: Starting from a minimal set of 125 conformers, AL was used to build a dataset of 1,280 structures. Performance was benchmarked against a 50-ns MD test set at 400K.
  2. Acetylacetone Proton Transfer: UDD was used to trigger reactive pathways, specifically a proton jumping between oxygen atoms, which is rarely observed in standard low-temperature MD.

Ground-truth energies and forces were calculated using high-level Density Functional Theory ($\omega$B97X-D/cc-pVTZ).

Comparison of average MD time per iteration shows that UDD-AL (orange) continues to find informative structures efficiently while standard MD-AL (blue) quickly plateaus.

UDD-AL demonstrated significant efficiency gains. For glycine, it reached uncertainty thresholds much faster than standard MD-AL, avoiding the plateau where regular MD stops discovering new informative structures. In the acetylacetone case, a 0.5-ns simulation at 350K using standard MD observed zero proton transfers, whereas UDD-AL triggered 90 transitions. While high-temperature MD (620K) managed 48 transitions, it introduced significant structural noise. UDD-AL specifically targeted the high-uncertainty proton transfer coordinate while maintaining equilibrium distributions for other bonds.

Conclusion and Future Outlook

UDD-AL provides a robust framework for accelerating the discovery of informative configurations for ML potentials. By using uncertainty as a universal CV, it maintains accurate sampling of stable states while targeting high-energy regions without unphysical distortions.

Current limitations include the need for empirical parameters for the bias potential. Future work will focus on automating parameter tuning during the active learning process, interfacing with weighted ensemble methods to calculate reaction kinetics, and scaling the method to larger molecular systems and complex bulk materials.

Summary updated

BibTeX
@inproceedings{kulichenko2023uncertainty,
  author = {Maksim Kulichenko and Kipton Barros and Nicholas Lubbers and Ying Wai Li and Richard A. Messerly and Sergei Tretiak and Justin S. Smith and Benjamin Nebgen},
  title = {{Uncertainty-driven dynamics for active learning of interatomic potentials}},
  booktitle = {Nature Computational Science},
  year = {2023},
  doi = {10.1038/s43588-023-00406-5},
}
Figure