JAX, MD A framework for differentiable physics
JAX, MD A framework for differentiable physics
复制标题
DOI:
10.1088/1742-5468/ac3ae9
复制
发表时间:
2021-12-01
影响因子:
2.4
通讯作者:
Cubuk, Ekin D.
中科院分区:
文献类型:
--
作者:
Schoenholz, Samuel S.;Cubuk, Ekin D.
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