JAX, MD A framework for differentiable physics

被引:53
作者
Schoenholz, Samuel S. [1 ]
Cubuk, Ekin D. [1 ]
机构
[1] Google Res Brain Team, Madison, WI 53703 USA
关键词
machine learning; molecular dynamics; numerical simulations; MOLECULAR-DYNAMICS SIMULATIONS; AUTOMATIC DIFFERENTIATION; POTENTIALS; RELAXATION; PERFORMANCE; CHEMISTRY; ORDER;
D O I
10.1088/1742-5468/ac3ae9
中图分类号
O3 [力学];
学科分类号
08 ; 0801 ;
摘要
We introduce JAX MD, a software package for performing differentiable physics simulations with a focus on molecular dynamics. JAX MD includes a number of physics simulation environments, as well as interaction potentials and neural networks that can be integrated into these environments without writing any additional code. Since the simulations themselves are differentiable functions, entire trajectories can be differentiated to perform meta-optimization. These features are built on primitive operations, such as spatial partitioning, that allow simulations to scale to hundreds-of-thousands of particles on a single GPU. These primitives are flexible enough that they can be used to scale up workloads outside of molecular dynamics. We present several examples that highlight the features of JAX MD including: integration of graph neural networks into traditional simulations, meta-optimization through minimization of particle packings, and a multi-agent flocking simulation. JAX MD is available at https://www.github.com/google/jax-md.Y
引用
收藏
页数:21
相关论文
共 79 条
[1]  
Abadi M, 2016, PROCEEDINGS OF OSDI'16: 12TH USENIX SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, P265
[2]   End-to-End Differentiable Learning of Protein Structure [J].
AlQuraishi, Mohammed .
CELL SYSTEMS, 2019, 8 (04) :292-+
[3]   General purpose molecular dynamics simulations fully implemented on graphics processing units [J].
Anderson, Joshua A. ;
Lorenz, Chris D. ;
Travesset, A. .
JOURNAL OF COMPUTATIONAL PHYSICS, 2008, 227 (10) :5342-5359
[4]  
[Anonymous], 2002, Technical Report
[5]  
[Anonymous], 2012, DEEP LEARNING UNSUPE
[6]   Constructing first-principles phase diagrams of amorphous LixSi using machine-learning-assisted sampling with an evolutionary algorithm [J].
Artrith, Nongnuch ;
Urban, Alexander ;
Ceder, Gerbrand .
JOURNAL OF CHEMICAL PHYSICS, 2018, 148 (24)
[7]   Efficient and accurate machine-learning interpolation of atomic energies in compositions with many species [J].
Artrith, Nongnuch ;
Urban, Alexander ;
Ceder, Gerbrand .
PHYSICAL REVIEW B, 2017, 96 (01)
[8]   An implementation of artificial neural-network potentials for atomistic materials simulations: Performance for TiO2 [J].
Artrith, Nongnuch ;
Urban, Alexander .
COMPUTATIONAL MATERIALS SCIENCE, 2016, 114 :135-150
[9]   High-dimensional neural-network potentials for multicomponent systems: Applications to zinc oxide [J].
Artrith, Nongnuch ;
Morawietz, Tobias ;
Behler, Joerg .
PHYSICAL REVIEW B, 2011, 83 (15)
[10]   Unveiling the predictive power of static structure in glassy systems [J].
Bapst, V ;
Keck, T. ;
Grabska-Barwinska, A. ;
Donner, C. ;
Cubuk, E. D. ;
Schoenholz, S. S. ;
Obika, A. ;
Nelson, A. W. R. ;
Back, T. ;
Hassabis, D. ;
Kohli, P. .
NATURE PHYSICS, 2020, 16 (04) :448-+