Visual Odometry with Transformers

Vlardimir Yugay, Duy-Kien Nguyen, Theo Gevers, Cees G. M. Snoek, Martin R. OswaldarXiv 2025 · DOI

Introduction

Visual Odometry (VO) is the fundamental task of estimating a camera's trajectory—its position and orientation—from a sequence of images. This technology is a cornerstone for robotics, autonomous navigation, and augmented reality. Traditionally, VO has relied on "hybrid" pipelines that combine neural networks for geometric estimation (like depth or flow) with classical optimization techniques such as Bundle Adjustment (BA).

While effective, these hybrid systems face significant challenges: they are computationally expensive, often struggle with absolute metric scale (scale ambiguity), and typically require precise camera calibration. FVO (Fast Visual Odometry) addresses these issues by introducing a pure end-to-end transformer-based model that regresses poses directly from pixels, achieving state-of-the-art accuracy at unprecedented speeds.

Overview of the FVO pipeline, showing the transition from video input to a metric camera trajectory at 76 FPS.

Methodology: Efficient Transformers and Confidence-Aware Inference

The core of FVO is a streamlined architecture designed for high-throughput inference without sacrificing precision. The system bypasses the need for traditional Bundle Adjustment by leveraging a high-capacity transformer trained on large-scale datasets.

Factorized Time-Space Attention

A key innovation in FVO is the use of factorized time-space attention. Standard global attention across video frames is computationally prohibitive. FVO instead alternates between temporal attention (tracking points across time) and spatial attention (analyzing relationships within a single frame). This factorization reduces computational complexity from 380 GFLOPs to 163 GFLOPs, enabling real-time performance.

Detailed architecture of FVO, illustrating the encoder-decoder structure, factorized attention modules, and the SO(3) manifold projection for pose regression.

Robust Pose Regression

The model outputs relative rotations and translations for frame pairs. To ensure mathematical validity, raw rotation outputs are projected onto the $SO(3)$ manifold, which significantly improves accuracy over standard Euler angles or Quaternions.

Furthermore, FVO incorporates "heteroscedastic uncertainty" by predicting a confidence score for every pose. During inference, the system processes overlapping video windows. The final trajectory is computed via a weighted average of these overlapping predictions, where the learned confidence scores act as weights. This mechanism effectively filters out outliers and noisy estimates, resulting in a smooth and robust metric trajectory.

Experimental Results

FVO was trained on a diverse array of indoor and outdoor datasets, including ARKitScenes, ScanNet, and TartanAir. Its performance was evaluated against established baselines like DPVO.

  • Blazing Speed: FVO achieves a throughput of 76 FPS on an NVIDIA RTX 3090, making it approximately twice as fast as the quickest existing state-of-the-art methods.
  • Superior Accuracy: On benchmarks like ARKitScenes and ScanNet, FVO outperformed competing methods in Absolute Trajectory Error (ATE). Notably, the model successfully recovers absolute metric scale from visual cues alone, even without access to camera intrinsics.
  • Robust Generalization: In zero-shot evaluations on the TUM_RGBD dataset, FVO demonstrated strong generalization capabilities, remaining competitive with models specifically tuned for those environments.

Conclusion and Future Work

FVO represents a significant shift toward end-to-end, data-driven visual odometry. By replacing hand-crafted geometric constraints with a high-capacity transformer and a robust confidence-aware inference scheme, it achieves a new Pareto frontier of speed and accuracy.

While the model performs exceptionally in static environments, future research will focus on improving performance in highly dynamic scenes with moving objects and scaling the model to even more diverse datasets to further enhance its "in-the-wild" robustness.

Summary updated

BibTeX
@misc{yugay2025visual,
  author = {Vlardimir Yugay and Duy-Kien Nguyen and Theo Gevers and Cees G. M. Snoek and Martin R. Oswald},
  title = {{Visual Odometry with Transformers}},
  year = {2025},
  eprint = {2510.03348},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.03348},
}
Figure