BaryonBridge : Stochastic Interpolant Model for Fast Hydrodynamical Simulations
Benjamin Horowitz, Carolina Cuesta-Lazaro, Omar Yehia · 2025
Read BaryonBridge : Stochastic Interpolant Model for Fast Hydrodynamical Simulations by Benjamin Horowitz, Carolina Cuesta-Lazaro, Omar Yehia (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-19224.txt.
Introduction
Benjamin Horowitz, Carolina Cuesta-Lazaro, and Omar Yehia present BaryonBridge, a model that quickly turns cheap dark matter simulations into realistic maps of ordinary matter. Linking dark matter runs to costly hydrodynamical outputs is a long-standing bottleneck, since full physics simulations are far too slow to run for every question astronomers ask.
A stochastic interpolant learns the mapping in three dimensions, conditioned on cosmology and astrophysics settings, at a cost of only minutes of graphics time per volume. Trained on a multifield dataset, it reproduces hydrogen absorption statistics accurately down to small scales. Fast baryon maps widen the range of surveys theorists can confront with models.
Catalog record
| CREATOR | Benjamin Horowitz, Carolina Cuesta-Lazaro, Omar Yehia |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 18 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2510-19224
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
BaryonBridge : Stochastic Interpolant Model for Fast Hydrodynamical Simulations Benjamin Horowitz, Carolina Cuesta-Lazaro, Omar Yehia Abstract Constructing a general-purpose framework for mapping between dark matter simulations and observable hydrodynamical simulation outputs is a long-standing problem in modern astrophysics. In this work, we present a new approach utilizing stochastic interpolants to map between cheap fast particle mesh simulations and baryonic quantities in three dimensions, requiring a total of 7 7 GPU minutes per 256 3 grid size simulation. Using the CAMELS multifield dataset, we are able to condition our mapping on both cosmological and astrophysical properties. We focus this work on hydrodynamical quantities suitable for Ly- α \alpha observables finding excellent agreement up to small spatial scales, k ∼ 10.0 k\sim 10.0 ( h − 1 h^{-1} Mpc) at z = 2.0 z=2.0 , for Ly- α \alpha flux statistics. Our approach is fully convolutional, allowing training on comparatively small volumes and application to larger volumes, which was tested on TNG50. 1 Introduction Understanding the large-scale structure of the universe requires modeling both the nonlinear evolution of the dark matter cosmic web and the complex baryonic physics behind observable tracers. Cosmological hydrodynamical simulations have become essential tools for capturing these effects, but their high computational cost limits their use for next-generation surveys that demand large volumes and high fidelity. Estimating statistical quantities like power spectra and their covariances across wide parameter ranges becomes especially expensive, motivating the development of efficient surrogate models. A parallel line of development has focused on the reconstruction of initial conditions (ICs) from late-time observations via forward modeling. These approaches, often relying on differentiable structure formation models, enable constrained simulations that match observed data and support field-level inference. While powerful, their effectiveness is currently limited by the lack of efficient differentiable models that incorporate baryonic physics. Bridging this gap is critical for enabling more realistic reconstructions that account for feedback processes and their impact on observables. Recently, deep learning-based surrogate models have emerged to accelerate simulation workflows. These methods typically either (1) augment low-cost dark matter simulations with baryonic effects ( Harrington et al. 2022 ; Horowitz et al. 2022 ) , or (2) generate full hydrodynamical outputs directly ( Tröster et al. 2019 ; Bernardini et al. 2025 ) . Our work builds on these by introducing; (1) A differentiable and efficient simulation backbone using fastPM ( Feng et al. 2016 ) , enabling integration into inverse modeling frameworks ( Seljak et al. 2017 ; Li et al. 2022 ; Modi et al. 2018 ; Horowitz et al. 2019 ; Horowitz et al. 2021 ) , (2) a fully convolutional architecture that generalizes to arbitrary volume sizes while training on smaller boxes ( Harrington et al. 2022 ; Horowitz et al. 2022 ) (3) conditional modeling on cosmological and astrophysical parameters, crucial for capturing the effects of baryonic feedback and reducing uncertainties in cosmological inferences. Unlike unconditional generative models ( Zamudio-Fernandez et al. 2019 ; Hassan & Andrianomena 2023 ; Andrianomena et al. 2024 ) , our conditional framework leverages dark matter inputs to ensure generalization and independence across realizations—features necessary for covariance estimation and field-level reconstruction tasks. 2 Simulations Figure 1: We show the input density FastPM generated density field and generated neutral hydrogen ( N_{HI} ), temperature (T), and inferred Ly- \alpha flux from our BaryonBridge model compared to the simulated true result in the TNG50 simulation. 2.1 CAMELS and TNG50 CAMELS ( Villaescusa-Navarro et al. 2021 ) is a large-scale simulation effort designed to connect cosmological structure formation with astrophysical feedback processes using both N-body and hydrodynamic simulations. In this work, we focus exclusively on the IllustrisTNG suite of CAMELS, which employs the moving-mesh AREPO code ( Springel 2010 ; Weinberger et al. 2020 ) and adopts the same subgrid physics model as the original IllustrisTNG simulations ( Weinberger et al. 2017 ; Pillepich et al. 2018 ) . Each simulation in the IllustrisTNG suite follows the coupled evolution of dark matter and baryonic matter in a (25~h^{-1}\mathrm{Mpc})^{3} periodic volume, using 256^{3} particles per component. Within this suite, the Latin Hypercube (LH) set consists of 1,000 distinct simulations sampling a wide range of cosmological ( \Omega_{m} and \sigma_{8} ) and astrophysical feedback ( A_{SN,1} , A_{SN,2} , A_{AGN,1} , A_{AGN,2} ) parameters using a Latin hypercube design. This enables broad coverage of the parameter space with relatively few samples. We use the CAMELS Multifield Dataset (CMD) ( Villaescusa-Navarro et al. 2022 ) , which provides 3D grids derived from the CAMELS simulation outputs. Specifically, we specialize to the 3D volumes from the IllustrisTNG-LH set, leveraging its diversity in cosmological and feedback parameters to train and validate our model. For this work we focus on Ly- \alpha Forest observables, so we are interested in neutral hydrogen density, temperature, and line of sight (LOS) velocity. The grid LOS velocity is not available in the CMD dataset, so we construct it from available particle data. To test our model on larger simulation boxes, we also use the TNG50 simulation ( Nelson et al. 2019 ) . Like the CAMELS boxes, it uses AREPO hydrodynamics code along with a TNG subgrid physics model. However, it has \sim 3 times the volume (35 h^{-1} Mpc) at significantly higher particle density of 2160^{3} . This change of both simulation volume and resolution will provide a robust test for the generalization of our model. 2.2 Particle Mesh Simulations For our conditioning field, we use particle mesh simulations with matched initial conditions of the full hydrodynamical simulations. We use a JAX implementation ( Lanzieri et al. 2022 ) of the FastPM algorithm ( Feng et al. 2016 ) . Fast particle mesh algorithms have become a standard tool for field level inference since they are straightforward to take analytical derivatives of output quantities with respect to initial conditions, this enables derivative based optimization/sampling methods for initial condition inference. ( Seljak et al. 2017 ; Modi et al. 2018 ; Horowitz et al. 2019 ; Horowitz et al. 2021 ) For our particle mesh simulations, we take the particle/velocity initial conditions given in the CAMELS simulation set and use them as ICs for our particle mesh code. We down-sample the particles uniformly to 256^{3} , and use a force resolution B=2 to provide more accurate diffuse large scale structure necessary for Ly- \alpha statistics. We use a CIC painting scheme to readout the particle masses, total velocities, and line of sight velocities on a 128^{3} grid to match those in the CAMELS multifield set. We use the matter density and total velocity as inputs to our interpolant model. 2.3 Mapping to Ly- \alpha Forest For our example observable, we focus on Ly- \alpha forest since it is a field-level quantity which has high dependance on both astrophysics ( Kooistra et al. 2022 ) and cosmology ( Lukić et al. 2014 ) . The expression for optical depth, \tau , in real space, as given in ( Lukić et al. 2014 ) , is: \tau_{\nu}\equiv\int n_{HI}\sigma_{\nu}dr. (1) Figure 2: Comparison of redshift space Ly- \alpha flux for both the original TNG50 simulation and that mapped via BaryonBridge code. We also compare to an analytical approximation given via the Flucuating Gunn-Peterson Approximation (FGPA) on