Using machine learning to parametrize postmerger signals from binary neutron stars

Tim Whittaker, William E. East, Stephen R. Green, Luis Lehner, Huan YangarXiv 2022 · arXiv

Abstract

The postmerger phase of binary neutron star (BNS) mergers provides critical insights into the ultra-dense equation of state (EOS) of nuclear matter. However, modeling these signals is challenging due to the high computational cost and inherent uncertainties of numerical relativity simulations. This paper introduces a machine learning approach using Conditional Variational Autoencoders (CVAEs) to build a generative, probabilistic model of postmerger waveforms. By partitioning the parameter space into known physical parameters and latent variables, the CVAE can capture unknown physics and modeling errors. While current datasets are too limited for a fully generalized model, synthetic data experiments demonstrate that the architecture can successfully learn physical relationships, such as neutron star compactness, given sufficient training data (approximately $10^4$ examples).

Introduction

When two neutron stars merge, the resulting remnant often undergoes a period of intense oscillation before potentially collapsing into a black hole. The gravitational waves emitted during this "postmerger" phase carry the signature of the hot, dense matter within the remnant, offering a unique laboratory for studying the neutron star Equation of State (EOS).

Despite their scientific value, postmerger signals are notoriously difficult to model. Unlike the inspiral phase, which can be described by post-Newtonian theory, the postmerger phase requires full Numerical Relativity (NR) simulations incorporating complex magnetohydrodynamics and microphysics. These simulations are computationally expensive and often limited in number, leading to a sparse and potentially biased parameter space coverage. Existing modeling efforts often rely on empirical relations, such as the correlation between the peak frequency of the postmerger signal and the radius of a cold neutron star. This paper proposes a more flexible, data-driven approach using generative machine learning to interpolate across the parameter space and account for theoretical uncertainties.

Methodology: The CVAE Framework

The authors employ a Conditional Variational Autoencoder (CVAE) to model the postmerger waveforms. The CVAE is a probabilistic generative model that learns a mapping between a high-dimensional data space (the waveforms) and a lower-dimensional latent space.

Split Parameter Approach

A key innovation in this work is the "split parameter" approach. The generation of a waveform $h$ is conditioned on two distinct sets of parameters:

  1. Known Parameters ($\theta$): These include well-defined physical properties like the total mass of the binary system.
  2. Latent Variables ($z$): These variables are intended to absorb "unknown" factors, including the EOS, specific modeling choices, and numerical discretization errors.
The CVAE architecture used to model postmerger signals, showing the encoder-decoder structure and the separation of known parameters $\theta$ and latent variables $z$.

Waveform Representation

Directly training on raw time-series data proved problematic, leading to overfitting and overdamping of the signals. To mitigate this, the authors represented the NR waveforms using a 9-parameter phenomenological model based on damped sinusoids. The CVAE was then trained to reproduce these 9 parameters rather than the raw time-series.

Data and Experiments

The study utilized two primary datasets:

  • CoRe Database: A collection of 123 high-quality postmerger waveforms extracted from the Computational Relativity (CoRe) database. This real-world dataset is currently too small to train a generalized model without significant overfitting.
  • Synthetic Dataset: To determine the data requirements for the CVAE, the authors created a "fiducial model" based on the real data. This allowed for the generation of approximately $1.01 \times 10^6$ synthetic waveforms, varying parameters like remnant mass and compactness.
Example postmerger waveforms showing the complex, oscillatory nature of the signals that the model aims to capture.

Key Results and Discussion

The experiments yielded several critical insights into the feasibility of ML-based postmerger modeling:

  1. Data Volume Requirements: Training on the small CoRe dataset led to severe overfitting, where the model memorized the training examples but failed to generalize. Synthetic tests revealed that a minimum of approximately $10^4$ training examples is necessary to achieve robust convergence and generalization.
  2. Physics Discovery in Latent Space: One of the most promising findings is that the CVAE's latent space naturally organizes itself according to underlying physics. Even without explicit labels, the latent variables $z$ showed a strong correlation with neutron star compactness ($\mathcal{C}$), effectively "discovering" a proxy for the EOS.
  3. Probabilistic Modeling of Uncertainty: By treating numerical discrepancies (e.g., differences between resolutions) as latent variables, the CVAE provides a probabilistic output. This allows the model to naturally represent the uncertainties inherent in NR simulations rather than providing a single, potentially misleading deterministic prediction.

Conclusion

This work demonstrates that CVAEs are a powerful tool for modeling the complex gravitational wave signals from binary neutron star postmergers. The architecture's ability to encode unknown physics into a latent space offers a path toward more flexible and accurate waveform models. However, the primary bottleneck remains the scarcity of high-quality numerical relativity simulations. Future progress will require a coordinated effort to expand waveform catalogs and the application of advanced ML techniques like AutoML to further optimize these generative models.

Summary updated

Abstract

There is growing interest in the detection and characterization of gravitational waves from postmerger oscillations of binary neutron stars. These signals contain information about the nature of the remnant and the high-density and out-of-equilibrium physics of the postmerger processes, which would complement any electromagnetic signal. However, the construction of binary neutron star postmerger waveforms is much more complicated than for binary black holes: (i) there are theoretical uncertainties in the neutron-star equation of state and other aspects of the high-density physics, (ii) numerical simulations are expensive and available ones only cover a small fraction of the parameter space with limited numerical accuracy, and (iii) it is unclear how to parametrize the theoretical uncertainties and interpolate across parameter space. In this work, we describe the use of a machine-learning method called a conditional variational autoencoder (CVAE) to construct postmerger models for hyper/massive neutron star remnant signals based on numerical-relativity simulations. The CVAE provides a probabilistic model, which encodes uncertainties in the training data within a set of latent parameters. We estimate that training such a model will ultimately require $\sim 10^4$ waveforms. However, using synthetic training waveforms as a proof-of-principle, we show that the CVAE can be used as an accurate generative model and that it encodes the equation of state in a useful latent representation.
BibTeX
@misc{whittaker2022using,
  author = {Tim Whittaker and William E. East and Stephen R. Green and Luis Lehner and Huan Yang},
  title = {{Using machine learning to parametrize postmerger signals from binary neutron stars}},
  year = {2022},
  eprint = {2201.06461},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2201.06461},
}
Figure