Stellar collisions in dense galactic nuclei could play an important role in fueling supermassive black holes (SMBHs) and shaping their environments. The gas released during these collisions might contribute to SMBH accretion, influencing phenomena such as active galactic nuclei (AGNs) and tidal disruption events impacting their remnants. We address the challenge of rapidly and accurately predicting the outcomes of stellar collisions, including remnant masses and unbound gas, across a broad parameter space of initial conditions. Existing smoothed-particle-hydrodynamic (SPH) simulation techniques, while detailed, are too resource-intensive for exploratory studies or real-time applications. We developed a machine learning framework trained on a dataset of ∼ 16,000 SPH simulations of main-sequence star collisions. By extracting physically meaningful parameters (e.g. masses, radii, impact parameters, and virial ratios) and employing gradient-boosted regression trees with Huber loss, we constructed a model that balances accuracy and computational efficiency. The method includes logarithmic transforms to handle dynamic ranges and regularisation to ensure physical plausibility. The model achieves predictions of collision outcomes (remnant masses and unbound mass) with very low mean absolute errors respect to the typical mass scale. It operates in fractions of a second, enabling large-scale parameter studies and real-time applications. A parameter importance analysis reveals that the impact parameter and the relative velocity dominate the outcomes, in accordance with theoretical expectations. Our approach provides a scalable tool for studying stellar collisions in galactic nuclei. The rapid predictions facilitate investigations into gas supply for SMBH accretion and the cumulative effects of collisions over cosmic time, which is particularly relevant in ongoing efforts to address the growth of SMBHs.
Pau Amaro Seoane (Tue,) studied this question.