DP Compress: A Model Compression Scheme for Generating Efficient Deep Potential Models

J Chem Theory Comput. 2022 Sep 13;18(9):5559-5567. doi: 10.1021/acs.jctc.2c00102. Epub 2022 Aug 4.

Abstract

Machine-learning-based interatomic potential energy surface (PES) models are revolutionizing the field of molecular modeling. However, although much faster than electronic structure schemes, these models suffer from costly computations via deep neural networks to predict the energy and atomic forces, resulting in lower running efficiency as compared to the typical empirical force fields. Herein, we report a model compression scheme for boosting the performance of the Deep Potential (DP) model, a deep learning-based PES model. This scheme, we call DP Compress, is an efficient postprocessing step after the training of DP models (DP Train). DP Compress combines several DP-specific compression techniques, which typically speed up DP-based molecular dynamics simulations by an order of magnitude faster and consume an order of magnitude less memory. We demonstrate that DP Compress is sufficiently accurate by testing a variety of physical properties of Cu, H2O, and Al-Cu-Mg systems. DP Compress applies to both CPU and GPU machines and is publicly available online.

MeSH terms

  • Machine Learning*
  • Molecular Dynamics Simulation
  • Neural Networks, Computer*