ASURA-FDPS-ML: Star-by-star Galaxy Simulations Accelerated by Surrogate Modeling for Supernova Feedback

Keiya Hirashima, Kana Moriwaki, Michiko S. Fujii, Yutaka Hirai, Takayuki R. Saitoh, Junnichiro Makino, Ulrich P. Steinwandel, Shirley Ho · DOI

Abstract

Simulating galaxies at star-by-star resolution is computationally expensive due to the tiny timesteps required to resolve supernova (SN) feedback. We present ASURA-FDPS-ML, a hybrid framework that utilizes a machine learning surrogate model to accelerate these calculations. By replacing direct numerical integration of SN explosions in dense regions with a 3D U-Net prediction, the framework achieves a 4x speedup in total simulation time. Crucially, the model maintains high physical fidelity, accurately reproducing star formation histories, galactic outflows, and the multi-phase structure of the interstellar medium (ISM).

Introduction

In the quest to understand galaxy evolution, astrophysicists are moving toward "star-by-star" simulations that resolve individual stellar births and deaths. However, a massive bottleneck exists: Supernova Feedback. When a star explodes, it releases $10^{51}$ ergs of energy. Capturing the initial expansion (the Sedov-Taylor phase) requires integration timesteps as short as hundreds of years—three orders of magnitude smaller than the typical timesteps used for the rest of the galaxy. In dense interstellar environments, these tiny steps grind simulations to a halt. Traditional "subgrid" models bypass this by simplifying the physics, but they often fail to capture the inhomogeneous, turbulent nature of the interstellar medium.

Methods

The authors developed a hybrid "on-the-fly" framework that splits the workload between two types of processes:

  1. Main (Physics): Handles the global N-body gravity and Smoothed Particle Hydrodynamics (SPH) for the galaxy using standard methods.
  2. Pool (ML Surrogate): When a supernova occurs in a dense region ($n_H > 1 \text{ cm}^{-3}$), the local gas data is sent to a "Pool" process. Instead of simulating the explosion step-by-step, a surrogate model predicts the state of the gas 0.1 Myr later.
Schematic of the ASURA-FDPS-ML hybrid framework showing the parallel processing between the main galaxy computation and the SN surrogate modeling pool.

The Surrogate Model Architecture

The core of the Pool process is a 3D U-Net, a convolutional neural network trained to map the 3D distribution of density, temperature, and velocity from "before" to "after" the explosion. To bridge the gap between grid-based ML outputs and particle-based SPH simulations, the authors use Gibbs Sampling to reconstruct SPH particles. A thermal constraint, implemented via linear regression, ensures that the total thermal energy of the reconstructed "hot" particles matches physical expectations based on local density.

Training and Evaluation

The surrogate model was trained on 400 high-resolution simulations of single SN explosions within turbulent molecular clouds, performed at a resolution of $1 M_\odot$ per particle. The framework was then evaluated using an isolated dwarf galaxy simulation with a total mass of $2 \times 10^{10} M_\odot$ and a baryonic resolution of $4 M_\odot$.

Key Results

The ASURA-FDPS-ML framework achieved a 4x speedup, reducing the total number of computation steps by 75% compared to direct numerical simulation (DNS).

Physical Accuracy and Scale Bridging

Despite the significant speedup, the simulation maintained high physical accuracy across several metrics:

  • Star Formation: The total stellar mass formed remained within a few percent of DNS results.
  • Outflows: Mass and energy loading factors—measuring how much gas is ejected from the galaxy—matched DNS and other state-of-the-art simulations remarkably well.
  • Phase Structure: The three-phase ISM (cold, warm, and hot gas) was correctly reproduced.
Comparison of Star Formation Rate (SFR) over time between the direct numerical simulation (SN-DT) and the machine learning accelerated run (SN-ML).

A key innovation is the model's ability to "inject" the physical behavior of higher-resolution simulations ($1 M_\odot$) into a lower-resolution global run ($4 M_\odot$). This effectively circumvents "numerical overcooling," where thermal energy radiates away too quickly in low-resolution runs because the shock front is not resolved.

Discussion and Future Work

While successful, the authors noted some limitations. The ML-driven run showed a slight "momentum undershoot" in hot outflows at large distances (10 kpc), likely due to the difficulty of predicting high-velocity, low-density particle states. Additionally, the current model focuses solely on supernovae and does not yet include "early" feedback mechanisms like photoionization or stellar winds. Future work will focus on scaling this approach to massive, Milky Way-sized galaxies where the frequency of simultaneous supernovae is significantly higher.

Summary updated

BibTeX
@article{hirashima2025asura,
  author = {Keiya Hirashima and Kana Moriwaki and Michiko S. Fujii and Yutaka Hirai and Takayuki R. Saitoh and Junnichiro Makino and Ulrich P. Steinwandel and Shirley Ho},
  title = {{ASURA-FDPS-ML: Star-by-star Galaxy Simulations Accelerated by Surrogate Modeling for Supernova Feedback}},
  journal = {The Astrophysical Journal},
  year = {2025},
  doi = {10.3847/1538-4357/add689},
}
Figure