Abstract
Monocular depth estimation is a fundamental challenge in computer vision, typically addressed by learning global priors from large datasets. However, fixed models often struggle with scene-specific variations in lighting, sensor characteristics, and novel objects. This paper introduces Self-supervised Instance Adaptation, a test-time optimization strategy that fine-tunes depth models on the specific images they process. By selectively updating only the network encoders using a photometric consistency loss, the proposed method achieves a 25% reduction in absolute relative error on the KITTI benchmark, rivaling the performance of fully-supervised systems while maintaining efficiency for real-world robotics.
Introduction
Estimating 3D depth from a single 2D image is an inherently ill-posed problem. Traditional self-supervised models learn to predict depth by reconstructing video frames based on predicted motion. While effective, these models are typically "frozen" after training, preventing them from adapting to the unique characteristics of a new environment.
Researchers from the Visual Geometry Group (VGG) at Oxford propose a shift from static inference to dynamic optimization. Their method, Instance Adaptation, allows a model to "practice" on the specific instances it encounters during testing, leveraging the extra information available in adjacent video frames.
Methodology: Self-supervised Instance Adaptation
The core of the approach is treating inference as a mini-training session. When presented with a sequence of frames, the model uses a photometric consistency loss to evaluate how well its predicted depth and camera motion can warp one frame to match the next.
Selective Plasticity: The Encoder-Only Trick
A key discovery in this work is that updating the entire network during test-time leads to overfitting and geometric collapse. The authors found that the decoders act as a structural prior, encoding knowledge of what objects look like in 3D. By freezing the decoders and only updating the encoders, the model adapts to the specific appearance and lighting of the current scene without losing its fundamental understanding of geometry.
Adaptation Strategies
Two distinct strategies were developed for different use cases:
- Instance-wise Adaptation: For individual image pairs, the model performs 50 optimization steps starting from the original weights.
- Sequential Adaptation: For video streams, weights are updated continuously (5 steps per frame). This allows the model to accumulate environmental knowledge over time, significantly improving speed and consistency.
Results and Discussion
The method was evaluated on the KITTI dataset, where it demonstrated state-of-the-art performance among self-supervised monocular methods.
Performance Gains
- Accuracy: The adaptation process resulted in a 25% reduction in absolute relative error compared to the Monodepth2 baseline.
- Supervision Gap: The performance of this self-supervised method closely approached that of DORN, a leading fully-supervised model trained on expensive LiDAR data.
- Visual Fidelity: Qualitatively, the adapted depth maps exhibit sharper object boundaries and better preservation of thin structures, as shown in the visual comparisons.
Efficiency and Real-time Potential
While instance-wise adaptation is computationally intensive (2.3s per image), the sequential version operates at approximately 0.29s per image. This makes it a viable candidate for robotics applications where high-accuracy depth is required from a moving platform.
Conclusion
Self-supervised Instance Adaptation provides a powerful, "plug-and-play" mechanism for enhancing depth estimation models. By recognizing that inference can be an active process of optimization rather than a passive calculation, this work sets a new benchmark for what can be achieved with self-supervised learning in dynamic, real-world environments.
Summary updated