English

Emulating the interstellar medium chemistry with neural operators

Astrophysics of Galaxies 2024-02-21 v1 Machine Learning

Abstract

Galaxy formation and evolution critically depend on understanding the complex photo-chemical processes that govern the evolution and thermodynamics of the InterStellar Medium (ISM). Computationally, solving chemistry is among the most heavy tasks in cosmological and astrophysical simulations. The evolution of such non-equilibrium photo-chemical network relies on implicit, precise, computationally costly, ordinary differential equations (ODE) solvers. Here, we aim at substituting such procedural solvers with fast, pre-trained, emulators based on neural operators. We emulate a non-equilibrium chemical network up to H2_2 formation (9 species, 52 reactions) by adopting the DeepONet formalism, i.e. by splitting the ODE solver operator that maps the initial conditions and time evolution into a tensor product of two neural networks. We use KROME\texttt{KROME} to generate a training set spanning 2log(n/cm3)3.5-2\leq \log(n/\mathrm{cm}^{-3}) \leq 3.5, log(20)log(T/K)5.5\log(20) \leq\log(T/\mathrm{K}) \leq 5.5, 6log(ni/n)<0-6 \leq \log(n_i/n) < 0, and by adopting an incident radiation field F\textbf{F} sampled in 10 energy bins with a continuity prior. We separately train the solver for TT and each nin_i for 4.34GPUhrs\simeq 4.34\,\rm GPUhrs. Compared with the reference solutions obtained by KROME\texttt{KROME} for single zone models, the typical precision obtained is of order 10210^{-2}, i.e. the 10×10 \times better with a training that is 40×40 \times less costly with respect to previous emulators which however considered only a fixed F\mathbf{F}. The present model achieves a speed-up of a factor of 128×128 \times with respect to stiff ODE solvers. Our neural emulator represents a significant leap forward in the modeling of ISM chemistry, offering a good balance of precision, versatility, and computational efficiency.

Keywords

Cite

@article{arxiv.2402.12435,
  title  = {Emulating the interstellar medium chemistry with neural operators},
  author = {Lorenzo Branca and Andrea Pallottini},
  journal= {arXiv preprint arXiv:2402.12435},
  year   = {2024}
}

Comments

13 pages, 5 figures, Accepted for publication in A&A

R2 v1 2026-06-28T14:53:37.280Z