Deep Online Correction for Monocular Visual Odometry

Jiaxin Zhang, Wei Sui, Xinggang Wang, Wenming Meng, Hongmei Zhu, Qian Zhang · DOI

Introduction

Monocular Visual Odometry (VO)—the task of estimating a camera's trajectory from a single video stream—is a fundamental component in robotics and augmented reality. Historically, researchers have faced a trade-off between traditional geometric methods and deep learning approaches. While traditional methods offer high precision through geometric optimization, they often suffer from "scale ambiguity," struggling to distinguish between a full-sized car at a distance and a toy car nearby. Conversely, deep learning methods can predict absolute scale from single images but frequently lack the fine-grained precision of geometric refinement.

Zhang et al. (2021) propose Deep Online Correction (DOC), a framework designed to bridge this gap. DOC performs a lightweight, real-time optimization of camera poses during the inference phase without updating the underlying neural network weights. This approach achieves state-of-the-art accuracy that rivals complex hybrid systems while remaining computationally efficient.

Methodology

The DOC framework operates in two distinct stages: initial estimation and online correction.

The DOC framework architecture, showing the interaction between Depth-CNN, Pose-CNN, and the online warping/correction loop.

Initial Estimation

The system utilizes two Convolutional Neural Networks: Depth-CNN and Pose-CNN. These networks provide initial depth maps and relative poses, respectively. To ensure the model learns absolute scale, they are trained in a self-supervised manner using stereo image pairs, which provides the necessary geometric constraints during the learning phase.

Online Correction

During inference, the system treats the CNN-predicted pose as a "warm start." It then performs several iterations of the Adam optimizer to minimize the photometric error—the visual difference between a target frame and a "warped" version of the source frame.

Key technical innovations include:

  • Parameter Efficiency: Instead of updating millions of network weights (online learning), DOC only optimizes the 6 degrees-of-freedom (6DoF) of the camera pose. This makes it significantly faster than traditional online adaptation.
  • Masking Logic: To handle dynamic objects (like other moving cars) and occlusions, the authors implement "explainability" and "occlusion" masks, ensuring the optimizer ignores unreliable pixels that do not follow static scene geometry.
  • DOC+: An extension that utilizes three frames instead of two, providing tighter geometric constraints for improved stability.

Results and Discussion

The authors evaluated DOC on the KITTI Odometry and EuRoC MAV datasets. These benchmarks represent challenging outdoor driving and indoor drone flight scenarios, respectively.

Visualization of the estimated trajectory and 3D reconstruction achieved by the DOC framework.

Performance and Insights

  • Accuracy: On KITTI Sequence 09, DOC+ achieved a Relative Transform Error (RTE) of 2.0%, outperforming traditional frameworks like DSO and deep learning baselines like Monodepth2. It significantly reduced translational drift compared to pure deep learning methods.
  • Scale Recovery: By leveraging stereo training data, the CNNs act as a reliable "scale provider," solving the classic monocular problem where trajectories may have the correct shape but incorrect physical dimensions.
  • Efficiency: The system runs at approximately 5–8 FPS on an NVIDIA Titan Xp. While slower than pure feed-forward networks, it is significantly faster than hybrid systems requiring global bundle adjustment.

The study highlights that optimization and learning are complementary. By keeping CNN weights frozen and tweaking only pose variables, the system retains the prior knowledge of the network while benefiting from the mathematical rigor of geometric optimization.

Conclusion

Deep Online Correction demonstrates that real-time geometric refinement can significantly enhance the performance of deep monocular VO. While the method introduces some computational overhead and remains dependent on the quality of initial depth maps, it provides a robust path forward for scale-aware, high-precision visual odometry. Future work may involve integrating more frames or developing more sophisticated outlier rejection techniques to further minimize drift in complex environments.

For more details, see the full paper: Zhang et al., "Deep Online Correction for Monocular Visual Odometry," arXiv:2103.10029 (2021).

Summary updated

BibTeX
@inproceedings{zhang2021deep,
  author = {Jiaxin Zhang and Wei Sui and Xinggang Wang and Wenming Meng and Hongmei Zhu and Qian Zhang},
  title = {{Deep Online Correction for Monocular Visual Odometry}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2021},
  doi = {10.1109/icra48506.2021.9561642},
}
Figure