Authors: Adam Block and Yury Polyanskiy (MIT)
Introduction
Classical rejection sampling, a cornerstone of statistical computation since its introduction by John von Neumann in 1951, provides a method to sample from a target distribution $\nu$ using samples from a base distribution $\mu$. However, the method traditionally relies on a strict "blanket" condition: there must exist a constant $M$ such that the likelihood ratio $d\nu/d\mu \le M$ for all points in the domain.
In modern high-dimensional machine learning and statistics, this assumption often fails. For instance, when dealing with Gaussian noise or complex distributions in high dimensions, the likelihood ratio is frequently unbounded, making exact rejection sampling impossible. This paper establishes a rigorous theoretical foundation for approximate rejection sampling, quantifying exactly how many samples are required to produce a result that is "close enough" to the target distribution when the standard $L_\infty$ bounds do not hold.
The Problem: Beyond Bounded Ratios
When the maximum ratio $M$ is infinite, we cannot guarantee a perfect sample from $\nu$. The authors instead ask a more practical question: How many samples $n$ are needed from $\mu$ to generate a single sample from a distribution $\hat{\nu}$ such that the Total Variation (TV) distance between $\hat{\nu}$ and $\nu$ is at most $\epsilon$?
To solve this, the researchers move away from the rigid $L_\infty$ constraint and adopt the framework of $f$-divergences. This family of measures—which includes KL-divergence, $\chi^2$-divergence, and Renyi divergence—allows for a more nuanced description of how "far" the target distribution is from the base distribution, even when their supports are not perfectly aligned.
Methodology: Modified Rejection Sampling
The paper analyzes a version of rejection sampling that incorporates a "clipping" mechanism. In this approach, if the likelihood ratio exceeds a certain threshold, the algorithm caps the value rather than failing.
Key Theoretical Tools:
- Information-Theoretic Bounds: The authors derive upper and lower bounds for sample complexity using the inverse of the derivative of the convex function $f$ (denoted as $(f')^{-1}$) that defines the divergence.
- Coupling Arguments: To bridge the gap between sampling and learning, the authors use coupling techniques. They demonstrate that a sequence of contexts chosen by an adversary in an online learning setting can be linked to a larger set of independent samples from a base measure, allowing statistical guarantees to be ported into adversarial environments.
Key Insights and Results
1. The Critical Role of the "Tail"
The feasibility of approximate sampling is determined by the growth rate of the function $f$. If $f$ grows linearly (as in Total Variation distance), approximate sampling is impossible—the error cannot be driven to zero regardless of the number of samples. However, if $f$ grows superlinearly (as in KL or $\chi^2$ divergences), the target can be approximated with arbitrary precision given sufficient samples.
2. Sample Complexity Formulas
The researchers prove that the number of samples $n$ required to be $\epsilon$-close to a target $\nu$ with $f$-divergence $D$ is approximately: $$n \approx (f')^{-1}\left(\frac{D}{\epsilon}\right)$$
This leads to vastly different costs depending on the divergence used:
- KL-divergence: The cost is exponential, $n \approx \exp(D/\epsilon)$.
- $\chi^2$-divergence: The cost is much more manageable, $n \approx D/\epsilon$.
3. The Optimality of Von Neumann
One of the paper's most surprising findings is that the original, simple rejection sampling algorithm is essentially optimal for this task. Despite decades of development in more complex sampling schemes, the basic "clip and sample" approach achieves the fundamental limits of approximate sampling.
Application: Smoothed Online Learning
The authors apply these sampling bounds to the field of smoothed online learning. In this setting, an adversary chooses a sequence of tasks, but their choices are "smoothed" by some noise. Previous research typically assumed the adversary's distribution was strictly bounded ($d\nu/d\mu \le 1/\sigma$).
This paper proves that such strict bounds are unnecessary. By using $f$-divergence constraints, the authors show that "no-regret" results are achievable even when the adversary is only constrained "on average." Specifically, they provide new minimax regret bounds for Renyi-smoothed adversaries, demonstrating that the Follow the Perturbed Leader (FTPL) algorithm can outperform previous state-of-the-art benchmarks under these relaxed conditions.
Limitations and Future Directions
While the paper provides a robust framework, it identifies several areas for further study:
- KL-Divergence Rates: Although sampling under KL-divergence is possible, the resulting regret rates in online learning are logarithmic and quite slow. Whether these rates can be improved remains an open question.
- Computational Efficiency: While the algorithms are "oracle-efficient" (relying on optimization routines), the practical overhead of managing weights in high-dimensional settings may still be significant.
- Growth Conditions: Some lower bounds assume a "mild growth condition" for $f$. While this covers standard divergences, a universal proof without this assumption is a goal for future work.
Conclusion
By quantifying the sample complexity of approximate rejection sampling, this work bridges a gap between classical sampling theory and modern adversarial learning. It demonstrates that simple algorithms are often more powerful than they appear, provided we use the right information-theoretic tools to measure their performance.
Summary updated