Command Palette
Search for a command to run...
Depth Pro 2: 선명하고 시간적으로 일관된 메트릭 단안 깊이 추정
Depth Pro 2: 선명하고 시간적으로 일관된 메트릭 단안 깊이 추정
Peiyun Hu Marko Mihajlovic Lyndon Duong Lahav Lipson Wei Dong Amaël Delaunoy Stephan R. Richter Vladlen Koltun
초록
본 논문은 전체 해상도에서 이미지와 비디오의 조밀한 메트릭 깊이를 추정하는 접근법인 Depth Pro 2를 제시한다. 기존 단안 깊이 추정 방법들을 분석한 결과, 이들은 일반적으로 시간적 일관성과 경계 선명도를 상충 관계로 다룬다는 점을 발견하였다. 다중 프레임 방법은 일관성을 선호하는 반면, 단일 프레임 방법은 선명도를 선호한다. 이러한 상충 관계를 극복하기 위해, 본 연구는 이미지와 비디오를 모두 처리하고 원본 해상도에서 깊이 맵을 예측하는 단일의 확장 가능한 네트워크를 학습시킨다. Depth Pro 2는 메트릭 정확도, 선명도, 시간적 일관성을 동시에 모두 갖춘 깊이 맵을 생성하며, 이 모든 측면에서 기존 연구를 능가한다. 또한 메트릭 정확도, 선명도, 시간적 일관성, 실행 시간 측면에서 새로운 파레토 최적선을 정의하는 모델군을 공개한다.
One-sentence Summary
Apple introduces Depth Pro 2, a single scalable network that processes both images and video and predicts metric depth maps at native resolution, overcoming the tradeoff between temporal consistency and boundary sharpness while delivering metrically accurate, sharp, and temporally consistent results, along with a model family that defines a new Pareto frontier in metric accuracy, sharpness, temporal consistency, and runtime.
Key Contributions
- Depth Pro 2 is a single scalable network that processes both images and video and predicts metric depth at native resolution, overcoming the trade-off between boundary sharpness and temporal consistency.
- The approach adapts a single-image vision transformer to flexible frame counts by allowing a subset of self-attention layers to attend across views without adding parameters, and penalizes temporal inconsistency during training while using a lightweight field-of-view estimator for metric scale.
- A released family of models includes Depth Pro 2-S, which processes streaming 1080p video at 53 fps on a single GPU, and Depth Pro 2-H+, which processes 1080p video at 8 fps and sets a new state of the art on metric depth accuracy, boundary sharpness, and temporal stability at once.
Introduction
Monocular depth estimation matters for video applications such as synthetic background blur, where every frame requires a reliable depth map. Prior single-image methods produce sharp occlusion boundaries but are temporally inconsistent, while multi-frame video methods are more stable but often operate at reduced resolution and oversmooth fine detail. The authors introduce Depth Pro 2, a family of models that process a flexible number of frames jointly at native resolution, preserving sharp boundaries while improving temporal stability. Trained on clips of 1 to 32 frames with mixed image, video, and multi-view data, Depth Pro 2 outperforms prior methods in boundary sharpness, temporal consistency, and metric depth accuracy, and includes lightweight focal-length estimation for streaming video.
Method
The authors design Depth Pro 2 to address the inherent trade-off in monocular depth estimation between boundary sharpness and temporal consistency. As illustrated in the qualitative comparison, single-image methods often produce sharp boundaries but suffer from temporal flicker, while multi-frame methods achieve consistency at the cost of blurred details.
This trade-off is further quantified in the scatter plot of boundary sharpness versus temporal consistency, where single-frame methods cluster at the top left and multi-frame methods at the bottom right.
To overcome this, the authors propose an architecture that processes a flexible number of frames jointly at their native resolution.
The overall framework is depicted in the architecture diagram.
The network consists of a multi-view transformer that ingests one or multiple input frames and processes them jointly, followed by a DPT decoder that predicts an inverse depth map per frame. The depth estimation network predicts inverse depth normalized by focal length, which is then combined with a known or estimated focal length to yield metric depth. A separate lightweight field-of-view estimator predicts the focal length if it is not provided via metadata.
The multi-view transformer is initialized from pretrained weights to leverage dense, high-resolution features. Input images are split into patches, embedded as tokens, and their spatial positions are encoded using 2D rotary embeddings. To preserve aspect ratio information, coordinates are normalized by the longer side of the image. The transformer alternates between within-frame self-attention and cross-frame attention to align predictions across frames. For efficiency, the first third of the transformer blocks are restricted to self-attention within the same frame, while the remaining blocks alternate between within- and cross-frame attention. Crucially, the network omits any encoding of frame order, making it equivariant to frame permutation and allowing flexible processing of any number of frames.
The DPT decoder extracts features from intermediate layers of the transformer, assembles them into feature maps at different resolutions, and projects them to a common channel dimension. Transposed convolutions are used for upsampling instead of bilinear interpolation to maintain sharp boundaries.
Training is conducted on a diverse set of datasets with a focus on synthetic ground truth. To preserve boundary sharpness, the authors avoid interpolating ground-truth depth maps. The model is trained on clips of varying lengths, treating single images as clips of length one. Batching is performed by tokens, with each GPU receiving a fixed budget of tokens to efficiently handle varying resolutions and clip lengths.
The training objective is an unweighted sum of four loss terms:
L=Lmae+Lssi+Lmge+LmvcLmae is a trimmed L1 loss on focal-normalized inverse depth for metric anchoring. Lssi is a trimmed L1 loss after scale-and-shift invariant normalization. Both trimmed losses discard a fraction of pixels with the largest loss to handle noise. Lmge is a multi-scale gradient term that matches first-order gradients of normalized depth maps, applied only to synthetic data where boundaries are exact.
To stabilize predictions across frames, the authors introduce a multi-view consistency loss Lmvc. This loss unprojects pixels using predicted depth and reprojects them into other frames using ground-truth camera poses. The deviation in inverse depth between the reprojected point and the prediction in the target frame is penalized. To handle occlusions and moving objects, pixels are warped using ground-truth depth, and those with significant depth discrepancies are discarded.
At inference, the model supports two streaming modes. Buffered streaming divides video into overlapping clips and processes them with full attention, blending predictions in the overlap region. Unbuffered streaming processes frames sequentially with causal cross-attention, using a cache for keys and values of past frames to minimize latency.
Experiment
Depth Pro 2 is evaluated in zero-shot settings for metric depth accuracy, boundary sharpness, temporal consistency, focal-length estimation, and downstream applications, using both single-image and 50-frame video inputs across diverse benchmarks. The experiments show that prior multi-frame methods are temporally consistent but lose boundary detail, while single-frame methods preserve boundaries but suffer temporal inconsistency, and Depth Pro 2 overcomes this trade-off by achieving the lowest average rank for metric depth and boundary sharpness along with state-of-the-art temporal consistency. Its focal-length estimator also ranks first across all tested datasets, and additional experiments cover depth-guided bokeh rendering and novel view synthesis.
The Depth Pro 2 family scales across four variants built on DINOv3 ViT backbones with a shared 16x16 patch size. Larger variants use more transformer blocks and wider token channels, while all variants keep cross-frame attention in later blocks after an initial self-attention-only section. A DPT decoder reassembles selected backbone tokens at multiple scales, and decoder capacity remains a small part of the total model. The model family progresses from a compact backbone with 12 transformer blocks and 384 token channels to a high-capacity backbone with 32 blocks and 1280 token channels. Cross-frame attention is limited to later backbone blocks, with early blocks using only within-frame self-attention. The two largest variants share identical decoder fusion widths and reassembled feature-map channels despite differing backbone depth and width. Decoder parameters are a small fraction of total parameters in every variant, and the focal-length estimator is excluded from parameter counts.
This evaluation measures zero-shot metric depth accuracy across indoor, indoor-outdoor, outdoor, and synthetic datasets under ground-truth and predicted camera intrinsics. Depth Pro 2 attains the best average rank in both intrinsic conditions. The listed baselines show domain-dependent strengths, with no single baseline leading across all dataset groups. Depth Pro 2 has the lowest average rank overall with both ground-truth and predicted intrinsics. MoGe-3-G and FoundationGeo are the strongest listed baselines on average, but their per-dataset accuracy varies considerably, particularly on synthetic and outdoor sequences. MetricAnything is evaluated only with ground-truth intrinsics, so its predicted-intrinsic accuracy is absent from this comparison.
In zero-shot metric depth evaluation on video clips, accuracy varies widely across real and synthetic datasets, with no baseline leading on every scene type. Depth Pro 2 achieves the lowest average rank both with ground-truth and predicted camera intrinsics. Predicted intrinsics are especially challenging for some methods, causing large relative drops on synthetic sequences. Depth Pro 2 has the lowest average rank in the video setting with and without ground-truth intrinsics. Methods that are competitive on one dataset often fall behind on others, so strong real-outdoor performance does not guarantee strong synthetic results. Using predicted intrinsics instead of ground truth substantially weakens some methods on synthetic clips.
This evaluation measures zero-shot temporal consistency using jitter along point tracks, where lower values and average ranks indicate more stable video depth. Among the listed methods, MoGe-2-L and UniK3D-L show the strongest average ranks, while Depth Pro and Pixel-Perfect Depth show the weakest. The accompanying text reports that Depth Pro 2 sets a new state of the art for temporal consistency while also preserving boundary sharpness. MoGe-2-L and UniK3D-L achieve the best average rank among the listed methods, ahead of Lapis, FoundationGeo, InfiniDepth, Depth Pro, and Pixel-Perfect Depth. On Sintel, UniK3D-L records the lowest jitter among the listed methods, while on Spring, FoundationGeo records the lowest jitter. Depth Pro and Pixel-Perfect Depth have the highest average ranks and are the least temporally consistent among the compared methods. The reported analysis indicates Depth Pro 2 avoids the usual trade-off between temporal consistency and boundary detail and achieves state-of-the-art temporal consistency.
Zero-shot focal length estimation is evaluated across six datasets using relative error thresholds, with higher accuracy at δ25 and δ50 being better. Among the methods shown, Depth Pro achieves the strongest overall performance, with the highest mean δ25 and the best average rank. Its per-dataset accuracy is consistently high, while several other methods fall below 40% δ25 on at least one dataset. Depth Pro leads the comparison in mean δ25 and average rank, outperforming dedicated calibration and depth-based methods. Depth Pro remains above 64% δ25 on every dataset, whereas several competitors drop below 40% δ25 on datasets such as DDDP or PPR10K. GeoCalib has the lowest mean δ25 and the worst average rank among the compared methods.
The experiments evaluate the Depth Pro 2 family across four backbone variants and assess zero-shot metric depth on indoor, outdoor, and synthetic datasets, video depth, temporal consistency via point-track jitter, and focal length estimation under ground-truth and predicted intrinsics. Depth Pro 2 achieves the best average rank in both image and video metric depth settings, with no baseline dominant across all domains, and it sets state-of-the-art temporal consistency while preserving boundary sharpness. For focal length estimation, Depth Pro attains the best mean δ25 and average rank, outperforming dedicated calibration and depth-based methods.