D3-Predictor: Noise-Free Deterministic Diffusion for Dense Prediction

Changliang Xia, Chengyou Jia, Minnan Luo, Zhuohang Dang, Xin Shen, Bowen PingarXiv 2025 · DOI

Abstract

While diffusion models have demonstrated remarkable success in capturing internet-scale visual priors, their inherent stochasticity poses a significant challenge for dense prediction tasks requiring precise geometric mapping. We present D³-Predictor, a noise-free deterministic framework that leverages the rich representations of pretrained diffusion models without the detrimental effects of random noise. By treating diffusion timesteps as a multi-scale ensemble of visual experts and employing a self-supervised prior aggregation strategy, D³-Predictor achieves state-of-the-art performance in depth estimation, surface normal calculation, and image matting. Notably, our approach operates in a single inference step, significantly reducing computational overhead and training data requirements compared to existing diffusion-based methods.

Introduction

Dense prediction tasks, such as depth estimation and image matting, necessitate a deterministic mapping from input pixels to geometric or structural outputs. Recent advancements have sought to utilize the "visual priors" embedded within large-scale diffusion models like Stable Diffusion. However, these models are fundamentally designed for stochastic generation, relying on added noise to produce diverse outputs.

As illustrated below, this stochastic noise acts as a corrupting factor for fine-grained spatial details. The denoising objective often conflicts with the need to preserve high-frequency geometric structures. Previous attempts to mitigate this either sacrifice the model's learned priors or introduce heavy external guidance. D³-Predictor addresses this by completely eliminating noise from the inference process while retaining the powerful diffusion-derived priors.

Visualizing the impact of noise on geometric detail. (a) Reconstruction during denoising vs. clean image. (b) Comparison of surface normal estimation where D3-Predictor preserves sharper edges compared to GenPercept and E2E-FT.

Methodology

The D³-Predictor is an end-to-end deterministic network designed to absorb the knowledge of a "teacher" diffusion model without inheriting its noise.

Timesteps as Visual Experts

The core insight is that a pretrained diffusion model (e.g., Stable Diffusion v2.1) acts as a multi-scale feature extractor. High-noise timesteps capture coarse global structures, while low-noise timesteps focus on fine-grained textures. D³-Predictor treats these various timesteps as an ensemble of "visual experts."

Self-Supervised Prior Aggregation

Rather than processing noisy inputs, the D³-Predictor takes a clean image. During training, a lightweight projection head aligns the internal representations of the D³-Predictor with those of the frozen diffusion experts (which are fed noisy versions of the same image). This alignment allows the deterministic model to "distill" the diffusion prior. Simultaneously, the model is trained with task-specific supervised losses (e.g., MSE, gradient loss) to map these features to the desired output domain.

Experiments and Results

We evaluated D³-Predictor across three primary dense prediction tasks: depth estimation, surface normal estimation, and image matting.

Performance and Data Efficiency

D³-Predictor consistently outperforms or matches state-of-the-art methods while requiring significantly less training data. For depth estimation, it achieves competitive results with only 30K samples, compared to the 74K+ used by models like Marigold. In image matting, it ranks 1st on the P3M-500-NP benchmark using only 9K training samples.

Qualitative and quantitative comparison of D3-Predictor across depth estimation, surface normal estimation, and image matting. The bar charts highlight the superior average rank and significant training data efficiency of the proposed method.

Inference Speed

By reformulating diffusion into a single-step deterministic network, D³-Predictor eliminates the need for iterative sampling. It processes images in approximately 0.22 seconds, making it 66% faster than leading discriminative models like Metric3Dv2 and 10% faster than other single-step diffusion adaptations.

Generalization to Niche Domains

The model demonstrates exceptional zero-shot generalization. In tests involving 20 niche tasks (e.g., medical imaging, pothole detection), training on just 15 samples allowed D³-Predictor to outperform massive models like SAM and CLIPSeg by over 60% on average.

Discussion and Future Work

While D³-Predictor produces visually sharper results, there remains a slight gap in strict quantitative depth metrics compared to the most specialized discriminative models. Future work will explore scaling the architecture. Preliminary tests using modern Diffusion Transformers (DiT), such as FLUX.1, indicate that moving beyond the U-Net architecture can further enhance perceptual fidelity and structural accuracy.

Summary updated

BibTeX
@misc{xia2025d,
  author = {Changliang Xia and Chengyou Jia and Minnan Luo and Zhuohang Dang and Xin Shen and Bowen Ping},
  title = {{D3-Predictor: Noise-Free Deterministic Diffusion for Dense Prediction}},
  year = {2025},
  eprint = {2512.07062},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.07062},
}
Figure