Transformed Samplers with Variance Reduction

arXiv:2610.10870 · stat.ML, cs.LG, stat.ME · Submitted 2026-10-07 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Today's paper: "Transformed Samplers with Variance Reduction".

Jane: Detailed Research Summary:

Tom: First, who's behind it and why it matters.

Paper summary: Tom: So we've covered the high-level idea of "Transformed Samplers with Variance Reduction". We talked about how they extend exact Poisson control variates from simple reference densities to general targets using a learned change of variables.

Jane: That was the thesis, showing that Markov kernels and their Poisson solutions are transformed by any bijection, which is this mapping T.

Lu: They established that if you have a kernel Q with an exact solution on a simple reference density, you can transform it into a control variate for any target distribution via this map T.

Meng: The key technical step they focus on is proving that the transformed kernel Q T is positive semidefinite if and only if its eigenvalues lambda j are non-negative for all j.

Lalam: This means the spectral gap of the transformed kernel doesn't depend on T, it only depends on the original reference kernel's spectral gap, specifically one minus bar lambda.

Tom: That’s a really clean result because it suggests that if you can solve the problem for one simple case, you have a universal way to solve it for almost any other target.

Jane: They also show that the functions G j equal phi j composed with T inverse form an orthonormal basis of the relevant function space, and Q T G j equals lambda j G j.

Lu: This confirms that we can find these control variate coefficients directly from reference draws without needing any regression to fit them to the chain itself.

Meng: That’s huge for practical implementation because fitting those coefficients to a long chain takes time, but getting them from reference draws is way faster.

Lalam: And they address consistency by proving that the estimator converges almost surely to the true target distribution pi of F under mild tail conditions on both the map and the target.

Tom: So, putting it all together, "Transformed Samplers with Variance Reduction" claims these transformed samplers yield explicit control variates that are consistent estimators under mild tail conditions.

Jane: And they show this works for importance sampling from the flow as well, which is just another way to use this construction.

Lu: They also compare these methods against various other sampler types like Hamiltonian Monte Carlo and auxiliary gradient-based samplers.

Conclusion: Tom: So looking at the whole paper "Transformed Samplers with Variance Reduction", the authors are basically showing how learned change of variables can unlock exact control variates for general targets.

Jane: It’s not just about MCMC; it’s about creating a universal framework where you don't need to know the specific structure of the target distribution to get variance reduction.

Lu: The main implication is that we gain a method where the choice of control variate is guided by the structure of your transformation, not by solving hard Poisson equations for every single target.

Meng: For engineers, this means they should look at how well their sampler handles transport quality when deciding if this method will actually give you a speedup in computation time.

Lalam: The real cultural impact is that it pushes us to build AI systems that can be more self-aware about their internal sampling structure and optimize for variance reduction automatically.

Siran Liu, Michalis K. Titsias, Petros Dellaportas

University College London

stat.ML, cs.LG, stat.ME

Submitted: 2026-10-07

Updated: 2026-10-07

Code: https://github.com/cliusir123/TMCVR_Code

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 85/100

The gist: Detailed Research Summary: Transformed Samplers with Variance Reduction (Combining MCMC Theory and Empirical Results) This research addresses a critical challenge in Markov Chain Monte Carlo (MCMC)

Key concepts

Control Variates
These are mathematical tools used to reduce the variance of an estimate obtained from a complex simulation. The paper develops a new way to create these by transforming the sampler's process into a simpler latent space, making the variance reduction more effective for general targets.
Learned Change of Variables (Flow)
This involves training a neural network, such as a normalizing flow, to map the complex target distribution onto a simpler reference distribution in a hidden 'latent space.' The theory shows that the sampler's behavior is consistent across this mapping, enabling the creation of exact control variates.
Poisson Equation Solution
This is a mathematical equation used to find an exact solution for certain Markov chain processes. The paper proves that if the original kernel has a known solution, applying a change of variables preserves this solution structure, which is crucial for deriving the control variates.

Terminology

Summary

Detailed Research Summary: Transformed Samplers with Variance Reduction (Combining MCMC Theory and Empirical Results)

This research addresses a critical challenge in Markov Chain Monte Carlo (MCMC) by extending exact solutions for control variates from simple reference densities to general, complex target distributions through the use of learned change of variables, such as normalizing flows. The core theoretical contribution establishes that Markov kernels and their Poisson solutions are invariant under any bijection (like a flow), allowing for the derivation of explicit control variates in the latent space.

Theoretical Framework: Exact Control Variates via Change of Variables

The paper fundamentally connects MCMC methods with change of variables by demonstrating that if a Markov kernel is transformed by a bijection T, its Poisson solutions are also transformed by T. This property allows researchers to take exact Poisson solutions, derived from a simple reference distribution rho and kernel Q (which possesses an exact solution), and transform them into control variates for any target distribution reached via the map T.

The construction hinges on three necessary properties of the latent sampler: (C1) for the reference kernel, (C2) for computing control variates, and (C3) ensuring the resulting solution accurately reflects the actual kernel run. Mathematically, Theorem 4.2 proves that under condition (A1), for every bijection T, the transformed kernel Q T is positive semidefinite if and only if its eigenvalues lambda j are non-negative for all j. Furthermore, it establishes that the functions G j = phi j T-1 form an orthonormal basis of the relevant function space, where Q T G j = lambda j G j. Crucially, this implies that the spectrum of the transformed kernel (Q T) does not depend on the transformation T, and its absolute spectral gap is determined solely by the spectral gap of the original reference kernel Q (specifically, 1 -).

This theoretical foundation guarantees that running samplers in this transformed latent space yields explicit, exact control variates. Moreover, Theorem 4.3 provides consistency results (mu to pi(F) almost surely) for various samplers—including SNIS, TGI-RWM (for Gaussian reference), TGI-MALA, and TESS—provided specific tail conditions (like E rho[w 2(1 + (F T) 2)] < infinity) are met.

Empirical Application and Diagnostic Tools

The paper moves beyond theory to demonstrate the practical utility of this construction by applying it to various samplers in the latent space. The dictionary of derived control variates is tailored to the reference distribution; for instance, Hermite polynomials are used when a Gaussian reference is employed. A key advantage highlighted is that these control variate coefficients can be computed from cheap reference draws rather than being fitted to the chain itself.

To guide practical implementation, the authors provide diagnostics based on draws from the flow. These include:

  1. Importance Sampling Effective Sample Size (ESSIS): To assess estimator quality.

  2. Largest Normalized Weight: A metric indicating which component or member of a multimodal target is dominating the sampling process, suggesting which specific chain member should be prioritized for control variate application (e.g., The largest importance weight of the flow tells which member to run).

Comparative Performance Analysis

The empirical results compare these novel estimators against state-of-the-art samplers and traditional control variates on both synthetic targets and real posterior distributions. The performance gains are highly dependent on the quality of the transport (the mapping T). Training dominates the computational cost when budgets are small, but where the flow creates a neck or seam between modes, the control variates yield minimal benefit. Conversely, for posteriors where mismatch is spread across many coordinates, standard HMC on the same flow remains superior. A significant finding is that control variate methods also prefer bounded weights in the tails—a condition often not enforced by standard training objectives—and a penalty in training can encourage this desired behavior.

Summary of Specific Sampler Insights (From Section B)

The empirical data, detailed across Tables S11, S12, and S13, provides granular insights into the practical trade-offs between different samplers:

  • SNIS+CV: Often the best overall method but suffers from uneven performance gaps. It falls behind significantly on complex structures like the t mixture or sparse regression coefficients (where weights are heaviest).

  • TGI-RWM+CV: Shows superior stability, exhibiting the smallest mean gap and spread among methods, making it a reliable choice. It is rarely the absolute best but consistently performs well across many test functions.

  • TESS+CV: Nearly as stable as TGI-RWM, though it can fall significantly behind on highly multimodal targets where TGI-MALA struggles.

  • Step Selection (TGI-RWM/TGI-MALA): The mechanism J for step selection (gamma J) is highly dependent on the target structure. For TGI-RWM, J selects steps near gamma=1 on accurate members but below 1 on coarse members (like the banana or funnel). For TGI-MALA, J selects steps well below 1 except for the accurate mixture. The ratio of ESS times VRF (R(gamma, gamma')) quantifies these differences across various target types and step selections.

**In conclusion, this work successfully bridges rigorous MCMC theory with practical variance reduction techniques by showing how learned change of variables enable the construction of exact control variates for general targets. The empirical evidence suggests that while the theoretical framework is powerful, its practical efficacy is maximized when combined with intelligent diagnostics (like importance weights) and a deep understanding of the transport quality.

Improvements for AI systems

  1. Bold header: Control variates for MCMC on transformed targets. This allows for explicit control variates by transforming Markov kernels through a learned change of variables (a normalizing flow), yielding an estimator that is consistent under mild tail conditions on the map and target.

  2. Bold header: Dictionary pruning based on spectral properties. The paper suggests keeping indices with largest positive scores vj (c 2j - s 2j/N) to minimize asymptotic variance, which can be implemented via structural pruning and magnitude pruning based on reference draws.

  3. Bold header: Adaptive step size selection for TGI samplers. The system can maximize the objective function J(γ) = log(2γ−γ 2)+log a(γ)−log 1+V0 (1−a(γ)) to choose a step size that balances ESS × VRF, optimizing efficiency over mere acceptance rate or speed measures.

  4. Bold header: Tail penalty integration for flow training. By adding the loss term E max[0, log w(ζi) − ¯l − c]2, the system can be trained to better handle heavy tails, as this acts only on weights that are too large, which make chains stick.

  5. Bold header: Mode detection and sampler selection. The system can monitor diagnostics like ESSIS = (P i w(ζ i)) squared / P i w(ζ i) 2 to switch dynamically between estimators (SNIS, TGI-RWM, TESS) based on the largest normalized importance weight of the flow, avoiding performance degradation when the map leaves a neck or a seam between modes.

Abstract

Markov chain Monte Carlo (MCMC) methods are the standard tool for computing expectations under complex probability distributions. Control variates reduce the variance of the resulting estimates, but a good control variate requires solving the Poisson equation of the sampler, which rarely admits a closed-form solution. Exact solutions are available when the sampler's kernel has a known spectral decomposition on a simple reference density. In our work, we extend these solutions to general targets through a learned change of variables. A bijection, such as a normalizing flow, is trained so that the target becomes close to the reference in a latent space, and we show that Markov kernels and their Poisson solutions are transformed by any bijection. Running such samplers in the latent space then yields explicit control variates, and the estimator is consistent under mild tail conditions on the map and target. Importance sampling (IS) from the flow is the limiting case of the same construction and the control variates apply to it as well. Experiments on synthetic targets and real posteriors compare the procedure against state-of-the-art samplers and control variates.

Sources

Related papers