October 20, 2026

A hybrid neural network emulator for M1 neutrino reaction rates in binary neutron star merger simulations

Yi Qiu, David Radice, Raffaele Ferrari, and Albino Perego

Simulations of binary neutron star mergers must follow how neutrinos are emitted, absorbed and scattered, because neutrinos set the composition of the matter ejected in the merger and, with it, the heavy elements made by the r-process and the kilonova signal. In moment-based (M1) neutrino transport, these reaction rates are computed with the bns_nurates library. The most demanding of them—pair processes, nucleon–nucleon bremsstrahlung and inelastic neutrino–electron scattering—require two-dimensional integrals in every grid cell at every time step, and in a reference merger simulation the opacity calculation alone takes about 70% of the computing time.

Yi Qiu, David Radice, Raffaele Ferrari and Albino Perego replace only these expensive two-dimensional rates with a neural network, while the inexpensive one-dimensional processes are still evaluated exactly with bns_nurates. The hybrid emulator reproduces the opacities to within a few percent across the thermodynamic conditions found in mergers, and evaluating it is roughly an order of magnitude faster than the calculation it replaces.

When deployed in a full general-relativistic merger simulation with the AthenaK code, the emulator lowers the share of runtime spent on opacities from about 70% to about 20% and makes the whole simulation about twice as fast. It recovers the structure of the remnant and its disk, the neutrino luminosities and mean energies to within 5%, and the electron-fraction distribution of the unbound ejecta, which are the quantities that set the r-process yields and the kilonova. The present emulator is trained for one nuclear equation of state (DD2); extending it to other equations of state and to further reactions, including muonic processes, is the natural next step.

Electron fraction and temperature in merger simulations with the full neutrino rates and with the neural-network emulator
Electron fraction (left half of each panel) and temperature (right half) in the reference simulation (upper rows) and in the simulation with the neural-network emulator (lower rows), 9.2 ms and 0.9 ms before and 5.6 ms after the merger. Figure from arXiv:2610.28740.