Skip to content

Menu

WorksPhysics and Astronomy

Fisher and Bayes: accelerated gravitational-wave inference with model-informed seeding

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_56ufhr26. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

Bayesian inference of transient gravitational-wave signals typically relies on stochastic samplers initialised from the prior. For signals with a high signal-to-noise ratio, which are increasingly common as detector sensitivity improves, this makes exploration of the parameter space inefficient. We instead seed sampling from a Gaussian mixture model, with modes located by differential evolution and covariances set by the Fisher information matrix. We use the mixture in four ways: as a direct posterior approximation truncated to the prior support; as a proposal for rejection sampling; as the initial distribution for sequential Monte Carlo; and as an effective prior for nested sampling via posterior repartitioning. The direct approximation is near-instantaneous and provides a useful first look, but it is not statistically consistent with reference posteriors, even at high signal-to-noise ratio. The other three methods correct for the approximation, achieving speed-ups of up to a factor of ~4 over nested sampling on gravitational-wave examples, with a trade-off between speed and accuracy. Simulation studies quantify this trade-off, and a large-scale probability-probability test confirms that Laplace-seeded sequential Monte Carlo is unbiased, if properly configured. However, we find that seeding of a poor quality, such as missed modes, can diminish efficiency and accuracy. Overall, we conclude that model-informed seeding can provide modest acceleration and a rapid first look at the posterior distribution for gravitational-wave signals.

Introduction

Gravitational waves observed by ground-based interferometers such as LIGO1 [1], Virgo [2], and KAGRA [3] carry rich information about the astrophysical sources that generate them. To date, the LIGO-Virgo-KAGRA (LVK) observatories have discovered several hundred Compact Binary Coalescence (CBC) signals from systems containing black holes and neutron stars, published in the Gravitational-Wave Transient Catalog (GWTC) [4] [5].

Since the early days of the field, the process of searching for signals and measuring their significance has been separated from the process of inferring the properties of their sources [6]. This latter task, parameter estimation, involves approximating the multi-dimensional posterior distribution of the parameters θ\theta given the data dd and a model H\mathcal{H}, which by Bayes’ theorem is

p(θ∣d,H)=L(d∣θ,H)π(θ∣H)Z(d∣H),(1)p(\theta|d,\mathcal{H}) = \frac{\mathcal{L}(d|\theta,\mathcal{H})\pi(\theta|\mathcal{H})}{\mathcal{Z}(d|\mathcal{H})}, \tag*{(1)}

where L\mathcal{L} is the likelihood, π\pi is the prior and Z\mathcal{Z} is the evidence:

Z(d∣H)=∫dθL(d∣θ,H)π(θ∣H).(2)\mathcal{Z}(d|\mathcal{H}) = \int d\theta\mathcal{L}(d|\theta,\mathcal{H})\pi(\theta|\mathcal{H}) . \tag*{(2)}

State-of-the-art inference methods use stochastic sampling to approximate the posterior distribution and evidence. Specifically, nested sampling [7] and Markov Chain Monte Carlo (MCMC) [8, 9] have been widely deployed [see, e.g. 10–13]. As current detectors improve in sensitivity and next-generation detectors are built, both the number of observed signals and their Signal-to-Noise Ratio (SNR) will increase. This drives the development of faster algorithms, to handle the growing data volume, to reduce the time to produce results (enabling iterative studies), and to make computationally expensive models tractable. Broadly, inference can be accelerated by faster likelihood evaluation [14–16], better sampling efficiency [13, 17], parallelisation [18, 19], or a combination of these.

Before stochastic sampling was introduced to the field [see 20–22, for early examples], the Fisher approach [6, 23] was used to evaluate the sensitivity of detectors to different sources and to predict the precision with which parameters could be measured. At its heart, this approach computes the Fisher Information Matrix (FIM), the noise-averaged negative Hessian of the log-likelihood (see Section II D), and assumes Gaussian noise and a large-SNR limit in which the waveform can be linearised in the parameters. Inverting the FIM gives an estimate of the covariance of the parameters, which Vallisneri [24] argued can be interpreted either in a frequentist sense (as a lower bound on the covariance of unbiased estimators, or as the covariance of the maximum-likelihood estimator) or in a Bayesian sense (as the covariance of a multivariate normal posterior distribution under a uniform prior). The FIM has since largely been viewed through the Bayesian lens and remains a widely used tool for predicting the performance of future detectors [25, 26]. However, for the analysis of observational data from current-generation detectors, the method is widely considered inadequate [27]: typical SNRs are not large, posteriors are often nonGaussian and multimodal, and priors are not uniform.

In this work, we revisit this discussion in light of the increasing SNR of observed signals (e.g., GW250114, which had a network SNR of ∼80\sim80 [28]), investigate the utility of the Fisher approximation for inference, and propose a hybrid approach to accelerate stochastic sampling. Specifically, we use global and multi-start optimisation to identify the modes of the posterior distribution, and construct a mixture of multivariate Gaussian distributions using the FIM to approximate the curvature at each mode. We show how the FIM arises naturally as part of the Laplace approximation [29], grounding the method in a Bayesian framework. We then view inference as a two-step process: we first rapidly construct a Laplace approximation to the posterior (a set of modes and covariances), and then refine it using stochastic sampling. We use the resulting mixture, which we call the seeding distribution, in four ways: directly, as an approximation to the posterior; as a proposal distribution for rejection sampling; as the initial distribution for Sequential Monte Carlo (SMC); and as an effective prior for nested sampling via posterior repartitioning [30]. This approach may be useful for current-generation detectors, but should be particularly useful for future detectors such as the Einstein Telescope [31] and Cosmic Explorer [32], which will observe signals at much higher SNRs where the Fisher approximation is expected to be more accurate.

Comparison to the state of the art — the use of the Fisher approximation within a hybrid inference method is not new: it is used in the BayesStar rapid sky-localisation algorithm [33] and to improve the efficiency of MCMC proposals [34, 35]. Moreover, Baka et al. [36] recently investigated extending the Fisher approach using optimisation and prior information. The use of posterior repartitioning for gravitational-wave nested sampling was first introduced by Prathaban et al. [37], while Williams [38] developed ASPIRE (Accelerated Sequential Posterior Inference via Reuse), which initialises SMC from a normalising flow trained on existing posterior samples, accelerating analyses that revisit an event with a new model. The closest to our approach is the method of Prathaban et al. [39], who combined posterior repartitioning with an initial posterior estimate from simple-pe [40]; they found that dynesty could fail to recover all modes and, in some cases, was slower than sampling from the prior alone. Our method and simple-pe share a common structure: both locate the peak of the likelihood by optimisation and approximate it locally by a quadratic form (the parameter-space metric used by simple-pe is closely related to the FIM) before using the result to inform subsequent sampling. They differ in how this approximation is constructed: simple-pe applies the metric only to the mass and spin parameters, and obtains the distance, orientation, and sky location from physically motivated arguments based on the SNRs in each polarisation, higher multipole, and precession harmonic, whereas we apply the Laplace approximation to the full parameter space of the waveform model. Our approach differs from the state of the art in that we use a Laplace mixture as a seeding distribution for a range of stochastic samplers, develop multi-start mode searches to handle the multimodality typical of CBC posteriors, and implement the method within the bilby framework [11, 41]. The implementation is provided as the bilby plugin bilby_laplace [42], available at github.com/GregoryAshton/bilby-laplace.

The remainder of this paper is structured as follows. In Section II, we describe the methodology. In Section III, we test the Maximum A Posteriori (MAP) search, the secondary-mode search and the sampler settings in isolation. In Section IV, we validate the method against state-of-the-art nested sampling and find speed-ups of up to a factor of ∼4\sim4 on gravitational-wave examples, with a trade-off between speed and accuracy. Finally, in § 1.4 we discuss the implications of this work and future directions. Implementations of all the methods described here are publicly available (see the Data Availability statement at the end of this article), and these provide the complete reference for the algorithms and their settings.

Methodology

Stochastic sampling methods for approximating Bayesian posterior distributions can be thought of as a process which takes as input a distribution g(θ)g(\theta) and produces as output a set of samples {θi}\{\theta_i\} which are distributed (at least asymptically) according to the posterior distribution, Eq. (1). For example, a simple form of stochastic sampling is rejection sampling, in which g(θ)g(\theta) is known as the proposal distribution and is used to generate candidate samples which are then accepted or rejected according to a criterion based on the posterior distribution. The key contribution of this work is to accelerate a broad class of stochastic sampling methods by constructing an optimised g(θ)g(\theta); we will refer to it as the seeding distribution, a method-agnostic term. Figure 1 sets out how the seeding distribution is built and used, and the remainder of this section follows it in order. The inputs are the standard ingredients of gravitational-wave parameter estimation [43, 44]: the per-detector interferometric strain data and estimated noise Power Spectral Density (PSD), a signal model H\mathcal{H}, and the prior. Optionally, our proposed algorithm also takes as input θinj\theta_{\mathrm{inj}}, the parameters used to simulate the data, usually referred to as the injection parameters. This enters only as an initialisation point for the search, and we envision it being used in simulation studies where the cost of a blind search is not itself the object of study. A local search started from θinj\theta_{\mathrm{inj}} is roughly a hundred times cheaper than a blind search, but it does not establish that the point found is the global maximum. We therefore do not use it in the coverage tests of Section IV E, where it would leave only the sampling stage under test. In observational analyses the injection is unknown; the parameters reported by the search that identified the signal could play the same role, but we do not consider this here.

Overview of model-informed seeding

Figure 1. Overview of model-informed seeding; each step is described in Section II. The optional injection point (dashed) is used only as a starting point for the search. The bottom row shows the four ways in which the seeding distribution g(θ)g(\theta) is used (Section II G), labelled in italics with the names used in the results.

Locating the maximum a posteriori point

The first stage of the construction is a global search for the MAP point θ^\hat{\theta}. For convenience, we work with the unnormalised posterior distribution and its negative logarithm, referred to as the potential:

p~(θ∣d,H):=L(d∣θ,H)π(θ∣H),(3)\tilde{p}(\theta|d,\mathcal{H}) := \mathcal{L}(d|\theta,\mathcal{H})\pi(\theta|\mathcal{H}), \tag*{(3)}
Φ(θ):=−ln⁡p~(θ∣d,H),(4)\Phi(\theta) := -\ln\tilde{p}(\theta|d,\mathcal{H}), \tag*{(4)}

so that θ^\hat{\theta} is the minimum of Φ\Phi over the support of the prior. Within bilby, some parameters can be declared as periodic 1, e.g. phase parameters which are periodic in 2π2\pi. For these parameters, we also wrap them onto their period before the potential is evaluated, so that the optimiser does not see an artificial boundary in the middle of a mode.

This stage is critical: failure to identify the MAP most likely leads to catastrophic failure of the whole method. In initial testing, we found that local gradient-based optimisation started from prior draws is not adequate because the potential is strongly multimodal. This difficulty has previously motivated the use of population-based optimisers in gravitational-wave data analysis, such as genetic algorithms [45] and particle swarm optimisation [46], the latter recently applied to searches for stellar-origin binaries in data from the Laser Interferometer Space Antenna (LISA) [47, 48]. Therefore, we use Differential Evolution (DE) [49], a population-based stochastic optimiser which requires no derivatives of the potential and searches the whole prior volume. DE is already used in gravitational-wave inference: it refines template parameters in the PyCBC Live low-latency search [50], and it finds the maximum-likelihood fiducial parameters for the relative-binning likelihood in bilby [51]. We base our algorithm around the SciPy [52] implementation and inherit the default settings (version 1.18.0 for the results presented here) except in three respects. First, we declare convergence once the standard deviation of the potential across the population falls below an absolute threshold of 1 nat; the default criterion is relative to the mean of the potential, which is dominated by an additive constant unrelated to the structure of the posterior. Second, we evaluate the whole population in a single batch at each generation, so that its likelihood evaluations can be parallelised. Third, SciPy's own final refinement relies on finite-difference gradients, which are unreliable for parameters whose scales span several orders of magnitude, so we replace it with a local polish: a local optimisation by the derivative-free Nelder–Mead simplex method [53], using SciPy's implementation with its default settings, started from the best member of the final population and constrained to the prior bounds. DE locates the basin containing the minimum, and the polish descends to the bottom of that basin. We then repeat the whole search from nrn_r independent populations and retain the best result.

If θinj\theta_{\mathrm{inj}} is provided, the DE step and its restarts are skipped, and θ^\hat{\theta} is found by a single Nelder–Mead optimisation started from θinj\theta_{\mathrm{inj}}, with the same wrapping of periodic parameters and the same prior bounds as the local polish.

When applying the MAP search in practice, with IMRPhenomXPHM_SpinTaylor [54, 55], the search occasionally ends on a narrow spike in the log-posterior, a numerical artefact of the precession prescription, whose curvature then describes the spike rather than the posterior. We therefore apply a guard to every MAP search which discards such candidates; the identification of the spikes and the guard are described in Section A.

Searching for secondary modes

Gravitational-wave posterior distributions are often multimodal, especially in the extrinsic parameters describing the source’s sky location and orientation. The MAP search can only identify θ^\hat{\theta} of a single mode and so an approximation built on it alone is inadequate. We therefore search for further modes {θ^i}\{\hat{\theta}_i\} with the aim of building the seeding distribution g(θ)g(\theta) as a mixture of multivariate Gaussian distributions, one for each mode.

We use two complementary searches to propose candidates. The first is stochastic: we draw a Latin hypercube over the prior (optionally restricted to a subspace of the parameters with the remainder held at θ^\hat{\theta}), evaluate the potential at each point, and polish those with the lowest potential by local optimisation in the full parameter space. Latin hypercube sampling is used in preference to independent prior draws because it guarantees coverage of each one-dimensional marginal, which for a fixed and modest number of evaluations gives a more uniform exploration of the prior volume. The second is deterministic: many of the modes of a gravitational-wave posterior are the images of the dominant mode under known symmetries of the signal model [see, e.g. [13]]. We therefore construct the corresponding mirror points directly from θ^\hat{\theta} and the other candidates, and retain those whose potential lies close to that of their source. Because a mirror is a translation of its source, it inherits the source’s covariance, so each costs a single likelihood evaluation; these candidates locate modes which are narrow in the full parameter space and which the stochastic search finds only unreliably. Finally, we also implement two optional variants: a full-space multi-start search, which polishes every point of a Latin hypercube before ranking them, and symmetric polishing, which starts a local optimisation from each mirror point that lies too far below its source.

Candidates from both searches are then ranked by their log-posterior, highest first. We accept them in order, discarding any candidate which lies within a fixed number

of standard deviations of an already-accepted mode, so that the same basin is not represented twice; the scale for this comparison is taken from the per-parameter standard deviations of the dominant mode. The search terminates once a specified number of modes has been accepted or the pool is exhausted. We stress that this procedure offers no guarantee of having found every mode, and that a mode which is missed is simply absent from the seeding distribution; this can potentially be saved by some of the sampling methods (see Section II G) but typically at a cost of reduced efficiency.

Curvature from Laplace’s approximation

With the set of local MAP points {θ^i}\{\hat{\theta}_i\}, we now need to evaluate the curvature of the log-posterior at each mode to construct the mixture model. To do this, we utilise Laplace’s approximation [29], which approximates the posterior distribution as a multivariate Gaussian distribution with mean θ^\hat{\theta} and covariance given by the inverse of the Hessian of the potential at that point.

To derive the Laplace approximation, one can start from the unnormalised posterior distribution of Eq. (3); by Bayes’ theorem, the joint distribution of the parameters and data is equal to the unnormalised posterior distribution and the product of the evidence and the posterior distribution:

p(θ,d∣H)=p~(θ∣d,H)=p(θ∣d,H)Z(d∣H).(5)p(\theta,d\mid\mathcal{H})=\tilde{p}(\theta\mid d,\mathcal{H})=p(\theta\mid d,\mathcal{H})\mathcal{Z}(d\mid\mathcal{H}) . \tag*{(5)}

Laplace’s approximation then proceeds by approximating the joint distribution as an unnormalised multivariate Gaussian distribution, which is most easily seen through the potential of Eq. (4). Given a local minimum θ^\hat{\theta} of the potential, equivalently a MAP point, the gradient vanishes and a Taylor expansion to second order gives

Φ(θ)≈Φ(θ^)+12(θ−θ^)TH(θ−θ^),(6)\Phi(\theta)\approx\Phi(\hat{\theta})+\frac{1}{2}(\theta-\hat{\theta})^{\mathsf{T}}\mathbf{H}(\theta-\hat{\theta}) , \tag*{(6)}

where H\mathbf{H} is the Hessian matrix of second derivatives of the potential evaluated at θ^\hat{\theta}.

Hab=∂2Φ∂θa∂θb∣θ=θ^.(7)\mathbf{H}_{ab}=\left.\frac{\partial^2\Phi}{\partial\theta^a\partial\theta^b}\right|_{\theta=\hat{\theta}} . \tag*{(7)}

Then exponentiating the potential and factoring into a constant term and θ\theta-dependent term, we obtain the Laplace approximation to the unnormalised posterior distribution:

p~(θ∣d,H)≃e−Φ(θ^)exp⁡[−12(θ−θ^)TH(θ−θ^)](8)\tilde{p}(\theta\mid d,\mathcal{H})\simeq e^{-\Phi(\hat{\theta})}\exp\left[-\frac{1}{2}(\theta-\hat{\theta})^{\mathsf{T}}\mathbf{H}(\theta-\hat{\theta})\right] \tag*{(8)}
=e−Φ(θ^)(2π)k∣H−1∣⏟independent of θ×N(θ;θ^,H−1)⏟normalised over θ.(9)= e^{-\Phi(\hat{\theta})}\underbrace{\sqrt{(2\pi)^k\lvert\mathbf{H}^{-1}\rvert}}_{\text{independent of }\theta}\times\underbrace{\mathcal{N}(\theta;\hat{\theta},\mathbf{H}^{-1})}_{\text{normalised over }\theta} . \tag*{(9)}

Comparison with Eq. (5) reveals that the posterior distribution is a normalised multivariate Gaussian distribution with mean θ^\hat{\theta} and covariance matrix H−1\mathbf{H}^{-1}:

p(θ∣d,H)≈N(θ;θ^,H−1)(10)p(\theta|d,\mathcal{H}) \approx\mathcal{N}\left(\theta;\hat{\theta},\mathbf{H}^{-1}\right) \tag*{(10)}

while the evidence is given by

Z(d∣H)≈p~(θ^∣d,H)(2π)k∣H−1∣(11)\mathcal{Z}(d|\mathcal{H}) \approx\tilde{p}(\hat{\theta}|d,\mathcal{H})\sqrt{(2\pi)^k|\mathbf{H}^{-1}|} \tag*{(11)}

where kk is the number of parameters.

The Laplace approximation is built entirely around the local maximum θ^\hat{\theta}; it is therefore symmetric and unimodal by construction. Provided the Hessian can be evaluated, the Laplace approximation is a fast and efficient way to approximate the posterior distribution and evidence. For a general likelihood and prior, the Hessian can be evaluated numerically using finite difference or automatic differentiation methods. However, for the specific case of a Gaussian likelihood, the Hessian can be further simplified.

Curvature for stationary Gaussian noise

We consider data dd consisting of a signal h(θ)h(\theta) and additive noise nn, the latter a zero-mean Gaussian process which we take to be stationary over the analysis segment with known one-sided PSD Sn(f)S_n(f) (which in practice must be estimated from the data). The noise covariance then induces the noise-weighted inner product

⟨x∣y⟩:=4Re⁡∫0∞x~∗(f)y~(f)Sn(f) df(12)\langle x \mid y \rangle:= 4\operatorname{Re}\int_{0}^{\infty}\frac{\tilde{x}^{*}(f)\tilde{y}(f)}{S_n(f)}\,\mathrm{d}f \tag*{(12)}

where a tilde denotes the Fourier transform, so that, up to an additive constant,

ln⁡L=−12⟨d−h(θ)∣d−h(θ)⟩(13)\ln\mathcal{L}=-\frac{1}{2}\langle d-h(\theta)\mid d-h(\theta)\rangle \tag*{(13)}

What follows uses only the bilinearity of Eq. (12) and the vanishing first moment of the noise, so it applies unchanged to any zero-mean Gaussian noise covariance, Eq. (12) being the form relevant for gravitational-wave data.

Writing ∂a≡∂/∂θa\partial_a \equiv\partial/\partial\theta^a, we then have

∂a∂bln⁡L=⟨d−h(θ)∣∂a∂bh(θ)⟩−⟨∂ah(θ)∣∂bh(θ)⟩(14)\partial_a\partial_b\ln\mathcal{L}=\langle d-h(\theta)\mid\partial_a\partial_bh(\theta)\rangle-\langle\partial_ah(\theta)\mid\partial_bh(\theta)\rangle \tag*{(14)}

such that the Hessian, Eq. (7), can be evaluated from

Hab=[⟨∂ah(θ)∣∂bh(θ)⟩−⟨d−h(θ)∣∂a∂bh(θ)⟩−∂a∂bln⁡π]θ=θ^(15)\mathbf{H}_{ab}=\left[\langle\partial_ah(\theta)\mid\partial_bh(\theta)\rangle-\langle d-h(\theta)\mid\partial_a\partial_bh(\theta)\rangle-\partial_a\partial_b\ln\pi\right]_{\theta=\hat{\theta}} \tag*{(15)}

So far this is an exact expression for the Laplace approximation Hessian, but it may be simplified by noting that, in the large SNR limit, the second term becomes negligible relative to the first. There are two distinct routes to this conclusion.

The first is to average over noise realisations of data generated at parameters θ\theta, for which d−h(θ)=nd-h(\theta)=n and Eθ[n]=0\mathbb{E}_{\theta}[n]=0, so that the term vanishes in expectation and

Γab(θ):=Eθ[−∂a∂bln⁡L]=⟨∂ah∣∂bh⟩(16)\Gamma_{ab}(\theta):=\mathbb{E}_{\theta}\left[-\partial_a\partial_b\ln\mathcal{L}\right]=\langle\partial_ah\mid\partial_bh\rangle \tag*{(16)}

which is the FIM. The second is to linearise the signal about the true parameters θtrue\theta_{\mathrm{true}}, which sets ∂a∂bh=0\partial_a\partial_bh=0 identically and so removes the term for every realisation rather than merely on average, yielding, again, the FIM, Eq. (16). Evaluated at θtrue\theta_{\mathrm{true}}, the FIM depends only on the signal model and the noise PSD, which is the sense in which it is used for forecasting; since θtrue\theta_{\mathrm{true}} is unknown when analysing observational data, we instead evaluate it at the mode, so that it retains a dependence on the noise realisation through θ^\hat{\theta}. Vallisneri [24] showed that no single SNR threshold establishes the validity of Eq. (16).

Starting from the Laplace approximation of Eq. (10), rather than assuming a constant prior, the prior-informed Hessian at mode ii is then approximated by

Hi,ab≈[Γab(θ)−∂a∂bln⁡π]θ=θ^i(17)\mathbf{H}_{i,ab}\approx\left[\Gamma_{ab}(\theta)-\partial_a\partial_b\ln\pi\right]_{\theta=\hat{\theta}_i} \tag*{(17)}

For a Gaussian prior this reduces to the additive prior-precision term already given by Vallisneri [24]; the form above holds for an arbitrary prior.

We evaluate the curvature in one of two ways (Table II). For the gravitational-wave examples, we use Eq. (17), with Γ\mathbf{\Gamma} computed from finite-difference derivatives of the waveform projected onto each detector. For the low-dimensional examples, we instead evaluate Eq. (7) directly, by finite differences of the log-posterior in the unit hypercube on which the prior is uniform. Where the likelihood is analytically marginalised over some parameters (e.g., the phase, time, or distance), we reinstate them in Γ\mathbf{\Gamma} and then marginalise them out of the resulting covariance, which accounts for their correlations with the sampled parameters rather than fixing them at the mode. In both cases, we bound the covariance so that no parameter is wider than its prior: a direction which the data leave unconstrained, or in which the finite-difference estimate is noisy, otherwise inverts to an arbitrarily large variance. For the waveform FIM, we cap the marginal variance of each parameter at that of its prior, leaving the correlations unchanged; for the unit-hypercube Hessian, we floor its eigenvalues at the precision of a uniform distribution on the unit interval. We write Σi\Sigma_i for the resulting covariance of mode ii, which equals Hi−1\mathbf{H}_i^{-1} wherever the bound is inactive.

Low-dimensionalBNSSimulated BBHEvents
ProblemSampling dimensionsGaussian 2; Rosenbrock 2; AntiGlitch 3BNS 3G 11BBH 3G; BBH HLV; BBH2 HLV 13GW150914; GW240615 13
Cores1646464
Waveform–IMRPhenomD_NRTidalv2IMRPhenomXPHMIMRPhenomXPHM
freff_{\mathrm{ref}} [Hz]–1002020
Likelihood–relative binningstandardstandard
Marginalised–dLd_L, ϕ\phidLd_L, ttdLd_L, tt
LaplaceMAP optimiserDE ×4DE ×4DE ×4DE ×4
MAP started at injectionyesyesyesno
CurvatureHessianFisher (waveform)Fisher (waveform)Fisher (waveform)
Max. modes1333
Mode searches–hypercube, symmetrichypercube, symmetrichypercube, symmetric
Search subspace–κ\kappa, ϵ\epsilonκ\kappa, ϵ\epsilon, δϕ\delta\phiκ\kappa, ϵ\epsilon, δϕ\delta\phi
Symmetries–ψ+π/2\psi+\pi/2δϕ+π\delta\phi+\piδϕ+π\delta\phi+\pi
Mode weights–laplacelaplacelaplace
In-priorDraws10 00010 00010 00010 000
Max. modes1333
RejectionAccepted samples10 000–––
Laplace-seededInitial samples drawn fromg(θ)g(\theta)g(θ)g(\theta)g(θ)g(\theta)g(θ)g(\theta)
ASPIRESeed covariancediagonaldiagonaldiagonaldiagonal
Initial samples10 00010 00010 00010 000
Particles500010 00010 00010 000
MCMC steps / iteration5250250250
Final samples10 00010 00010 00010 000
Target efficiency0.5–0.80.5–0.80.5–0.80.5–0.8
Tempering tolerance10−610^{-6}10−610^{-6}10−610^{-6}10−610^{-6}
Prior-initialisedInitial samples drawn frompriorpriorpriorprior
ASPIREInitial samples10 00010 00010 00010 000
Particles500010 00010 00010 000
MCMC steps / iteration5250250250
Final samples10 00010 00010 00010 000
Target efficiency0.5–0.80.5–0.80.5–0.80.5–0.8
Tempering tolerance10−610^{-6}10−610^{-6}10−610^{-6}10−610^{-6}
DynestyLive points1000100010001000
Boundlivelivelivelive
Walkacc.-walk, nacc=60n_{\mathrm{acc}}=60acc.-walk, nacc=60n_{\mathrm{acc}}=60acc.-walk, nacc=60n_{\mathrm{acc}}=60acc.-walk, nacc=60n_{\mathrm{acc}}=60
maxmcmc5000, 20 0005000, 20 0005000, 20 0005000, 20 000
Dynesty + PRSeed covariancediagonaldiagonaldiagonaldiagonal
Width inflation2222

Table II. Settings with which each method in Table I was run, one column per example, grouped into the low-dimensional, BNS, simulated BBH and observed-event examples. A value centred across a group applies to every example in it, and a dash marks a setting that does not apply or a method that was not run. Where two maxmcmc values are given, dynesty was run with each. The prior-volume study (Section IV D) uses a tempering tolerance of 10−1210^{-12}.

Mode weights

Each mode consists of a location θ^i\hat{\theta}_i and covariance Σi\Sigma_i (Section III D); we build the seeding distribution as a mixture of these modes, but we must first assign them weights wiw_i. We implement two options: equal weighting, which gives every accepted mode the same weight, and weighting by the local Laplace evidence, which accounts for the relative volume of each mode. While the former is simple and robust, it gives a mode holding little posterior mass as many draws as the dominant one; we therefore prefer the latter. Namely, we apply Eq. (9) locally to each mode giving its Laplace evidence:

ln⁡Zi=ln⁡p~(θ^i∣d,H)+k2ln⁡(2π)+12ln⁡∣Σi∣(18)\ln Z_i = \ln\tilde{p}(\hat{\theta}_i \mid d,\mathcal{H}) + \frac{k}{2}\ln(2\pi) + \frac{1}{2}\ln\lvert\Sigma_i\rvert \tag*{(18)}

in which the second term is common to every mode and cancels on normalisation, while the third supplies the volume factor required to prevent a narrow tall mode from dominating a broad shallow one. We note however that the Laplace evidence is approximate and non-Gaussian modes or misestimation of the covariance can lead to mis-weighting and inefficient sampling.

Normalising over the modes, we set weights wi∝Ziw_i \propto Z_i such that the seeding distribution is the mixture

g(θ)=∑iwiN(θ;θ^i,Σi)(19)g(\theta) = \sum_i w_i \mathcal{N}(\theta;\hat{\theta}_i,\Sigma_i) \tag*{(19)}

which is Eq. (10) generalised from one mode to many and reduces to it when a single mode is retained. Modes with a weight below 10−310^{-3} are dropped, although the mode of largest weight is always kept: such a mode would receive only a handful of draws, too few to sample it, and would contribute only stray points.

Prior truncation

Equation (19) can be used as a seeding distribution, but retaining the prior curvature in Eq. (17) does not capture every effect of the prior. A prior which is uniform over a bounded region contributes no curvature in the interior but truncates the support, and the covariance Σi\Sigma_i carries no knowledge of where the support ends. Therefore, for a parameter whose prior is narrow compared with the curvature scale, or whose mode lies close to a bound, a Gaussian component places an appreciable fraction of its draws outside the prior, where they will be immediately rejected, and may describe the posterior poorly even at high SNR. We therefore truncate each component to the prior bounds, replacing it by a component N~i(θ)\widetilde{\mathcal{N}}_i(\theta) which is normalised over the support of the prior, so that the seeding distribution becomes

g(θ)=∑iwiN~i(θ);(20)g(\theta) = \sum_i w_i \widetilde{\mathcal{N}}_i(\theta); \tag*{(20)}

we refer to this as Laplace in-prior seeding. We implement two ways to truncate the components to the prior, which trade fidelity to Σi\Sigma_i against cost and simplicity; Figure 2 illustrates both.

Figure 2. Illustration of the in-prior truncation of a component whose mode (cross) lies near the bound q≤1q \le1. (a) The untruncated Gaussian places a fraction of its draws outside the prior. (b) The full truncation retains the correlation. (c) The diagonal truncation discards it. In each panel, the dashed curve is the outer contour of the untruncated Gaussian.

First, the most faithful is to take N~i\widetilde{\mathcal{N}}_i to be N(θ^i,Σi)\mathcal{N}(\hat{\theta}_i,\Sigma_i) truncated, as a multivariate Gaussian, to the prior bounds; we refer to this as Laplace in-prior (full). Drawing from it is straightforward, by discarding draws which fall outside the bounds, but evaluating its density, as some downstream sampling methods require, needs its normalisation: the mass of N(θ^i,Σi)\mathcal{N}(\hat{\theta}_i,\Sigma_i) within the bounds. Beyond a few dimensions this has no closed form and must be estimated numerically, and any error in the estimate enters the weights and the evidence directly.

Second, the simpler approach is to take N~i\widetilde{\mathcal{N}}_i to be a product of one-dimensional Gaussians with widths σi,a=(Σi)aa1/2\sigma_{i,a} = (\Sigma_i)_{aa}^{1/2}, each truncated to its own prior bounds, for which drawing and the density are both exact and cheap. We refer to this as Laplace in-prior (diagonal). The cost is that correlations between parameters are discarded: the product spans the same range as the posterior in every parameter, but does not follow it along correlated directions. This matters less than it sounds for seeding a sampler, since a covariance that is too narrow is more harmful than one that is uncorrelated. Later, in the results sections, we find that the diagonal truncation is the more efficient seed when Σi\Sigma_i underestimates the width of the posterior. The full covariance Σi\Sigma_i is nonetheless used in Eq. (18) to weight the modes.

In this work we predominantly use diagonal truncation for seeding, but the full method is available in bilby_laplace, and because it retains the correlations in Σi\Sigma_i, provides an improved estimate if the Laplace approximation is to be used directly as a posterior approximation.

The prior may also bound quantities derived from several sampled parameters, such as the component masses when sampling in chirp mass and mass ratio; we refer to these as constraint priors. They cannot be imposed one parameter at a time, so draws which violate them are instead discarded by each of the sampling methods below.

Posterior sampling

Having obtained our seeding distribution, Eq. (20), we now describe the four ways in which we use it to generate posterior samples. They differ in what they do about the discrepancy between g(θ)g(\theta) and p(θ∣d,H)p(\theta\mid d,\mathcal{H}): the first ignores it, while the remaining three each correct for it asymptotically, so that the seeding distribution affects only the cost of the analysis and not its result. This is the sense in which model-informed seeding is safer to use than the Laplace approximation alone: an inaccurate g(θ)g(\theta) makes the last three methods slower, but the resulting bias is corrected. This guarantee holds only asymptotically; in a run of finite length, a poor seeding distribution can still bias the result, for example by under-sampling a mode which it misses.

The same draws could instead be retained with importance weights p~(θ)/g(θ)\tilde{p}(\theta)/g(\theta), which wastes no likelihood evaluations. We do not do this, because the output is then a weighted sample set whose effective size is smaller than its nominal size and whose members are not independent. Independent, equally weighted samples are what downstream analyses consume, and rejection sampling produces them directly.

In-prior sampling

The simplest use of the seeding distribution is to draw from it directly, discard any draw which violates a constraint prior, and evaluate the likelihood at those that remain. The resulting samples are distributed according to g(θ)g(\theta) restricted to the prior, and are therefore only as accurate as the Laplace approximation itself; no correction is applied. Its cost is one likelihood evaluation per retained sample, which is the smallest cost at which a set of samples can be produced at all. We include it for two reasons. First, it is a diagnostic tool, which isolates the quality of the seeding distribution: any discrepancy between an in-prior result and a reference posterior is attributable to the approximation of Eq. (20) alone, with no sampler behaviour mixed in. Second, it is the natural extension of FIM forecasting, which predicts a covariance but no samples: drawing in this way produces a sample set which respects the bounds of the prior and the multimodality of the posterior, both of which a single Fisher ellipse omits, at a cost far below that of a full analysis. Baka et al. [36], following Dupletsa et al. [26], similarly drew samples from a Fisher approximation truncated to the prior bounds, though about a single mode. We implement and test in-prior sampling with both the full and diagonal truncations of Section II F.

Rejection sampling

Rejection sampling converts draws from g(θ)g(\theta) into exact posterior samples. A draw θ∼g\theta\sim g is accepted with probability

α(θ)=p~(θ∣d,H)Mg(θ)(21)\alpha(\theta) = \frac{\tilde{p}(\theta|d,\mathcal{H})}{M g(\theta)} \tag*{(21)}

where M≥sup⁡θp~(θ∣d,H)/g(θ)M \ge\sup_\theta\tilde{p}(\theta|d,\mathcal{H})/g(\theta). We establish MM from a pre-scan batch of draws taken before any sample is accepted, rather than updating it as the run proceeds, since a bound raised mid-run would invalidate the samples already accepted under the smaller value. The accepted samples are independent and identically distributed, are equally weighted, and the mean acceptance probability provides an estimate of the evidence together with a direct measure of how well g(θ)g(\theta) matches the posterior.

Sequential Monte Carlo

Rejection sampling is efficient only where g(θ)g(\theta) is close to the posterior everywhere, since a single poorly-matched region inflates MM and depresses the acceptance rate throughout. SMC relaxes this by bridging from the seeding distribution to the posterior through a sequence of intermediate distributions, moving a population of particles between them by MCMC and resampling to control the spread of their weights. We use the ASPIRE implementation [38], through its bilby interface aspire-bilby, using version 0.1.0 of both [56, 57] for the results presented here. SMC has been validated for gravitational-wave inference by Williams et al. [58] using persistent sampling as implemented in pocomc [59], with its own preconditioning and sampler configuration; we validate the ASPIRE implementation and settings used here against dynesty in Sections III C and IV. In ASPIRE, the tempered target at inverse temperature β\beta is

ln⁡pβ(θ)=(1−β)ln⁡q(θ)+βln⁡p~(θ∣d,H),(22)\ln p_\beta(\theta) = (1-\beta)\ln q(\theta) + \beta\ln\tilde{p}(\theta|d,\mathcal{H}), \tag*{(22)}

so that β=0\beta= 0 recovers the reference distribution qq and β=1\beta= 1 the posterior, with the schedule of intermediate β\beta chosen adaptively. At each iteration, the next value of β\beta is found by bisection, to a tolerance of 10−610^{-6}, as the largest value for which the effective sample size of the incremental importance weights, as a fraction of the number of particles, is at least a target efficiency e(β)=e0+(e1−e0)βre(\beta) = e_0 + (e_1-e_0)\beta^r evaluated at the current β\beta; no minimum or maximum step in β\beta is imposed. For every analysis, we use e0=0.5e_0 = 0.5, e1=0.8e_1 = 0.8 and r=0.5r = 0.5 (Table II), so that the steps become more conservative as β\beta approaches 1. After each step, the particles are resampled multinomially, irrespective of their effective sample size, and each is then moved by a fixed number of MCMC steps using the tt-preconditioned Crank–Nicolson proposal [60] as implemented in minipcn [61] (version 0.2.0a3), which fits a multivariate Student-tt distribution to the particle population at the start of each mutation stage and adapts the proposal’s correlation parameter towards a target acceptance rate of 0.234. The mutations are performed in the coordinates in which the prior is defined, with periodic parameters wrapped onto their period and no further transformation; proposals outside the prior support are rejected through the prior. Here the seeding distribution enters twice: the initial particle cloud is drawn from g(θ)g(\theta), and qq is a normalising flow trained on draws from g(θ)g(\theta), so that the seeding distribution is present in the target at every temperature rather than merely at the start. We also implemented the option of using the mixture g(θ)g(\theta) itself as qq, avoiding the flow training, but found it performed substantially worse on the BBH HLV example (Section IV B), because the mixture is unbounded and does not respect the periodic parameters, whereas the trained flow does via its bounded and periodic transforms in ASPIRE. We also implement the option of drawing a fraction of the initial cloud from the prior instead, which provides particles in regions the mode search did not reach; at β≃0\beta\simeq0 such a particle carries ordinary weight and need only survive until the schedule reaches a temperature at which its mode is resolved. This option is available in bilby_laplace, but we do not use it for the results presented here.

Posterior repartitioning

The final use applies the seeding distribution to nested sampling, which is a standard tool for gravitational-wave inference and which we use through the dynesty implementation [62] as interfaced by bilby [11]. Nested sampling begins with live points drawn from the prior and contracts towards the bulk of the likelihood, so for a high-SNR signal, whose posterior occupies a very small fraction of the prior volume, the great majority of the computation is spent on this contraction. Posterior repartitioning [30, 63], applied to gravitational-wave nested sampling by Prathaban et al. [37], exploits the fact that the split of the unnormalised posterior into a likelihood and a prior is not unique. Writing

p~(θ∣d,H)=L(d∣θ,H)π(θ∣H)g(θ)⏟L~(θ)×g(θ)⏟π~(θ)(23)\tilde{p}(\theta|d,\mathcal{H}) = \underbrace{\frac{\mathcal{L}(d|\theta,\mathcal{H})\pi(\theta|\mathcal{H})}{g(\theta)}}_{\tilde{\mathcal{L}}(\theta)} \times\underbrace{g(\theta)}_{\tilde{\pi}(\theta)} \tag*{(23)}

we run nested sampling with π~\tilde{\pi} as its prior and L~\tilde{\mathcal{L}} as its likelihood. The product is unchanged, so the posterior and the evidence are unchanged; what changes is that the live points start already distributed according to the seeding distribution, and the volume the algorithm must contract through is correspondingly smaller. Prathaban et al. [39] took this approach with g(θ)g(\theta) constructed from simple-pe estimates [40]; here, π~\tilde{\pi} is instead built from the Laplace seeding distribution. We use a simple construction: since dynesty draws from its prior by transforming each coordinate of the unit hypercube independently, we take π~\tilde{\pi} to be a product of one-dimensional distributions, which the mixture of Eq. (20) is not. We therefore use only the component at the MAP point, with the diagonal truncation of Section II F, and widen each of its widths by a factor of two (Table II) so that π~\tilde{\pi} is wider than the posterior in every direction. Periodic parameters keep their original prior, since a truncated Gaussian cannot follow a posterior across the wrap; the mirror modes of Section II B differ from the MAP mode only in such parameters, so they lose nothing. The requirement is that π~\tilde{\pi} be non-zero wherever the prior is, since L~\tilde{\mathcal{L}} is otherwise unbounded: each truncated Gaussian has support over the full prior range of its parameter, so this holds, and a secondary mode which π~\tilde{\pi} does not cover in principle costs only iterations. The full mixture could be used instead by writing it as a sequence of one-dimensional conditional distributions, but we leave this to future work.

Configuration

In this section, we describe the set of studies we performed to choose the configuration of the MAP search, the secondary-mode search, and the SMC sampler.

Locating the maximum a posteriori point

To test how closely the search of Section II A approaches the MAP point, we simulated 100 precessing Binary Black Hole (BBH) signals observed by the LHO, LLO and Virgo network (drawing the properties and settings from the BBH HLV example discussed in Section IV B). The prior draws are set up such that the optimal network SNR ranges from 12 to 40. We scored the first 100 simulations to complete, excluding two in which the waveform model hangs at a point the search converged onto. For each signal, we ran eight searches with nr=4n_r = 4, giving 32 independent restarts per signal. Since the true MAP point is unknown, we polish the result of each search and the injected parameters with repeated Nelder–Mead optimisations and take the highest point as the reference, with log-posterior ln⁡pref\ln p_{\mathrm{ref}}. We then define the shortfall of a search whose result has log-posterior ln⁡pMAP\ln p_{\mathrm{MAP}} as ln⁡pref−ln⁡pMAP\ln p_{\mathrm{ref}}-\ln p_{\mathrm{MAP}}, a lower bound on the shortfall relative to the true MAP point. We score a search with nrn_r restarts as the best of nrn_r of the 32, with the distribution averaged over all such groups and restarts rejected by the spike guard counted as misses.

Figure 3 shows the results. To give a sense of scale, if the posterior is approximately Gaussian in its dd sampled parameters, a typical posterior sample lies ∼d/2\sim d/2 nats below the peak. Hence, for the 13 parameters sampled here, a typical shortfall would be ∼6.5\sim6.5 nats. This supports the default, nr=4n_r = 4, for which the median shortfall is 0.6 nats and the 90th percentile is 2.0 nats, so 90% of searches end higher than all but ∼1%\sim1\% of the posterior. Further increasing nrn_r gives diminishing returns at a linearly growing cost: doubling to nr=8n_r = 8 reduces the 90th percentile only to 1.3 nats. Most of the remaining shortfall arises because a search ends on a neighbouring local maximum, not because it stops short of the top of the one it finds.2 Overall this suggests that nr=4n_r = 4 is a good compromise. that generally tends to find a sufficient approximation of the MAP point. We further validate this later in Section IV E by performing a Probability–Probability (P–P) test which builds the seeding distribution from a blind MAP search.

Cumulative distribution of the MAP search’s shortfall over simulated precessing BBH signals

Figure 3. Cumulative distribution of the MAP search’s shortfall over 100 simulated precessing BBH signals, for searches with nrn_r restarts (the default, nr=4n_r = 4, dashed); the legend gives the mean number of likelihood evaluations. Bands are 5–95% bootstrap ranges over signals. Shortfalls beyond 4 nats are off-axis but counted.

Searching for secondary modes

To test the secondary-mode search of Section II B, we simulated a further set of precessing BBH signals from the same prior, with the luminosity distance restricted to 100–1000 Mpc so that the median network SNR is ∼30\sim30. As in Section III A, we had to over-cover the simulations where the waveform model was found to hang; six signals were excluded for this reason, leaving 100. Each signal is analysed in a paired ablation study: every arm starts from the identical MAP point and enables a single secondary-mode search with up to five modes, while two further arms enable every search with up to five and fifteen modes, and a final arm uses the configuration of the examples of Section IV (hypercube and symmetry searches with up to three modes). Components closer than three standard deviations to one already in the mixture are rejected in every arm, and the two optional variants of Section II B are each tested in their own arm and enabled in the combined arms.

Because each signal is drawn from the prior, its injected parameters are, marginally over the population, a draw from the posterior, and so should lie close to some1

component of a seeding distribution which approximates it. We therefore measure the distance from the injected parameters to the nearest component, taking the largest over parameters of the offset in units of that component’s standard deviation, and count a signal as recovered when this is below 3; for a calibrated Gaussian in 13 dimensions, 97% of draws satisfy this.

The results are presented in Figure 4. With the MAP mode alone, 29% of signals are recovered; the configuration used for the examples (hypercube and symmetry searches with up to three modes) raises this to 38%, and every search with up to fifteen modes to 50%. No search loses a signal recovered with the MAP mode alone, and neither optional variant improves on the hypercube and symmetry searches. Two conclusions follow. First, the mode budget rather than the choice of search limits recovery: at five modes, adding the other searches to the hypercube search recovers one further signal, whereas raising the limit to fifteen modes recovers ten more. We nonetheless use three modes in the examples (Table II), since this study scores the seeding distribution rather than the corrected posteriors of Section II G, and extra components are often mis-weighted: under Laplace weighting (Section II E), a secondary component outranks the MAP mode in over a third of the mixtures in which both are present, mostly through its larger volume rather than a better fit. Second, most of the remaining misses are due to the covariance rather than the search: in nearly all of the signals not recovered with fifteen modes, the injected parameters lie outside the standard deviation of a component with a higher log-posterior, consistent with a covariance that is too narrow rather than a missed mode.

Cumulative distribution of distance from truth to nearest mode

Figure 4. Cumulative distribution, over 100 simulated precessing BBH signals, of the distance from the injected parameters to the nearest component of the seeding distribution, in units of that component’s standard deviation. Each curve is one arm of the paired ablation: “none” retains the MAP mode alone; “symmetric”, “symmetric + polish”, “hypercube” and “multi-start” each enable a single search; “all” and “all (15 modes)” enable every search with up to five and fifteen modes; and “production” enables the hypercube and symmetry searches with up to three modes, as in the examples. The vertical grey line marks 3σ3\sigma.

Optimisation of sequential Monte Carlo sampling

Laplace-seeded ASPIRE combines the speed of seeding with the ability to correct an inaccurate seeding distribution, but its cost and reliability depend mainly on two settings: the number of particles, and the number of MCMC steps used to move them at each iteration. To choose these, we analysed two simulated signals: a precessing BBH in simulated data from the LHO, LLO and Virgo network (BBH HLV, network SNR 47), and a BNS in simulated next-generation detector data (BNS 3G, SNR 290). Both are described, together with the other examples, in Section IV B, where they are analysed with the configuration chosen here (Table I). We ran each over a grid of {2500,5000,10000,20000}\{2500, 5000, 10000, 20000\} particles and {100,250,500,1000}\{100, 250, 500, 1000\} steps, alongside dynesty with 1000 live points. We ran five repeats of each configuration, and ten of the configurations with 10000 particles and 250, 500 or 1000 steps. Two of the ten random seeds failed to complete for BBH HLV in some configurations and were replaced with new seeds, which we then used for BNS 3G as well. For the first, the seeding distribution included a third component from the hypercube search, and in two configurations the bisection for β\beta (Section II G 3) found no step larger than its tolerance after the first iteration; for the second, the tempering advanced so slowly that every configuration in which it ran reached its time limit, having taken 2.5–3.5 times as many iterations as another repeat.

ExampleMethodN1N_1 TotalN1N_1 Per sampleTimeSpeed-upΔln⁡Z\Delta\ln ZJSD [mbits] MeanJSD [mbits] Max
GaussianLaplace6.2×1026.2 \times10^20.0626.0 s9.7×9.7\times0.0193.0xx (3.0)
Laplace in-prior (diagonal)1.1×1041.1 \times10^41.14.9 s12×12\times0.0192.5yy (2.5)
Laplace in-prior (full)1.1×1041.1 \times10^41.14.7 s12×12\times0.0193.4yy (3.5)
Laplace + rejection5.5×1045.5 \times10^45.55.1 s11×11\times0.022±0.0040.022 \pm0.0043.4xx (3.9)
Laplace-seeded ASPIRE1.2×1051.2 \times10^51231 s1.9×1.9\times0.01±0.010.01 \pm0.013.2yy (3.5)
Prior-initialised ASPIRE2.5×1052.5 \times10^52526 s2.3×2.3\times0.03±0.030.03 \pm0.033.1yy (3.2)
dynesty + PR1.0×1051.0 \times10^55022 s2.7×2.7\times−0.02±0.04-0.02 \pm0.042.0yy (2.1)
dynesty, maxmcmc=5k5.5×1055.5 \times10^521058 s1.0×1.0\times0±0.080 \pm0.08(2.3)–
dynesty, maxmcmc=20k5.5×1055.5 \times10^521059 s0.99×0.99\times0.00±0.080.00 \pm0.081.5xx (1.6)
RosenbrockLaplace in-prior (diagonal)1.1×1041.1 \times10^41.14.9 s15×15\times−0.10-0.1039yy (49)
Laplace in-prior (full)1.1×1041.1 \times10^41.14.8 s15×15\times−0.10-0.1052yy (52)
Laplace + rejection4.0×1054.0 \times10^5409.5 s7.6×7.6\times0.052±0.0070.052 \pm0.0072.6xx (3.2)
Laplace-seeded ASPIRE2.2×1052.2 \times10^52630 s2.4×2.4\times0.01±0.020.01 \pm0.022.2xx (2.6)
Prior-initialised ASPIRE2.5×1052.5 \times10^53021 s3.5×3.5\times0.04±0.030.04 \pm0.032.4xx (2.7)
dynesty + PR7.0×1057.0 \times10^53101.8 min0.68×0.68\times0.07±0.070.07 \pm0.071.2xx (1.5)
dynesty, maxmcmc=5k7.5×1057.5 \times10^53101.2 min1.0×1.0\times0±0.070 \pm0.07(1.6)–
dynesty, maxmcmc=20k7.5×1057.5 \times10^53101.2 min0.99×0.99\times0.00±0.070.00 \pm0.070.93xx (1.1)
AntiGlitchLaplace in-prior (diagonal)1.7×1041.7 \times10^41.712 s79×79\times0.0732.7AA (3.0)
Laplace in-prior (full)1.7×1041.7 \times10^41.714 s69×69\times0.0732.8log⁡10γ\log_{10}\gamma (3.1)
Laplace + rejection2.5×1052.5 \times10^5242.2 min7.5×7.5\times0.079±0.0020.079 \pm0.0022.3AA (2.4)
Laplace-seeded ASPIRE1.3×1051.3 \times10^5131.6 min10×10\times0.09±0.010.09 \pm0.012.4AA (2.8)
Prior-initialised ASPIRE3.9×1053.9 \times10^5393.7 min4.5×4.5\times0.13±0.040.13 \pm0.042.4log⁡10γ\log_{10}\gamma (2.8)
dynesty + PR2.2×1052.2 \times10^5912.6 min6.4×6.4\times0.09±0.050.09 \pm0.052.1AA (2.4)
dynesty, maxmcmc=5k1.6×1061.6 \times10^652016 min1.0×1.0\times0±0.10 \pm0.1(2.3)–
dynesty, maxmcmc=20k1.6×1061.6 \times10^652017 min0.97×0.97\times0.0±0.10.0 \pm0.11.4ff (1.6)
BNS 3G SNR 290Laplace in-prior (diagonal)4.5×1044.5 \times10^44.541 s38×38\times−3.7-3.7260 Λ1\Lambda_1 (380)150 dLd_L (460)
Laplace in-prior (full)4.5×1044.5 \times10^44.541 s38×38\times−3.7-3.794 Λ2\Lambda_2 (170)100 dLd_L (250)
Laplace-seeded ASPIRE2.5×1072.5 \times10^72.5×1032.5 \times10^38.9 min2.9×2.9\times−0.46±0.03-0.46 \pm0.033.0 χeff\chi_{\mathrm{eff}} (5.5)2.1 α\alpha (2.6)
Prior-initialised ASPIRE5.3×1075.3 \times10^75.3×1035.3 \times10^314 min1.9×1.9\times−0.40±0.04-0.40 \pm0.042.7 χeff\chi_{\mathrm{eff}} (3.5)2.0 α\alpha (2.5)
dynesty + PR2.8×1072.8 \times10^76.1×1036.1 \times10^320 min1.3×1.3\times−0.6±0.2-0.6 \pm0.22.5 χeff\chi_{\mathrm{eff}} (3.2)2.1 α\alpha (2.6)
dynesty, maxmcmc=5k4.3×1074.3 \times10^79.1×1039.1 \times10^326 min1.0×1.0\times0±0.20 \pm0.2(2.1)(1.9)
dynesty, maxmcmc=20k8.0×1078.0 \times10^71.7×1041.7 \times10^454 min0.48×0.48\times−0.4±0.2-0.4 \pm0.22.2 M\mathcal{M} (2.9)2.2 δ\delta (2.9)
BBH 3G SNR 330Laplace in-prior (diagonal)2.4×1042.4 \times10^42.42.7 min180×180\times−6.9-6.9240 χeff\chi_{\mathrm{eff}} (650)180 δ\delta (260)
Laplace in-prior (full)2.4×1042.4 \times10^42.42.7 min180×180\times−6.9-6.9110 χeff\chi_{\mathrm{eff}} (200)120 δ\delta (270)
Laplace-seeded ASPIRE3.5×1073.5 \times10^73.5×1033.5 \times10^32.1 h3.9×3.9\times−2.11±0.03-2.11 \pm0.036.7 χeff\chi_{\mathrm{eff}} (11)6.7 ϑ\vartheta (9.1)
Prior-initialised ASPIRE6.3×1076.3 \times10^76.3×1036.3 \times10^33.4 h2.4×2.4\times−2.47±0.04-2.47 \pm0.0417 qq (32)23 θJN\theta_{JN} (39)
dynesty + PR5.8×1075.8 \times10^71.0×1041.0 \times10^44.6 h1.8×1.8\times−1.8±0.2-1.8 \pm0.22.6 M\mathcal{M} (2.8)2.4 dLd_L (2.5)
dynesty, maxmcmc=5k9.8×1079.8 \times10^71.6×1041.6 \times10^48.3 h1.0×1.0\times0±0.20 \pm0.2(2.3)(2.4)
dynesty, maxmcmc=20k3.6×1083.6 \times10^86.0×1046.0 \times10^434 h0.25×0.25\times−0.7±0.2-0.7 \pm0.22.7 χp\chi_p (3.2)2.4 δ\delta (2.6)
BBH HLV SNR 47Laplace in-prior (diagonal)2.5×1042.5 \times10^42.52.9 min83×83\times−4.7-4.7140 χeff\chi_{\mathrm{eff}} (500)200 dLd_L (520)
Laplace in-prior (full)2.5×1042.5 \times10^42.53.0 min81×81\times−4.7-4.783 χeff\chi_{\mathrm{eff}} (300)130 δ\delta (340)
Laplace-seeded ASPIRE2.5×1072.5 \times10^72.5×1032.5 \times10^31.6 h2.5×2.5\times−0.68±0.03-0.68 \pm0.0311 qq (20)7.2 δ\delta (11)
Prior-initialised ASPIRE4.0×1074.0 \times10^74.0×1034.0 \times10^32.2 h1.8×1.8\times−1.17±0.03-1.17 \pm0.036.5 M\mathcal{M} (7.9)3.9 δ\delta (5.6)
dynesty + PR4.0×1074.0 \times10^76.7×1036.7 \times10^33.2 h1.3×1.3\times−1.0±0.2-1.0 \pm0.26.4 M\mathcal{M} (8.4)3.9 δ\delta (7.9)
dynesty, maxmcmc=5k4.9×1074.9 \times10^79.1×1039.1 \times10^34.0 h1.0×1.0\times0±0.20 \pm0.2(2.1)(2.4)
dynesty, maxmcmc=20k1.3×1081.3 \times10^82.4×1042.4 \times10^412 h0.34×0.34\times−0.5±0.2-0.5 \pm0.23.8 χeff\chi_{\mathrm{eff}} (4.8)2.5 δ\delta (3.3)
BBH2 HLV SNR 40Laplace in-prior (diagonal)4.2×1044.2 \times10^44.25.6 min67×67\times−9.4-9.4110 χeff\chi_{\mathrm{eff}} (250)140 dLd_L (460)
Laplace in-prior (full)4.2×1044.2 \times10^44.25.6 min67×67\times−9.4-9.4110 χeff\chi_{\mathrm{eff}} (230)14 θJN\theta_{JN} (26)
Laplace-seeded ASPIRE3.2×1073.2 \times10^73.2×1033.2 \times10^32.0 h3.1×3.1\times−0.70±0.03-0.70 \pm0.038.1 χp\chi_p (19)6.1 θJN\theta_{JN} (10)
Prior-initialised ASPIRE4.5×1074.5 \times10^74.5×1034.5 \times10^32.3 h2.7×2.7\times−0.33±0.03-0.33 \pm0.032.9 χp\chi_p (3.3)3.0 δ\delta (3.4)
dynesty + PR4.3×1074.3 \times10^75.6×1035.6 \times10^33.5 h1.8×1.8\times−0.5±0.2-0.5 \pm0.23.3 M\mathcal{M} (4.0)2.8 δ\delta (3.9)
dynesty, maxmcmc=5k8.8×1078.8 \times10^71.4×1041.4 \times10^46.3 h1.0×1.0\times0±0.20 \pm0.2(2.4)(2.4)
dynesty, maxmcmc=20k1.1×1081.1 \times10^81.6×1041.6 \times10^47.6 h0.82×0.82\times−0.2±0.2-0.2 \pm0.22.8 qq (3.3)2.5 χp\chi_p (2.8)
GW150914 SNR 24Laplace in-prior (diagonal)2.8×1052.8 \times10^5285.6 min19×19\times−8.6-8.6120 χeff\chi_{\mathrm{eff}} (270)140 dLd_L (340)
Laplace in-prior (full)2.8×1052.8 \times10^5285.6 min19×19\times−8.6-8.660 qq (140)82 dLd_L (190)
Laplace-seeded ASPIRE1.9×1071.9 \times10^71.9×1031.9 \times10^31.2 h1.4×1.4\times−0.09±0.03-0.09 \pm0.032.5 M\mathcal{M} (3.3)4.4 δ\delta (9.7)
Prior-initialised ASPIRE3.0×1073.0 \times10^73.0×1033.0 \times10^31.5 h1.2×1.2\times−0.16±0.03-0.16 \pm0.033.0 M\mathcal{M} (4.3)3.9 θJN\theta_{JN} (6.2)
dynesty + PR2.2×1072.2 \times10^74.5×1034.5 \times10^31.7 h1.0×1.0\times−0.1±0.1-0.1 \pm0.12.4 M\mathcal{M} (3.7)2.7 θJN\theta_{JN} (4.1)
dynesty, maxmcmc=5k2.4×1072.4 \times10^74.7×1034.7 \times10^31.7 h1.0×1.0\times0±0.20 \pm0.2(2.3)(2.4)
dynesty, maxmcmc=20k6.8×1076.8 \times10^71.3×1041.3 \times10^45.4 h0.32×0.32\times0.2±0.20.2 \pm0.22.3 M\mathcal{M} (3.3)2.4 δ\delta (3.0)
GW240615 SNR 23Laplace in-prior (diagonal)4.7×1054.7 \times10^5476.6 min20×20\times−9.8-9.8320 qq (610)49 dLd_L (140)
Laplace in-prior (full)4.7×1054.7 \times10^5476.7 min20×20\times−9.8-9.8390 qq (650)41 dLd_L (140)
Laplace-seeded ASPIRE2.7×1072.7 \times10^72.7×1032.7 \times10^31.7 h1.3×1.3\times−1.08±0.03-1.08 \pm0.0336 qq (74)18 θJN\theta_{JN} (48)
Prior-initialised ASPIRE3.3×1073.3 \times10^73.3×1033.3 \times10^31.6 h1.4×1.4\times−0.43±0.03-0.43 \pm0.033.4 M\mathcal{M} (4.8)14 δ\delta (34)
dynesty + PR4.6×1074.6 \times10^74.7×1034.7 \times10^33.9 h0.58×0.58\times−0.3±0.2-0.3 \pm0.214 M\mathcal{M} (34)5.8 dLd_L (9.8)
dynesty, maxmcmc=5k3.2×1073.2 \times10^75.2×1035.2 \times10^32.2 h1.0×1.0\times0±0.20 \pm0.2(2.2)(2.5)
dynesty, maxmcmc=20k8.1×1078.1 \times10^71.3×1041.3 \times10^46.5 h0.35×0.35\times0.0±0.20.0 \pm0.22.3 χeff\chi_{\mathrm{eff}} (2.6)2.5 δ\delta (3.1)

Table I. Cost, speed-up, evidence difference and JSD against the dynesty reference (maxmcmc = 5000) for every method and example; noise floors are in brackets. Shading marks distance from the reference: JSD is teal (≤3\leq3 mbit) to yellow (50 mbit), orange (50–100 mbit) and dark red (>100> 100 mbit); speed-up is blue if faster and orange if slower; ∣Δln⁡Z∣|\Delta\ln Z| is orange.

To isolate the SMC stage, the MAP search is started from the injected parameters, so that every repeat begins from a seeding distribution built about the same MAP point. Since the true posterior is unknown, we measure reproducibility: the largest one-dimensional JSD between the repeats of each configuration, a necessary but not sufficient condition for a configuration to be trusted. Unlike the scored sets of Section IV, we take this maximum over all the sampled parameters, separately over the intrinsic parameters (masses, spins and tidal deformabilities) and the extrinsic parameters (the remainder), and estimate its uncertainty by bootstrap resampling of the repeats.

Figure 5 shows the results for BBH HLV, with the reproducibility of each configuration given separately for the intrinsic parameters (solid markers) and the extrinsic parameters (translucent markers). As a benchmark, repeated dynesty runs reproduce each other to 5.7 mbit on the intrinsic parameters and 3.9 mbit on the extrinsic parameters. On the intrinsic parameters, the number of steps matters more than the number of particles. With 100 steps, every configuration is poorly reproducible (16–49 mbit), whatever the number of particles. With more steps, four configurations reproduce the intrinsic parameters about as well as dynesty does (4.7–7.9 mbit), two of them at less than its cost per sample.

of them at less than its cost per sample. Between 7 and 20 mbit, the uncertainties are too large to rank the configurations. We adopt 10000 particles and 250 steps, which reaches 18 mbit (16–84% interval 12–29 mbit) at 0.3 times the number of likelihood evaluations per sample of dynesty; 20000 particles with 250 steps (4.7 mbit) and 10000 with 1000 steps (5.4 mbit) match dynesty, but at roughly two and four times the cost. For a Gaussian, 18 mbit corresponds to a shift in the mean of ∼0.3\sim0.3 standard deviations, in the worst parameter between the most discrepant pair of repeats. This exceeds the 7 mbit threshold that Abbott et al. [64] used to flag differences between waveform models, but differences of this size arose for several of their events while remaining subdominant to the statistical uncertainty, and are comparable to those between waveform models and between samplers in recent catalogue analyses; we therefore prefer the cheaper configuration. Even the most reproducible configurations differ systematically from dynesty, by 7–15 mbit, mostly in the spin magnitude a1a_1; since the dynesty reference is under-walked on this problem (Section C), we cannot attribute this offset to either sampler. We compare reproducibility and distance to dynesty for every configuration in Section D.

On the extrinsic parameters (translucent markers), no configuration reproduces itself as well as dynesty does (30–220 mbit), and the largest divergence is always in δϕ\delta\phi. The posterior has a second δϕ\delta\phi lobe, offset by π\pi and carrying ∼10%\sim10\% of the posterior mass; the seeding distribution contains it, but the MCMC moves cannot transfer particles between two narrow lobes separated by π\pi, so individual runs lose or overweight it, and for our adopted configuration the ten repeats place between 0.7% and 55% of the mass there. We report this as a limitation of the current implementation.

The right panel of Figure 5 shows the same grid for BNS 3G, where the seeding distribution has a single mode in every repeat. Here every configuration reproduces dynesty on the extrinsic parameters (2.5–4.9 mbit against 3.0 mbit), and on the intrinsic parameters 13 of the 16 configurations lie at 2.6–4.4 mbit against 2.8 mbit; the other three each owe their divergence to a single outlying repeat with short MCMC chains, and our adopted configuration reaches 3.4 mbit. Every configuration differs from dynesty by a small systematic offset of 4–5.5 mbit, mostly in χ1\chi_1, as for a1a_1 on BBH HLV; in Section D we show that this offset appears even in configurations that reproduce themselves as well as dynesty does, and that it more likely originates in the dynesty reference than in SMC. Since the two grids share their code, seeds and configurations, the contrast between them localises the poor extrinsic reproducibility of BBH HLV to the δϕ\delta\phi lobe rather than to the SMC stage itself.

Run-to-run reproducibility of Laplace-seeded ASPIRE against cost for simulated precessing BBH and BNS signals

Figure 5. Run-to-run reproducibility of Laplace-seeded ASPIRE against cost, for the simulated precessing BBH signal (BBH HLV; left) and the simulated BNS signal (BNS 3G; right), over a grid of particle counts (left half of each marker) and MCMC steps per iteration (right half). The vertical axis is the largest one-dimensional JSD between the repeats of each configuration, and the horizontal axis the number of likelihood evaluations per posterior sample; dynesty with 1000 live points is shown for comparison. Solid markers take the maximum over the intrinsic parameters, with error bars showing the 16–84% interval from bootstrap resampling of the repeats, and translucent markers over the extrinsic parameters, where for BBH HLV the δϕ\delta\phi mirror lobe dominates the divergence. The grey band marks the split-half noise floor. Note the narrower vertical range for the BNS: every configuration lies within a factor of a few of the noise floor.

Validation

With the configuration fixed in Section III, we now present a series of validation studies to understand the performance and limitations of seeded sampling methods. In Table I, we summarise the metrics across all examples; the settings with which each method was run are given in Table II of Section B. Specifically, we use the seeding distribution with the four sampling methods described in Section II G, drawing in-prior samples with both the diagonal and the full truncation; not every method is run on every example.

Any such comparison has two axes, cost and accuracy, and every sampler trades one against the other through its settings, so the result depends on the configurations compared. As the reference we use dynesty with the standard bilby configuration for gravitational-wave inference (maxmcmc = 5000), the baseline a user would otherwise run, and for the seeded methods we use the configuration chosen in Section III, held fixed across problems rather than tuned to each; better accuracy is available at a higher cost (Section III C).

We add two further analyses per example. The first is dynesty with the walk-length cap raised to 20 000, since the standard cap binds on several of our problems (Section C). The second is prior-initialised ASPIRE, which separates the effect of seeding from that of the sampler configuration: it differs from Laplace-seeded ASPIRE only in where the initial particles and the samples used to train the flow qq are drawn from, the prior rather than g(θ)g(\theta), with no MAP search or curvature computation, and with the same numbers of particles and MCMC steps, schedule and mutation kernel (Section II G.3 and Table II). It is not a fair comparison of ASPIRE with dynesty in its own right, since the configuration was chosen for the seeded analysis.

We report the cost of each method as its number of likelihood evaluations, in total and per independent posterior sample, and its speed-up as the ratio of the wall-clock sampling time of the dynesty reference (maxmcmc = 5000) to that of the method. We measure accuracy against dynesty by the difference in log evidence, Δln⁡Z\Delta\ln\mathcal{Z}, and by the one-dimensional JSD between the marginal posteriors, given as its mean over parameters and its maximum. For the compact-binary examples, we score a fixed set of physical parameters rather than every sampled coordinate, since several of the latter, such as the spin azimuthal angles, are barely constrained and dominate the divergence for reasons unrelated to the quantities of interest. The intrinsic set is the detector-frame chirp mass and mass ratio, the effective inspiral spin χeff\chi_{\mathrm{eff}} and the effective precession spin χp\chi_p (for the BNS, whose spins are aligned, the tidal deformabilities Λ1\Lambda_1 and Λ2\Lambda_2 in place of χp\chi_p), and the extrinsic set is the inclination θJN\theta_{JN}, the luminosity distance dLd_L and the sky position. We give the mean and maximum separately for each set. The luminosity distance is marginalised in the likelihood, and so is reconstructed from the sampled parameters as in Section IV E; the divergences for every sampled parameter are available in the data release. Since two finite sets of samples from the same distribution do not give zero JSD, we compare each value against a noise floor: the JSD between disjoint subsets of the dynesty samples, given on its row of Table I.

Low-dimensional examples

We begin with three low-dimensional problems: one where the approach works optimally (a correlated Gaussian likelihood, for which the Laplace approximation is exact), one where it fails by design (the curved Rosenbrock likelihood), and one simple gravitational-wave problem (a simulated non-Gaussian transient).

For the first case, we use a two-dimensional correlated Gaussian likelihood, with standard deviations 0.3 and 0.5 and correlation 0.7, under a uniform prior much wider than the posterior. The results across a range of methods are presented in Table I. Since these problems are cheap and low-dimensional, the Laplace-seeded and prior-initialised ASPIRE runs use a smaller configuration than the gravitational-wave examples, with 5000 particles and 5 MCMC steps per iteration (Table II), which we justify at the end of this section. Here the Laplace approximation is exact, so this tests only the implementation: the raw Laplace approximation agrees with dynesty to within ∼1\sim1 mbit of the noise floor of the JSD (3.0 mbit against 2.3 mbit), and every method recovers the evidence. Drawing from the seeding distribution costs 1.1 likelihood evaluations per sample, against 210 for dynesty.

Next is the two-dimensional Rosenbrock likelihood, ln⁡L=−(1−x)2−100(y−x2)2\ln\mathcal{L} = -(1-x)^2 - 100(y-x^2)^2, whose curved, banana-shaped posterior is far from Gaussian and a standard test of sampling methods.

The gravitational-wave examples, with 5000 particles and 5 MCMC steps per iteration (Table II), which we justify at the end of this section. Here the Laplace approximation is exact, so this tests only the implementation: the raw Laplace approximation agrees with dynesty to within ∼1\sim1 mbit of the noise floor of the JSD (3.0 mbit against 2.3 mbit), and every method recovers the evidence. Drawing from the seeding distribution costs 1.1 likelihood evaluations per sample, against 210 for dynesty.

Next is the two-dimensional Rosenbrock likelihood, ln⁡L=−(1−x)2−100(y−x2)2\ln\mathcal{L} = -(1-x)^2 - 100(y-x^2)^2, whose curved, banana-shaped posterior is far from Gaussian and a standard test of sampling methods. At the maximum (1, 1), the Laplace covariance has correlation 0.999, a thin sliver along the tangent to the banana. Moreover, the prior bounds truncate the posterior support. In Figure 6, we show the posterior approximated by the in-prior diagonal and full Laplace covariances, the posterior recovered by dynesty (from the full prior), and the posteriors recovered from the seeding distribution by rejection sampling and by Laplace-seeded ASPIRE initialised from the in-prior diagonal seeding distribution. Both the in-prior diagonal and full covariances are poor approximations, with JSD 39–52 mbit against dynesty, while rejection sampling and Laplace-seeded ASPIRE both recover the posterior close to the noise floor of the JSD. In Table I, we report the full metrics from the full set of methods. These further reveal the primary failure mode of our approach: when the posterior is far from Gaussian, the Laplace approximation is poor and the seeding distribution is poor match to the posterior, so that seeding gains little. Laplace-seeded ASPIRE is slower than prior-initialised ASPIRE (speed-ups of 2.4 and 3.5), and posterior repartitioning is slower than dynesty (speed-up 0.68). Rejection sampling is the fastest accurate method here (speed-up 7.6).

Figure 6. Posterior for the two-dimensional Rosenbrock likelihood from dynesty (filled) and from the seeding distribution, drawn directly with independent (diagonal) and with full covariance, and corrected by rejection sampling and by Laplace-seeded ASPIRE. Contours enclose 90% and 99% of the probability; the black lines mark the maximum at (1, 1).

Finally, we consider an application beyond astrophysical signals: Ashton et al. [65] measure the rate of non-Gaussian noise artefacts (known commonly as glitches [66]) in gravitational-wave detectors with a hierarchical Bayesian model, which requires parameter estimation with the antiglitch model [67] for a large population of glitches, so that the cost of each analysis matters. We simulate a glitch with this model in a single LIGO detector at the high end of the projected O4 sensitivity [68]. The antiglitch model is a frequency-domain model characterised by an amplitude AA, a Gaussian envelope in log-frequency with central frequency ff and width set by γ\gamma, a phase and a time. We inject the glitch with SNR 20 and marginalise over the phase and time, leaving three sampled parameters. This posterior is close to Gaussian, and every method agrees with dynesty at the noise floor, with speed-ups over dynesty from ∼\sim4.5 for prior-initialised ASPIRE to 70–80 for Laplace in-prior sampling. For population studies of this kind, the Laplace approximation could therefore be used directly, without correction, to accelerate the analysis of each glitch.

We chose the smaller SMC configuration for these three problems from a separate grid study of 1000–10 000 parti-

cles and 5–250 steps, with three repeats per cell. Every cell reproduced dynesty at the noise floor on all three problems, except for 1000 particles with 5 steps on the Rosenbrock problem, where one of three repeats was poor; we therefore adopt 5000 particles, a factor of five above that cell, with 5 steps.

Simulated compact binary signals

We now turn to four simulated compact binary signals, each injected into Gaussian noise coloured by the detector PSDs, for which the injected parameters are known. We summarise their properties and the settings used to analyse them in Table II. The first is a BNS signal, labelled BNS 3G in Table I, observed by a network of Cosmic Explorer at the LHO site [69], LIGO-India [70] at A+ sensitivity [68, 71],3 and LLO at the high end of the projected O4 sensitivity [68], with a network SNR of 290. We analyse it with the aligned-spin, tidal IMRPhenomD_NRTidalv2 waveform model [72–74] and a relative-binning likelihood [15, 16, 51], marginalising over distance and phase, leaving 11 sampled parameters. This is the regime in which we expect the Laplace approximation to be most useful: the signal is loud, and the posterior is correspondingly narrow compared to the prior. The remaining three are precessing BBHs, analysed with IMRPhenomXPHM and marginalising over distance and time, leaving 13 sampled parameters. BBH 3G and BBH HLV are the same near face-on, near equal-mass system (q=0.8q = 0.8, θJN=0.4\theta_{JN} = 0.4), observed in the next-generation network of BNS 3G with network SNR 330, almost all of it in Cosmic Explorer, and in the LHO, LLO and Virgo network with network SNR 47; the waveform, frequency band, priors and sampler settings are otherwise identical, so that the two differ only in the network. BBH2 HLV is chosen to favour precession and higher-order modes: it is more asymmetric (q=0.5q = 0.5), more inclined (θJN=1.0\theta_{JN} = 1.0), and has larger in-plane spins, with network SNR 40 in the LHO, LLO and Virgo network. In all four cases, the MAP search is started from the injected parameters: this is representative of what may be done in a forecasting study of simulated signals. Figure 7 compares the posteriors for the BNS from dynesty, Laplace in-prior sampling with the full covariance, and Laplace-seeded and prior-initialised ASPIRE. Laplace in-prior sampling costs a few likelihood evaluations per sample, but the result, though a reasonable first look, is not statistically consistent with the posterior: the largest divergences are in the tidal deformabilities, whose posteriors are bounded by the prior at zero and far from Gaussian, and in the distance. Using the full rather than the diagonal covariance reduces the divergence in both, but does not close the gap. Laplace-seeded ASPIRE corrects this, agreeing with dynesty close to the noise floor on every parameter at a wall-clock speed-up of 2.9. Prior-initialised ASPIRE and posterior repartitioning reach the same accuracy at smaller speed-ups of 1.9 and 1.3.

Figure 7. Posterior for the simulated BNS signal in a next-generation network (BNS 3G; Table I) from dynesty (filled), Laplace in-prior (full), Laplace-seeded ASPIRE, and prior-initialised ASPIRE. Left: detector-frame component masses, effective inspiral spin and tidal deformabilities; right: sky position, luminosity distance and inclination. Contours enclose 90% and 99% of the probability, and black lines mark the injected values.

{3: Specifically, we use the A+ amplitude spectral density distributed with bilby 2.8.2 as Aplus_asd.txt, the default for its A1 detector. This is sampled at the same frequencies as the curve published in Ref. [71], but differs from it by up to 13%, being more sensitive between 40 and 300 Hz and less sensitive above 1 kHz.}

Figure 8 compares the posteriors for BBH 3G from the same methods. The posterior has a single mode in every method, dynesty included, as does the seeding distribution. The in-prior draws are again cheap but not statistically consistent with dynesty: the Laplace approximation is close to the posterior in the component masses, but several times too wide in χeff\chi_{\rm eff} and two to three times too wide in the sky position. Posterior repartitioning agrees with dynesty at the noise floor at a speed-up of 1.8. Laplace-seeded ASPIRE is the fastest corrected method, at a speed-up of 3.9, but not quite as accurate: its mean JSDs of $\sim$7 mbit, largest in χeff\chi_{\rm eff} and θJN\theta_{JN}, are visible as a subtle shift in the component masses and effective spins. Prior-initialised ASPIRE is both slower (speed-up 2.4) and less accurate, with mean JSDs of 17–23 mbit. This run is not stable from run to run: a repeat with identical settings gave a mean JSD of ∼\sim250 mbit and an evidence lower by ∼\sim5$, so the result above is a single draw from a sampler that can also fail on this example; we do not explore this run-to-run variation further, as it is beyond the scope of this work.

Figure 8. As Figure 7, for the simulated precessing BBH signal in the next-generation network (BBH 3G). Left: detector-frame component masses, effective inspiral spin and effective precession spin; right: sky position, luminosity distance and inclination. The Laplace approximation is close to the posterior in the masses but several times too wide in χeff\chi_{\rm eff} and two to three times too wide in the sky position.

For the two BBHs in the LHO, LLO and Virgo network, in-prior draws are again cheap but not statistically consistent with dynesty, with the full and diagonal covariances differing from it by similar amounts. The worst-recovered intrinsic parameter is χeff\chi_{\rm eff}, as for BBH 3G, and in the diagonal case the worst extrinsic parameter is dLd_L, which reflects the bias of in-prior draws that fit the data poorly (Section IV E). Posterior repartitioning recovers both posteriors close to the noise floor at a speed-up of 1.3–1.8. Laplace-seeded ASPIRE is faster (2.5–3.1) but less accurate, with mean intrinsic JSDs of 8–11 mbit, and prior-initialised ASPIRE with the same settings is more accurate than either on both signals. On BBH HLV, the largest divergence is in the mass ratio, where Laplace-seeded ASPIRE overweights a region near equal mass and large θ1\theta_1 by roughly a factor of seven relative to dynesty. This region is close to an additional component, placed at the prior boundary q=1q = 1 by the hypercube search, and the excess grows during the final tempering steps rather than being inherited from the seeding distribution. On BBH2 HLV, the largest divergence is in χp\chi_p. We regard these residual differences of at most 20 mbit, like those on BBH 3G, as low-level sampler systematics rather than a failure of the seeding: the dependence of the reproducibility of SMC on its settings in Section III C suggests that they could likely be reduced by increasing the particles or MCMC steps, at a proportionate cost.

Finally, the evidence estimates of the seeded methods are systematically lower than that of the dynesty reference on the simulated signals and GW240615, by 0.3–1.2 for Laplace-seeded and prior-initialised ASPIRE and posterior repartitioning, and by 1.8–2.5 on BBH 3G, which is larger than the quoted uncertainties; on GW150914 the offset is at most 0.2. However, dynesty with the raised maxmcmc cap also moves in the same direction on the simulated signals, by 0.2–0.7, suggesting that part of this offset is due to the reference rather than the seeded methods; we discuss this further in Section C.

Gravitational-wave events

Finally, we analyse two real signals: GW150914 [75], observed by LHO and LLO [76], and GW240615_113620 [5] (hereafter GW240615), observed by LHO, LLO [77–79] and Virgo [80], with network SNRs of 24 and 23 respectively. For each, we analyse 4 s of open data [81] between 20 and 512 Hz, with the PSD estimated by a median average over 128 s of data preceding the analysis segment. We use IMRPhenomXPHM with spin-precession angles from integrating the SpinTaylor equations [54, 55], with the remaining configuration given in Table II; as for the simulated BBHs, we marginalise over distance and time, leaving 13 sampled parameters. Unlike the simulated signals, the MAP search is now blind (Table II), and this dominates the cost of Laplace in-prior sampling, which is ten times that of the simulated BBHs per sample, though still a factor of ∼20\sim20 faster than dynesty. As for the simulated BBHs, in-prior draws are a reasonable first look but not statistically consistent with dynesty, with the largest divergences mostly in the mass ratio and χeff\chi_{\mathrm{eff}},

and far larger for GW240615 than for GW150914.

Figure 9 compares the posteriors for GW150914 from the same methods. All three corrected methods agree with dynesty close to the noise floor at speed-ups of 1.0–1.4, and their evidences agree to within 0.3. The methods are indistinguishable in the main peak of the posterior, and differ instead in the weight they assign to a small secondary mode at face-on inclination (θJN≲0.8\theta_{JN} \lesssim0.8 rad). dynesty places 1.3% of its samples in this mode and prior-initialised ASPIRE 2.5%, while Laplace-seeded ASPIRE places almost none. The mode lies far from the MAP point, and none of the secondary-mode searches of Section II B admits a component there, so the seeding distribution places essentially no particles in it, and the MCMC moves of SMC rarely carry particles across to it, as for the δϕ\delta\phi lobes of Section III C. Because the mode carries only ∼\sim2% of the posterior mass, it barely affects the mean JSD, and the summary metrics in Table I understate this difference. Drawing a fraction of the initial cloud from the prior (Section II G 3) is one possible remedy, since it places particles in regions the mode search did not reach, but in our tests it did not reliably work: at 300 steps a fraction of 0.1 recovered 3.0% of the samples in the face-on mode on one seed, while at 250 steps a fraction of 0.2 overweighted it (9.5%). This shows that, for current-generation events with significant secondary modes, seeded runs are not yet the right tool without further work to make the identification of multiple modes more robust.

Figure 9. As Figure 7, for GW150914, for which there are no injected values. Left: detector-frame component masses, effective inspiral spin and effective precession spin; right: sky position, luminosity distance and inclination. The small face-on mode at θJN≲0.8\theta_{JN} \lesssim0.8 rad is recovered by dynesty and prior-initialised ASPIRE, but is nearly absent from the Laplace-seeded ASPIRE posterior.

For GW240615, prior-initialised ASPIRE agrees with

dynesty in the intrinsic parameters at a speed-up of 1.4, though less well in the extrinsic parameters, where the largest divergence is in the declination; the seeded methods are less successful. Posterior repartitioning reaches 14 mbit in the chirp mass and is slower than dynesty (speed-up 0.58), and Laplace-seeded ASPIRE reaches 36 mbit in the mass ratio at a speed-up of 1.3, with an evidence lower than dynesty’s by ∼1\sim1.

Figure 10 shows why the in-prior draw fails on GW240615, and that this is not a failed MAP search. The event has a single mode, and the MAP is real, but it lies at one end of a long ridge along which the posterior density is nearly flat. The detector-frame total mass is measured, but at a network SNR of 23 the mass ratio is not, so the posterior extends along a line of constant total mass, with the chirp mass rising with the mass ratio. Binned in qq, the median log posterior density of dynesty varies by less than 1 across q=0.4q = 0.4–11, and the highest-posterior dynesty sample (at q≈0.94q \approx0.94) is only 0.27 below the MAP (at q≈0.51q \approx0.51). The posterior mass therefore follows prior volume, with 77% at q>0.7q > 0.7, whereas the Gaussian built at the MAP has the narrow width of that end of the ridge and barely reaches q=0.65q = 0.65. Laplace-seeded ASPIRE starts from this proposal and must move along the ridge, which it does only partly in the 250 steps used (median qq of 0.71 against 0.82 for dynesty). Posterior repartitioning has the same difficulty, since its effective prior is this narrow distribution: the nested sampler must expand along the ridge from live points that start at its low-qq end, which costs the speed-up (0.58) and leaves a residual divergence in the chirp mass, the other coordinate of the ridge. GW150914, at a similar SNR, has the same ridge, but a shorter one with its MAP in the flat bulk rather than at one end, so that its in-prior draw covers too much of qq rather than too little, which is the safe direction for the corrected methods (Section E).

Posterior of GW240615 along the mass-ratio ridge

Figure 10. The posterior of GW240615 along the mass-ratio ridge. (a) Detector-frame chirp mass against mass ratio for dynesty (filled) and the full-covariance Laplace in-prior draw (dash-dot), with 90% and 99% contours; grey curves are lines of constant detector-frame total mass, labelled in M⊙M_\odot. The star marks the MAP and the circle the highest-posterior dynesty sample. (b) The log posterior density of dynesty binned in qq: median and 10–90% band, and the highest sample in each bin (dashed). (c) The mass-ratio marginals.

Prior volume

We expect a practical advantage of model-informed seeding to be that its cost depends only weakly on the width of the prior: the MAP search locates the posterior by optimisation, and the samplers then start from the seeding distribution rather than from the prior. By contrast, nested sampling must contract its live points from the full prior down to the posterior, and SMC initialised from the prior must temper across it, so the cost of both grows with the prior volume. To test this, we take the AntiGlitch example of Section IV A and widen the prior on the amplitude AA from [0,102][0,10^2], the prior used in Table I, to [0,105][0,10^5] over seven widths. Since the posterior on AA has a width of 1.0 (the standard deviation of the dynesty posterior at the narrowest prior), and we confirm below that it does not change with the prior width, this varies the ratio of the prior width to the posterior width from 10210^2 to 10510^5 while leaving the posterior itself unchanged. Unlike in Section IV A, the MAP search is not started

from the injected parameters, so the cost of DE is included at every width. We run each method three times at each width, on a single core; the SMC runs use the low-dimensional configuration of Section IV A. For both ASPIRE runs, we reduce the tolerance of the bisection for β\beta (Section II G 3) from 10−610^{-6} to 10−710^{-7}: the first tempering step of prior-initialised ASPIRE falls as the square of the prior width, from ∼2×10−3\sim2 \times10^{-3} at the narrowest prior to ∼10−9\sim10^{-9} at the widest, so at the default tolerance it cannot take a first step for ratios of 10410^4 and above. The Laplace-seeded runs are identical at either tolerance.

Figure 11 shows the cost of each method relative to its own cost at the narrowest prior. The cost of dynesty grows logarithmically with the prior width, as expected for nested sampling, by 38% for a prior 10310^3 times wider. The seeded methods are nearly flat: posterior repartitioning grows by 1.5% and Laplace-seeded ASPIRE by 2.4%. For Laplace-seeded ASPIRE, all of this growth is in the MAP search, where DE must search a wider space (from 7.7×1037.7 \times10^{3} to 1.1×1041.1 \times10^{4} likelihood evaluations), while the SMC stage costs ∼1.2×105\sim1.2 \times10^{5} likelihood evaluations at every width. Prior-initialised ASPIRE grows fastest, by 63%, taking one additional tempering iteration (∼3.5×104\sim3.5 \times10^{4} likelihood evaluations) for each factor of ∼3\sim3 in the prior width. For every method, the posterior is unchanged, with a width in AA of 0.98–1.03, and the evidence falls by the Occam factor of the prior, with the methods agreeing to within 0.07 when averaged over widths. These ratios understate the difference in absolute cost: at the narrowest prior, Laplace-seeded ASPIRE already uses 1.3×1051.3 \times10^{5} likelihood evaluations against 1.6×1061.6 \times10^{6} for dynesty, and widening the prior only increases this gap.

Figure 11. Cost of each method, in likelihood evaluations relative to its own cost at the narrowest prior, as the amplitude prior of the AntiGlitch example is widened around a fixed posterior, expressed as the ratio of the prior width to the posterior width; points are the mean of three repeats. For Laplace-seeded ASPIRE, the shading divides the cost between the DE MAP search (dark) and sampling (light).

The information gain makes the difference between the two ASPIRE runs explicit: the Kullback–Leibler divergence of the posterior from the reference density qq of the tempered target (Eq. (22)) is 0.1–0.3 nats at every width for Laplace-seeded ASPIRE, which reaches β=1\beta= 1 in a single step, whereas for prior-initialised ASPIRE it tracks the divergence of the posterior from the prior, growing from 9 to 16 nats across the widths, and the number of tempering iterations grows with it at roughly one per nat. These endpoint divergences ignore the tempering path and the efficiency of the mutations, so they indicate where each run starts rather than the full cost of reaching the posterior.

Probability–probability tests

To test whether the seeded methods are calibrated across a population, we perform a P–P test [10, 41, 82–84]. We draw 100 aligned-spin BNS signals from the prior and inject each into an independent realisation of Gaussian noise in a network of LHO and LLO at Advanced LIGO design sensitivity [85] and Virgo and KAGRA at design sensitivity [68]. We analyse them as for the BNS of Section IV B, with IMRPhenomD_NRTidalv2 and a relative-binning likelihood marginalised over distance and phase, but with a distance prior of 10–100 Mpc, giving a median network SNR of 30 (10th–90th percentile 17–49). We use this network rather than that of Section IV B because there Cosmic Explorer carries almost all of the network SNR, so that the sky position is barely constrained by timing between detectors and a failure of sky coverage would say little about the sampler. Nothing in the analysis is seeded from the injection: the MAP search is blind, and the fiducial point of the relative-binning likelihood is found by maximising the likelihood from a draw from the prior. The secondary-mode search includes the ψ→ψ+π/2\psi\rightarrow\psi+ \pi/2 symmetry, under which the phase-marginalised likelihood is exactly invariant. We test Laplace in-prior sampling with both the diagonal and the full truncation, and Laplace-seeded ASPIRE initialised from the diagonal truncation, with the settings of the BNS example (10 000 particles, 250 MCMC steps and up to three modes; Table II). Laplace-seeded ASPIRE completed on 99 of the 100 injections, and we score all three methods on those 99 (see below). For each injection, we record the credible level at which the injected value lies in each one-dimensional marginal posterior, including the reconstructed distance and phase; for a calibrated method, these are uniformly distributed.

Figure 12 shows the results, with the Kolmogorov–Smirnov pp-value annotated for the least consistent curves and the combined pp-value of each method given in the legend. Laplace-seeded ASPIRE passes, with a combined pp-value of 0.160 over 13 parameters; its lowest single pp-value, 0.022 for the mass ratio, is not unusual for the smallest of 13. As expected, neither in-prior method passes, with combined pp-values of 3×10−343 \times10^{-34} (diagonal) and 2×10−172 \times10^{-17} (full): the diagonal truncation discards correlations, so that the chirp mass and merger time are too wide, while the full truncation makes the spins and tidal deformabilities too narrow. Both fail most strongly in the reconstructed distance, whose true value lies below the 5% credible level for 49% (diagonal) and 25% (full) of the injections. This is because the in-prior draws fit the data poorly, with the median draw 350 (diagonal) or 230 (full) below the peak log-likelihood, so that the signal appears fainter and the distance larger; restricted to draws that fit the data, the distance credible levels are consistent with uniform. Laplace-seeded ASPIRE corrects all of these, at a median cost of 2.2×1072.2 \times10^{7} likelihood evaluations (23 min on 16 cores) per injection, against 2.2×1052.2 \times10^{5} (2.0 min) for in-prior sampling. On the one injection for which it did not complete, the tempering of ASPIRE stalled after its first step. A diagnostic rerun suggests that a mutation moved a particle to the boundary of the prior, where the logit transform applied by the flow drives ln⁡q\ln q far below its typical value, so that the particle dominated the incremental weights and no step in β\beta larger than the bisection tolerance kept the effective sample size at its target. This is a robustness limitation of the current implementation, but at least a loud one, not a silently incorrect posterior.

Figure 12. P–P test over 99 simulated aligned-spin BNS signals in a four-detector network at design sensitivity, with nothing in the analysis seeded from the injection. Each curve is the fraction of injections whose true value lies at or below a given credible level, minus that credible level, so that a calibrated method lies along zero; grey bands show the binomial 1, 2 and 3σ3\sigma spread for 99 injections. Colour denotes the method and line style the parameter, grouped into panels; the combined pp-value of each method is given in the legend, and the Kolmogorov–Smirnov pp-values of the least consistent parameters are annotated. Laplace in-prior sampling fails with either truncation, in opposite directions on different parameters, while Laplace-seeded ASPIRE passes.

Discussion and conclusion

The properties of gravitational-wave sources observed by current-generation ground-based interferometric detectors are measured using stochastic sampling approaches to approximate the Bayesian posterior distribution. We investigate the utility of model-informed seeding, based on the Fisher approximation, to accelerate these algorithms. Our framework uses DE to identify the MAP, mode searches to identify secondary peaks, and then the FIM, within the context of a Laplace approximation, to produce a mixture-model seeding distribution which can be used in two broad ways.

First, samples drawn directly from the seeding distribution (Laplace in-prior sampling) can provide a first-look approximation. For events observed at SNRs typical of current-generation observatories, we would not recommend this approach, as the resulting posteriors differ significantly from those obtained by sampling and the event rate is not sufficiently high to justify trading accuracy for speed. Nevertheless, it could have utility as a tool to help with analysis configuration (e.g. as an initial check of prior bounds and waveform suitability to the approximate posterior). It may also be useful for glitches, which occur far more often than astrophysical signals and are described by simpler models: for the simulated glitch of Section IV A, Laplace in-prior sampling agrees with dynesty close to the noise floor at a speed-up of 70–80, which makes it a promising tool for studies of glitch populations [65]. For next-generation networks, at large SNRs, the Laplace approximation could potentially provide a means to produce rapid posterior estimates. However, our next-generation examples (Section IV B) show that a louder signal does not by itself make the approximation accurate: the in-prior draws remain far from the posterior in parameters whose posterior is truncated by the prior, such as the tidal deformabilities, and are several times too wide in others, such as χeff\chi_{\mathrm{eff}} and the sky position of the BBH. These are limitations of a local approximation rather than of its numerical implementation, so producing accurate posterior estimates in this way would require exhaustive identification of secondary modes and a means to capture the non-Gaussian structure that the Laplace approximation misses.

Second, the seeding distribution can be used to seed stochastic sampling algorithms: as a generating distribution for rejection sampling, as an initial distribution for SMC, or as a proposal distribution for posterior repartitioning. We find that for CBC events, with our current implementation, rejection sampling is always far too inefficient to be useful. Seeding SMC and posterior repartitioning both produce speed-ups over the current state-of-the-art nested sampling algorithm, dynesty, but with a trade-off between speed and accuracy. Laplace-seeded ASPIRE is the faster of the two, with speed-ups of 1.3–3.9 on the compact-binary examples, but it agrees closely with dynesty only for the BNS and, in the main peak, GW150914; on the simulated precessing BBHs it differs by amounts we attribute to low-level sampler systematics, and on GW240615 by considerably more. Posterior repartitioning agrees with dynesty in all but one example (GW240615), but at more modest speed-ups of 0.6–1.8. Moreover, prior-initialised ASPIRE also provides a speed-up: taking that as a baseline, the speed-up from seeding is at most a factor of ∼\sim1.6, and in four of the six compact-binary examples prior-initialised ASPIRE has the lower mean intrinsic JSD. Rather, the benefit of seeding over prior-initialised ASPIRE lies in how the cost scales: prior-initialised ASPIRE must temper from the prior to the posterior, so its cost grows with the information gain, whereas the seeded run starts close to the posterior and its cost is nearly independent of the prior volume (Section IV D), removing the need to restrict the prior to keep the cost down, as is often done for nested sampling.

These speed-ups are obtained with a simple Gaussian-mixture seed and a basic SMC configuration, both of which can be improved (see below). A further reason to consider seeding for future production-style analyses is that it provides a two-stage approach to sampling, in which a rapid approximation of the posterior is followed by a more accurate refinement by stochastic sampling. This may help in the production of large observational catalogues, in which a first stage provides a quick-look posterior and a second stage a more accurate posterior for events of interest. The same approach could also be applied to forecasting for next-generation detectors: the FIM computed by existing Fisher-based codes [e.g. 25, 26] could be truncated to the prior support and used to seed SMC, producing full posteriors for a population of simulated events, or a representative subset of them. This would reduce the cost relative to a prior-initialised stochastic sampling of the full population, and would provide a more accurate estimate of the posterior than the Fisher approximation alone.

Potential improvements — the results presented here depend on three aspects of the method, two of the seeding distribution and one of the configuration of the sampler, and each suggests improvements which may yield better efficiency, better accuracy, or both. The first is the accuracy of the Fisher approximation within each mode: since SMC corrects the seeding distribution exactly only in the limit of infinitely many particles, which we do not reach, a closer match to the posterior reduces both the cost and the residual bias. With auto-differentiated waveform models and improved numerical methods (for finding the MAP and computing the FIM), the accuracy of the Laplace approximation could improve, leading to more accurate seeding and potentially larger speed-ups. Beyond this, the approximation itself could be extended: the Derivative Approximation for LIkelihoods (DALI) expansion includes higher-order derivatives of the likelihood to capture non-Gaussian structure that the FIM misses [86], and a seeding distribution built on such an expansion would match the posterior more closely within each mode, improving both the direct approximation and the performance of the seeded samplers. The second is the identification of modes: a mode which the search does not find receives little or no weight in the seeding distribution, and the finite sampling stage may not recover it. For GW150914, Laplace-seeded ASPIRE under-weights a secondary mode carrying ∼2%\sim2\% of the posterior mass in this way (Section IV C), a difference which the summary metrics understate and which needs careful consideration in future implementations; until then, seeded runs are not the right tool for current-generation events with significant secondary modes. Carrying out the search in coordinates in which the posterior is closer to unimodal, such as those of Roulet et al. [13], would reduce the number of modes to be found and the non-Gaussian structure within each.

The third is the configuration of SMC: we fixed the adaptive schedule of Section II G 3 for all analyses and varied only the numbers of particles and MCMC steps (Section III C), but an overly aggressive schedule can lead to weight degeneracy and the loss of modes at a finite number of particles, so a more conservative target efficiency may improve the recovery of minor modes, such as that of GW150914, at the cost of more iterations.

Data availability

The data that support the findings of this article are publicly available. The methods described in this work are implemented in bilby_laplace [42], and the scripts used to produce the results, figures and tables are available in the accompanying data release [87]. The strain data for GW150914 and GW240615_113620 are available from the Gravitational Wave Open Science Center [81].

Acknowledgments

The authors would like to thank Colm Talbot for useful discussions in the development of this work and Aditya Vijaykumar for internal LIGO review of the manuscript. This research has made use of data or software obtained from the Gravitational Wave Open Science Center (gwosc.org), a service of the LIGO Scientific Collaboration, the Virgo Collaboration, and KAGRA. This material is based upon work supported by NSF’s LIGO Laboratory which is a major facility fully funded by the National Science Foundation, as well as the Science and Technology Facilities Council (STFC) of the United Kingdom, the Max-Planck-Society (MPS), and the State of Niedersachsen/Germany for support of the construction of Advanced LIGO and construction and operation of the GEO600 detector. Additional support for Advanced LIGO was provided by the Australian Research Council. Virgo is funded, through the European Gravitational Observatory (EGO), by the French Centre National de Recherche Scientifique (CNRS), the Italian Istituto Nazionale di Fisica Nucleare (INFN) and the Dutch Nikhef, with contributions by institutions from Belgium, Germany, Greece, Hungary, Ireland, Japan, Monaco, Poland, Portugal, Spain. KAGRA is supported by Ministry of Education, Culture, Sports, Science and Technology (MEXT), Japan Society for the Promotion of Science (JSPS) in Japan; National Research Foundation (NRF) and Ministry of Science and ICT (MSIT) in Korea; Academia Sinica (AS) and National Science and Technology Council (NSTC) in Taiwan. The authors are grateful for computational resources provided by the LIGO Laboratory and supported by National Science Foundation Grants PHY-0757058 and PHY-0823459. The authors acknowledge the use of the IRIDIS High Performance Computing Facility, and associated support services at the University of Southampton, in the completion of this work. We acknowledge the use of Claude Opus 5.5 (Anthropic) to assist with code development, result organisation, and manuscript editing. G. Ashton is supported by the Science and Technology Facilities Council (STFC) grant UKRI4517. M. J. Williams acknowledges partial support from STFC grant UKRI2490.

Spikes in the log-posterior

The MAP search discussed in Section II A is highly sensitive to structure in the log-posterior that is far narrower than the posterior itself. Analysing GW150914 [75] with IMRPhenomXPHM_SpinTaylor [54, 55], we find that about 1% of single DE restarts end on a point standing 1.5–5.5 nats above everything around it. Figure 13 shows an example, varying the chirp mass M\mathcal{M} while holding all other parameters fixed: a staircase about 4×10−4 M⊙4 \times10^{-4}\,M_\odot wide, roughly 2000 times narrower than the chirp-mass posterior, beside a step of ∼1.5\sim1.5 nats. We first found these on GW150914, where every SpinTaylor version of the precession prescription shows them and the other versions are smooth at the same point, so we take them to be numerical artefacts of that prescription rather than features of the posterior. They occupy a vanishingly small fraction of the posterior volume, so a stochastic sampler is highly unlikely to visit them, but an optimiser can end on one, and its curvature then describes the spike rather than the posterior.

Figure 13. The GW150914 log-posterior about a spike found by the MAP search, relative to its value at the spike, as a function of chirp mass with all other parameters held fixed. Orange points are those flagged by the spike guard of Eq. (24).

To mitigate these spikes, we add a guard to the MAP search. Working in the unit hypercube on which the prior is uniform, let ea(δ)e_a(\delta) be the amount by which the log-posterior at a MAP candidate (the result of one restart) exceeds the larger of its values at offsets ±δ\pm\delta along axis aa; the candidate is flagged as a spike if, along any axis,

ea(δ)>1and13[4ea(δ)−ea(2δ)]>1,(24)e_a(\delta)>1 \quad\text{and} \quad\frac{1}{3}\left[4e_a(\delta)-e_a(2\delta)\right]>1, \tag*{(24)}

with both thresholds in nats and δ=10−3\delta=10^{-3}. The second condition extrapolates eae_a to zero offset, so that a narrow but smooth peak, for which ea(2δ)≈4ea(δ)e_a(2\delta)\approx4e_a(\delta), cannot trip the test. Flagged candidates are discarded and the best of the remaining restarts is retained. On the GW150914 searches above, the guard flags every spike and no other candidate, and we apply it to all MAP searches in this work.

Run settings

Table II lists the settings with which each method in Table I was run.

Walk length of the dynesty reference

Throughout, the dynesty reference uses the bilby default of sample="acceptance-walk" with a target of 60 accepted steps per walk, and a cap on the walk length of maxmcmc = 5000. bilby lengthens each walk until the target is met, but only up to the cap. Where the cap binds, a new live point is less decorrelated from the one it was copied from than the target intends, which understates the cost of the run and risks an over-tight posterior and a biased evidence. Figure 14 shows that on the compact-binary examples the cap does bind: at the default, between 54% and 94% of iterations are capped, and on BBH HLV, BBH 3G, GW150914 and GW240615 every iteration in the second half of the run. The accepted steps then fall well below the target late in the run, to a median of 8–9 over the last 10% of iterations on BBH HLV and GW150914. The low-dimensional examples never reach the cap.

Figure 14. Walk length (top) and accepted steps per walk (bottom) of the dynesty reference runs as a function of the compressed prior volume XX, for the six compact-binary examples of Table I, at the default cap of maxmcmc = 5000 (solid) and at a raised cap of 20 000 (dashed). Lines are medians over iterations in bins of −ln⁡X-\ln X, and shading the 16th–84th percentile of the accepted steps; dotted lines mark the two caps and the target of 60 accepted steps. At the default cap the walks saturate and, except on BBH2 HLV, the accepted steps fall well below the target late in the run; raising it largely restores them, except on BBH 3G, BBH HLV and GW150914.

We therefore repeated the dynesty runs with the cap raised to 20 000, with everything else unchanged. This largely restores the accepted steps, though not on BBH HLV and GW150914 late in the run or on BBH 3G in the middle of it, and costs 1.2–3.6 times as many likelihood evaluations, so that these are the rows with a speed-up below one in Table I. On four of the six compact-binary examples, it moves ln⁡Z\ln\mathcal{Z} by at most 1.2σ1.2\sigma, and on five it moves the mean JSD to the default run by at most 0.25 mbit above the noise floor. BBH HLV and BBH 3G are the exceptions in the evidence, which moves by 1.7σ1.7\sigma and 2.1σ2.1\sigma, in both cases towards the seeded methods. Only on BBH HLV does the posterior also move, with a mean JSD to the default run of 3.2 mbit against a noise floor of 2.3 mbit. On BBH HLV the seeded methods sit 0.8–1.0 below the default reference but 0.3–0.6 below the raised one, so about half of their evidence offset in Table I is due to the reference, and on BBH 3G (1.8–2.5 below the default, 1.0–1.7 below the raised) about a third. The true offset may be smaller still, since BBH HLV and BBH 3G remain under-walked at 20 000. We nevertheless keep maxmcmc=5000\mathrm{maxmcmc}=5000 as the reference, since this is the standard configuration against which a user would compare, and report the raised-cap runs as separate rows so that both are visible.

Reproducibility and distance to the reference

In Section III C, we chose the SMC configuration by its reproducibility, since the true posterior is unknown. Here we compare that reproducibility with the distance of each configuration from the dynesty reference, which we measure as the largest one-dimensional JSD between the repeats of the configuration and those of dynesty. Figure 15 plots one against the other for the same grid of configurations as Figure 5. A configuration on the diagonal is as far from dynesty as from its own repeats, and one above it differs systematically from dynesty; dynesty itself lies on the diagonal by construction.

Reproducibility against distance to the dynesty reference for Laplace-seeded ASPIRE configurations

Figure 15. Reproducibility against distance to the dynesty reference for the Laplace-seeded ASPIRE configurations of Figure 5, for BBH HLV (left) and BNS 3G (right). The horizontal axis is the largest one-dimensional JSD between the repeats of each configuration, as in Figure 5, and the vertical axis the largest one-dimensional JSD between its repeats and those of dynesty (1000 live points, maxmcmc = 5000). Markers and colours are as in Figure 5: solid markers take the maximum over the intrinsic parameters, with error bars showing the 16–84% interval from bootstrap resampling of the repeats, and translucent markers over the extrinsic parameters. The grey bands mark the split-half noise floor, and the dashed line equality.

On the intrinsic parameters, the distance to dynesty tracks the reproducibility, up to a small offset. For BBH HLV, the configurations that reproduce themselves poorly (16–49 mbit) are also far from dynesty (12–29 mbit), and no configuration is further from dynesty than from its own repeats by more than ∼8 mbit. For BNS 3G, every configuration lies within 3.9–7.6 mbit of dynesty, and those that reproduce themselves as well as dynesty does (2.8 mbit) still lie 4–5 mbit from it; for example, 5000 particles with 500 steps reaches 2.6 mbit against its own repeats but 4.9 mbit against dynesty. On these parameters, then, a configuration that reproduces itself is also close to the reference, and reproducibility is a useful, though not complete, test of a run.

In each case, the offset is concentrated in a single parameter: the spin magnitude a1a_1 for BBH HLV (∼9.5 mbit to dynesty against ∼3.5 mbit between SMC repeats) and χ1\chi_1 for BNS 3G (4.2–5.2 mbit against 2.1–3.0 mbit). For BNS 3G, the SMC posteriors are wider in χ1\chi_1 than those of dynesty, with a standard deviation of 0.0121–0.0123 against 0.0113, and a single dynesty run with the walk-length cap raised to 20 000 (Section C) lies between the two, at 0.0118, while the dynesty run under the repartitioned prior (Section II G.4) matches SMC, at 0.0121. This suggests that the dynesty reference at the default cap is slightly too narrow in χ1\chi_1, rather than that SMC is biased, though a single run does not settle this.

Reproducibility does not detect an error that every repeat shares. On the extrinsic parameters of BBH HLV, 2500 particles with 500 steps reproduces itself at 33 mbit but lies 200 mbit from dynesty, because all five of its repeats drop the ϕ\phi lobe, and so agree with each other. A multimodal posterior that the sampler cannot traverse is therefore the case in which reproducibility is not enough, and we still compare against an independent reference wherever one is available.

Mass-ratio ridge of GW150914

Figure 16 repeats Figure 10 for GW150914. The total mass is measured and the likelihood is flat along the line of constant total mass, as on GW240615, but the ridge stops at q≈0.6q \approx0.6, and the MAP and the highest-posterior density sample both lie on its flat top. Below it the likelihood falls off, so that qq is better measured than on GW240615 (posterior standard deviation 0.11 against 0.13), and at the MAP the curvature along qq is below that of the prior, so the width of the Gaussian is capped at the prior’s. The in-prior draw then covers too much of qq, not too little: it spans 0.40–0.97 against 0.64–0.98 for dynesty, with 88% of the dynesty samples inside its 5–95% range, against 13% on GW240615. This costs the in-prior draw some JSD (139–146 mbit in qq), but it is the safe direction for SMC and posterior repartitioning, which only need to contract it. The evidence deficit of the in-prior draw, by 4–10 on every gravitational-wave example in Table I, does not distinguish the two events, and is not a signature of the ridge.

Posterior distributions for GW150914 from Dynesty, Dynesty maximum posterior, Laplace in-prior (full), and DE MAP, showing $M_{\mathrm{det}}$, $\ln(\mathcal{L})$, and $p(q)$

Figure 16. As Figure 10, for GW150914, with curves of constant total mass every 4 M⊙M_{\odot}.

References

  1. [1]J. Aasi, B. P. Abbott, R. Abbott, T. Abbott, M. R. Abernathy, K. Ackley, C. Adams, T. Adams, P. Addesso, R. X. Adhikari, et al. Advanced LIGO. Classical and Quantum Gravity, 32(7):074001, April 2015. doi:10.1088/0264-9381/32/7/074001.DOI
  2. [2]F. Acernese, M. Agathos, K. Agatsuma, D. Aisa, N. Allemandou, A. Allocca, J. Amarni, P. Astone, G. Balestri, G. Ballardin, et al. Advanced Virgo: a second-generation interferometric gravitational wave detector. Classical and Quantum Gravity, 32(2):024001, January 2015. doi: 10.1088/0264-9381/32/2/024001.DOI
  3. [3]T. Akutsu, M. Ando, K. Arai, Y. Arai, S. Araki, A. Araya, N. Aritomi, Y. Aso, S. Bae, Y. Bae, et al. Overview of KAGRA: Detector design and construction history. Progress of Theoretical and Experimental Physics, 2021 (5):05A101, May 2021. doi:10.1093/ptep/ptab125.
  4. [4]A. G. Abac, A. Abe, I. Abouelfettouh, F. Acernese, K. Ackley, A. Adam, S. Adhicary, D. Adhikari, R. X. Adhikari, V. K. Adkins, et al. GWTC-5.0: An Introduction to Version 5.0 of the Gravitational-Wave Transient Catalog. arXiv e-prints, art. arXiv:2605.27223, May 2026. doi:10.48550/arXiv.2605.27223.DOI

AI tools statement

This work lists 1 AI tool.

  • Claude Opus 5.5 (bare) · AI tool

    Roles
    Data curationSoftwareWriting — review & editing
    Verification
    self-declared at submission

Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

Code, data, proofs and workflows the authors linked for testing, review and reproduction. These links are part of this work’s metadata and are released under the same license as the rest of that metadata. Valency doesn’t host the files; each keeps the license set where it’s hosted.

Pick where to look, or just type