TL;DR. We propose CARV, a compute-aware variance-reduction framework for diffusion-teacher gradients, which gives a 2 to 3 times effective compute multiplier on diffusion-guided optimization and data attribution without changing the objective.
Abstract
Pretrained diffusion models serve as frozen teachers for pipelines such as text-to-3D, single-step distillation, and data attribution. The teacher gradients these pipelines consume are expectations over noise levels and Gaussian noise, estimated by Monte Carlo (MC). Each MC draw requires expensive upstream work (rendering, simulation, encoding), so estimator variance dominates compute cost. We introduce CARV, a compute-aware variance-accounting framework that casts these gradients as a classical two-stage sampling problem with asymmetric per-level costs. This motivates a hierarchical MC estimator that amortizes each expensive upstream computation by reusing it across cheap diffusion draws, with within-unit variance further reduced by timestep importance sampling (IS) and stratified inverse-CDF sampling. CARV delivers 2 to 3× effective compute multipliers on text-to-3D and data attribution without changing the objective. In text-to-3D, reuse provides most of the gain and IS with stratification adds about 25%. In single-step distillation, the same techniques cut gradient variance by an order of magnitude but do not improve downstream FID, marking the regime where MC variance is no longer the bottleneck.
Cheaper steps, higher-quality text-to-3D.
Final turntables after the same number of steps: standard SDS on the left, CARV on the right. CARV’s steps cost less.
“A castle-shaped sandcastle”
Baseline
CARV
“A crumpled silver aluminum soda can”
Baseline
CARV
Why MC variance dominates compute
Teacher-guided pipelines all look the same on paper: form a stochastic gradient estimate, take a step, repeat. But in SDS and DMD the expensive part is often not the diffusion model. It is the upstream render, encode, or simulate that runs before the diffusion teacher sees a sample.
One render, many diffusion draws
SDS renders a 3D scene, encodes it, then asks the teacher for a denoising direction. Render and encode are the bottleneck; noising and denoising are cheap. So we make the cheap part work harder: draw $(t, \epsilon)$ many times per render and reuse the encoded latent.
Variance, not bias, sets the budget
Most pipelines inherit a timestep distribution, average more samples, and tune compute blindly. CARV measures the gradient estimator’s variance against compute and tells you which axis to attack: timestep allocation, diffusion draws per render, or the number of renders.
Method: three drop-in fixes
All three fixes are unbiased under the stated sampling and replace a few lines of the per-step sampling logic. Reuse and stratification drop into SDS, DMD, or TRAK-style attribution pipelines that already call a diffusion teacher; we use the $w_{\mathrm{SDS}}$ importance proposal for SDS only.
1. Amortized compute reuse: the largest contribution
Hold the expensive render and encode fixed and redraw only the cheap diffusion noise. Cache the latent of one render and pair it with $K$ independent $(t, \epsilon)$ draws. The estimator stays unbiased, the per-step variance drops, and most of the freed budget goes to actual optimization signal instead of repeated rendering.
modelrenderre-noise
BaselineReuse (ours)
Render once, then draw diffusion noise many times. Both render, encode, noise, denoise, and backpropagate; reuse yields $R\times K$ gradient vectors $g(x^{(r)}, t^{(r,k)}, \epsilon^{(r,k)})$ at the cost of one extra denoise per draw. Helps when $(t, \epsilon)$ drives variance and denoising is cheaper than rendering.
2. Timestep importance sampling: weight by where the gradient is
The variance-minimizing proposal is $q^\star(t) \propto p(t)\sqrt{\mathbb{E}[\,\|\mathbf{f}(t,\epsilon)\|^2 \mid t]}$. The renderer/encoder Jacobian reshapes timestep dependence: latent gradients peak mid-schedule, but parameter gradients we backpropagate track $w_{\mathrm{SDS}}(t)=\sigma_t^2$. So $w_{\mathrm{SDS}}$ is a free, accurate oracle surrogate. Draws from $q \propto p\,w_{\mathrm{SDS}}$ are weighted by $p/q$, so the estimator stays unbiased.
Toy · oracle vs. surrogates
Sampled latent gradient norm
Timestep index $t$
Latent space · non-monotonic
Sampled parameter gradient norm
Timestep index $t$
Parameter space · tracks $w_{\mathrm{SDS}}(t)$
From toy to real data. Left: a toy illustration of the oracle importance proposal $q^\star(t) \propto p(t)\sqrt{\mathbb{E}[\|\mathbf{f}(t,\epsilon)\|^2 \mid t]}$, variance-equivalent to about $4\times$ uniform compute on this test function; a Gaussian-at-peak surrogate is worth ${\sim}2.2\times$. Middle: on real SDS runs the latent-space gradient norm is non-monotonic and peaks mid-schedule, so $w_{\mathrm{SDS}}$ alone is a poor proposal in latent space. Right: after backprop through the renderer and encoder, the parameter gradient is monotonic in $t$ and closely tracks $w_{\mathrm{SDS}}(t)=\sigma_t^2$ (dotted green), so $w_{\mathrm{SDS}}$ is a faithful zero-cost surrogate at the level we actually update.
3. Stratified inverse-CDF: spread your samples
Partition the timestep domain into $B$ bins, require one sample per bin, then map through the inverse-CDF of the importance-sampling proposal. Unbiased, never higher variance than IID at the same per-step cost, and stacks on top of step (2).
Stratified vs. IID samples
Inverse-CDF mapping to $q(t) \propto w_{\mathrm{SDS}}(t)$
Stratifying $u \in [0,1]$ guarantees one sample per bin; pushing through the inverse-CDF then maps those uniform draws into stratified samples from the importance-weighted proposal $q(t) \propto w_{\mathrm{SDS}}(t)$. Combines step (2) and step (3) without extra compute.
Results: effective compute multipliers
2.6 to 3.3×
SDS effective compute multiplier
Text-to-3D, vs. the uniform baseline at equal variance
2 to 3×
Data-attribution multiplier
Influence-ranking correlation vs. IID, Wan2.1 video attribution
10×
DMD gradient variance reduction
FID does not follow; see DMD section below
Text-to-3D optimization (SDS)
Three views of the SDS experiments: CLIP score over training, renders along the same training axis, and the effective-compute frontier over $(R, K)$.
CLIP score · 30 prompts, 3 seeds, multi-view
Renders along the same training axis
CARV’s $(1, 16)$ iterations cost less than the baseline’s $(4, 1)$. CLIP score across training: CARV (red, IW+Strat) scores higher than the uniform baseline (blue) at a fixed iteration count before both saturate. Renders along the same iteration axis: CARV reaches comparable quality in fewer iterations; at 1k iterations the baseline sandcastle is still a coarse blob.
Effective compute multiplier (ECM): the uniform baseline’s cost divided by each configuration’s cost at equal variance, for every $(R, K)$ pair. IW + stratification (red) sits above uniform sampling (blue) at every $(R, K)$; averaged over $R$, both peak at $K{=}8$, at about 2.6× for uniform reuse and 3.3× for IW + stratification.
Each marker is an $(R, K)$ pair (renders, re-noisings), labelled with its counts; the x-axis is per-iteration compute. Red diamonds = IW + Stratified, blue circles = uniform. The magenta (uniform) and red (IW + Stratified) lines trace $(R{=}1, K)$ as $K$ grows; the flat blue line is the render-batch baseline $(R, K{=}1)$. Hierarchical reuse drives most of the lift; IW + stratification add a free ∼25% on top.
Qualitative still renders
Final renders at the end of the SDS runs, after the same number of steps; CARV’s steps cost less. Baseline left, CARV right.
The same idea drops into MOTIVE-style video data attribution: gradient computations on Wan2.1-T2V become much cheaper to estimate accurately. Stratified sampling reaches the same correlation with ground-truth rankings using far fewer per-clip gradient samples than the IID baseline. Same 2 to 3 times multiplier story; full sweeps in the paper.
Mean Correlation
Gradient Samples per Data Point
Mean correlation of limited-sample influence rankings with ground-truth rankings on Wan2.1 video attribution (VIDGEN-1M, MOTIVE setup, leave-one-out over 11 queries). Stratified sampling (red) saturates near 1.0 well before the IID baseline (blue): a 1.3 to 3.8 times compute multiplier across budgets, over 2 times at practical budgets.
When MC variance is not the bottleneck: DMD
Reuse and stratification cut DMD gradient variance by an order of magnitude, yet downstream FID does not improve at matched wall-clock time. We report this as a negative result and a scope condition: DMD marks where MC variance stops being the bottleneck. Our ablations rule out insufficient compute headroom and point to generator-input diversity; auxiliary-objective effects are plausible but not isolated.
Student FID across training. Reuse with stratification at $(R{=}8, K{=}16)$ (orange) cuts gradient variance by an order of magnitude relative to IID at $(8, 1)$; FID stays inside the noise band of the IID curves. CARV is still unbiased and correct here, but lower variance does not unlock a better student in this regime.
When CARV helps, and when it does not
use it
Use CARV when…
The MC gradient (not its target) dominates wall-clock cost.
One render or encode is much more expensive than one denoiser call.
Pipelines: SDS (text-to-3D, audio-SDS, materials), data attribution (TRAK, MOTIVE), influence scoring, anything where rendering or encoding is the per-step cost.
caution
Be sceptical when…
Convergence is bottlenecked by other dynamics (auxiliary stabilizers, input diversity, optimizer state).
Render and denoise costs are comparable: the reuse multiplier collapses, though importance sampling and stratification can still help.
Pipelines: DMD-style single-step distillation, where 10 times variance reduction did not improve FID. CARV remains correct, but it does not reduce FID in this regime.
Takeaways
The framing
Diffusion-teacher gradients are expectations estimated by Monte Carlo.
The estimator’s variance per compute is the right axis to optimise, not raw step count.
The expensive randomness is the render or encode, not the noise.
The fixes
Compute reuse: render once, reuse it for $K$ independent diffusion draws.
Importance sampling: $q \propto p\,w_{\mathrm{SDS}}$ with weights $p/q$, no extra compute.
Stratification: one sample per bin via inverse-CDF.
All three are unbiased and replace a few lines of code.
The limits
2 to 3 times ECM on SDS and attribution.
10 times variance reduction on DMD, but no FID gain.
Variance was the bottleneck on SDS, but not on DMD.
Citation
@inproceedings{bettencourt2026carv,
title={Variance Reduction for Gradients from Diffusion Teachers},
author={Bettencourt, Jesse and Wu, Xindi and Atzmon, Matan and Lucas, James and Lorraine, Jonathan},
booktitle={Advances in Neural Information Processing Systems (NeurIPS)},
year={2026},
note={Accepted for publication},
eprint={2605.21489},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2605.21489},
}
We thank the Fundamental Generative AI Research (GenAIR) group at NVIDIA for the reference codebase and many helpful conversations during integration. We thank Sanja Fidler and the Spatial Intelligence Lab (SIL) for hosting the internship that made this collaboration possible. The text-to-3D experiments build on the open-source threestudio framework; the single-step distillation experiments build on the NVIDIA FastGen reference implementation.