Self-supervised Egomotion and Depth Learning via Bi-directional Coarse-to-Fine Scale Recovery

Hao Qu, Lilian Zhang, Xiaoping Hu, Xiaofeng He, Xianfei Pan, Changhao Chen · DOI

Abstract

Self-supervised monocular odometry has emerged as a cost-effective solution for autonomous navigation, yet it remains plagued by scale ambiguity and sensitivity to lighting conditions. This paper introduces SelfOdom, a novel framework designed to recover absolute metric scale through a two-stage "coarse-to-fine" strategy. By integrating a pretrained depth network with sparse LiDAR data for initial scaling and employing a bi-directional consistency loss during joint training, the system achieves high-precision motion and depth estimation. Furthermore, an attention-based Visual-Inertial Odometry (VIO) module enhances robustness in low-light scenarios. Experimental results on the KITTI and MVSEC datasets demonstrate that SelfOdom outperforms existing unsupervised methods, particularly in challenging nighttime environments.

Introduction

Accurate localization and mapping are fundamental requirements for autonomous vehicles and robotics. While monocular cameras offer a lightweight and inexpensive sensing solution, they lack inherent depth perception, leading to scale ambiguity. Existing self-supervised methods often estimate motion only up to an unknown scale factor, limiting their utility in real-world metric navigation. While some approaches incorporate LiDAR to provide scale, simple interpolation of sparse points often fails to preserve the scene's underlying geometry. Additionally, traditional visual odometry (VO) systems frequently fail in low-contrast or nighttime conditions where feature tracking becomes unreliable.

Methodology

SelfOdom addresses these limitations through a dual-network architecture (PoseNet and DepthNet) and a sophisticated scale recovery pipeline.

Coarse-to-Fine Scale Recovery

The framework operates in two primary stages:

  1. Coarse Scale Recovery: To bridge the gap between sparse LiDAR points and dense depth maps, a pretrained DepthNet generates initial depth predictions. A global scale factor is then computed by comparing these dense predictions to sparse LiDAR point clouds. This ensures that the recovered scale respects multi-view geometry rather than just matching noisy points.
  2. Bi-directional Refinement: During the second stage, PoseNet and DepthNet are trained jointly using a bi-directional loss. This involves calculating photometric and geometric consistency both forward and backward in time, acting as a powerful regularizer that ensures temporal stability and prevents overfitting to a single temporal direction.
Overview of the SelfOdom framework showing the two-stage scale recovery process and the interaction between PoseNet and DepthNet.

Attention-based Feature Fusion

For scenarios requiring higher robustness, such as nighttime driving, SelfOdom incorporates IMU data via a Visual-Inertial Odometry (VIO) configuration. Unlike simple concatenation, the model utilizes a soft attention module to fuse visual and inertial features. This allows the network to dynamically prioritize IMU data when visual features are degraded by glare or extreme darkness.

Architecture of the PoseNet with IMU input, highlighting the attention-based feature fusion module for robust motion estimation.

Experiments and Results

The researchers evaluated SelfOdom on the KITTI Odometry Dataset for standard outdoor driving and the MVSEC Dataset for challenging low-light conditions.

Performance Metrics

  • KITTI Dataset: SelfOdom (VIO) achieved a relative translation error ($t_{rel}$) of 4.04%, significantly outperforming other unsupervised VIO methods such as UnVIO (5.42%) and VINet (10.22%).
  • Nighttime Robustness: In MVSEC night driving tests, traditional methods like ORB-SLAM3 failed entirely. SelfOdom (VIO) achieved an error of 19.62, nearly doubling the accuracy of the supervised DeepVO baseline (39.37).
  • Depth Estimation: The model produces depth maps with superior detail, successfully capturing fine structures like utility poles that are often missed by mainstream baselines.

Conclusion and Future Work

SelfOdom demonstrates that deep learning-based VO/VIO can achieve absolute metric scale and superior robustness compared to traditional feature-based methods. The bi-directional training strategy and attention-based fusion are key to its success in diverse environments. Future research will focus on improving domain adaptation to ensure the learned scale generalizes across radically different terrains and weather conditions, as well as exploring knowledge distillation to enable deployment on resource-constrained mobile platforms.

Summary updated

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
KITTI · Depth scale-factor estimationSelfOdom (scale recovery disabled)Mean scale coefficient (μ)33.109scale-recovery=disabled
Source quote
L330: Ours │ x │ 33.109 │ 4.384
KITTI · Depth scale-factor estimationSelfOdom (scale recovery enabled)Mean scale coefficient (μ)1.128scale-recovery=enabled
Source quote
L331: Ours │ \checkmark │ 1.128 │ 0.118
KITTI · depth evaluationSelfOdom Ours3 (Mono+IMU)Abs Rel0.1301split: test · resolution=832×256 · backbone-input=Mono+IMU · scale-recovery=enabled · test-sequences=09–10 · training-sequences=00–08
Source quote
L288: Ours3 │ Mono+IMU │ 832×256 │ \checkmark │ 0.1301 │ 0.6942 │ 4.2963 │ 0.8341 │ 0.9526 │ 0.9837
MVSEC · Evening3 (night car-drivingSelfOdom Ours(VO)Error (RMSE)35.12-4.25 vs baselinesplit: test · input=monocular · scale=available · sequence=Evening3
Source quote
L363: Ours(VO) │ Mono │ \checkmark │ 35.12
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
KITTI · depth evaluationUnVIO (Mono+IMU) baselineAbs Rel0.1322split: test · resolution=832×256 · backbone-input=Mono+IMU · test-sequences=09–10 · training-sequences=00–08
Source quote
L285: UnVIO │ Mono+IMU │ 832×256 │ x │ 0.1322 │ 0.73005 │ 4.2443 │ 0.8324 │ 0.9509 │ 0.9821
MVSEC · Evening3 (night car-drivingDeepVO baselineError (RMSE)39.37split: test · input=monocular · scale=available · sequence=Evening3
Source quote
L362: DeepVO │ Mono │ \checkmark │ 39.37
BibTeX
@article{qu2024self,
  author = {Hao Qu and Lilian Zhang and Xiaoping Hu and Xiaofeng He and Xianfei Pan and Changhao Chen},
  title = {{Self-supervised Egomotion and Depth Learning via Bi-directional Coarse-to-Fine Scale Recovery}},
  journal = {IEEE Trans. Intell. Veh.},
  year = {2024},
  doi = {10.1109/tiv.2023.3342803},
}
Figure