[Paper Review] Transformer-Based Model for Monocular Visual Odometry: A Video Understanding Approach
The paper presents TSformer-VO, an end-to-end transformer-based architecture that treats monocular visual odometry as a video understanding task to estimate 6-DoF camera pose from clips, achieving competitive results on KITTI against geometry- and other deep-learning-based VO methods.
Estimating the camera's pose given images from a single camera is a traditional task in mobile robots and autonomous vehicles. This problem is called monocular visual odometry and often relies on geometric approaches that require considerable engineering effort for a specific scenario. Deep learning methods have been shown to be generalizable after proper training and with a large amount of available data. Transformer-based architectures have dominated the state-of-the-art in natural language processing and computer vision tasks, such as image and video understanding. In this work, we deal with the monocular visual odometry as a video understanding task to estimate the 6 degrees of freedom of a camera's pose. We contribute by presenting the TSformer-VO model based on spatio-temporal self-attention mechanisms to extract features from clips and estimate the motions in an end-to-end manner. Our approach achieved competitive state-of-the-art performance compared with geometry-based and deep learning-based methods on the KITTI visual odometry dataset, outperforming the DeepVO implementation highly accepted in the visual odometry community. The code is publicly available at https://github.com/aofrancani/TSformer-VO.
Motivation & Objective
- Motivate end-to-end monocular VO without hand-crafted geometric modules by leveraging video understanding with transformers.
- Develop TSformer-VO to extract spatio-temporal features and regress the 6-DoF pose from image clips.
- Demonstrate competitive performance on KITTI against geometry-based and deep learning VO methods.
- Share code and pretrained models to foster reproducibility and community adoption.
Proposed method
- Treat monocular VO as a video understanding task and estimate 6-DoF poses from frame sequences.
- Use TimeSformer-inspired divided space-time self-attention to efficiently model temporal and spatial dependencies.
- Apply MSE regression loss to predict relative poses for Nf-frame clips (yielding Nf-1 poses).
- Pre-process by converting absolute poses to relative transforms and encoding Euler angles for rotations.
- Post-process by denormalizing, converting Euler angles back to rotation representations, and averaging repeated pose estimates from overlapping clips.
- Train with end-to-end supervision on KITTI sequences, using a sliding window of Nf frames and a 7-DoF alignment during evaluation.

Experimental results
Research questions
- RQ1Can a transformer-based video understanding model accurately regress 6-DoF camera pose from monocular video clips?
- RQ2How does divided space-time attention compare to joint space-time attention for monocular VO in terms of accuracy and efficiency?
- RQ3What is the impact of clip length (Nf) and overlapped windowing on pose estimation and scale drift?
- RQ4How does TSformer-VO perform relative to established VO baselines (ORB-SLAM2, DeepVO) on KITTI sequences with ground truth?
Key findings
- TSformer-VO achieves competitive performance on KITTI odometry benchmarks compared to geometry-based and end-to-end deep learning methods.
- Among end-to-end approaches, TSformer-VO variants outperform DeepVO on most metrics and sequences, highlighting transformer advantages for VO.
- Divided space-time attention provides computational efficiency while maintaining accuracy relative to joint attention variants.
- Visualization of space-time attention shows the model focuses on static scene regions, ignoring moving objects, and prefers blob-like regions over keypoints.
- Inference times scale with clip length: TSformer-VO-1 ≈ 20.3 ms/clip, TSformer-VO-2 ≈ 28.8 ms/clip, TSformer-VO-3 ≈ 37.9 ms/clip, indicating potential real-time applicability with optimization.
- The model naturally handles scale drift present in monocular VO and benefits from end-to-end learning in high-speed scenarios where classical feature-based methods struggle.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.