MambaVO: Deep Visual Odometry Based on Sequential Matching Refinement and Training Smoothing

Shuo Wang, Wanting Li, Yongcai Wang, Zhaoxin Fan, Zhe Huang, Xudong Cai, Jian Zhao, Deying Li

Abstract

Visual Odometry (VO) is a cornerstone of robotics, yet modern "learning-to-optimize" frameworks face challenges regarding initialization stability, matching precision, and training convergence. This paper introduces MambaVO, a high-performance deep VO system leveraging the Mamba architecture (State Space Models). By integrating a Geometric Initialization Module (GIM) and a novel Trending-Aware Penalty (TAP) for training stabilization, MambaVO achieves superior tracking accuracy and efficiency. Evaluated on major benchmarks, MambaVO outperforms existing leaders like DROID-SLAM while reducing GPU memory usage by approximately 45% and maintaining real-time performance at 22Hz.

Introduction

Estimating an agent's pose from a stream of images—Visual Odometry—is essential for autonomous systems. Recent advancements have shifted toward frameworks that combine neural networks for feature matching with differentiable Bundle Adjustment (BA) for refinement. Despite their success, these methods are often hindered by three primary issues:

  1. Initialization Sensitivity: Starting with random or poorly predicted states often leads to failure in low-texture or high-motion environments.
  2. Sequential Matching Limitations: Traditional architectures struggle to efficiently refine correspondences across long temporal sequences.
  3. Training Instability: The interaction between matching networks and optimization layers creates high gradient variance, leading to slow convergence and loss oscillations.

MambaVO addresses these hurdles by rethinking the VO pipeline through the lens of efficient sequential modeling and classical geometric priors.

Methodology

The MambaVO architecture consists of three core innovations designed to enhance robustness and efficiency.

The overall architecture of MambaVO, highlighting the flow from video input to 6DoF pose estimation via GIM and GMM modules.

Geometric Initialization Module (GIM)

To avoid the pitfalls of random initialization, GIM provides a geometrically sound foundation. It utilizes semi-dense matching via EfficientLoFTR and a Perspective-n-Point (PnP) solver to generate reliable initial pose and depth estimates. This ensures the subsequent optimization layers start from a physically plausible state.

Geometric Mamba Module (GMM)

Recognizing that VO is inherently a sequential problem, MambaVO employs Mamba blocks (State Space Models) instead of memory-intensive Transformers. GMM maintains "history tokens" to integrate past temporal information with linear complexity. This allows the model to refine pixel coordinates and matching weights sequentially, capturing long-range dependencies without the quadratic memory overhead of self-attention.

To stabilize the "tug-of-war" between pose and matching losses during training, the authors developed TAP. Unlike static weighting, TAP monitors the rate of decrease (the trend) for each loss component. It dynamically adjusts weights to prioritize the slower-converging task, preventing gradient dominance by a single objective and ensuring smoother convergence.

For full SLAM capabilities, MambaVO++ incorporates a loop closure module using DBoW2 to correct long-term drift.

Experimental Results

MambaVO was trained on the synthetic TartanAir dataset and evaluated zero-shot on real-world benchmarks including EuRoC, TUM-RGBD, and KITTI.

Accuracy and Performance

On the EuRoC dataset, MambaVO achieved an Absolute Trajectory Error (ATE) of 0.094m, significantly outperforming DROID-VO (0.186m) and DPVO (0.105m). The system maintains a real-time processing speed of 22Hz on an NVIDIA RTX 3090.

Resource Efficiency

A standout feature of MambaVO is its efficiency. By replacing Transformers with Mamba blocks, the system drastically reduces its resource footprint.

Comparison of GPU memory usage across different VO systems, showing MambaVO's significant efficiency gains.

As shown above, MambaVO consumes only 4.8GB of GPU memory during inference, a 45% reduction compared to the 8.7GB required by DROID-SLAM. This efficiency makes it highly suitable for deployment on edge robotic platforms with limited hardware.

Conclusion

MambaVO demonstrates that the integration of modern State Space Models with classical geometric principles can overcome the traditional limitations of deep visual odometry. By stabilizing training through TAP and ensuring robust starts with GIM, the system sets a new standard for accuracy and efficiency. Future work includes integrating MambaVO with 3D Gaussian Splatting to enable simultaneous high-fidelity mapping and tracking.

Summary updated

BibTeX
@inproceedings{wang2025mambavo,
  author = {Shuo Wang and Wanting Li and Yongcai Wang and Zhaoxin Fan and Zhe Huang and Xudong Cai and Jian Zhao and Deying Li},
  title = {{MambaVO: Deep Visual Odometry Based on Sequential Matching Refinement and Training Smoothing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00125},
}
Figure