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

Xuanhua He, Jiaxin Xie, Mingzhe Zheng, Qifeng Chen
7/2/2026
cs.CV
diffusion-flow

No official code found. Best implementation: alexhe101/ICDepth (1 star, Apache-2.0, last commit 2026-10-08).

Abstract

Monocular video depth estimation requires temporal consistency, geometric accuracy, and generalization across diverse scenarios, yet existing methods struggle to achieve all three simultaneously. Discriminative models excel at per-frame accuracy but suffer from temporal drift due to limited context windows, while generative methods improve consistency and generalization at the cost of extensive training data (10M+ samples) and lack of geometric precision.

Show full abstract

In response to these issues, we introduce \textbf{ICDepth}, a framework that adapts pre-trained text-to-video diffusion transformers for video depth estimation via In-Context Conditioning (ICC), leveraging their rich spatial-temporal priors. To address key challenges in transferring ICC from generation to dense prediction, we propose: (1)~\textbf{SAND-Attention}, which ensures precise spatial-temporal alignment via shared RoPE and enforces unidirectional attention to prevent noise contamination; (2)~\textbf{SRFM}, which injects DINOv2 semantic and resolution priors to enhance geometric precision. ICDepth achieves state-of-the-art results on multiple benchmarks with remarkable data efficiency, trained on only 0.8M frames ($6$--$13\times$ less than competing generative methods), while demonstrating strong zero-shot generalization to diverse domains.

View on arXivView PDF

Code Implementations(1)

alexhe101/ICDepthCommunity72%
Apache-2.0

ICDepth: Taming Video Diffusion Models for Video Depth Estimation via In-Context Conditioning (ECCV 2026)

10Oct 8, 20261 months agoApache-2.0
depth-estimationdiffusion-modelseccv2026video-depth-estimationvideo-diffusion+1 more

Similar Papers

Cite this paper

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

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.01677.svg)](https://codeofpaper.com/paper/2607.01677)

Discussion