Skip to main content
QUICK REVIEW

[Paper Review] An Auto-validating Rejection Sampler

Raazesh Sainudiin, A. York|ArXiv.org|Nov 15, 2006
Bayesian Methods and Mixture ModelsComputer Science31 references4 citations
TL;DR

This paper introduces an auto-validating rejection sampler using interval analysis to generate independent samples from complex, high-dimensional target densities without requiring knowledge of the normalizing constant. By rigorously bounding function evaluations through interval arithmetic, the method guarantees correctness of each sample and achieves high acceptance rates even for multi-modal or pathological densities like the witch's hat.

ABSTRACT

In Bayesian statistical inference and computationally intensive frequentist inference, one is interested in obtaining samples from a high dimensional, and possibly multi-modal target density. The challenge is to obtain samples from this target without any knowledge of the normalizing constant. Several approaches to this problem rely on Monte Carlo methods. One of the simplest such methods is the rejection sampler due to von Neumann. Here we introduce an auto-validating version of the rejection sampler via interval analysis. We show that our rejection sampler does provide us with independent samples from a large class of target densities in a guaranteed manner. We illustrate the efficiency of the sampler by theory and by examples in up to 10 dimensions. Our sampler is immune to the `pathologies' of some infamous densities including the witch's hat and can rigorously draw samples from piece-wise Euclidean spaces of small phylogenetic trees.

Motivation & Objective

  • To develop a sampling method that guarantees correctness of each sample drawn from a target density, even when the normalizing constant is unknown.
  • To address the limitations of conventional rejection sampling in high-dimensional, multi-modal, or pathological target densities.
  • To integrate interval analysis into rejection sampling to produce a self-validating algorithm that provides computer-assisted proofs of sample correctness.
  • To ensure high efficiency and scalability in up to 10 dimensions, with theoretical guarantees on acceptance probability.

Proposed method

  • The method uses interval arithmetic to compute natural interval extensions of the target density $p^*$ and proposal density $q^*$, ensuring rigorous bounds on function values.
  • An envelope function $f_q = c q^*$ is constructed such that $f_q(\theta) \geq p^*(\theta)$ for all $\theta$ in the domain, with $c$ chosen to minimize inefficiency.
  • The algorithm generates a candidate $T$ from the proposal $q^*$, then a uniform height $H \sim \text{Uniform}[0, f_q(T)]$, and accepts $T$ if $H \leq p^*(T)$.
  • Interval extensions $P^*$ and $Q^*$ are used to compute bounds on $p^*$ and $q^*$, ensuring that acceptance decisions are mathematically rigorous and free from floating-point errors.
  • The method adapts through refinement of the domain into smaller intervals, improving accuracy and acceptance probability asymptotically as $1 - \mathcal{O}(1/W)$.
  • The sampler is implemented in an open-source C++ library, enabling reproducible and verifiable sampling from complex densities.

Experimental results

Research questions

  • RQ1Can interval analysis be used to create a rejection sampler that guarantees correctness of each sample through computer-assisted proof?
  • RQ2How does the acceptance probability of the interval-based rejection sampler scale with domain refinement in high-dimensional spaces?
  • RQ3Can the method efficiently sample from non-log-concave, multi-modal, or pathological densities such as the witch's hat?
  • RQ4What is the theoretical asymptotic behavior of the acceptance probability as the partition of the domain becomes finer?
  • RQ5How does the auto-validating nature of the sampler improve reliability compared to conventional floating-point rejection sampling?

Key findings

  • The Moore Rejection Sampler (MRS) produces independent samples from the target density $p$ with mathematical guarantee, as each sample is accompanied by a computer-assisted proof of correctness.
  • The acceptance probability $\mathbf{A}^p_{\mathfrak{U}_W}$ approaches 1 at a rate of $1 - \mathcal{O}(1/W)$ as the domain is partitioned into $W$ intervals, ensuring high efficiency with refinement.
  • The method successfully samples from non-log-concave and multi-modal densities, including the infamous witch’s hat distribution, which causes failure in standard samplers.
  • The MRS is robust in up to 10 dimensions, demonstrating scalability and reliability in high-dimensional settings.
  • Theoretical analysis confirms that the interval-based bounds on $p^*$ and $q^*$ ensure that no sampling error arises from floating-point arithmetic or approximation.
  • An open-source C++ implementation is publicly available, enabling reproducibility and practical use in Bayesian and frequentist inference.

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.