VASR: Variance-Aware Systematic Resampling for Diffusion Models

Shivanshu Shekhar, Sagnik Mukherjee, Jia Yi Zhang, Tong ZhangNeurIPS 2026

TL;DR

When steering a frozen diffusion model toward human preferences at inference time, particle-based samplers often suffer from "diversity collapse"—a few lucky samples hog all the compute early on, leaving you with near-identical, artifact-ridden outputs. By dissecting the exact mathematical sources of variance during sampling, the authors introduce VASR, a dead-simple, training-free resampling upgrade. It keeps candidate trajectories diverse, improves image quality by up to 26%, and runs up to 66× faster than competing tree-search methods.

What Problem Does This Paper Address?

Diffusion models are great at mimicking their training data, but in practice, we usually want them to optimize a specific goal—like aesthetic appeal or strict prompt adherence—without the massive cost of reinforcement learning fine-tuning.

Inference-time alignment solves this on the fly. One popular strategy is Sequential Monte Carlo (SMC), which evolves a population of $K$ candidate images ("particles") in parallel during denoising. Periodically, you score intermediate noisy images using a fast approximation (the Tweedie estimate), clone the promising ones, and kill off the duds.

The catch? Standard SMC methods suffer from rapid lineage collapse. Within just a few steps, one or two high-scoring particles take over the entire population. You spend your whole compute budget regenerating variations of the exact same image, destroying sample diversity and degrading overall fidelity. Meanwhile, alternatives like Monte Carlo Tree Search (MCTS) avoid collapse by building careful look-ahead trees, but their sequential nature makes them painfully slow on modern GPUs.

Methods

The authors tackle lineage collapse from first principles by decomposing the variance of the SMC estimator at each resampling step into two distinct culprits:

  1. Continuation Variance ($V_t^{\mathrm{cont}}$): Noise coming from the stochastic denoising steps yet to come.
  2. Residual Variance ($V_t^{\mathrm{res}}$): Noise introduced by the random lottery of deciding how many "offspring" (clones) each particle gets.

Standard SMC uses multinomial resampling—essentially rolling a $K$-sided weighted die $K$ times. If a particle has a high reward, its offspring count fluctuates wildly (scaling as $\mathcal{O}(K)$), fueling premature takeovers.

To tame both terms simultaneously, the authors propose VASR (Variance-Aware Systematic Resampling):

  • Variance-Optimal Mass Allocation (New to diffusion SMC): Instead of allocating expected offspring solely based on current step rewards ($m_t \propto e^{r_t}$), VASR incorporates the particle's accumulated historical weight ($m_t \propto w_t e^{r_t}$). The authors prove this minimizes $V_t^{\mathrm{cont}}$.
  • Systematic Resampling + Ordering (Adapted from classical SMC): Instead of $K$ independent die rolls, VASR lines up all particles on a cumulative probability ruler (sorted by descendant score) and drops a rigid grid shifted by a single random number $U \sim \mathrm{Uniform}(0,1)$. This strictly bounds offspring variance to $\mathcal{O}(1)$—no particle ever deviates from its fair share of clones by more than 1.
  • VASR-Max (New variant): In latent diffusion (like Stable Diffusion), intermediate proxy rewards are notoriously noisy. VASR-Max deliberately trades mathematical unbiasedness for stability: whenever systematic resampling awards extra copies to particles, it redirects those extra slots to the single highest-scoring particle, preventing soft reward errors from compounding.

Datasets

Because VASR is entirely training-free, all datasets are existing benchmarks used strictly for evaluation:

  • MNIST & CIFAR-10: Used for class-conditional posterior sampling (generating specific digits, or multimodal "even/odd" groups, and object classes like cars).
  • DrawBench: Evaluated with ImageReward to test complex text-to-image prompt alignment and human preference using Stable Diffusion v1.5.
  • Simple Animals Benchmark: 45 animal prompts evaluated with the LAION Aesthetic Predictor to measure pure visual quality optimization.

Key Insights and Ideas

  • Multinomial dice rolls were the hidden villain: Simply swapping multinomial resampling for systematic resampling under identical mass allocations slashes offspring-count variance and preserves ~1.5× more distinct ancestral lineages.
  • Historical weights matter: Ignoring accumulated weights ($w_t$) when allocating clones inflates continuation variance by ~8× and nearly doubles terminal distribution error (MMD).
  • Sometimes, chasing the highest reward is a trap: On aesthetic benchmarks, standard SMC (FKD) gets higher raw scores than VASR-Max—because it over-optimizes noisy intermediate signals, producing surreal, off-manifold artifacts. VASR-Max keeps images grounded in reality.
  • Parallelism beats clever sequential search: Because systematic resampling only takes $\mathcal{O}(K)$ operations and a single random number, all $K$ particles march through the GPU together, crushing sequential MCTS in wall-clock speed.

Key Results

Across compute budgets (measured in neural function evaluations, or NFEs), VASR scales cleanly where prior particle methods wobble:

Figure 1: Scaling behavior with increasing compute (NFEs). FID vs NFEs on CIFAR-10 and MNIST. VASR outperforms FKD and DTS across all compute budgets, demonstrating favorable scaling with full parallelism.
  • Pixel-Space Quality & Speed: On CIFAR-10 and MNIST (at $10^6$ NFEs), VASR achieves up to 26% better FID than the strongest SMC baselines (e.g., 0.132 vs. 0.180 for DTS and 0.241 for FKD on CIFAR-10). At matched compute, VASR runs ~66× faster in wall-clock time than MCTS-based Diffusion Tree Sampling (DTS).
  • Text-to-Image Alignment: On DrawBench, VASR-Max beats the strongest SMC baseline (FKD) across all budgets—achieving up to 1.6× higher ImageReward—while matching or slightly edging out MCTS-based $\text{DTS}^*$ at ~4× the speed.
ImageReward vs NFE on DrawBench showing VASR-Max outperforming FKD and matching DTS*

Limitations and Future Work

The authors are candid about the trade-offs: VASR-Max sacrifices theoretical asymptotic guarantees (unbiasedness) to survive noisy latent rewards. Better denoising of intermediate reward estimates could eventually allow pure, unbiased VASR to shine in latent spaces too. Furthermore, VASR hasn't yet been tested on newer flow-matching or consistency models, and extending the variance-decomposition framework to balance multiple competing rewards simultaneously remains an open frontier.

Summary updated

BibTeX
@inproceedings{shekhar2026vasr,
  author = {Shivanshu Shekhar and Sagnik Mukherjee and Jia Yi Zhang and Tong Zhang},
  title = {{VASR: Variance-Aware Systematic Resampling for Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=QqtrK76QV1},
}
Figure