ICDepth: Taming Video Diffusion Models for Video Depth Estimation via In-Context Conditioning

Xuanhua He, Jiaxin Xie, Mingzhe Zheng, Qifeng ChenarXiv 2026

TL;DR

ICDepth adapts pre-trained text-to-video diffusion transformers for monocular video depth estimation using an In-Context Conditioning (ICC) paradigm. By introducing specialized attention decoupling and semantic/resolution feature modulation, it achieves state-of-the-art accuracy and temporal consistency while requiring up to 13× less training data than competing generative models.

What Problem Does This Paper Address?

Monocular video depth estimation—predicting a dense depth map for every frame in a video—is crucial for applications like AR/VR, autonomous driving, and 3D reconstruction. However, existing approaches struggle to balance three core requirements simultaneously: temporal consistency (flicker-free stability), geometric accuracy (sharp boundaries), and zero-shot generalization across diverse scenes.

Current methods generally fall into two flawed categories:

  1. Discriminative models: They excel at per-frame accuracy but suffer from temporal drift in long videos because their post-processing temporal heads only look through a narrow local window.
  2. Generative models: Typically built on Stable Video Diffusion (SVD), these models leverage strong video priors for better consistency and generalization. However, their factorized spatio-temporal U-Net architectures lack geometric precision and demand massive training datasets (often exceeding 10 million samples).

ICDepth bridges this gap by taming native 3D text-to-video (T2V) diffusion transformers, transferring their rich spatial-temporal generation priors into precise, data-efficient dense depth predictors.

Methods

Instead of standard channel-wise concatenation, which limits feature interaction, ICDepth adopts In-Context Conditioning (ICC). It patchifies and concatenates the RGB condition and the noisy depth latent along the token dimension, feeding them as a unified sequence into the Video Diffusion Transformer (VDiT).

To overcome the unique challenges of using generative architectures for dense prediction, the authors introduce two key innovations:

  1. SAND-Attention (Spatial-temporal Aligned, Noise-Decoupled Attention):
  2. RoPE Alignment: It applies shared Rotary Position Embeddings (RoPE) to ensure exact spatial-temporal coordinate alignment between corresponding RGB and depth tokens.
  3. Decoupled Attention: In vanilla ICC, bidirectional attention allows the noisy depth tokens to corrupt the clean RGB conditioning tokens in deeper layers. SAND-Attention enforces a strict unidirectional flow: noisy depth tokens can query clean RGB tokens for contextual guidance, but reverse attention is blocked. Timestep embeddings for the RGB tokens are also zeroed out to shield them from noise variance.
  4. SRFM (Semantic- and Resolution-Aware Feature Modulation Block): T2V models are optimized for generation, meaning they inherently lack explicit resolution awareness and fine-grained geometric precision. SRFM injects external DINOv2 features to provide rich semantic understanding, alongside sinusoidal resolution embeddings to handle multi-scale inference and non-standard aspect ratios. These priors are injected into the VDiT blocks via sequential scale-and-shift modulation.
Fig. 2: The framework of our proposed ICDepth, which contains two components: SRFM and SAND-Attention. The RoPE alignment ensures that corresponding spatial- temporal positions in the video-depth paired data share identical RoPE positional encodings.

Datasets

  • Training: The model demonstrates remarkable data efficiency by training on a compact synthetic dataset of only 0.8M frames. This dataset comprises Virtual KITTI (VKITTI), subsets of TartanAir and TartanGround, and the synthetic subset of OmniWorld.
  • Evaluation: To test zero-shot generalization, the authors evaluated ICDepth on several diverse, established benchmarks: Sintel (highly dynamic scenes), KITTI (outdoor driving), ScanNet and Bonn (indoor environments), and ScanNet++ (long-sequence consistency).

Key Insights and Ideas

  • Token-Level Conditioning is Superior: Concatenating conditioning signals along the token dimension allows the transformer's native attention mechanism to directly map cross-modal correspondences, vastly outperforming implicit channel-level fusion.
  • Protecting the Condition from Noise: Generative tasks can tolerate a bit of feature degradation, but dense prediction tasks cannot. Unidirectional attention is essential to prevent noisy latents from "polluting" the clean reference frames.
  • Bridging the Generative-Perceptive Gap: While generative video models understand how objects move, they don't inherently know where geometric boundaries sit. Off-the-shelf self-supervised features (like DINOv2) act as an ideal anchor to inject this missing perceptual precision.

Key Results

  • State-of-the-Art Accuracy: ICDepth achieves top performance across Sintel, KITTI, and Bonn datasets. Notably, on the highly dynamic Sintel benchmark, it delivers a 16.0% improvement in AbsRel and a 10.1% boost in threshold accuracy ($\delta_1$) compared to the next-best method.
  • Unmatched Data Efficiency: The framework achieves SOTA results using 6× to 13× less training data than its generative competitors (0.8M frames vs. 6M for Depth Any Video and 10.5M for DepthCrafter).
  • Long-Sequence Stability: Evaluated on 500-frame ScanNet++ sequences, ICDepth achieved the lowest Temporal Alignment Error (TAE), proving its robustness against long-term flickering and drift.
  • Computational Efficiency: Within the generative paradigm, ICDepth dramatically cuts down GPU memory consumption during inference to 11.0 GB (compared to 33.0 GB for Depth Any Video) while maintaining comparable speeds.

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@misc{he2026icdepth,
  author = {Xuanhua He and Jiaxin Xie and Mingzhe Zheng and Qifeng Chen},
  title = {{ICDepth: Taming Video Diffusion Models for Video Depth Estimation via In-Context Conditioning}},
  year = {2026},
  eprint = {2607.01677},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.01677},
}
Figure