astro-ph.SRApr 6, 2026

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

Authors: Manuel Ballester, Santiago Lopez-Tapia, Seth Gossage, Patrick Koller, Philipp M. Srivastava, Ugur Demir, Yongseok Jo, Almudena P. Marquez, 

Organizations: SkAI Institute (NSF–Simons AI Institute for the Sky), Chicago, IL, USA · Department of Electrical and Computer Engineering, Northwestern University, Chicago, IL, USA · CIERA, Northwestern University, Chicago, IL, USA · Department of Physics and Astronomy, Northwestern University, Chicago, IL, USA · 

Abstract

Stellar astrophysics relies critically on accurate descriptions of the physical conditions inside stars. Traditional solvers such as MESA (Modules for Experiments in Stellar Astrophysics), which employ adaptive finite-difference methods, can become computationally expensive and challenging to scale for large stellar population synthesis (>109>10^9 stars). In this work, we present an 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 (at the center and surface) together with the chemical composition, and learns continuous radial profiles for mass Mr(r)M_r(r), pressure P(r)P(r), density ρ(r)ρ(r), temperature T(r)T(r), and luminosity Lr(r)L_r(r) 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 of the local thermodynamic state. These surrogates replace traditional tabulated inputs and enable end-to-end training. Once trained for a given star, the model produces continuous solutions across the entire radial domain without requiring discretization or interpolation. Validation against benchmark MESA models across a range of stellar masses yields a Mean Relative Absolute Error of 3.06%3.06\% and an average R2R^2 score of 99.98%99.98\%. To our knowledge, this is the first demonstration that the stellar structure equations can be solved in a fully self-supervised and data-free fashion employing PINNs. This work establishes a foundation for scalable, physics-informed emulation of stellar interiors and opens the door to future extensions toward time-dependent stellar evolution.

Figures & tables

Explore similar work

CardsList
  1. A Comparative Investigation of Thermodynamic Structure-Informed Neural Networks

    Mar 26, 2026Guojie Li, Liu HongPhysics-Informed MLPDE Inverse Problems

  2. Scale-PINN: Learning Efficient Physics-Informed Neural Networks Through Sequential Correction

    Feb 23, 2026Pao-Hsiung Chiu, Jian Cheng Wong, Chin Chun Ooi +3Neural PDE SolversPhysics-Informed ML