Conditional Backward-in-Time Score
- Conditional backward-in-time score is defined as the gradient of a conditional log-density that steers reverse dynamics in diffusion models.
- It replaces the marginal score in reverse-time SDEs and ODEs, enabling targeted generative sampling and robust Bayesian inference.
- Estimation strategies such as denoising score matching and variance-reduced techniques enhance its accuracy across both continuous and discrete model settings.
Conditional backward-in-time score denotes the time-indexed gradient of a conditional log-density that governs reverse-time denoising, posterior sampling, or conditioned generation in diffusion-type models. In continuous settings it is typically written as or , and it replaces the marginal score in reverse-time dynamics so that trajectories initialized from a tractable reference distribution evolve toward conditional targets (Xu et al., 31 Jan 2025, Sharrock et al., 2022). Related formulations appear in terminal-condition BSDE models, where conditioning is imposed through a backward boundary value, and in discrete-state diffusion models, where gradients are replaced by conditional log-odds and reverse jump rates (Wang, 2023, Sun et al., 2022).
1. Definition and validity conditions
In score-based diffusion, the unconditional score at diffusion time is . The conditional backward-in-time score replaces this with the conditional object
or, in simulator-based Bayesian inference,
By Bayes’ rule, the static posterior score satisfies
and the diffusion-time version transports this decomposition to the perturbed family (Sharrock et al., 2022).
A fundamental property of score functions is that they have zero mean under the target density: This identity supplies a strict validity criterion for any purported conditional score estimator. In particular, if an estimator has a large nonzero mean under , it cannot be a valid score for that conditional density (Xu et al., 31 Jan 2025).
2. Appearance in reverse-time dynamics
For a forward SDE
0
the reverse-time SDE conditioned on 1 is
2
and the associated probability-flow ODE is
3
In both cases the conditional backward-in-time score is the term that determines the reverse drift (Xu et al., 31 Jan 2025, Sharrock et al., 2022).
Discrete-time DDPM parameterizations implement the same principle through conditional Gaussian reverse kernels. In CSDI, for example,
4
with
5
Here the conditional denoiser 6 is a rescaled conditional score model, and only the missing components are denoised while the observed entries remain fixed as conditioning inputs (Tashiro et al., 2021).
A different realization appears in BSDE-based diffusion. There the backward process is specified by
7
or, equivalently,
8
Conditioning is built into the terminal condition 9: the score 0 is evaluated along trajectories constrained to reach the prescribed terminal distribution. Under a Lipschitz generator and square-integrability, the BSDE has a unique adapted solution 1 (Wang, 2023).
3. Estimation strategies and diagnostic criteria
Conditional backward-in-time scores are usually learned by denoising score matching or by equivalent 2-prediction objectives. In SNPSE, the amortized posterior-score objective is
3
which directly targets 4 using only prior sampling and simulator calls (Sharrock et al., 2022). In CSDI, the conditional denoising objective is
5
with masking used so that the loss is applied only on imputation targets (Tashiro et al., 2021).
A central diagnostic question is whether a practical guidance rule actually estimates a conditional score. “Rethinking Diffusion Posterior Sampling” reports that the conditional score approximation employed by DPS “is not as effective as previously assumed, but rather aligns more closely with the principle of maximizing a posterior.” On 512×512 ImageNet images, the paper reports that DPS’s estimated conditional score “significantly diverges from the score of a well-trained conditional diffusion model,” that “the mean of DPS’s conditional score estimation deviates significantly from zero,” and that DPS “generates high-quality samples with significantly lower diversity” (Xu et al., 31 Jan 2025).
The same analysis gives concrete zero-mean diagnostics. At 6 over 1000 samples, the reported mean magnitudes are approximately 7 for the unconditional score, 8 for StableSR, and 9 for DPS with 0. For 1 posterior samples, per-pixel standard deviation is 2 for DPS with 3 and 4 for StableSR. On ImageNet 512×512 for SR×8, the same comparison reports LPIPS 5 and FID 6 for DPS, versus LPIPS 7 and FID 8 for StableSR (Xu et al., 31 Jan 2025).
4. Domain-specific realizations
In simulation-based inference, the conditional backward-in-time score is the posterior score of perturbed parameters, and reverse-time diffusion is used to turn tractable reference noise into posterior samples. SNPSE introduces Sequential Neural Posterior Score Estimation, embeds the score model into a sequential proposal scheme, and validates it on Gaussian Mixture, Two Moons, Gaussian Linear Uniform (10D), and SLCP. The reported evaluation metric is C2ST, where lower is better and 9 indicates perfect posterior estimation. The paper states that NPSE and NLSE are “often comparable or superior to state-of-the-art sequential methods” such as SNPE, SNLE, and SNRE, especially at small budgets around 1000 simulations (Sharrock et al., 2022).
In probabilistic time-series imputation, the conditioning variable is the observed subseries. CSDI defines the reverse process directly for the missing values conditioned on observed values, masks, timestamps, and feature embeddings, and uses 2D attention across temporal and feature axes. The paper reports that CSDI “improves by 40-65% over existing probabilistic imputation methods on popular performance metrics,” and that deterministic imputation “reduces the error by 5-20% compared to the state-of-the-art deterministic imputation methods.” For CRPS on healthcare data with 0 missingness, the reported values are 1 for CSDI, versus 2 for unconditional diffusion; for MAE the reported CSDI values are 3 (Tashiro et al., 2021).
In inverse physics, conditioning is imposed by fixing the terminal state and integrating backward through an approximate inverse simulator plus a learned score correction. “Solving Inverse Physics Problems with Score Matching” uses the update
4
and shows that single-step training is equivalent to score matching, while multi-step rollout training relates to maximum-likelihood training of a corresponding probability flow. The reverse-time SDE version provides posterior sampling, whereas the probability-flow ODE yields a deterministic ML trajectory (Holzschuh et al., 2023).
5. Discrete and categorical analogues
For categorical data, the gradient 5 is not properly defined, so the conditional backward-in-time score is replaced by conditional marginals and reverse jump intensities. In score-based continuous-time discrete diffusion, the reverse-time CTMC has rate matrix
6
and under single-coordinate jumps the learned reverse rate is
7
The log-ratio
8
plays the role of a conditional backward-in-time “score” analogue (Sun et al., 2022).
Learning proceeds by matching singleton conditional marginals. The paper states that matching 9 for all 0 and 1 is sufficient to match the joint distribution, and proposes the simplified objective
2
An implicit parameterization through 3 then yields analytical reverse steps (Sun et al., 2022).
Empirically, the same framework reports strong results on both synthetic and real-world benchmarks. On CIFAR-10 in VQ code space, SDDM-VQ achieves IS 4 and FID 5, improving over D3PM-VQ with IS 6 and FID 7. At 50 reverse steps, the analytical sampler reports FID 8, whereas D3PM reports FID 9. On monophonic music, SDDM reports Hellinger Distance 0 and Proportion of Outliers 1 (Sun et al., 2022).
6. Exact conditional identities, variance reduction, and matrix gating
Several recent works replace approximate conditional-score surrogates with exact or variance-controlled identities. For a Gaussian mixture prior
2
and linear-Gaussian observations 3, 4, “Exact Conditional Score-Guided Generative Modeling for Amortized Inference in Uncertainty Quantification” derives a closed-form conditional score
5
as a mixture of componentwise scores and likelihood corrections weighted by exact responsibilities 6. The reverse-time probability-flow ODE
7
is then used as a training-free conditional sampler. The same paper uses the resulting noise-labeled pairs 8 to train a feedforward network 9 for amortized conditional inference. Reported numerical results include KL divergence “0” in a 1D bimodal conditional example and projection KLs between 1 and 2 in a 20D two-mode GMM example (Zhang et al., 23 Jun 2025).
For affine diffusions, “Variance-Reduced Diffusion Sampling via Conditional Score Expectation Identity” proves the exact Conditional Score Expectation identity
3
This expresses the time-4 score as a conditional expectation of the initial score under the forward dynamics. The paper then constructs a Self-Normalized Importance Sampling estimator and blends it with a Tweedie estimator through a state–time dependent convex combination. Reported examples include a 24D Navier–Stokes posterior, where MMD to MALA is 5 for Tweedie and 6 for the blend, with KSD 7 versus 8; and an MNIST deblurring posterior in a 15D PCA space, where PSNR improves from 9 dB to 0 dB and posterior coverage from 1 to 2 (Duston et al., 4 Jan 2026).
“Laplace–Fisher Gate Identities for Optimal Matrix-Gated Blended Score Estimation” further generalizes scalar blending to matrix-valued gates for OU diffusion reversal. With 3, 4, and 5, the variance-optimal gate is
6
Because the Tweedie–TSI disagreement has conditional mean zero, the gate changes variance without changing expected value. The paper states that LFGI improves posterior-density calibration and sampling diagnostics relative to the other tested score-estimator classes, and that known-evidence experiments check absolute calibration in Gaussian and non-Gaussian settings (Duston et al., 23 Jun 2026).
A plausible implication is that the recent literature is moving from heuristic conditional guidance toward three increasingly stringent regimes: direct conditional score learning, exact conditional score construction under tractable model classes, and variance-optimized blending identities for reverse-time sampling. Across these regimes, the defining invariant remains the same: the conditional backward-in-time score is the object that makes reverse dynamics target a conditional law rather than an unconditional marginal.