TY - JOUR
T1 - Differentiable Cosmological Simulation with the Adjoint Method
AU - Li, Yin
AU - Modi, Chirag
AU - Jamieson, Drew
AU - Zhang, Yucheng
AU - Lu, Libin
AU - Feng, Yu
AU - Lanusse, François
AU - Greengard, Leslie
N1 - Publisher Copyright:
© 2024. The Author(s). Published by the American Astronomical Society.
PY - 2024/2/1
Y1 - 2024/2/1
N2 - Rapid advances in deep learning have brought not only a myriad of powerful neural networks, but also breakthroughs that benefit established scientific research. In particular, automatic differentiation (AD) tools and computational accelerators like GPUs have facilitated forward modeling of the Universe with differentiable simulations. Based on analytic or automatic backpropagation, current differentiable cosmological simulations are limited by memory, and thus are subject to a trade-off between time and space/mass resolution, usually sacrificing both. We present a new approach free of such constraints, using the adjoint method and reverse time integration. It enables larger and more accurate forward modeling at the field level, and will improve gradient-based optimization and inference. We implement it in an open-source particle-mesh (PM) N-body library pmwd (PM with derivatives). Based on the powerful AD system JAX, pmwd is fully differentiable, and is highly performant on GPUs.
AB - Rapid advances in deep learning have brought not only a myriad of powerful neural networks, but also breakthroughs that benefit established scientific research. In particular, automatic differentiation (AD) tools and computational accelerators like GPUs have facilitated forward modeling of the Universe with differentiable simulations. Based on analytic or automatic backpropagation, current differentiable cosmological simulations are limited by memory, and thus are subject to a trade-off between time and space/mass resolution, usually sacrificing both. We present a new approach free of such constraints, using the adjoint method and reverse time integration. It enables larger and more accurate forward modeling at the field level, and will improve gradient-based optimization and inference. We implement it in an open-source particle-mesh (PM) N-body library pmwd (PM with derivatives). Based on the powerful AD system JAX, pmwd is fully differentiable, and is highly performant on GPUs.
UR - http://www.scopus.com/inward/record.url?scp=85184591109&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85184591109&partnerID=8YFLogxK
U2 - 10.3847/1538-4365/ad0ce7
DO - 10.3847/1538-4365/ad0ce7
M3 - Article
AN - SCOPUS:85184591109
SN - 0067-0049
VL - 270
JO - Astrophysical Journal, Supplement Series
JF - Astrophysical Journal, Supplement Series
IS - 2
M1 - 36
ER -