Source-linked AI summary

DiFA: Inference-Time Forward-Process Alignment for Diffusion Models

Shigui Li, Delu Zeng

arXiv:2607.17972v1cs.LG

TL;DR

Diffusion inference commonly treats each denoising prediction as an exact estimate for numerical integration, leaving prediction uncertainty and temporal redundancy underused. DiFA instead aligns predictions through forward-process-informed temporal consensus and deviation guidance, consistently improving evaluated sampling quality without additional network evaluations.

  • Problem

    Diffusion samplers leave denoising uncertainty and temporal redundancy underused by following instantaneous predictions as exact estimates during numerical integration.

  • Method

    DiFA is a training-free, solver-compatible framework that fuses historical predictions using forward-process reliability and structural consistency, then applies deviation guidance to preserve residual details.

  • Results

    DiFA consistently improves sampling quality across diffusion and flow-matching settings without additional network evaluations.

  • Takeaways & Limitations

    Forward-process-aligned prediction refinement improves generative sampling quality while retaining compatibility with existing numerical solvers.

  • Takeaways & Limitations

    DiFA is scoped to the general EDM formulation without expensive retraining, whose pretrained models may not strictly satisfy the required first-order property.

Abstract

from arXiv · show

The prevailing inference framework for diffusion models formulates generation fundamentally as a problem of numerical integration. This perspective casts the model as an exact estimator, neglecting the inherent statistical uncertainty of the denoising process. In this work, we propose Forward-Process Aligned Diffusion prediction (\textbf{DiFA}), a training-free framework that reframes inference-time data prediction refinement as a sequential state estimation problem. Rather than reusing past outputs solely for numerical integration, DiFA treats iterative data predictions along the reverse trajectory as correlated observations to build a forward-aligned temporal consensus. Inspired by Kalman filtering, this consensus aggregates historical predictions according to structural consistency and noise-level compatibility. To counteract the over-smoothing tendency of temporal consensus, we introduce a deviation guidance mechanism to adaptively preserve residual details. Empirically, DiFA yields significant improvements on CIFAR-10 and ImageNet across the evaluated metrics, including FID, IS, and FD-DINOv2, demonstrating that aligning inference with the forward statistical structure substantially improves generative fidelity.

1. Introduction

Diffusion models achieve high-fidelity generation through iterative denoising but require substantial inference computation, and standard samplers underuse the uncertainty and temporal redundancy of their predictions. DiFA addresses this by aligning inference-time predictions through forward-aligned temporal consensus and deviation guidance without additional NFEs.

  • Motivation: Diffusion models transform unstructured noise into target-distribution samples through iterative denoising, enabling high-fidelity generative tasks.The paper situates diffusion models across photorealistic image synthesis and scientific simulation.
  • Motivation: Diffusion inference imposes a substantial computational burden because models require many network evaluations to traverse the data manifold.Reducing sampling steps without compromising sample quality is identified as the central challenge.
  • Problem: Standard samplers treat instantaneous denoiser predictions as sufficiently accurate clean-signal estimates, leaving their uncertainty and temporal redundancy unexploited.This framing follows the learned model as an exact estimator for correcting temporal discretization errors.
  • DiFA: DiFA reframes inference-time refinement as sequential state estimation, fusing historical predictions through forward-aligned sliding-window temporal consensus.The consensus weights predictions by structural consistency and noise-level compatibility.
  • DiFA: DiFA uses deviation guidance to counteract consensus-induced over-smoothing by modulating smoothed and high-frequency residual components.The framework is solver-compatible and operates without additional NFEs.

2. Related Work

Prior work accelerates diffusion generation through architectural, training-based, and inference-time strategies, but existing approaches leave estimation variance and detail degradation insufficiently addressed. DiFA responds with a training-free, forward-process-aligned refinement framework based on temporal redundancy and classical estimation principles.

  • Accelerated Generation: Diffusion acceleration spans compressed latent spaces, retraining or distillation, and modeling approaches such as progressive distillation, flow matching, and reflow.These strategies target computational burden through distinct operational paradigms.
  • Inference-Time Rectification: Inference-time rectification has progressed from variance-controlled stochastic sampling toward explicit rectification to mitigate trajectory instability and statistical discrepancies.The cited passage frames these developments as responses to challenges in diffusion model inference.
  • Inference-Time Rectification: Existing methods mainly improve semantic consistency while leaving MSE-based denoising’s estimation variance and high-frequency degradation unaddressed.EDM2 adds self-guidance but relies on auxiliary degraded models and hand-crafted guidance cues.
  • Inference-Time Rectification: DiFA is an intrinsic, training-free framework that treats denoising as filtering and avoids external models or heuristic guidance.Its design is grounded in classical estimation principles.
  • Limitations and Our Contribution: DiFA exploits temporal redundancy to refine clean-signal predictions, addressing the trade-off between costly distillation and standard solvers’ neglected estimation variance and detail attenuation.The contribution contrasts retraining-based distillation with solver-based inference strategies.

3. Preliminaries

Diffusion models corrupt data into Gaussian noise through a forward process and learn reverse-time denoising dynamics. Their EDM-based inference uses probability-flow trajectories, but pretrained models retain curvature and estimation variance that challenge locally linear numerical integration.

  • Forward and reverse processes: Diffusion models progressively corrupt data x0 ∼q(x0) into Gaussian noise through a constructed forward process.The noisy marginal is parameterized by signal and noise scales αt and σt.
  • Forward and reverse processes: A network ϵθ(xt, t) predicts the noise component by minimizing mean squared error, enabling reversal of the forward process.The corresponding data prediction is expressed through xt, σt, and ϵθ(xt,t).
  • Continuous-time formulation: Continuous-time diffusion unifies discrete schedules through a stochastic differential equation and its reverse-time generative dynamics.A deterministic Probability Flow ODE shares the same marginal as the SDE.
  • EDM formulation: EDM stabilizes probability flow through signal scaling and input preconditioning that standardizes network inputs into a signal-centric form.Normalizing the signal scale to unity across time reveals a trajectory orbiting a static anchor x0.
  • Inference limitations: Without retraining, pretrained models do not strictly satisfy the first-order property, leaving generative trajectories curved and affected by model estimation variance.Standard inference approximates each ODE step as locally linear, but the generative manifold retains significant curvature.

4. Method

DiFA is a training-free inference framework that refines clean-signal predictions between a pretrained denoiser and downstream numerical solver. It aligns temporal consensus with the forward process’s common-anchor geometry and noise-level reliability, then preserves current-step details through anchor-relative refinement.

  • Framework: DiFA refines each solver step’s data prediction without replacing the downstream numerical solver.It operates at the interface between the pretrained denoiser and solver as a training-free framework.
  • Forward-Process Alignment: Forward-process alignment organizes reverse-trajectory predictions around a shared clean-data anchor using noise-level reliability induced by the forward process.Forward states share the same clean-data anchor x0, while SNR(t) characterizes conditional observation precision.
  • Anchor Estimation: The canonical consensus is a precision-weighted estimator whose SNR-dependent weights follow the inverse-SNR covariance structure.Under ideal forward-aligned observations, the fused anchor covariance is strictly smaller than that of any individual observation for n ≥2.
  • Recursive Realization: The ideal anchor estimator has an exact recursive realization through static-state Kalman updates under the independent-view observation model.Practical DiFA instead builds a causal historical consensus using structural and noise-level compatibility before refining the current prediction.
  • Practical Inference: DiFA uses recently processed predictions as a causal reference anchor, excluding the current prediction from aggregation to preserve a non-degenerate anchor-relative deviation.The consensus is a filtered multi-step reference, while deviation guidance prevents direct substitution from attenuating components expressed more strongly at the current step.

5. Experiments

Section 5 evaluates DiFA on CIFAR-10 and ImageNet-64 using complementary fidelity, diversity, and perceptual-quality metrics. The experiments assess DiFA as a training-free, plug-and-play refinement across multiple diffusion solvers and report consistent improvements, including strong CIFAR-10 and ImageNet-64 results.

  • Datasets & Metrics: DiFA is evaluated on CIFAR-10 (32 × 32) and ImageNet-64 (64 × 64) using FID, IS, and FD-DINOv2.FID measures distributional fidelity, IS measures sample diversity and clarity, and FD-DINOv2 assesses perceptually aligned quality.
  • CIFAR-10: On CIFAR-10, DiFA achieves competitive performance comparable to distillation methods such as CTM while requiring zero training.Table 1 compares DiFA against state-of-the-art GANs and diffusion models; methods marked † require training or distillation.
  • ImageNet-64: On class-conditional ImageNet-64, DiFA significantly outperforms standard diffusion baselines such as ADM and iDDPM with an order of magnitude fewer steps.These results are reported in Table 2.
  • Implementation Details: DiFA operates as a plug-and-play wrapper around existing solvers without additional training or model fine-tuning.Baselines and DiFA use the same initial noise seeds to ensure strict fairness.
  • Overall Evaluation: DiFA consistently improves the evaluated training-free solvers across various regimes, bridging rapid prototyping and high-fidelity generation.This section presents the results as a comprehensive evaluation of training-free solver refinement.

20 NFE · 5 NFE

DiFA improves low-budget diffusion sampling by aligning predictions through temporal consensus and deviation guidance, substantially enhancing fidelity and perceptual quality across ImageNet solvers, schedules, and evaluation settings.

  • 5 NFE: Visual comparisons on ImageNet 256 × 256 show DiFA enhancing the fidelity and generation quality of Euler and Heun samples.The comparison uses pre-trained SiT-XL/2 with classifier-free guidance scale 1.5 and evaluates corresponding refined predictions.
  • 5 NFE: At NFE 20, DiFA achieves FID 1.96 versus 2.33, with deviation guidance preserving residual details beyond consensus-based stabilization.This enables the method to break the FID 2.0 barrier without extra training.
  • 5 NFE: At NFE 5, DiFA reduces Heun FID from 230.05 to 110.20, demonstrating robustness on the more complex ImageNet manifold.The framework consistently lowers FID when coupled with UniPC or DPM-Solver++ and improves Heun’s unstable low-step behavior.
  • 5 NFE: DiFA reaches FID 1.63–1.64 on ImageNet-64 at NFE 25 across evaluated solver configurations.The result is reported under both logSNR and EDM noise schedules, indicating schedule-agnostic prediction alignment.
  • 5 NFE: DiFA consistently improves FD-DINOv2, extending gains beyond statistical fidelity to perceptually aligned image quality.Structural filtering and texture enhancement support perceptual fidelity without merely sacrificing sharpness or semantic coherence.
  • 5 NFE: On LSUN Bedroom, DiFA improves a latent-diffusion baseline across 5, 10, and 20 NFE, demonstrating effectiveness beyond pixel-space diffusion.Controlled EDM ablations identify historical consensus as the main contribution, with SNR gating and magnitude alignment providing additional benefits.

Conclusion and Limitations

DiFA is a training-free inference framework that reframes clean-signal prediction refinement as sequential state estimation. It uses forward-process structure to form a causal temporal consensus while preserving residual details through deviation guidance.

  • Framework: DiFA reframes clean-signal prediction refinement as a sequential state-estimation problem without additional training.The framework treats denoising predictions as uncertain rather than exact estimates.
  • Forward-process alignment: DiFA exploits common-anchor geometry and noise-level-dependent reliability induced by the forward process.
  • Inference mechanisms: The method constructs a causal temporal consensus from historical predictions and applies deviation guidance to preserve informative residual details.

Impact Statement · Appendix · A. Proofs

DiFA presents a training-free inference-time approach that refines clean-signal predictions without retraining models or replacing numerical solvers. By exploiting temporal prediction redundancy, it may reduce generation costs and improve accessibility under limited computational budgets, while potentially lowering barriers to misuse.

  • Impact Statement: DiFA improves generative-model sampling through training-free, inference-time refinement of clean-signal predictions.The approach does not retrain models or replace numerical solvers.
  • Impact Statement: The method exploits temporal prediction redundancy during generation.This redundancy is the basis for its inference-time refinement strategy.
  • Impact Statement: DiFA can reduce the computational cost of high-quality generation.The passage attributes this potential efficiency gain to exploiting redundant temporal predictions.
  • Impact Statement: More efficient generation may make strong diffusion and flow-matching models more accessible under limited computational budgets.The stated accessibility benefit follows from lowering generation costs.
  • Impact Statement: The work targets stronger accessibility without requiring model retraining.Its proposed paradigm improves sampling at inference time rather than changing the trained model.
  • Impact Statement: The authors caution that more efficient generation may lower the barrier to misuse.This is identified as a potential adverse consequence of the efficiency gains.

A.1. Proof of Proposition 4.2 … B. Additional Ablation and Validation Studies

The appendix proves that precision-weighted fusion improves covariance under the ideal forward-aligned model and is exactly realizable by a static-state Kalman recursion. It then specifies the lightweight DiFA implementation and frames additional studies as controlled ablations, sensitivity analyses, and validations.

  • A.1. Proof of Proposition 4.2: Under the ideal forward-aligned observation model, observations share the target x0,⋆ with uncorrelated isotropic errors whose covariance scales as Ri = c SNR(ti).The model is given by yi = x0,⋆ + ηi and Cov(ηi) = RiI.
  • A.1. Proof of Proposition 4.2: The ideal precision-weighted fused estimator has strictly lower covariance than any individual observation.This conclusion follows from minimizing the estimator covariance under the linear unbiasedness constraint.
  • A.1. Proof of Proposition 4.2: DiFA uses the result as an organizing principle for anchor consistency and reliability ordering without assuming practical denoiser predictions exactly satisfy the ideal covariance model.The appendix distinguishes the theoretical observation model from practical DiFA predictions.
  • A.2. Proof of Theorem 4.3: Under the ideal independent-view observation model, full-history precision-weighted anchor fusion is exactly equivalent to its static-state Kalman recursive realization.The proof derives recursive mean and covariance updates and shows that the common scale factor c cancels.
  • A.3. Lightweight Instantiation Used in Experiments: The lightweight pixel-space instantiation explicitly defines alignment, compatibility weighting, deviation guidance, and default experimental settings.It is the implementation used for the main pixel-space diffusion experiments.
  • A.3. Lightweight Instantiation Used in Experiments: Historical predictions are channel-wise mean–variance aligned to the current prediction before aggregation, matching channel-wise first- and second-order statistics.The alignment includes a numerical stabilizer ϵa > 0.
  • A.3. Lightweight Instantiation Used in Experiments: Compatibility weights combine structural agreement with logSNR proximity, while deviation modulation uses an anchor-relative residual with orthogonal projection and local frequency decomposition.The mechanism is designed to construct a causal historical reference and preserve residual detail during refinement.
  • B. Additional Ablation and Validation Studies: Additional studies use the same pretrained model and solver as the corresponding baseline unless specified otherwise, with lower FID and higher IS preferred.The appendix covers ablation, sensitivity, and validation studies that clarify individual DiFA components.

B.1. Ablation on Latent Diffusion Models

The latent-diffusion ablation shows that DiFA extends beyond pixel-space diffusion models and depends on historical consensus, SNR gating, and magnitude alignment for stable refinement. Across hyperparameter choices, DiFA consistently improves over the naive baseline without relying on a single configuration.

  • Applicability: DiFA operates on clean-signal predictions, verifying that it is not restricted to pixel-space diffusion models.The experiment evaluates DiFA on a latent diffusion model using LSUN Bedroom.
  • Ablation Findings: Historical consensus is essential because setting the history window to W = 1 reduces DiFA to the baseline.The LDM ablation identifies the history window as a necessary component of DiFA’s refinement process.
  • Ablation Findings: SNR gating stabilizes corrections at medium and high NFE budgets, while magnitude alignment factor ϕ prevents excessive latent-space magnitude drift during deviation guidance.The two mechanisms address unstable activation and latent-space energy drift, respectively.
  • Robustness: DiFA consistently improves over the naive baseline across different hyperparameter choices, although the best configuration varies with NFE budget.This indicates robustness without dependence on a single parameter setting.

B.2. Ablation on EDM · B.3. Cross-Paradigm Validation on Flow-Matching Models

Under EDM, DiFA’s historical consensus, adaptive SNR gating, and magnitude alignment substantially improve FID, with sensitivity studies identifying robust operating ranges. Across flow-matching models, DiFA transfers through clean-signal prediction alignment and improves multiple metrics under unguided and guided sampling.

  • B.2. Ablation on EDM: The full DiFA configuration reduces baseline FID from 5.071 to 2.797 under EDM at 10 NFE.The naive baseline and w/o History configurations are identical because W = 1 disables temporal consensus.
  • B.2. Ablation on EDM: FID follows a U-shaped trend with history-window size W, motivating W = 3 as the default.Small windows underuse temporal redundancy, whereas large windows introduce stale predictions and historical lag.
  • B.2. Ablation on EDM: Moderate SNR-gating activation provides the best FID while nearby thresholds maintain stable IS.Early activation can inject corrections during noisy stages, whereas late activation may miss structural formation.
  • B.2. Ablation on EDM: γ0 = 1.4 yields the lowest FID, while γ0 = 1.5 yields the highest IS in the deviation-scale sweep.The deviation scale controls detail re-injection; excessive values may amplify unstable residuals.
  • B.2. Ablation on EDM: µ = 0.2 gives the lowest FID, µ = 0.1 gives the highest IS, and values from 0.1–0.3 balance historical evidence against stale predictions.The compatibility coefficient penalizes temporally distant or noise-incompatible historical predictions.
  • B.3. Cross-Paradigm Validation on Flow-Matching Models: DiFA transfers to flow-matching models by refining endpoint or clean-signal predictions rather than relying on a diffusion-specific solver.An unguided SiT-XL/2 ImageNet experiment improves the ODE-solver baseline at 5, 10, and 50 NFE without CFG.
  • B.3. Cross-Paradigm Validation on Flow-Matching Models: DiFA consistently improves FID, IS, sFID, and precision over flow-matching baselines, with strongest gains at low NFE and a mild Heun2 precision–recall trade-off.Refinement scales around (1.7)–(1.75) usually provide the strongest FID and IS, while 5-NFE samples show better structural coherence and fewer truncation artifacts.
Loading 2607.17972v1…