Learning the Stellar Structure Equations via Self-supervised Physics-Informed Neural Networks

Continuous radial profiles learned by the PINN framework.

Abstract

Stellar astrophysics relies critically on accurate descriptions of the physical conditions inside stars. Traditional solvers such as MESA, which employ adaptive finite-difference methods, can become computationally expensive and challenging to scale for large stellar population synthesis. In this work, we present a self-supervised physics-informed neural network (PINN) framework that provides a mesh-free and fully differentiable approach to solving the stellar structure equations under hydrostatic and thermal equilibrium. The model takes as input the stellar boundary conditions together with the chemical composition, and learns continuous radial profiles for mass, pressure, density, temperature, and luminosity by enforcing the governing structure equations through physics-based loss terms. To incorporate realistic microphysics, we introduce auxiliary neural networks that approximate the equation of state and opacity tables as smooth, differentiable functions. Once trained, the model produces continuous solutions across the entire radial domain without requiring discretization or interpolation.

Publication
arXiv preprint arXiv:2604.06255

Manuel Ballester, Santiago Lopez-Tapia, Seth Gossage, Patrick Koller, Philipp M Srivastava, Ugur Demir, Yongseok Jo, Almudena P Marquez, Christoph Würsch, Souvik Chakraborty, Vicky Kalogera, and Aggelos K. Katsaggelos

Abstract

This research introduces a mesh-free approach to solving the fundamental equations of stellar structure using Physics-Informed Neural Networks (PINNs). By enforcing hydrostatic and thermal equilibrium constraints directly within the loss function, we eliminate the need for traditional grid-based discretization used in solvers like MESA.

Our framework incorporates auxiliary neural surrogates for microphysics (opacities and equation of state), allowing the model to learn continuous, differentiable radial profiles across a wide range of stellar masses.

BibTeX Citation

@misc{ballester2026learningstellarstructure,
      title={Learning the Stellar Structure Equations via Self-supervised Physics-Informed Neural Networks}, 
      author={Manuel Ballester and Santiago Lopez-Tapia and Seth Gossage and Patrick Koller and Philipp M. Srivastava and Ugur Demir and Yongseok Jo and Almudena P. Marquez and Christoph Wuersch and Souvik Chakraborty and Vicky Kalogera and Aggelos Katsaggelos},
      year={2026},
      eprint={2604.06255},
      archivePrefix={arXiv},
      primaryClass={astro-ph.SR},
      url={https://arxiv.org/abs/2604.06255}, 
}
Patrick Koller
Patrick Koller
PhD Candidate

I work on scientific machine learning, focusing on physics-informed neural networks, neural operators, and large-scale physical simulations.