The guide assumes the course chapters on rank tests and importance weights. Every number below comes from the cited paper unless it is marked as a result of this site's toy model.
What was read and what kind of source it is
The arXiv records list Physical Review Letters 127, 241103 for the first letter and 130, 171403 for the second. Dax and colleagues, 2021 Dax and colleagues, 2023 The review by Cranmer and colleagues places this work in the wider field of simulation-based inference, where a simulator can produce data but its likelihood is hard or impossible to write down. Cranmer, Brehmer and Louppe, 2020 DINGO is an unusual member of that field, because a gravitational-wave likelihood can be evaluated. That fact makes the 2023 check possible.
Figure 2 of the 2021 letter: the P–P plot
The test uses 1000 simulated signals in stationary Gaussian noise, drawn the same way as the training data. For each parameter, the authors take the percentile of the true value within its one-dimensional posterior and plot the cumulative distribution of these percentiles. A calibrated posterior gives uniform percentiles, so each curve should follow the diagonal. Kolmogorov–Smirnov p-values for the separate parameters are combined into one p-value of 0.46.
This is the rank test of Talts and colleagues drawn as a cumulative curve instead of a histogram. If uj is the percentile of the truth in simulation j, the plotted curve is
and calibration predicts F^(x)≈x. Talts and colleagues, 2018, Section 4.1 Read the figure for three things.
- It tests marginals only. A wrong correlation between two parameters leaves every curve on the diagonal. This site's toy model met exactly that failure: a sampler bug passed one-dimensional rank tests with tail probabilities 0.462 and 0.781.
- It averages over the prior. A posterior that is too wide in one region and too narrow in another can still produce a diagonal curve.
- Its noise is the training noise. The letter says this directly: real data contain noise that is neither strictly stationary nor Gaussian and therefore lie outside the training distribution.
Figure 4 of the 2021 letter: divergences on real events
The main result runs DINGO and the LALInference MCMC sampler on the eight binary black hole events of the first catalogue that fit the network's prior, with component masses from 10 to 80 solar masses. DINGO draws 50,000 samples with 30 iterations of its time-alignment step in about 20 seconds. Training took about 10 days on one A100 GPU with 5×106 waveforms.
Figure 4 reports the Jensen–Shannon divergence between the two samplers' one-dimensional posteriors. The divergence runs from 0 to ln2≈0.69 nats. The mean over events and parameters is 0.0009 nats. Two LALInference runs that differ only in their random seed give 0.0007 nats. A maximum of 0.002 nats, taken from an earlier study, counts as indistinguishable; two events meet it for every parameter, and the others exceed it for one to three parameters. For scale, the letter states that changing the noise spectrum estimate or the waveform model moves the divergence by about 0.02 nats.
Both samplers use the same waveform model and the same noise assumptions. Figure 4 shows that the network reproduces the posterior of that model on real data. Whether the model fits the data is outside the figure, and the waveform-model shift of 0.02 nats is twenty times the network's error.
The 2023 letter: importance weights as a per-event check
The second letter treats the network output q(θ∣d) as a proposal. Each of n draws gets a weight
A perfect network gives equal weights and ϵ=1. The authors argue that the network's training loss, a forward Kullback–Leibler divergence, makes the proposal cover the whole posterior, so that broad tails get downweighted instead of missing regions going unseen.
Table I compares Dingo-IS with LALInference and Bilby for the two named events, giving divergences in units of 10−3 nats and evidence estimates. Table II colours each of the 42 events by efficiency and states that results can be trusted for medium and high values. The cut-offs for those colours are in the supplemental material, which this guide did not read.
The low-efficiency events have stated reasons: chirp masses near the lower prior edge, glitches in the data, strong precession that neither waveform model may capture, and one event that may be a noise fluctuation. On a glitch with no signal at all, efficiency falls to about one usable draw in 100,000. The authors conclude that low efficiency can have several causes but often serves as a useful heuristic for data outside the training distribution.
What efficiency cannot see
The weights use the assumed likelihood. A low efficiency therefore means the network disagrees with the exact posterior of the assumed model on this record. A high efficiency means they agree, and says nothing about whether the model is right.
In this site's toy model, which is not DINGO, a hidden second mode of strength 0.6 shows how large that gap can be. Efficiency stays at a median of 0.983 and the residual test flags 6.3% of records, yet both the network and the exact posterior cover the source in only 0.743 of records at the nominal 90% level. This is a model result on synthetic ringdowns. It suggests a kind of failure to look for and does not measure one in real data.
Cannon and colleagues ran neural simulation-based methods against deliberately misspecified simulators and found that misspecification can damage performance severely; no mitigation they tested prevented failure in all cases. Cannon, Ward and Schmon, 2022 Their paper is a preprint, and the general problem remains open.
The analogous checks on the toy model can be rerun with the method tutorial.
A checklist for the next paper you read
- Which data were the calibration simulations drawn from, and are they the training distribution?
- Is coverage tested only per parameter, or also jointly and by region of parameter space?
- Is the reference posterior computed under the same model? If so, the comparison tests the network, not the model.
- What efficiency or other per-event diagnostic is reported, and what cut-off was chosen before looking at the events?
- Which failure modes were tried on purpose, such as glitches, shifted noise or a wrong waveform family?
- What was not read? Supplements often hold the thresholds that the main text relies on.
Readers who want to try these questions on real detector data can start from the public tutorials of the Gravitational Wave Open Science Center, which walk through common analysis tasks step by step, mostly in Python. Gravitational Wave Open Science Center tutorials
Lab task
Open the neural posterior Lab.
- Choose the glitch preset. Read the importance-sampling efficiency next to the residual-test p-value. Which one would a Dingo-IS style check have used, and which one flags the record more clearly here?
- Choose the hidden second mode. Write down the efficiency, then the coverage. Which line of Table 6.3 does this reproduce?
Questions
- In Figure 2, why does a combined p-value of 0.46 say nothing about posteriors on real events?
- An event has ϵ=0.1% with n=105 proposal draws. How many effective samples remain?
- Figure 4 compares DINGO with LALInference under one waveform model. What comparison would test the waveform model instead?
AnswersShow the answer
- The 1000 injections use simulated stationary Gaussian noise drawn like the training data. A good score shows the network learned the training distribution; real noise lies outside it, as the letter itself says.
- neff=ϵn=10−3×105=100. That may still allow rough estimates, but the posterior is carried by a few heavily weighted draws and should be checked.
- Analyse the same events with a different waveform model and compare posteriors or evidences. The 2023 letter does this with IMRPhenomXPHM and SEOBNRv4PHM. Agreement between two models still leaves open whether either describes the signal fully.