RA-Depth: Resolution Adaptive Self-supervised Monocular Depth Estimation

Mu He, Le Hui, Yikai Bian, Jian Ren, Jin Xie, Jian Yang

Introduction

Monocular depth estimation—predicting 3D geometry from a single 2D image—is a critical component for autonomous systems, robotics, and augmented reality. While self-supervised methods have advanced significantly by learning from unlabeled video sequences, they typically suffer from a "resolution-lock." A model trained at a specific resolution (e.g., $640 \times 192$) often experiences a sharp drop in performance when applied to images of a different scale (e.g., $320 \times 96$ or $1024 \times 320$). RA-Depth addresses this limitation by introducing a framework that is inherently scale-invariant and resolution-adaptive.

RA-Depth maintains consistent depth predictions across different test resolutions, whereas standard models like Monodepth2 fail when the resolution deviates from training.

Methodology

RA-Depth achieves resolution adaptability through three primary innovations designed to decouple depth perception from specific pixel counts.

1. Arbitrary-Scale Data Augmentation (AS-Aug)

To teach the model about different scales during training without changing the neural network's input tensor dimensions, the authors developed AS-Aug. This strategy generates three versions of every training image: Low, Medium, and High scale.

  • Low scale: Images are downsampled and then "stitched" together to fill the original input size, simulating a wider field of view or lower resolution.
  • Medium scale: Standard resizing to the target input dimensions.
  • High scale: Images are upsampled and then cropped to the input size, simulating a zoomed-in view.
The Arbitrary-Scale Data Augmentation (AS-Aug) strategy generates multi-scale training data while maintaining constant input dimensions.

2. Dual HRNet Architecture

Most depth networks use a standard encoder-decoder structure (like ResNet). RA-Depth instead utilizes a Dual HRNet (High-Resolution Network) architecture. By using HRNet for both the encoder and a newly designed decoder, the model maintains high-resolution representations throughout the entire pipeline. This multi-scale feature fusion is essential for capturing fine details across varying input scales.

3. Cross-Scale Depth Consistency Loss

This component forces the model to predict geometrically consistent depth maps for the same scene across the different scales generated by AS-Aug. By penalizing discrepancies between the Low, Medium, and High scale predictions, the network is explicitly encouraged to learn the underlying 3D geometry rather than memorizing resolution-specific pixel patterns.

Key Results and Generalization

RA-Depth achieves state-of-the-art results on the KITTI benchmark, with a Squared Relative (SqRel) error of 0.632—a 17% improvement over previous best-published results.

Beyond raw accuracy, the model demonstrates remarkable robustness:

  • Resolution Adaptation: When tested at resolutions different from its training data, RA-Depth maintains high accuracy, even outperforming models specifically trained for those target resolutions.
  • Zero-Shot Generalization: Despite being trained only on outdoor driving scenes (KITTI), RA-Depth outperforms competitors on the indoor NYU-V2 dataset. This suggests that the learned scale invariance makes the model significantly more robust to entirely new environments.
  • Efficiency: Despite its "Dual" architecture, RA-Depth is efficient, using fewer parameters (9.98M) and GFLOPs (10.78) than many popular baselines like Monodepth2.

Conclusion

RA-Depth effectively breaks the resolution-lock in self-supervised monocular depth estimation. By combining clever data augmentation with a high-resolution architecture and cross-scale consistency, it provides a single, efficient model capable of high-performance depth prediction across a wide range of real-world camera configurations and resolutions.

Summary updated

BibTeX
@inproceedings{he2022ra,
  author = {Mu He and Le Hui and Yikai Bian and Jian Ren and Jin Xie and Jian Yang},
  title = {{RA-Depth: Resolution Adaptive Self-supervised Monocular Depth Estimation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19812-0\_33},
}
Figure