Differentiable cosmological hydrodynamics for field level inference and high dimensional parameter constraints

ABSTRACT Hydrodynamical simulations are the most accurate way to model structure formation in the Universe, but they often involve a large number of astrophysical parameters modelling subgrid physics, in addition to cosmological parameters. This results in a high-dimensional space that is difficult to constrain jointly using traditional statistical methods due to prohibitive computational costs. To address this, we present a fully differentiable approach for cosmological hydrodynamical simulations and a proof-of-concept fixed Eulerian grid no-cooling implementation, diffHydro. By back-propagating through an upwind finite volume scheme for solving the Euler Equations jointly with a dark matter particle-mesh method for the Poisson equation, we are able to efficiently evaluate derivatives of the output baryonic fields with respect to input density and model parameters. Importantly, we demonstrate how to differentiate through stochastically sampled discrete random variables, which frequently appear in subgrid models. We use this framework to rapidly sample subgrid physics and cosmological parameters as well as perform field level inference of initial conditions using high dimensional optimization techniques. Our code is implemented in jax (python), allowing easy code development and GPU acceleration.

Authors

Institutions

Publication Details

Journal
Monthly Notices of the Royal Astronomical Society
Published
2025-10-16
DOI
https://doi.org/10.1093/mnras/staf1785
Citations
2
Primary Topic
Cosmology and Gravitation Theories
Type
article
Field-Weighted Citation Impact
2.31
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Differentiable cosmological hydrodynamics for field level inference and high dimensional parameter constraints

Zarija Lukić, Benjamin Horowitz
2 citations
Monthly Notices of the Royal Astronomical Society
Cosmology and Gravitation Theories
2.31
article

Differentiable cosmological hydrodynamics for field level inference and high dimensional parameter constraints

Zarija Lukić, Benjamin Horowitz
article en
2 citations

Abstract

ABSTRACT Hydrodynamical simulations are the most accurate way to model structure formation in the Universe, but they often involve a large number of astrophysical parameters modelling subgrid physics, in addition to cosmological parameters. This results in a high-dimensional space that is difficult to constrain jointly using traditional statistical methods due to prohibitive computational costs. To address this, we present a fully differentiable approach for cosmological hydrodynamical simulations and a proof-of-concept fixed Eulerian grid no-cooling implementation, diffHydro. By back-propagating through an upwind finite volume scheme for solving the Euler Equations jointly with a dark matter particle-mesh method for the Poisson equation, we are able to efficiently evaluate derivatives of the output baryonic fields with respect to input density and model parameters. Importantly, we demonstrate how to differentiate through stochastically sampled discrete random variables, which frequently appear in subgrid models. We use this framework to rapidly sample subgrid physics and cosmological parameters as well as perform field level inference of initial conditions using high dimensional optimization techniques. Our code is implemented in jax (python), allowing easy code development and GPU acceleration.

Monthly Notices of the Royal Astronomical SocietyVol. 544(1)
Lawrence Berkeley National Laboratory (US), Kavli Institute for the Physics and Mathematics of the Universe (JP), The University of Tokyo (JP)
Openalex Percentile: Top 10%
Cosmology and Gravitation Theories
2.31
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.