Abstract
DDP (Diffusion for Dense Prediction) is a novel "noise-to-map" framework that applies conditional diffusion models to pixel-level tasks like semantic segmentation and depth estimation. By decoupling the heavy image encoder from a lightweight, iterative map decoder, DDP achieves state-of-the-art performance while enabling "dynamic inference"—allowing users to trade off computational speed for prediction quality on the fly.
Introduction
Most modern computer vision systems for dense prediction (tasks where every pixel needs a label, like identifying road vs. sidewalk or estimating distance) rely on discriminative models. These models learn a direct, single-step mapping from an image to a prediction map. While efficient, they can struggle with complex data distributions and lack a natural way to express "uncertainty."
Recently, generative models—specifically Diffusion Models—have revolutionized image generation by iteratively refining random noise into high-fidelity images. However, bringing this power to dense prediction has been difficult due to computational overhead. The authors of DDP set out to create a framework that is simple, efficient, and general enough to work across various vision tasks without needing custom architectures for each one.
Methods: The Noise-to-Map Paradigm
The core of DDP is the "noise-to-map" paradigm. Instead of generating an image from scratch, the model generates a prediction map (like a segmentation mask) conditioned on an input image.
Key technical innovations include:
- Decoupled Architecture: DDP separates the process into two parts. A heavy Image Encoder runs exactly once to extract features. A lightweight Map Decoder then performs the iterative diffusion process, making multi-step refinement much faster than previous methods.
- Label Encoding: DDP uses a "class embedding" strategy to project discrete labels into a high-dimensional continuous space suitable for diffusion.
- Self-Aligned Denoising: During training, the model learns to denoise its own previous predictions, aligning the training and testing distributions to prevent "drift" during inference.
- Dynamic Inference: Because the process is iterative, users can choose the number of sampling steps based on their specific needs (e.g., fewer steps for real-time use, more steps for high precision).
Key Results and Insights
DDP achieved impressive results across six diverse benchmarks, often outperforming specialist models designed for only one specific task.
- Cityscapes: Reached 83.9 mIoU using a ConvNeXt-L backbone, setting a highly competitive mark for semantic segmentation.
- nuScenes: In Bird's-Eye-View tasks, DDP achieved 70.6 mIoU, significantly outperforming the BEVFusion baseline (62.7 mIoU).
- KITTI: Achieved a leading 0.050 REL in depth estimation.
Beyond raw performance, DDP provides built-in uncertainty maps. By measuring prediction changes between diffusion steps, the model highlights areas of low confidence, such as blurry object edges or distant items. This is a critical feature for safety-sensitive applications like autonomous driving.
Conclusion
DDP demonstrates that diffusion models can be made practical for dense perception tasks through architectural decoupling. While still inherently slower than single-step models, the flexibility of dynamic inference and the benefit of iterative refinement make it a powerful new tool for computer vision. Future work may focus on further compressing diffusion steps or optimizing architectures for the unique geometry of dense prediction maps compared to natural images.
Summary updated