TL;DR
This paper introduces a two-step, entirely self-supervised pipeline for simultaneous monocular depth and visual odometry (DVO) estimation. By leveraging a geometry-aware pretraining task (CroCo) followed by self-supervised finetuning on videos, the authors demonstrate that standard Vision Transformers (ViTs) can outperform highly specialized, complex convolutional architectures across diverse indoor and outdoor environments.
What Problem Does This Paper Address?
Estimating depth and camera motion (visual odometry) from a single stream of images is a cornerstone of robotics and autonomous driving. While supervised learning yields great results, gathering ground-truth 3D data is expensive and difficult. Consequently, researchers have turned to self-supervised methods that learn by enforcing geometric consistency between adjacent video frames.
However, most existing self-supervised DVO models rely on backbones pretrained on ImageNet. The authors argue that ImageNet-based pretraining is "object-centric"—excellent for recognizing a cat or a car, but poor at capturing the underlying 3D structure of a scene. To compensate, previous works have engineered increasingly complex "bells and whistles" into their network architectures. This paper asks: Can we achieve better results by simply changing how we pretrain a standard transformer?
Methods
The authors propose a two-stage self-supervised approach:
- Generic Pretraining (CroCo): Instead of classification, the model is pretrained using Cross-view Completion (CroCo). In this task, the model receives two overlapping views of the same scene. One image is heavily masked, and the model must reconstruct the missing patches by attending to the visible patches and the second, unmasked reference view. This forces the model to learn "geometric common sense" to succeed.
- Self-supervised Finetuning: The pretrained ViT is then adapted for DVO. As shown in Figure 2, the architecture uses a shared encoder for two branches:
- Depth Branch: Uses a transformer-based decoder (or a Dense Prediction Transformer - DPT) to output pixel-wise depth.
- Pose Branch: A lightweight MLP that estimates the 6-DoF relative motion between frames.
To make the transfer efficient, the authors incorporate Adapters—small, trainable modules inserted into the frozen transformer layers (see Figure 3). This allows the model to learn task-specific features without overwriting the geometric knowledge gained during pretraining.
Datasets
The model was evaluated on six diverse benchmarks to test its robustness:
- Outdoor: KITTI (urban driving) and DDAD (long-range driving).
- Indoor: NYUv2 (static rooms), Bonn (dynamic scenes with moving people), and TUM (dynamic indoor).
- Synthetic: Gibson (simulated indoor environments for navigation).
Key Insights and Ideas
- Pretraining Trumps Architecture: The authors show that a "vanilla" ViT, when pretrained with a geometry-focused objective like CroCo, can beat sophisticated, hand-engineered CNN backbones like PackNet or HRDepth.
- The Power of Two-Step Self-Supervision: This is the first work where both the pretraining (image completion) and the finetuning (geometric consistency) are entirely self-supervised. This removes the need for any labeled data throughout the entire training lifecycle.
- Adapters for Efficiency: Using adapters reduced finetuning time by 65% while only adding about 2% more parameters. However, the authors noted that for complex outdoor street scenes, finetuning the whole network still yielded slightly better results, suggesting these environments require more significant feature adaptation.
Key Results
The proposed method, CroCo-DVO, achieved state-of-the-art (SOTA) results on nearly all tested datasets.
- Depth Accuracy: On the NYUv2 indoor dataset, the model improved the Absolute Relative Error (AbsRel) from 0.123 (previous SOTA) to 0.095.
- Qualitative Improvements: As seen in Figure 4, the model produces much sharper depth maps with better-defined object boundaries compared to previous methods like Monodepth2.
- Visual Odometry: The model successfully tracked complex trajectories in the Gibson dataset, showing high alignment between predicted and ground-truth paths (Figure 5).
Limitations and Future Work
While the model performs exceptionally well, the authors noted that the benefits of using Adapters were more subtle in outdoor driving scenes (KITTI and DDAD) compared to indoor ones. They hypothesize that the large-scale dataset used for CroCo pretraining might not have sufficiently represented the specific geometry of urban streets.
Future work could involve expanding the pretraining data to include more diverse outdoor environments or exploring how to better bridge the gap between generic geometric pretraining and specific downstream domain requirements.
Summary updated