~/aixsci
weekly updates

astronomy/ai produced the result/ · v2

Neural network learns which gravitational wave sources detectors can spot

Researchers trained a normalising flow, a neural network that learns the shape of a distribution, on public LIGO/Virgo/KAGRA O4 injection data, so it can estimate the chance that a given binary merger would be detected.

1. Obtain O4 injection campaign data2. Select detected events, split and standardise3. Train normalising flow on detected events4. Evaluate detection probability by density ratio5. Two-sample tests of flow samples against held-out data6. Estimate detection efficiency and compare with Monte Carlo importance sampling

spectrum · one line per step, placed by what the step does · bright lines used AI

Normalizing Flow Emulator for Gravitational Wave Detection Probability in the LIGO/Virgo/KAGRA O4 Observing Run

doi:10.48550/arxiv.2610.00306 · record aix-00305 v2 · checked 2026-11-16

ai-resultrole of AI
AI was for
Simulation surrogate, Property prediction
Model family
Normalising flow, Multilayer perceptron
Checked by
Held-out
Code
available

The finding the paper is about came from the AI.

read as

The science is explained before the AI appears. Switch to field specialist to go straight to the method.

Assumes the discipline and goes straight to the method.

The diagram, the record and what the paper did not report are identical in both modes. Only the framing changes, never the evidence.

Introduction by AIxSci · plain language

What this research was about

When two black holes or neutron stars spiral together and merge, they shake space itself, sending out gravitational waves that detectors on Earth can pick up. But the detectors miss most mergers. Faint, distant or awkwardly oriented sources slip past. To work out what the true population of mergers looks like, astronomers must therefore know their selection effects: for a binary with a given set of properties, what is the chance it would have been seen at all? That chance depends on many quantities at once, including the two masses, the spins, the distance and the orientation, so it cannot be read off a simple formula.

The usual way to measure it is an injection campaign. Fake signals with known properties are added to real detector data and the search pipelines are run to see which ones come back. The LIGO, Virgo and KAGRA collaborations have released such results for the first two stretches of their fourth observing run, O4a and O4b. Working from those public files, the authors set out to build a fast stand-in, an emulator that returns a detection probability for any combination of thirteen binary parameters without rerunning the search.

Where AI came in

The AI here is a normalising flow, a network that is shown a pile of example points and learns a smooth probability density over the space they live in. The authors fed it only the injections that were detected, nearly 500,000 thirteen-dimensional parameter sets, and trained it to describe how detected mergers are spread through that space. Because the properties the fake signals were drawn from are known in advance, dividing the learned density by that known input distribution, and by the fraction of injections recovered overall, turns the flow's output into a detection probability for any binary the user supplies.

The flow therefore stands in for the injection campaign itself: instead of simulating and searching for new signals, a user queries the trained network. The authors report that evaluating a million events takes under three seconds on a laptop without a graphics card, while training took under an hour on a GPU. They checked the emulator by generating synthetic detections from the flow and comparing them statistically with held-out injections the network had never seen, and by comparing its detection efficiencies with estimates obtained directly from the injection data. A second, simpler network was trained as one of those statistical tests.

Written by AIxSci from the checked record below, to give context for readers outside the field. It is not part of the record.

The work

Technical · from the record

The authors trained a normalising flow on the publicly released LIGO/Virgo/KAGRA O4a and O4b injection campaigns to estimate the probability that a compact binary merger with given parameters is detected. The flow models the density of the 13 binary parameters of detected events, and the detection probability is obtained by dividing that learned density by the known injection population density and the injection detection efficiency. Two-sample tests comparing flow samples, and emulator-labelled detections, with a held-out test set of detected injections did not reject the hypothesis that the distributions match. For the injection population model the emulator gave a detection efficiency of (1.122±0.004)×10−3 against (1.125±0.002)×10−3 from Monte Carlo integration of the injection data, and across randomly parameterised population models the median relative deviation between the two estimates was about 1.2%; fewer than 0.25% of predicted probabilities on the test set exceeded one and were clipped.

How AI was used

A triangular spline normalising flow, implemented in JAX with FlowJAX, was fitted by minimising the mean negative log-likelihood on the detected events of the O4a and O4b injection campaigns, using 10 knots and 10 flow layers, a standard normal base distribution, standardised inputs, bijection constraints enforcing parameter supports and the primary-secondary mass ordering, a 0.9 train/test split with a further 0.8 split for validation, and early stopping on validation loss. The learned density of parameters given detection was then combined, via Bayes' theorem, with the analytic injection population density and the injection detection efficiency to return a detection probability for any supplied set of the 13 merger parameters, with missing parameters drawn from the injection model and values above one clipped. Evaluation sampled the flow generatively and compared the samples with the held-out detected injections using Kolmogorov-Smirnov, Anderson-Darling, PQMass and classifier two-sample tests, the last of which required training a fully connected binary classifier; p-values were combined with the Cauchy method and a prospective power analysis set the required sample size. An end-to-end run drew parameters from the injection model and from randomly parameterised GWTC-5-like population models by inverse transform sampling, probabilistically accepted events as detections using the predicted probabilities, and averaged the probabilities to estimate detection efficiency, with an ensemble of eight flows of varying capacity and seeds used for uncertainty and Monte Carlo importance sampling of the injection data as the comparison method.

The shape of the work

Structural · the record, drawn

ACQUISITIONPREPARATIONTRAININGINFERENCEVALIDATIONVALIDATION123456AIAIAIObtain O4injectioncampaign dataSelect detectedevents, split andstandardiseTrain normalisingflow on detectedeventsEvaluatedetectionprobability by d…Two-sample testsof flow samplesagainst held-out…Estimatedetectionefficiency and c…↤ simulation↤ simulation
AI stepNo AI↤ what the AI stood in for

Obtain O4 injection campaign data

Obtaining raw data, whether by measurement, download or retrieval.

For the NF to learn the parameter space of detected events, we use the publicly available search sensitivity estimates from.where the paper describes this · verbatim
in the paper

Select detected events, split and standardise

Cleaning, filtering, normalising or labelling data already obtained.

Upon loading the injection dataset and including only detected events, we are left with nearly 500,000 13-dimensional parameter combinations.where the paper describes this · verbatim
in the paper

Train normalising flow on detected events

Fitting model parameters, including fine-tuning an existing model. The AI stood in for simulation.

We train an NF on the detected events in the injection datawhere the paper describes this · verbatim
in the paper

Evaluate detection probability by density ratio

Running a trained model over new data to predict, classify or score. The AI stood in for simulation.

Once trained, this emulator can be used to estimate the detection probabilitywhere the paper describes this · verbatim
in the paper

Two-sample tests of flow samples against held-out data

Testing outputs against ground truth.

Our evaluation is based primarily on two-sample tests, both for the generative NF itself and for the end-to-end emulatorwhere the paper describes this · verbatim
in the paper

Estimate detection efficiency and compare with Monte Carlo importance sampling

Testing outputs against ground truth.

we compare the detection efficiencies predicted by the NF emulator with those from Monte Carlo importance sampling and find good agreementwhere the paper describes this · verbatim
in the paper

What the record says

Technical · every part carries its own basis

+ in the paper~ our reading− not reported

How to read the quotations. A quotation shows where the paper describes something. It does not quote every value beside it: one passage locates a part of the work, and values without their own quotation are our reading of that passage.

~Role of AI
AI produced the resultour reading

The paper's object is the trained emulator itself: the normalising flow produces the detection-probability and detection-efficiency estimates that all reported results concern.

+What the AI was for
Through manual testing, we found that a triangular_spline_flow with a normal distribution as the base distributionwhere the paper describes this · verbatim
+Model families
+How it was taught
+Models named
triangular spline flow (FlowJAX) · Trained from scratchensemble of 8 normalising flows with varying capacity and seeds · Trained from scratchfully connected binary classifier for the classifier two-sample test · Trained from scratchin the paper
+How results were checked
Held-outin the paper
We split the data into a training and test set at a split ratio of 0.9.where the paper describes this · verbatim
+Code · weights · data
code availableweights availabledata availablein the paper
The training code and trained models from this work are publicly available.where the paper describes this · verbatim
+Compute
Training on an NVIDIA A40, A100 or H100 GPU takes less than one hour with batch size 2048 or 4096; up to 5000 epochs, usually finishing around 2000 epochs. Evaluating 1 million events on a laptop without GPU takes under three seconds.in the paper

What this paper did not report

Technical · absence is published deliberately

Reported as not stated: 5 items
  • How many were testedThe paper gives no count of what was tested.
  • Version of triangular spline flow (FlowJAX)Which version of the model was used is not stated.
  • Version of ensemble of 8 normalising flows with varying capacity and seedsWhich version of the model was used is not stated.
  • Version of fully connected binary classifier for the classifier two-sample testWhich version of the model was used is not stated.
  • What step 5 replacedThe paper gives no basis for what the AI stood in for.

About this article

Record aix-00305, version 2, checked by a person on 2026-11-16. The record describes the paper; it does not assess whether the paper's findings are right. The paper is published under CC-BY; quotations are at most 25 words. How we work · Report an error

Cite this record: AIxSci (2026). Neural network learns which gravitational wave sources detectors can spot. Record aix-00305, version 2, checked 2026-11-16. https://aixsci.org/articles/aix-00305/