Wortmarke der Ruhr-Universität Bochum

Lehrstuhl für Theoretische Chemie


Ruhr-Universität Bochum Neural Networks for Molecular Dynamics Simulations

developed by F. Brieuc, C. Schran, H. Forbert, and D. Marx


RubNNet4MD is a program package developed at the Center for Theoretical Chemistry of the Ruhr-Universität Bochum that implements high-dimensional neural network techniques for use in computational physics and chemistry, in particular molecular dynamics and Monte Carlo simulations with a focus on applications in molecular sciences. High-dimensional neural network potentials (HD-NNP) have been pioneered by Behler and Parrinello [1]. The fundamental methodology and its subsequent advances have been repeatedly reviewed by Behler [2, 3, 4]. The main idea is to use artificial neural networks (NNs), specifically fully connected feed-forward NNs, trained against a set of reference data to represent the potential energy surface (PES) and interatomic forces of various finite molecular and extended condensed matter systems.

Within the HD-NNP framework, the total energy of the system is represented as a sum of atomic contributions which are the output of atomic NNs. These atomic NNs take as input a precise fingerprint of the chemical environment around the considered atom described by "symmetry functions" [5] that ensure a description of the local environment which is fully invariant to translation and rotation as well as to permutations of all atoms of the same type. The typical architecture of these HD-NNPs is schematically depicted in Figure 1. Interatomic forces can be obtained by differentiating the neural network PES, which can be done analytically. Reference force information can also be used during the training of the NNPs in conjunction with the reference energies.

Figure 1. A schematic depiction of the architecture used in high-dimensional neural networks. Figure from Reference [6].

RubNNet4MD is a Fortran program to easily and efficiently train such NNs for the description of molecular and condensed systems. The program also provides a standalone library for the evaluation of these NNs that can be used in separate molecular simulation packages, notably including CP2K. Various aspects of RubNNet4MD are influenced by the RuNNer program [7], which was the first general implementation of HD-NNPs created by Jörg Behler while he was the head of an independent Emmy Noether Group here at the Center for Theoretical Chemistry at RUB.

So far, we used such HD-NNPs since 2018 to accurately represent global potential energy surfaces in full dimensionality (NN-PES) of molecular complexes and clusters at essentially converged Coupled Cluster electronic structure accuracy for use in molecular simulation with classical and quantum nuclei [8, 9, 10, 11], see Figures 2 and 3.

Figure 2. Left: Correlation of the energy per atom from explicit CCSD(T*)-F12a/aug-cc-pVTZ calculations (CC) and the NNP predictions for the final reference data set describing protonated water clusters from the hydronium cation, H3O+ up to the tetramer, H9O4+. The mean absolute difference (MAD) for the training and test set are given in blue and red, respectively. The lower panel shows the errors, while the inset in the upper panel shows the histograms of these errors including the corresponding standard deviations (σ) in the respective color. Right: Potential energy profiles of the H7O3+ (top) and H9O4+ (bottom) clusters along selected minimum energy paths (MEP) obtained using the zero temperature string method on the neural network potential (NNP). The coupled cluster (CC) reference was obtained by recomputing the energies along the NNP paths at representative points and is marked with circles. All energies are shown relative to the respective equilibrium structures. Figures from Reference [6].

Figure 3. Potential energy along one replica of quantum PIMD trajectories of (from top to bottom) the methane molecule, CH4, the protonated methane complex, CH5+, the hydronium cation, H3O+, and the Zundel cation, H5O2+, at 1.67 K using neural network potentials (NNPs). The coupled cluster CCSD(T*)-F12a/AVTZ reference data (CC) were obtained by recomputing the energies at each step of the NNP trajectories and are shown as red dotted lines. All energies are reported relative to the equilibrium structures of the respective global minima. Figure from Reference [10].

A similar technique has been used successfully to describe the weak van der Waals interactions of helium with molecular species, see Figure 4.

Figure 4. Left: Spatial distribution functions (SDFs) of helium atoms around a fixed molecular impurity, as sampled from PIMC simulations at 1.67 K. The solute ... helium interaction energies are interpolated from pre-computed values on a grid using either the neural network potential (NNP: left column) or single-point counterpoise-corrected coupled cluster calculations, CCSD(T*)-F12a/AVTZcp (CC: right column). Right: Radial distribution functions for oxygen-helium (main) and hydrogen-helium (inset) for frozen H5O2+ configurations in bulk helium in a selected orientation close to the minimum energy structure (“minimum,” top), in a flat orientation (“flat,” middle), and in an asymmetric proton transfer situation (“asymm,” bottom) centered in a truncated octahedron periodic supercell hosting in addition 88 He atoms. Figures from References [ 9 , 10].

We are currently working on generalizing the HD-NN approach to the description of other properties than energies and forces.

If you are interested in using RubNNet4MD please contact us via email at



[1] J. Behler and M. Parrinello, Generalized Neural-Network Representation of High-Dimensional Potential-Energy Surfaces, Phys. Rev. Lett. 98, 146401 (2007)

[2] J. Behler, Representing potential energy surfaces by high-dimensional neural network potentials, J. Phys.: Condens. Matter 26, 183001 (2014)

[3] J. Behler, Constructing high‐dimensional neural network potentials: A tutorial review, Int. J. Quantum Chem. 115, 1032 (2015)

[4] J. Behler, First Principles Neural Network Potentials for Reactive Simulations of Large Molecular and Condensed Systems, Angew. Chem. Int. Ed 56, 12828 (2017)

[5] J. Behler, Atom-centered symmetry functions for constructing high-dimensional neural network potentials, J. Chem. Phys. 134, 074106 (2011)

[6] C. Schran, J. Behler, and D. Marx, Automated Fitting of Neural Network Potentials at Coupled Cluster Accuracy: Protonated Water Clusters as Testing Ground, J. Chem. Theory Comput. 16, 88 (2020)

[7] J. Behler, RuNNer: A program for constructing high-dimensional neural network potentials; Georg-August-Universität Göttingen, Germany, https://www.uni-goettingen.de/de/560580.html

[8] C. Schran, F. Brieuc, and D. Marx, Converged Colored Noise Path Integral Molecular Dynamics Study of the Zundel Cation Down to Ultralow Temperatures at Coupled Cluster Accuracy, J. Chem. Theory Comput. 10, 5068 (2018)

[9] C. Schran, F. Uhl, J. Behler, and D. Marx, High-dimensional neural network potentials for solvation: The case of protonated water clusters in helium, J. Chem. Phys. 148, 102310 (2018)

[10] F. Brieuc, C. Schran, F. Uhl, H. Forbert, and D. Marx, Converged quantum simulations of reactive solutes in superfluid helium: The Bochum perspective, J. Chem. Phys. 152, 210901 (2020)

[11] R. Topolnicki, F. Brieuc, C. Schran, D. Marx, Deciphering High-order Structural Correlations within Fluxional Molecules from Classical and Quantum Configurational Entropy, (under review)



It gives us great pleasure to thank Professor Jörg Behler for an enjoyable initial collaboration on his HD-NNP technique as well as for precious discussions while developing our implementation.






Print Friendly, PDF & Email