Control Variate Score Matching for Diffusion Models
Khaled Kahouli, Romuald Elie, Klaus-Robert Müller, Quentin Berthet, Oliver T. Unke, Arnaud Doucet
TL;DR
This paper tackles the persistent variance issues in score-based diffusion methods when sampling from unnormalized densities by unifying two classic score estimators, DSI and TSI, under a control variate framework. It introduces CVSI, an unbiased estimator with an optimal time-dependent coefficient c*(t) that minimizes variance across the entire diffusion time, and shows how CVSI naturally interpolates between DSI and TSI. The authors derive tractable forms for c*(t) using perturbation-kernel scores and demonstrate CVSI as a robust plug-in estimator that improves both data-free training (iDEM) and diffusion sampling without extra computational cost. Empirically, CVSI achieves near-ground-truth performance on high-dimensional, multi-modal targets with far fewer energy evaluations, enhances mode recovery, and scales to challenging energy landscapes like the Double-Well potential.
Abstract
Diffusion models offer a robust framework for sampling from unnormalized probability densities, which requires accurately estimating the score of the noise-perturbed target distribution. While the standard Denoising Score Identity (DSI) relies on data samples, access to the target energy function enables an alternative formulation via the Target Score Identity (TSI). However, these estimators face a fundamental variance trade-off: DSI exhibits high variance in low-noise regimes, whereas TSI suffers from high variance at high noise levels. In this work, we reconcile these approaches by unifying both estimators within the principled framework of control variates. We introduce the Control Variate Score Identity (CVSI), deriving an optimal, time-dependent control coefficient that theoretically guarantees variance minimization across the entire noise spectrum. We demonstrate that CVSI serves as a robust, low-variance plug-in estimator that significantly enhances sample efficiency in both data-free sampler learning and inference-time diffusion sampling.
