Abstract: International audience
Introduction
Radiative Hydrodynamics (RHD) is a critical field in astrophysics, modeling the complex interactions between radiation and matter in extreme environments such as supernovae and stellar interiors. A significant challenge in RHD simulations is the computational cost associated with solving the transport equations. The HADES code, which implements the M1 multi-group model, tracks the evolution of radiative energy, flux, and pressure. However, the calculation of the Eddington tensor—the mathematical link between radiative pressure and energy—remains a major bottleneck. Traditional numerical solvers are often slow and prone to non-convergence, particularly in high-resolution multi-dimensional simulations.
Methodology
To address these computational hurdles, this research explores the application of a Multi-Layer Perceptron (MLP) to approximate the Eddington tensor. The proposed neural network architecture is relatively compact, consisting of four hidden layers with 36 neurons each.
The MLP is designed to map physical inputs—specifically radiative energy ($E_g$), radiative flux components ($F_{x,g}, F_{y,g}$), and radiation frequency bounds ($\nu_1, \nu_2$)—to the three independent components of the Eddington tensor ($D_{g,xx}, D_{g,yy}, D_{g,xy}$). Training was conducted over 500 epochs using a synthetic dataset generated to cover a wide range of physically valid states within the M1 model framework.
Results and Discussion
The implementation of the MLP-based solver yielded a significant 10x speedup in the computation of the Eddington tensor compared to standard numerical methods. Furthermore, the neural network successfully provided results in scenarios where traditional iterative solvers failed to converge.
However, the gain in speed is tempered by a loss in precision. While the error distributions for the tensor components are centered near zero, the "tails" of these distributions reveal substantial outliers.
As shown in the error analysis for $D_{g,xx}$ (Figure 6) and $D_{g,yy}$ (Figure 5), maximum errors can reach magnitudes as high as 0.7. In the context of RHD, where the tensor components are bounded, such discrepancies can lead to unphysical results and simulation instability if the MLP is used as a standalone replacement for traditional solvers.
Conclusion and Future Directions
The study demonstrates that while AI can drastically accelerate specific components of astrophysical simulations, current MLP architectures lack the precision required for high-fidelity physics modeling. To leverage the speed of AI without sacrificing accuracy, the authors propose a hybrid "warm start" strategy. In this approach, the MLP provides a rapid initial guess for the Eddington tensor, which is then refined by a traditional high-precision solver. This synergy aims to combine the robustness of classical numerical methods with the efficiency of machine learning, paving the way for more complex 3D radiative hydrodynamics simulations.
Summary updated