Optimal Budgeted Rejection Sampling for Generative Models
Alexandre Verine, Muni Sreenivas Pydi, Benjamin Negrevergne, Yann Chevaleyre
TL;DR
The paper tackles the problem of generating high-quality samples under a fixed rejection budget in discriminative generative frameworks. It introduces Optimal Budgeted Rejection Sampling (OBRS), derives a closed-form optimal acceptance function that holds for any $f$-divergence, and shows how to compute the budget parameter $c_K$; it further proposes Tw/OBRS to train generators with rejection in mind, yielding flatter loss landscapes and improved mass-covering behavior. Theoretical results characterize precision-recall improvements and provide KL-type bounds via Renyi divergences, while extensive experiments demonstrate superior precision, faster convergence, and enhanced sample diversity across Gaussian benchmarks, BigGAN-CelebA, and diffusion-model settings. The approach offers a practical, principled route to integrate rejection sampling with learning, with potential applicability to broader generative paradigms such as normalizing flows and diffusion models.
Abstract
Rejection sampling methods have recently been proposed to improve the performance of discriminator-based generative models. However, these methods are only optimal under an unlimited sampling budget, and are usually applied to a generator trained independently of the rejection procedure. We first propose an Optimal Budgeted Rejection Sampling (OBRS) scheme that is provably optimal with respect to \textit{any} $f$-divergence between the true distribution and the post-rejection distribution, for a given sampling budget. Second, we propose an end-to-end method that incorporates the sampling scheme into the training procedure to further enhance the model's overall performance. Through experiments and supporting theory, we show that the proposed methods are effective in significantly improving the quality and diversity of the samples.
