Costless correction of chain based nested sampling parameter estimation in gravitational wave data and beyond

Metha Prathaban, Will Handley

TL;DR

Nested sampling is a cornerstone of Bayesian inference in astronomy, but it often produces overconfident parameter estimates by ignoring how values fluctuate along likelihood contours. This paper introduces two "costless" methods—likelihood binning and reconstructed runs—that harness discarded "phantom points" from MCMC chains to calculate accurate, honest error bars without requiring additional computation.

What Problem Does This Paper Address?

In Bayesian inference, we use Nested Sampling (NS) to calculate two things: the evidence (how well a model fits the data) and parameter estimation (the specific properties of the system, like the mass of a black hole).

While the uncertainty in "evidence" is well-understood, parameter estimation in NS suffers from a hidden source of error. Standard methods assume that a single "dead point" is a perfect proxy for the average parameter value along an entire iso-likelihood contour. In reality, the stochastic nature of the algorithm means that a single run might pick a point that isn't representative of the whole contour. This leads to error bars that are too small—essentially, the algorithm is "too sure" of its answer. To get the "true" error bar, researchers usually have to run the entire simulation dozens of times, which is computationally ruinous for complex gravitational wave models.

Methods

The authors leverage a byproduct of chain-based samplers (like PolyChord) called phantom points. To find a new, independent sample, these samplers generate a Markov chain of points. Usually, only the final point is kept, and the rest are discarded. The authors propose two ways to use these "trash" points:

  1. Likelihood Binning: Phantom points are grouped (binned) by their likelihood values. When calculating parameter means, the algorithm resamples from these bins rather than relying on a single point. This captures the actual variation of the parameter along the contour.
  2. Reconstructed Runs: Since phantom points are valid samples from the prior (constrained by likelihood), the authors use them to "reconstruct" multiple parallel NS runs from the data of a single execution.
  3. Convergence Check: They introduce a diagnostic tool that splits the chains in half to see if the parameter estimates agree. If they don't, it’s a clear signal that the chain length was too short to produce uncorrelated samples.

Datasets

The study uses simulated Gravitational Wave (GW) signals to test the methods:

  • Signal Type: Binary Black Hole (BBH) coalescences, modeled after the historic GW150914 event.
  • Parameters: They focused on chirp mass ($\mathcal{M}$), mass ratio ($q$), luminosity distance ($d_L$), and zenith angle ($\theta_{jn}$).
  • Waveform Model: IMRPhenomPv2.
  • Configuration: Simulated data for the LIGO-Hanford and LIGO-Livingston interferometers with a high Signal-to-Noise Ratio (SNR) of 51.

Key Insights and Ideas

  • The "Phantom" Goldmine: The most significant insight is that the information needed to fix NS error bars is already being generated; we were just throwing it away.
  • Standard Methods Fail the K-S Test: The paper proves that the "simulated weights method" (the current standard) fails to produce a uniform distribution of percentiles for chirp mass, meaning its error bars are statistically inconsistent.
  • Parameter Sensitivity: Not all parameters are created equal. "Chirp mass" is easy to estimate even with short chains, but "luminosity distance" requires much longer chains to get enough uncorrelated phantom points for an accurate error estimate.
  • Costless Correction: Because these points are generated during the normal sampling process, implementing these fixes adds virtually zero CPU time to the inference process.

Key Results

  • Statistical Validity: Using the new methods, the Kolmogorov–Smirnov (K–S) test p-values for chirp mass improved from a failing 0.0001 to a healthy ~0.49, indicating the error bars now correctly reflect the true run-to-run variation.
  • Benchmarking: The results are comparable to the "Higson method" (a bootstrapping approach), but with the added benefit of the internal convergence check.
  • Impact on P-P Plots: The authors show that for large catalogs of events (e.g., 1000 signals), the NS uncertainty becomes as significant as the standard statistical uncertainty. Accounting for it is essential for accurate "coverage assessments" (checking if your model is biased).

Limitations and Future Work

  • Chain Length Dependence: The methods only work if the MCMC chains are long enough to produce uncorrelated phantom points. If the chains are too short, the error will still be underestimated (though the authors' new diagnostic tool will at least warn the user).
  • Sampler Specificity: While applicable to any chain-based sampler, the specific implementation in this paper was tuned for PolyChord.
  • Future Directions: The authors suggest that combining phantom points with single-live-point bootstrapping could lead to even more robust uncertainty quantification in the future.

Summary updated

Abstract

ABSTRACT Nested sampling parameter estimation differs from evidence estimation, in that it incurs an additional source of uncertainty. This uncertainty affects estimates of parameter means and credible intervals in gravitational wave analyses and beyond, and yet, it is typically not accounted for in standard uncertainty estimation methods. In this paper, we present two novel methods to quantify this uncertainty more accurately for any chain based nested sampler, using the additional likelihood calls made at run time in producing independent samples. Using injected signals of black hole binary coalescences as an example, we first show concretely that the usual uncertainty estimation method is insufficient to capture the true error bar on parameter estimates. We then demonstrate how the extra points in the chains of chain based samplers may be carefully utilized to estimate this uncertainty correctly, and provide a way to check the accuracy of the resulting error bars. Finally, we discuss how this uncertainty affects p–p plots and coverage assessments.
BibTeX
@inproceedings{prathaban2024costless,
  author = {Metha Prathaban and Will Handley},
  title = {{Costless correction of chain based nested sampling parameter estimation in gravitational wave data and beyond}},
  booktitle = {Monthly},
  year = {2024},
  doi = {10.1093/mnras/stae1908},
}

Loading related content...

Figure