Learning Monocular Visual Odometry via Self-Supervised Long-Term Modeling

Yuliang Zou, Pan Ji, Quoc-Huy Tran, Jia-Bin Huang, Manmohan Chandraker

Introduction

Visual Odometry (VO) is a fundamental task in robotics and autonomous driving, involving the estimation of a camera's trajectory from a sequence of images. While monocular VO is particularly challenging due to the lack of absolute scale, recent deep learning approaches have shown promise by learning robust priors from data. However, these methods often suffer from significant "drift" because they are typically trained on very short image snippets (3-5 frames) due to hardware constraints.

This paper introduces a self-supervised monocular VO framework designed to tackle the drift problem by modeling long-term temporal dependencies. By leveraging a two-layer convolutional LSTM and a novel stage-wise training strategy, the proposed model learns from sequences of nearly 100 frames, resulting in trajectories that are significantly more accurate over long distances.

The Challenge of Drift in Monocular VO

Traditional geometric methods, such as ORB-SLAM, achieve robustness by optimizing camera poses over long sequences using techniques like Bundle Adjustment and Loop Closure. In contrast, standard learning-based methods are often limited to local motion estimation. When these short-snippet predictions are concatenated to form a long trajectory, errors accumulate rapidly, leading to massive drift.

Comparison of traditional geometry-based methods, short-snippet learning, and the proposed long-sequence modeling approach.

The authors aim to bridge this gap by incorporating the "long-term" wisdom of geometric systems into a self-supervised deep learning framework that can handle extended sequences.

Proposed Methodology: Long-Term Temporal Modeling

The core of the proposed system consists of a Depth Network and a Pose Network. The Pose Network utilizes a FlowNet backbone to extract features, which are then processed by a two-layer Convolutional LSTM (ConvLSTM).

The proposed long-sequence modeling architecture, featuring LSTM-based tracking and keyframe refinement stages.

Two-Layer ConvLSTM Architecture

  • Layer 1 (Tracking): Focuses on estimating relative motion between consecutive frames.
  • Layer 2 (Keyframe Refinement): Refines these estimates to predict the "absolute" pose within a local snippet, acting as a memory-aided refiner that ensures consistency across the sequence.

Cycle Consistency and Stage-Wise Training

To further improve stability, the authors enforce a Cycle Consistency Loss, requiring the predicted pose from frame 0 to $t$ to be consistent with the chain of relative motions.

The key technical breakthrough is a Stage-Wise Training strategy:

  1. Stage 1: The model is trained on short (7-frame) snippets to learn basic depth and motion features.
  2. Stage 2: The feature-extraction and depth networks are frozen. Their outputs are pre-extracted, allowing the lightweight second-layer LSTM to be trained on much longer sequences (up to 97 frames) without exceeding GPU memory limits. This decoupling allows the model to learn long-term temporal consistency efficiently.

Experimental Results

The model was evaluated on the KITTI Odometry and TUM RGB-D datasets. On KITTI Sequence 09, the method achieved a Translation Error of 3.49%, a dramatic improvement over previous self-supervised leaders like SC-SfMLearner (~11.2%).

In "video-level" evaluations measuring entire trajectories, the model reduced the Root Mean Square Error (RMSE) from nearly 98 meters (standard SfMLearner) to just 13.13 meters. These results are comparable to the monocular version of ORB-SLAM2, while maintaining robustness in challenging scenarios. The system operates at 14.3 FPS, making it suitable for near-real-time use.

Key Insights and Limitations

A major takeaway is that long-term modeling is essential for real-world VO utility; evaluating only on short snippets can be misleading. By decoupling feature extraction from sequence modeling, the authors demonstrate that long-term dependencies can be learned without massive hardware requirements.

However, limitations remain. The model shows a bias toward translation over rotation, likely due to the nature of driving datasets. It also remains sensitive to extreme lighting conditions and lacks a global loop closure mechanism to correct drift over thousands of frames. Future work will focus on incorporating these global constraints to further bridge the gap with geometric systems.

Summary updated

BibTeX
@inproceedings{zou2020learning,
  author = {Yuliang Zou and Pan Ji and Quoc-Huy Tran and Jia-Bin Huang and Manmohan Chandraker},
  title = {{Learning Monocular Visual Odometry via Self-Supervised Long-Term Modeling}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58568-6\_42},
}
Figure