Abstract
Nested Sampling (NS) has emerged as a powerful tool for Bayesian model selection, particularly in fields like astrophysics. However, its theoretical properties remained largely unformalized. This paper establishes a rigorous foundation for NS, proving that its error follows a Central Limit Theorem (CLT) with a standard $O(N^{-1/2})$ convergence rate. We also introduce "Nested Importance Sampling" to mitigate the reliance on Markov Chain Monte Carlo (MCMC) steps and investigate how the algorithm scales with dimensionality.
Introduction
In Bayesian inference, the marginal likelihood (or evidence) is essential for model comparison. Calculating this integral is often computationally prohibitive due to high dimensionality and multi-modality. Nested Sampling, introduced by Skilling in 2006, transforms this multi-dimensional integral into a one-dimensional one by sampling from the prior subject to a likelihood constraint. Despite its popularity, the lack of a formal convergence proof and a clear understanding of its scaling properties has limited its adoption in broader statistical contexts. This paper fills that gap, moving NS from a clever heuristic to a mathematically grounded tool.
Methods
The authors analyze the nested sampling estimator by decomposing its approximation error into truncation, numerical integration, and stochastic components. They prove that the stochastic error dominates and is asymptotically Gaussian, allowing for formal uncertainty estimation.
To address the practical challenges of sampling from the constrained prior, the paper proposes Nested Importance Sampling. This method utilizes instrumental distributions—such as ellipsoids for Gaussian-like posteriors—to generate independent samples. This "Nested Ellipsoid" strategy can bypass the need for MCMC steps, which often introduce unwanted correlations and bias in high-dimensional problems.
Results and Discussion
Numerical experiments on a decentred Gaussian model (dimensions $d=10$ to $100$) validate the theoretical findings and highlight the algorithm's sensitivities.
MCMC Sensitivity and Bias
A critical observation is the sensitivity of NS to the number of MCMC steps ($M$) used to generate new points. When $M$ is too low (e.g., $M=1$), the algorithm exhibits significant bias in high dimensions, which cannot be corrected by simply increasing the number of live points $N$.
As shown in the figure above, for $M=1$, the evidence estimate deviates significantly from the true value as the dimension increases. Increasing $M$ to 3 or 5 stabilizes the estimator, centering the error distribution around zero and confirming the $O(N^{-1/2})$ convergence rate predicted by the CLT.
Scaling with Dimension
The study also reveals that the asymptotic variance of the NS estimator typically grows linearly with the dimension $d$. This implies that the total computational cost to maintain a constant error level scales as $O(d^3)$, assuming the cost of likelihood evaluations and MCMC steps scales appropriately. This linear scaling of variance is a key finding for understanding the algorithm's performance in high-dimensional Bayesian model choice.
Conclusion
This work provides the necessary theoretical guarantees for Nested Sampling, positioning it as a mathematically sound alternative to traditional Monte Carlo methods for evidence calculation. The introduction of Nested Importance Sampling and the identification of MCMC-induced bias in high dimensions offer practical guidelines for implementing robust NS algorithms. Future research will focus on extending these proofs to MCMC-based sampling schemes where independence between points is not strictly maintained.
Summary updated