English

An Easy Rejection Sampling Baseline via Gradient Refined Proposals

Computation 2023-10-03 v1

Abstract

Rejection sampling is a common tool for low dimensional problems (d2d \leq 2), often touted as an "easy" way to obtain valid samples from a distribution f()f(\cdot) of interest. In practice it is non-trivial to apply, often requiring considerable mathematical effort to devise a good proposal distribution g()g(\cdot) and select a supremum CC. More advanced samplers require additional mathematical derivations, limitations on f()f(\cdot), or even cross-validation, making them difficult to apply. We devise a new approximate baseline approach to rejection sampling that works with less information, requiring only a differentiable f()f(\cdot) be specified, making it easier to use. We propose a new approach to rejection sampling by refining a parameterized proposal distribution with a loss derived from the acceptance threshold. In this manner we obtain comparable or better acceptance rates on current benchmarks by up to 7.3×7.3\times, while requiring no extra assumptions or any derivations to use: only a differentiable f()f(\cdot) is required. While approximate, the results are correct with high probability, and in all tests pass a distributional check. This makes our approach easy to use, reproduce, and efficacious.

Keywords

Cite

@article{arxiv.2310.00300,
  title  = {An Easy Rejection Sampling Baseline via Gradient Refined Proposals},
  author = {Edward Raff and Mark McLean and James Holt},
  journal= {arXiv preprint arXiv:2310.00300},
  year   = {2023}
}

Comments

To appear in the 26th European Conference on Artificial Intelligence ECAI 2023

R2 v1 2026-06-28T12:36:59.600Z