Enhancing self-supervised monocular depth estimationwith traditional visual odometry

Lorenzo Andraghetti, Panteleimon Myriokefalitakis, Pier Luigi Dovesi, Belén Luque, Matteo Poggi, Alessandro Pieropan, Stefano Mattoccia

Abstract

Estimating 3D depth from a single 2D image is a fundamental challenge in computer vision. While deep learning models excel at leveraging semantic cues, they often lack the geometric rigor of traditional methods. This paper proposes a hybrid approach that integrates sparse 3D points from traditional Visual Odometry (VO) into a self-supervised monocular depth estimation framework. By anchoring neural network predictions in real-world geometry, the proposed method achieves state-of-the-art accuracy and scale consistency, maintaining high performance even on embedded devices like the NVIDIA Jetson TX2.

Introduction

Monocular depth estimation is inherently "ill-posed" because a single 2D projection can correspond to infinitely many 3D scenes. Modern deep learning models address this by learning semantic priors—recognizing that certain objects have standard sizes or positions. However, these models can struggle in unfamiliar environments where semantic cues are ambiguous or lighting is poor.

Traditional Visual Odometry (VO) offers a complementary strength: it uses geometric constraints to track features across frames, calculating precise movement and structure. Although VO data is extremely sparse, typically covering less than 0.1% of an image, it provides a reliable geometric "ground truth." This research, conducted by Univrses AB and the University of Bologna, explores how to effectively fuse this sparse geometric information into a dense neural network to improve depth perception.

Methods

The proposed framework is designed to be architecture-agnostic, capable of wrapping around various existing depth-estimation networks. The pipeline consists of three primary components:

  1. Sparsity-Invariant Autoencoder: Standard Convolutional Neural Networks (CNNs) are not optimized for sparse data where most pixels are zero. The authors employ a specialized autoencoder to "densify" the sparse 3D points generated by the VO pipeline, transforming them into a continuous depth prior.
  2. Depth Estimator: This core CNN (tested with both the ResNet-based Monodepth and the lightweight PyD-Net) processes the original RGB image alongside the densified VO prior to generate a full, dense depth map.
  3. Skip Module: To prevent the loss of geometric information during deep feature extraction, a residual skip connection passes the densified prior directly to the network's output stages.
The proposed framework architecture integrating sparse VO points from input to photometric loss.

During training, the model utilizes stereo image pairs for self-supervision to learn absolute scale. At inference, it requires only a monocular sequence and a standard VO algorithm to produce high-quality depth maps.

Experimental Setup and Datasets

The method was evaluated using the KITTI dataset, the industry standard for autonomous driving. The researchers utilized the Eigen split, specifically adapted for VO by selecting sequences that support temporal tracking. The final test set included 8,691 frames, allowing for a comprehensive comparison against both monocular and stereo-supervised baselines.

Key Results and Insights

The integration of even minimal geometric data (approximately 0.06% density) significantly anchors the neural network's predictions. This "geometric anchor" prevents the model from making semantically plausible but physically impossible errors and effectively resolves scale ambiguity.

Visual pipeline showing (a) RGB input, (b) sparse VO points, (c) densified depth prior, and (d) final dense depth map.

Performance Metrics

  • Accuracy: The VO-enhanced model (VOMonodepth) showed a marked improvement over the baseline Monodepth-ResNet, with the Absolute Relative (Abs Rel) error decreasing from 0.108 to 0.091.
  • Efficiency: The lightweight VOPyD-Net variant demonstrated impressive real-time performance, achieving ~18 FPS on an NVIDIA Jetson TX2 and up to 143 FPS on a desktop 2080Ti.
  • Qualitative Quality: The model excels at capturing fine details, such as poles and distant trees, which are often blurred or omitted by standard monocular networks.

Discussion and Future Work

While the hybrid approach offers significant gains, it remains dependent on the quality of the underlying Visual Odometry. In featureless environments or extreme lighting conditions where VO fails, the geometric prior is lost. Additionally, the current system assumes a static world; moving objects can introduce noise into the sparse point cloud that the network must learn to filter.

Future research may focus on tighter, end-to-end integration between "deep VO" and depth estimation to improve robustness in dynamic scenes and further reduce computational overhead.

Summary updated

BibTeX
@inproceedings{andraghetti2019enhancing,
  author = {Lorenzo Andraghetti and Panteleimon Myriokefalitakis and Pier Luigi Dovesi and Belén Luque and Matteo Poggi and Alessandro Pieropan and Stefano Mattoccia},
  title = {{Enhancing self-supervised monocular depth estimationwith traditional visual odometry}},
  booktitle = {3DV},
  year = {2019},
  url = {https://openreview.net/forum?id=zHjXuRY0sL},
}
Figure