Skip to main content
QUICK REVIEW

[Paper Review] PolyChord: nested sampling for cosmology

Will Handley, M. P. Hobson|arXiv (Cornell University)|Feb 6, 2015
Scientific Research and DiscoveriesPhysics and Astronomy8 citations
TL;DR

PolyChord is a high-dimensional nested sampling algorithm that uses slice sampling within hard likelihood constraints to efficiently compute Bayesian evidence and sample posteriors. It outperforms MultiNest in high-dimensional spaces by exploiting parameter speed hierarchies and enabling nearly linear parallelization, demonstrating O(D³) scaling versus MultiNest’s exponential scaling on Gaussian likelihoods and enabling a 37-parameter cosmological inference in the Planck 2015 analysis.

ABSTRACT

PolyChord is a novel nested sampling algorithm tailored for high dimensional parameter spaces. In addition, it can fully exploit a hierarchy of parameter speeds such as is found in CosmoMC and CAMB. It utilises slice sampling at each iteration to sample within the hard likelihood constraint of nested sampling. It can identify and evolve separate modes of a posterior semi-independently and is parallelised using openMPI. PolyChord is available for download at: http://ccpforge.cse.rl.ac.uk/gf/project/polychord/

Motivation & Objective

  • To address the limitations of existing nested sampling algorithms like MultiNest in high-dimensional cosmological parameter spaces.
  • To enable efficient computation of Bayesian evidence and posterior sampling in problems with a hierarchy of parameter speeds, common in cosmological likelihoods.
  • To develop a parallelized, scalable algorithm that maintains accuracy and convergence in high-dimensional, multimodal posterior distributions.
  • To provide a robust alternative to rejection-based sampling in nested sampling by using slice sampling within hard likelihood constraints.

Proposed method

  • PolyChord employs slice sampling at each iteration to sample within the hard likelihood constraint defined by the nested sampling algorithm, replacing rejection sampling.
  • It uses a Cholesky decomposition to transform parameters from slow to fast, naturally exploiting the hierarchy of parameter speeds in cosmological models.
  • The algorithm identifies and evolves separate posterior modes semi-independently, improving mixing in multimodal distributions.
  • It is parallelized using openMPI, with speedup scaling nearly linearly as long as the number of processes is less than the number of live points.
  • The transformation to the sampling space ensures that each parameter is only mixed with faster parameters, enabling long-iteration chains that improve mixing.
  • It integrates with CosmoMC and CAMB by replacing the standard Metropolis-Hastings MCMC with nested sampling, forming the CosmoChord framework.

Experimental results

Research questions

  • RQ1Can a nested sampling algorithm efficiently handle high-dimensional parameter spaces common in modern cosmology?
  • RQ2How can a nested sampling algorithm exploit a hierarchy of parameter speeds to improve sampling efficiency?
  • RQ3Can slice sampling within hard likelihood constraints outperform rejection sampling in high-dimensional, multimodal posteriors?
  • RQ4What is the scaling behavior of evidence computation and convergence in high-dimensional problems using this new approach?
  • RQ5To what extent can parallelization via openMPI improve performance without sacrificing accuracy?

Key findings

  • PolyChord achieves O(D³) scaling in likelihood evaluations for a D-dimensional Gaussian likelihood, in contrast to the exponential scaling observed in MultiNest at high dimensions.
  • On the same Gaussian test case, PolyChord produces evidence estimates within 0.4 log units of the analytic value, matching the accuracy of MultiNest with importance nested sampling.
  • The algorithm successfully enabled a 37-parameter cosmological inference (4 slow, 19 semi-slow, 14 fast) in the Planck 2015 paper on inflation constraints, demonstrating real-world applicability.
  • PolyChord's parallelization achieves nearly linear speedup as long as the number of processes is less than the number of live points, enabling efficient use of large compute clusters.
  • The use of slice sampling and Cholesky-based parameter ordering allows for effective exploration of multimodal posteriors and improved mixing compared to standard rejection sampling.
  • The CosmoChord implementation within CosmoMC successfully replaces MCMC with nested sampling, maintaining accuracy while enabling robust evidence computation for model comparison.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.