TL;DR
Depth Pro 2 is a breakthrough monocular depth estimation model that simultaneously achieves high metric accuracy, razor-sharp object boundaries, and rock-solid temporal consistency in video. By processing frames jointly at their native resolution through a scalable multi-view transformer, it eliminates the traditional trade-off between the crispness of single-image methods and the stability of video-based approaches.
What Problem Does This Paper Address?
Estimating depth from a single camera (monocular depth) is a foundational task for AR, robotics, and cinematic video effects like synthetic bokeh. However, existing methods suffer from a frustrating "sharpness vs. consistency" dilemma.
Single-image models can produce incredibly detailed depth maps with sharp edges (e.g., around hair or fur), but they are "jittery"—the predicted distance of an object might fluctuate wildly from one frame to the next because each frame is processed in isolation. Conversely, video-based models use temporal context to stay stable, but they often operate at low resolutions or use heavy diffusion priors that "smear" boundaries, losing the fine details necessary for high-quality applications.
Methods
The core of Depth Pro 2 is a multi-view transformer architecture designed to handle a flexible number of frames (from 1 to 32) jointly.
Key technical innovations include:
- Alternating Attention: The model uses a ViT backbone (initialized from DINOv3) where the first third of the layers perform standard within-frame self-attention. The remaining layers alternate between within-frame and cross-frame attention, allowing the network to align depth estimates across time without adding new parameters.
- Native Resolution Processing: To maintain sharpness, the model avoids downsampling. It uses 2D rotary embeddings that account for the image's aspect ratio, ensuring that spatial features are accurately captured at full resolution.
- Metric Depth via Focal Estimation: The model predicts focal-normalized inverse depth. To convert this to absolute metric depth (meters), the authors trained a separate, ultra-lightweight focal length estimator that runs at 118 fps, significantly faster than the main depth network.
- Hybrid Training: The model is trained on a massive mixture of 19 datasets, including synthetic and real-world images and videos. A specialized multi-view consistency loss ($L_{mvc}$) uses ground-truth camera poses to warp points between frames, penalizing the model if the predicted depth of a static point drifts over time.
Datasets
The authors utilized a diverse training set of 19 datasets, emphasizing synthetic data for perfect ground-truth sharpness.
- Training: Includes BEDLAM, Hypersim, TartanAir, Waymo Open Dataset, and internal high-resolution synthetic/real captures.
- Evaluation: Zero-shot performance was tested on standard benchmarks like iBims, Middlebury, KITTI, Sintel, and Spring.
- New Benchmark: They introduced DyDToF, a synthetic video dataset specifically designed with dense metric ground truth and sharp boundaries to stress-test the "sharpness vs. consistency" trade-off.
Key Insights and Ideas
- Joint Training is a Superpower: By training on single images alongside video clips, the model learns the "global" metric scale from individual frames while learning "local" temporal stability from the video sequences.
- Resolution is the Enemy of Blur: Most video depth models fail at sharpness because they are computationally forced to downsample. Depth Pro 2 proves that staying at native resolution is the most direct path to sharp occlusion boundaries.
- Equivariance to Frame Order: By omitting frame-order encodings, the network is equivariant to frame permutation. This allows it to handle any number of frames flexibly and reuse weights from single-image pretrained checkpoints effectively.
- Streaming Modes: The paper introduces two inference modes: Buffered streaming (processing overlapping clips for maximum consistency) and Unbuffered streaming (using a causal FIFO cache for low-latency applications).
Key Results
Depth Pro 2 sets a new state-of-the-art across virtually all dimensions of monocular depth:
- Metric Accuracy: It achieves the lowest average rank in zero-shot metric accuracy on both image and video benchmarks.
- Sharpness: In boundary F1 score evaluations, it significantly outperforms previous leaders like InfiniDepth, capturing fine details like whiskers and thin wires that other models elide.
- Temporal Stability: It produces the lowest "jitter" scores, matching or beating specialized video models while maintaining much higher resolution.
- Efficiency: The model family scales from 24M to 872M parameters. The smallest version, Depth Pro 2-S, processes 1080p video at 53 fps on a B200 GPU, making it viable for real-time streaming.
Limitations and Future Work
- Static Scene Assumption: The multi-view consistency loss used during training assumes a static scene. While the authors use masking to mitigate the impact of moving objects, a more explicit handling of dynamic scene motion during training could further improve stability.
- Hardware Requirements: While the "S" model is fast, the high-performance "H+" model requires significant GPU resources (8 fps at 1080p), which might limit its use in edge devices without further optimization.
- Future Directions: The authors suggest that the lightweight focal length estimator could be further integrated or used to provide feedback to the depth network, potentially improving zero-shot metric accuracy even further.
Summary updated