Pixel-Perfect Depth with Semantics-Prompted Diffusion Transformers
Gangwei Xu, Haotong Lin, Hongcheng Luo, Xianqi Wang, Jingfeng Yao, Lianghui Zhu, Yuechuan Pu, Cheng Chi, Haiyang Sun, Bing Wang, Guang Chen, Hangjun Ye, Sida Peng, Xin Yang
TL;DR
Pixel-Perfect Depth tackles flying-pixel artifacts in monocular depth estimation by performing diffusion directly in pixel space, avoiding VAE-induced edge degradation common in latent-diffusion approaches. The authors introduce Semantics-Prompted Diffusion Transformers (SP-DiT) to inject high-level semantic cues from vision foundation models, and Cascade DiT (Cas-DiT) to efficiently scale diffusion to high-resolution depth maps. The method yields state-of-the-art performance across five benchmarks and excels in edge-aware point-cloud evaluation by producing flying-pixel-free depth maps. Limitations include temporal inconsistency in video frames and slower inference relative to discriminative models, with future work targeting video-depth estimation and acceleration.
Abstract
This paper presents Pixel-Perfect Depth, a monocular depth estimation model based on pixel-space diffusion generation that produces high-quality, flying-pixel-free point clouds from estimated depth maps. Current generative depth estimation models fine-tune Stable Diffusion and achieve impressive performance. However, they require a VAE to compress depth maps into latent space, which inevitably introduces \textit{flying pixels} at edges and details. Our model addresses this challenge by directly performing diffusion generation in the pixel space, avoiding VAE-induced artifacts. To overcome the high complexity associated with pixel-space generation, we introduce two novel designs: 1) Semantics-Prompted Diffusion Transformers (SP-DiT), which incorporate semantic representations from vision foundation models into DiT to prompt the diffusion process, thereby preserving global semantic consistency while enhancing fine-grained visual details; and 2) Cascade DiT Design that progressively increases the number of tokens to further enhance efficiency and accuracy. Our model achieves the best performance among all published generative models across five benchmarks, and significantly outperforms all other models in edge-aware point cloud evaluation.
