JAX, M.D.: A Framework for Differentiable Physics

arXiv:1912.04232 First posted 2019-12-09 v2
Cite this paper ×
BibTeX
@misc{schoenholz2019jax,
  title = {JAX, M.D.: A Framework for Differentiable Physics},
  author = {Samuel S. Schoenholz and Ekin D. Cubuk},
  year = {2019},
  eprint = {1912.04232},
  archivePrefix = {arXiv},
  primaryClass = {physics.comp-ph},
  url = {https://arxiv.org/abs/1912.04232}
}
APA 7
Schoenholz, S. S., & Cubuk, E. D. (2019). JAX, M.D.: A Framework for Differentiable Physics [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1912.04232
GB/T 7714
SCHOENHOLZ SS, CUBUK ED. JAX, M.D.: A Framework for Differentiable Physics[EB/OL]. (2019-12-09)[2026-11-30]. https://arxiv.org/abs/1912.04232.

Abstract

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 www.github.com/google/jax-md.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!