Data-Driven Generation of Neutron Star Equations of State Using Variational Autoencoders

Alex Ross, Tianqi Zhao, Sanjay Reddy
1/29/2026
astro-ph.HEastro-ph.IMastro-ph.SR

No confident code implementation found for this paper.

Abstract

We develop a machine learning model based on a structured variational autoencoder (VAE) framework to reconstruct and generate neutron star (NS) equations of state (EOS). The VAE consists of an encoder network that maps high-dimensional EOS data into a lower-dimensional latent space and a decoder network that reconstructs the full EOS from the latent representation.

Show full abstract

The latent space includes supervised NS observables derived from the training EOS data, as well as latent random variables corresponding to additional unspecified EOS features learned automatically. Sampling the latent space enables the generation of new, causal, and stable EOS models that satisfy astronomical constraints on the supervised NS observables, while allowing Bayesian inference of the EOS incorporating additional multimessenger data, including gravitational waves from LIGO/Virgo and mass and radius measurements of pulsars. Based on a VAE trained on a Skyrme EOS dataset, we find that a latent space with two supervised NS observables, the maximum mass $(M_{\max})$ and the canonical radius $(R_{1.4})$, together with one latent random variable controlling the EOS near the crust--core transition, can already reconstruct Skyrme EOSs with high fidelity, achieving mean absolute percentage errors of approximately $(0.15\%)$ for $(M_{\max})$ and $(R_{1.4})$ derived from the decoder-reconstructed EOS.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ross2026datadriven,
  title  = {Data-Driven Generation of Neutron Star Equations of State Using Variational Autoencoders},
  author = {Alex Ross and Tianqi Zhao and Sanjay Reddy},
  year   = {2026},
  eprint = {2601.21231},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.21231v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.21231.svg)](https://codeofpaper.com/paper/2601.21231)

Discussion