Abstract
Traditional binary population synthesis relies on a trade-off between speed and physical accuracy. This work introduces a machine learning framework that emulates high-fidelity stellar profiles from MESA simulations using a combination of Principal Component Analysis (PCA) and deep neural networks. The resulting emulator is fast, memory-efficient, and maintains physical consistency, enabling detailed internal stellar modeling at the scale of millions of systems.
Introduction
To understand the cosmic graveyard—black holes, neutron stars, and gravitational waves—astrophysicists use "binary population synthesis" codes to simulate millions of star pairs. Traditionally, these codes faced a brutal trade-off: use fast but oversimplified analytical "fits" from the 1990s, or use modern, high-fidelity tools like MESA (Modules for Experiments in Stellar Astrophysics).
A single MESA simulation can take over 100 CPU hours, making large-scale population studies computationally prohibitive. While the new POSYDON code uses interpolation to bridge this gap, it has historically struggled with "stellar profiles"—the detailed maps of a star's interior (like density from core to surface). These profiles are crucial for predicting supernova outcomes and black hole spins. This research introduces a machine learning framework to "emulate" these internal structures, replacing expensive simulations with lightning-fast neural networks.
Methodology
The authors developed a two-step machine learning pipeline to emulate stellar density profiles, integrating dimensionality reduction with deep learning.
The process begins with Dimensionality Reduction (PCA). A raw stellar profile consists of hundreds of data points. The team used Principal Component Analysis to "compress" these profiles. They found that just 8 principal components could capture 99.5% of the variance in their dataset, turning a complex curve into a simple vector of eight numbers.
Following compression, a Neural Network Prediction stage uses fully-connected feed-forward neural networks (12 hidden layers, 256 nodes each). These networks are trained to take initial binary conditions—masses of both stars and their orbital period—and predict the 8 PCA weights.
To ensure physical consistency, the framework employs Hybrid Interpolation. The emulator uses POSYDON’s existing scalar interpolators to predict "endpoints" (like central density and total mass) and then uses the neural network to "fill in the shape" of the profile between those points. Finally, a "monotonicity constraint" is applied to ensure the predicted density always decreases from the core to the surface, preventing unphysical "wiggles" caused by the PCA reconstruction.
Datasets
The models were trained and tested on the POSYDON v1 binary MESA grids, which include:
- HMS-HMS: Two hydrogen-rich main-sequence stars (~48,000 simulations).
- CO-HMS: One compact object and one hydrogen-rich star (~11,000 simulations).
- CO-HeMS: One compact object and one helium-rich star (~30,000 simulations).
These datasets represent the state-of-the-art in detailed binary evolution modeling and are publicly available via Zenodo.
Key Results and Insights
The ML emulator’s accuracy is comparable to "nearest-neighbor" interpolation but performs significantly better in the "consequential" error range (10% to 100% relative error) for specific grids like CO-HMS. Beyond accuracy, the framework offers significant advantages in speed and scale: once trained, the emulator can predict a stellar profile in milliseconds.
The biggest "aha" moment is memory efficiency. A full grid of MESA profiles takes up several gigabytes, whereas the trained neural network emulator is less than 100 megabytes. This makes high-fidelity modeling portable and accessible for researchers without massive server clusters. Furthermore, by enforcing monotonicity and using scalar anchors, the profiles remain physically plausible, allowing them to be used for subsequent physics recipes, such as common-envelope energy calculations or black hole spin estimates.
Limitations and Future Work
The current study focused primarily on density profiles for solar-metallicity stars in circular orbits. Future work, including POSYDON v2, will expand the emulator to cover eight different metallicities and eccentric orbits. Additionally, other quantities like angular velocity (rotation) are more "jagged" and may require more complex neural architectures. The authors also noted that while common stellar structures are predicted with near-perfect accuracy, rare evolutionary phases (like the end of carbon burning) are harder for the PCA to capture, highlighting where future "active learning" is needed.
Summary updated