Introduction
Estimating the expected value of a function $F$ with respect to an intractable density $\pi$ is a cornerstone of Bayesian computation. While Markov Chain Monte Carlo (MCMC) methods like the Independent Metropolis (IM) sampler are standard tools for this task, they typically suffer from a significant drawback: the resulting samples are dependent. This autocorrelation generally leads to an asymptotic variance higher than that of ideal independent and identically distributed (i.i.d.) sampling.
This paper introduces a novel variance reduction strategy for the IM sampler. By leveraging control variates derived from the Poisson equation, the authors demonstrate that it is possible to construct an estimator—the Independent Metropolis with Control Variates (IMCV)—that not only reduces variance but can actually outperform i.i.d. sampling when the proposal distribution is sufficiently accurate.
The IMCV Framework
The core of the proposed method lies in the construction of zero-expectation control variates. For any function $G$ in the domain of the generator, the term $PG(x) - G(x)$ (where $P$ is the transition kernel of the Markov chain) has an expectation of zero under the target distribution $\pi$.
The Poisson Equation and Approximation
The optimal function $G$ to minimize variance is the solution to the Poisson equation. Since solving this equation is analytically intractable for most problems, the authors provide a critical theoretical insight: as the proposal density $q$ approaches the target density $\pi$, the solution to the Poisson equation converges to the function $F$ itself.
Based on this, the authors propose using $G = F$ as a practical approximation. The resulting IMCV estimator utilizes the acceptance ratios $\alpha(x, y)$—values already computed during the standard IM algorithm—to estimate the necessary integrals. A key requirement for this approach is that the expectation of $F$ under the proposal distribution $q$ ($\mathbb{E}_q[F]$) must be analytically available.
Beating the i.i.d. Benchmark
One of the most significant contributions of this work is the theoretical proof (Theorem 2) regarding asymptotic variance. The authors show that if the KL divergence between the proposal $q$ and the target $\pi$ is sufficiently small, the IMCV estimator achieves a lower asymptotic variance than i.i.d. sampling from $\pi$.
This result challenges the conventional view of i.i.d. sampling as the "gold standard" for Monte Carlo efficiency. It suggests that the dependency inherent in Markov chains, usually viewed as a liability, can be exploited as a feature to build control variates that are inaccessible to independent samplers.
Adaptive Independent Metropolis
To ensure the condition of "closeness" between $q$ and $\pi$ is met, the authors propose an adaptive version of the algorithm. This adaptive IM sampler iteratively updates the parameters of the proposal distribution $q$ to minimize the KL divergence $KL(q || \pi)$. This optimization is performed using stochastic gradient descent and the reparameterization trick, ensuring the proposal remains a robust approximation of the target throughout the sampling process.
Empirical Results
The authors evaluated the IMCV estimator across several complex Bayesian inference tasks, measuring performance via the Variance Reduction Factor (VRF)—the ratio of the variance of a standard estimator to the IMCV estimator.
- Bayesian Linear Regression: In a model selection problem involving a non-conjugate mixture of g-priors, the IMCV estimator achieved a VRF of 4763.42 for a 4-variable model, representing a massive efficiency gain over Crude Monte Carlo methods.
- Logistic Regression: Across standard datasets (Ripley, Pima Indian, Heart, German), the method showed consistent improvements. For the Ripley dataset, the VRF reached 71.4. Even in higher-dimensional settings like the German dataset ($d=25$), a VRF of 6.3 was maintained.
- Gaussian Process (GP) Regression: When estimating kernel hyperparameters for the Boston Housing and Pendulum datasets, the IMCV method typically provided a 2x to 10x reduction in variance.
Conclusion and Limitations
The IMCV estimator provides a computationally "free" way to significantly enhance the efficiency of Independent Metropolis sampling. By repurposing existing acceptance probabilities, it achieves substantial variance reduction and can theoretically surpass i.i.d. sampling performance.
However, the method has limitations. It requires the analytical availability of $\mathbb{E}_q[F]$, which may necessitate approximating $F$ if the expectation is not known. Additionally, while the method remains beneficial in high dimensions, the magnitude of variance reduction scales at a rate of $O(d^{-1/4})$, suggesting that the "super-efficiency" over i.i.d. sampling becomes harder to achieve as dimensionality increases.
Summary updated