TL;DR
Depth Anything V2 is a state-of-the-art monocular depth estimation (MDE) model that significantly improves upon its predecessor by ditching noisy real-world labels in favor of precise synthetic data. By training a massive teacher model on synthetic scenes and using it to "pseudo-label" 62 million real images, the researchers created a suite of models (ranging from 25M to 1.3B parameters) that are over 10x faster and more accurate than the latest generative, Stable Diffusion-based competitors.
The Challenge: Noisy Real-World Data
Monocular depth estimation—predicting 3D depth from a single 2D image—is a foundational task for robotics, AR, and autonomous driving. While Depth Anything V1 was a breakthrough, it had notable "blind spots." It struggled with fine details (like thin chair legs or basketball nets), transparent objects (glass), and reflective surfaces (mirrors).
The authors identified a surprising culprit for these errors: real-world data. Most MDE models are trained on datasets where depth labels come from LiDAR or depth sensors. These sensors are often noisy, have low resolution, and fail completely on glass or shiny surfaces. Consequently, models trained on this "ground truth" actually learn to replicate these sensor errors. Meanwhile, newer generative models (like Marigold) produce beautiful details but are computationally expensive and lack the robustness needed for real-time, "in-the-wild" scenes.
The Solution: A Three-Stage Pipeline
The authors propose a pipeline that prioritizes label precision over raw data volume:
- The Synthetic Teacher: Instead of using noisy real labels, they trained a massive teacher model (based on DINOv2-Giant) exclusively on five high-quality synthetic datasets. Because these are computer-generated, the depth labels are mathematically perfect, capturing every leaf and reflection.
- Pseudo-Labeling at Scale: To bridge the "domain gap" (the difference between clean synthetic images and messy real ones), they used this synthetic teacher to predict depth for 62 million unlabeled real-world images. This created a massive, high-quality "pseudo-labeled" dataset.
- Student Training: Finally, they trained student models of various scales (Small, Base, Large, and Giant) on these pseudo-labels. Interestingly, they found that student models don't even need the original synthetic data; the pseudo-labeled real images are enough to capture both the fine details of the teacher and the diversity of the real world.
Datasets and the DA-2K Benchmark
- Synthetic (Training): BlendedMVS, Hypersim, IRS, TartanAir, and VKITTI 2 (approx. 595K images).
- Real Unlabeled (Pseudo-labeling): A massive collection including BDD100K, ImageNet-21K, and SA-1B (62M images).
- DA-2K (New Benchmark): The authors introduced DA-2K, a new evaluation set of 2,000 images across eight scenarios (indoor, underwater, aerial, etc.). Unlike traditional benchmarks, it uses precise "relative depth" annotations (comparing which of two points is closer) to avoid the noise inherent in sensor-based ground truth.
Key Insights
- Less is More (if it's precise): The most surprising finding is that replacing all labeled real images with synthetic ones actually improves real-world performance. Precision beats scale when the scale is noisy.
- The "Bridge" Strategy: Pseudo-labeling acts as a crucial translator. It allows the model to learn the "perfection" of synthetic depth while seeing the "complexity" of real-world textures.
- Discriminative > Generative: While the industry has trended toward using Stable Diffusion for depth (generative), this paper proves that discriminative models (predicting depth directly) are still superior in efficiency and can match generative models in detail if the data is clean.
Results: Accuracy Meets Efficiency
On the new DA-2K benchmark, Depth Anything V2 (Large) achieved 97.1% accuracy, a massive jump from V1’s 88.5% and Marigold’s 86.8%.
The models are incredibly fast. The "Small" version (25M parameters) runs at 60ms per image on a V100 GPU, while the "Large" version (335M parameters) takes about 213ms. This makes them more than 10x faster than generative models like Marigold or DepthFM. Qualitative results also show the model correctly identifying the depth of mirrors and transparent windows—areas where almost all previous models failed.
Limitations and Future Work
The authors acknowledge that training on 62 million images presents a significant computational burden. While the resulting models are efficient, the "pseudo-labeling" phase requires massive GPU resources.
Furthermore, while synthetic data is precise, it currently lacks the scene diversity of the real world (e.g., specific "crowded" scenarios). Future work will likely focus on collecting even more diverse synthetic scenes to further push the boundaries of generalization. They also note that for "metric depth" (knowing exactly how many meters away an object is), the model still requires a small amount of fine-tuning on specific real-world sensor data.
Summary updated