arXiv:2611.09758cs.LGNov 2026

Manuscript Offprint

arXiv:2611.09758

Diffusion-free Score Matching for Exact Conditional Sampling

Thomas Wedenig, Robert Peharz

Abstract

The success of modern score-based generative models is largely driven by diffusion-based training, which learns a collection of time-indexed score fields corresponding to progressively noisier versions of the data distribution. While such models achieve impressive sample quality, leveraging them for sound probabilistic inference—particularly sampling from arbitrary conditionals of the model—remains challenging. This difficulty arises because conditioning information is only available for clean data and not for the higher noise levels required to generate exact conditional samples. In this paper, we introduce Diffusion-free SCORE matching (DISCO), a principled approach that sidesteps the need for time-dependent score fields altogether. Our method is based on a principled objective that, while reminiscent of diffusion-based training, estimates only a single score of the (slightly perturbed) data distribution, for which the exact conditional score is readily obtained. In experiments, DISCO is competitive with state-of-the-art diffusion models in terms of sample quality. More importantly, DISCO yields a more faithful representation of the underlying data distribution and—crucially—enables accurate sampling from arbitrary conditionals, outperforming standard heuristic samplers. This capability opens the door to principled and flexible probabilistic reasoning with score-based models.

1 INTRODUCTION

Diffusion models currently define the state of the art in generative modeling, with remarkable success in image synthesis, molecular design, and protein structure generation [33, 41]. At their core, they arise from clas-

sical score matching [13] and its denoising variant [39], which learn the score function rather than the density itself. Classical score matching learns the score mainly near the data manifold, leaving low-density regions unconstrained, so that sampling trajectories are easily led astray. Diffusion-based models [30, 33] mitigate this by progressively broadening the region where the score is learned and sampling then iteratively denoises from high to low noise.

However, the diffusion mechanism requires learning an entire family of score vector fields, one for each noise level. This design choice has important consequences for principled probabilistic inference—the hallmark of probability theory as a rigorous framework for reasoning under uncertainty [14, 27], which ultimately reduces to two fundamental operations: marginalization and conditioning [9]. In the context of score-based generative models this translates into the question whether faithful samples can be drawn from the model's marginals and conditionals. While drawing from marginals is trivial—simply discard variables from joint samples—drawing from conditionals requires conditioning the entire diffusion process, which is generally intractable. Existing approaches rely on ad-hoc heuristics [12, 17, 33] or on particle-based methods [42], which are asymptotically exact but can be difficult to tune in practice. As demonstrated in Figure 1, conditional samples of these methods are often substantially biased—even on elementary toy problems like GMMs—revealing the brittleness of diffusion-based probabilistic reasoning.

In this work, we challenge the common assumption that expressive score-based modeling requires fitting an entire family of noisy data scores. Instead, we introduce Diffusion-free SCORE matching (DISCO), which learns a single score field while adopting the key principle underlying diffusion models, namely broadening the region over which the score is reliably learned. Specifically, starting from a mixture of importance-weighted Fisher divergences defined through a collection of progressively noisier proposal distributions, we derive a principled score matching objective. This ob-

Figure

Figure

Figure 1: Conditional sampling with a diffusion model vs. DISCO (a single score field) trained on a 2D GMM (p∗p^{*}, left), for the query x2∼pθ(x2∣x1=1.75)x_2 \sim p_{\theta}(x_2 | x_1 = 1.75). Gradient Guidance [12], the Replacement Heuristic [33] and the Twisted Diffusion Sampler (TDS) [42] deviate substantially from the diffusion model's true conditional (via rejection sampling), whereas DISCO, using tempered SMC on the exact conditional score (7), matches it. Details in Section 5.1 and Appendix H.

jective, while reminiscent of diffusion training, fits only the (slightly perturbed) data distribution rather than a full diffusion process, while still ensuring that the score is learned away from the data manifold. Conditioning then becomes conceptually trivial: fixing the observed variables in the joint score yields the exact conditional score (7), which standard Markov Chain Monte Carlo (MCMC) methods can sample. Here, “exact” refers to the target: samples are asymptotically exact draws from the conditional of the learned model.

Our experiments cover two regimes. In low dimensions (energy parameterization, Metropolis-corrected MCMC), DISCO's conditionals are asymptotically exact, whereas diffusion-based samplers are biased. On images, where we use an unconstrained score parameterization for scalability (exact only at the population optimum), DISCO's sample quality is close to that of diffusion models, and its conditionals drift the least of all tested samplers under repeated resampling. In summary, our contributions are:

  • We challenge the need for time-dependent diffusion and instead learn a single joint score field, for which conditioning becomes conceptually straightforward.

  • We introduce Diffusion-free SCOré matching (DISCO), a principled objective that retains diffusion's support-broadening benefits while learn-

ing a single score field, so that all conditionals are consistent with one joint model.

  • In experiments, we show that DISCO is close to diffusion models in sample quality and, more importantly, yields a more faithful data representation and accurate sampling from arbitrary conditional distributions, whose consistency on images we verify by repeated resampling.

Code to reproduce all experiments is available at https://anonymous.4open.science/r/disco-code/.

References (38)