Differentiable Cosmological Simulation with Adjoint Method - IRFU-AIM Access content directly
Journal Articles Astrophys.J.Suppl. Year : 2024

Differentiable Cosmological Simulation with Adjoint Method

Yin Li
  • Function : Author
Chirag Modi
  • Function : Author
Drew Jamieson
  • Function : Author
Yucheng Zhang
  • Function : Author
Libin Lu
  • Function : Author
Yu Feng
  • Function : Author
Leslie Greengard
  • Function : Author

Abstract

Rapid advances in deep learning have brought not only myriad 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. Current differentiable cosmological simulations are limited by memory, thus are subject to a trade-off between time and space/mass resolution. They typically integrate for only tens of time steps, unlike the standard non-differentiable simulations. 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, and will improve gradient based optimization and inference. We implement it in a particle-mesh (PM) $N$-body library pmwd (particle-mesh with derivatives). Based on the powerful AD system JAX, pmwd is fully differentiable, and is highly performant on GPUs.
Fichier principal
Vignette du fichier
Li_2024_ApJS_270_36.pdf (3.41 Mo) Télécharger le fichier
Origin : Publisher files allowed on an open archive

Dates and versions

hal-03892303 , version 1 (20-04-2024)

Licence

Attribution

Identifiers

Cite

Yin Li, Chirag Modi, Drew Jamieson, Yucheng Zhang, Libin Lu, et al.. Differentiable Cosmological Simulation with Adjoint Method. Astrophys.J.Suppl., 2024, 270 (2), pp.36. ⟨10.3847/1538-4365/ad0ce7⟩. ⟨hal-03892303⟩
85 View
0 Download

Altmetric

Share

Gmail Facebook X LinkedIn More