Skip to main content
QUICK REVIEW

[Paper Review] Pushing the limit of molecular dynamics with ab initio accuracy to 100 million atoms with machine learning

Weile Jia, Handong Wang|arXiv (Cornell University)|May 1, 2020
Machine Learning in Materials ScienceMaterials Science72 references35 citations
TL;DR

Demonstrates a machine-learning based MD protocol (Deep Potential Molecular Dynamics) that achieves ab initio accuracy for systems >100 million atoms, with a highly optimized DeePMD-kit on Summit reaching up to 91 PFLOPS double precision and enabling nanosecond-scale simulations per day.

ABSTRACT

For 35 years, {\it ab initio} molecular dynamics (AIMD) has been the method of choice for modeling complex atomistic phenomena from first principles. However, most AIMD applications are limited by computational cost to systems with thousands of atoms at most. We report that a machine learning-based simulation protocol (Deep Potential Molecular Dynamics), while retaining {\it ab initio} accuracy, can simulate more than 1 nanosecond-long trajectory of over 100 million atoms per day, using a highly optimized code (GPU DeePMD-kit) on the Summit supercomputer. Our code can efficiently scale up to the entire Summit supercomputer, attaining $91$ PFLOPS in double precision ($45.5\%$ of the peak) and {$162$/$275$ PFLOPS in mixed-single/half precision}. The great accomplishment of this work is that it opens the door to simulating unprecedented size and time scales with {\it ab initio} accuracy. It also poses new challenges to the next-generation supercomputer for a better integration of machine learning and physical modeling.

Motivation & Objective

  • Boost ab initio molecular dynamics (AIMD) to large system sizes (hundreds of millions of atoms) and long time scales without sacrificing accuracy.
  • Leverage machine learning to replace expensive electronic structure calculations with a surrogate model that preserves ab initio fidelity.
  • Develop and optimize HPC-oriented implementations to fully exploit heterogeneous GPU architectures in modern supercomputers.

Proposed method

  • Use Deep Potential (DP) neural networks to represent interatomic potentials as sums of atomic energies.
  • Train DP models on ab initio data and implement them in the DeePMD-kit integrated with LAMMPS for MD integration.
  • Optimize data layouts, neighbor lists, and custom TensorFlow operators to maximize GPU throughput on Summit.
  • Employ mixed-precision schemes (MIX-32 and MIX-16) to accelerate computations while maintaining accuracy.
  • Restructure TensorFlow operators (GEMM-based replacements, CUDA kernels) and reduce MPI communication to improve scalability.

Experimental results

Research questions

  • RQ1Can deep learning-based interatomic potentials reproduce ab initio accuracy for very large systems (tens to hundreds of millions of atoms) and long MD trajectories?
  • RQ2What HPC optimizations and mixed-precision strategies are required to scale DP-based MD on heterogeneous supercomputers like Summit?
  • RQ3What are the practical performance gains (FLOPS, time-to-solution) and accuracy trade-offs when pushing DP-MD to extreme system sizes?
  • RQ4How does DP-MD compare to traditional AIMD and empirical force fields in terms of scalability and fidelity for materials and liquid systems?

Key findings

  • DP-MD enables >100 million-atom AIMD-like trajectories per day on Summit with 91 PFLOPS (double precision) and 162 PFLOPS / 275 PFLOPS for mixed single/half precision on 4,560 nodes.
  • For a 127-million-atom copper system, time-to-solution per step is 8.1e-10 s/step/atom in double precision, corresponding to ~0.8 ns/day, and 2.5 ns/day in mixed-half precision.
  • Optimizing neighbor list data layout and compressing neighbor entries to 64-bit integers eliminates branching and improves GPU efficiency, with a 64.6x speedup for customized TensorFlow operators on a single GPU vs baseline CPU implementations.
  • Replacing MATMUL and SUM with GEMM, fusing TANH and TANHGrad, and CUDA kernel fusion significantly enhances TensorFlow operator efficiency, contributing to overall MD-loop speedups.
  • Mixed-precision schemes MIX-32 and MIX-16 achieve energy/force accuracies comparable to double precision for tested water configurations, with MIX-32 matching double precision in energy and force errors.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.