Testing General Relativity Through Gravitational Wave Classification: A Convolutional Neural Network Framework

Lavinia Heisenberg, Shayan Hemmatyar, Hector Villarrubia-Rojo
5/4/2026
gr-qcastro-ph.HEcs.LG

No confident code implementation found for this paper.

Abstract

We present a machine learning framework for testing general relativity (GR) with gravitational wave signals from binary black hole mergers. Using the source parameters of 173 BBH events from the GWTC catalog as a realistic astrophysical population, we generate simulated GR waveforms and construct beyond GR (BGR) waveforms by applying controlled phase deformations. We introduce a response function formalism that provides a systematic framework for quantifying how any observable responds to modifications of GR. We train convolutional neural networks (CNNs) on two input representations: whitened waveforms and a response function type observable derived from the waveform mismatch, which isolates the effect of phase deviations from the bulk signal. Using response functions as the CNN input improves the classification sensitivity by a factor of approximately 33 compared to whitened waveforms, demonstrating that the choice of observable representation is as important as the classifier architecture. We study the fundamental limits of this classification through Bayes optimal error analysis, averaging methods that reveal coherent patterns hidden in noise, and a comparison between CNN accuracy and a single feature classifier as a proxy for human performance. At all deformation scales, the CNN outperforms the best single feature approach. We extend the framework to physically motivated theories using the parameterized post Einsteinian (ppE) formalism and apply it to massive gravity, where the classifier detects deviations for graviton masses of order $m_g \sim 10^{-23}\;\mathrm{eV}/c^2$ with aLIGO design sensitivity.

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{heisenberg2026testing,
  title  = {Testing General Relativity Through Gravitational Wave Classification: A Convolutional Neural Network Framework},
  author = {Lavinia Heisenberg and Shayan Hemmatyar and Hector Villarrubia-Rojo},
  year   = {2026},
  eprint = {2605.02453},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.02453v1}
}

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/2605.02453.svg)](https://codeofpaper.com/paper/2605.02453)

Discussion