Skip to content
DraconiticResearch
Search Sources API
203,234 studies31 sourcesUpdated 15 min ago
PreprintarXiv licencearXiv

Fast and efficient nested sampling with BEST

Abstract

Nested sampling is widely used for Bayesian evidence computation, but its intrinsically sequential structure limits how efficiently it can exploit modern vectorised likelihoods and emulators. We present a new nested-sampling implementation in \textsc{best}, written entirely in TensorFlow and designed for efficient XLA compilation on both CPUs and GPUs. The sampler combines clustering and slice sampling with the possibility of updating several live points simultaneously. Since batching breaks the strict ordering of conventional nested sampling, we introduce sorting and history-based corrections to reduce the resulting bias in the evidence estimate. We test the sampler on Gaussian, Rosenbrock, and multimodal likelihoods and compare its performance with JAXNS and UltraNest. The results show that accurate evidence estimates can be retained for moderate batch sizes, with m/Nlive≲ 0.1 providing a useful practical regime. Finally, using a 27-dimensional cosmological likelihood emulator, we show that batched live-point updates can substantially reduce the wall-clock time while remaining consistent with sequential sampling within the reported uncertainties. The new implementation therefore extends \textsc{best} with an efficient nested-sampling method tailored to fast, vectorised likelihoods and emulator-based inference.

Related

  1. Fast and Flow-rious: Gravitational Wave Background Bayesian Model Comparison using Normalizing Flows and Nested Sampling
    David C. Wright, Aaron D. Johnson, Jeffrey S. Hazboun +1
    arXivPreprintCC BY-NC-SA 4.0Full textHigh-energy astrophysicsInstrumentation & methodsarXiv
  2. Nested Sampling: A Critical and Comprehensive Theoretical Guide
    Luca Martino, Fernando Llorente
    arXivPreprintarXiv licenceFull textCosmologyInstrumentation & methodsarXiv
  3. Astrophysical Parameters of 5056 Open Star Clusters from Bayesian Nested Sampling with PARSEC Isochrones
    Olcay Plevne, Furkan Akbaba
    arXivPreprintCC BY 4.0Full textGalaxiesarXiv
  4. Astrophysical Parameters of 5056 Open Star Clusters from Bayesian Nested Sampling with PARSEC Isochrones
    Olcay Plevne, Furkan Akbaba
    Monthly Notices of the Royal Astronomical SocietyPeer-reviewedCC BY 4.0Full text1 citedSolar & stellar physicsCrossref
  5. A Fast and Memory-Efficient Algorithm for Searching Faint Moving Objects using Synthetic Tracking
    Chengxing Zhai, Albert J. Zhai
    arXivPreprintCC BY 4.0Full textInstrumentation & methodsarXiv
BibTeX
@misc{nygaard2026fast,
  title = {{Fast and efficient nested sampling with BEST}},
  author = {Andreas Nygaard},
  howpublished = {arXiv},
  year = {2026},
  month = aug,
  doi = {10.48550/arxiv.2608.28514},
  eprint = {2608.28514},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.28514},
}
RIS
TY  - UNPB
TI  - Fast and efficient nested sampling with BEST
AU  - Andreas Nygaard
PY  - 2026
DA  - 2026/08/28
PB  - arXiv
DO  - 10.48550/arxiv.2608.28514
UR  - https://arxiv.org/abs/2608.28514
AB  - Nested sampling is widely used for Bayesian evidence computation, but its intrinsically sequential structure limits how efficiently it can exploit modern vectorised likelihoods and emulators. We present a new nested-sampling implementation in \textsc{best}, written entirely in TensorFlow and designed for efficient XLA compilation on both CPUs and GPUs. The sampler combines clustering and slice sampling with the possibility of updating several live points simultaneously. Since batching breaks the strict ordering of conventional nested sampling, we introduce sorting and history-based corrections to reduce the resulting bias in the evidence estimate. We test the sampler on Gaussian, Rosenbrock, and multimodal likelihoods and compare its performance with JAXNS and UltraNest. The results show that accurate evidence estimates can be retained for moderate batch sizes, with m/N_live≲ 0.1 providing a useful practical regime. Finally, using a 27-dimensional cosmological likelihood emulator, we show that batched live-point updates can substantially reduce the wall-clock time while remaining consistent with sequential sampling within the reported uncertainties. The new implementation therefore extends \textsc{best} with an efficient nested-sampling method tailored to fast, vectorised likelihoods and emulator-based inference.
ER  -