Leveraging Consistent Spatio-Temporal Correspondence for Robust Visual Odometry

Zhaoxing Zhang, Junda Cheng, Gangwei Xu, Xiaoxiang Wang, Can Zhang, Xin Yang

TL;DR

STVO (Spatio-Temporal Visual Odometry) significantly boosts the robustness of visual odometry by enforcing consistency across both time and space. By propagating motion information through a sequence of frames and using geometric depth priors to filter out matching noise, it achieves state-of-the-art results, including a massive 77.8% accuracy improvement on the challenging ETH3D benchmark.

What Problem Does This Paper Address?

Visual Odometry (VO)—the process of estimating a robot's position and orientation using only camera images—is a cornerstone of autonomous navigation. While classical methods rely on geometric optimization and deep learning methods offer robust feature matching, both have weaknesses. Classical methods often fail in "featureless" or poorly lit environments, while many deep learning models struggle to maintain consistency over long sequences, leading to "trajectory drift."

The authors identify a specific gap: most modern hybrid VO systems (which combine deep learning flow estimation with geometric backends) treat optical flow as an isolated problem between two frames. They ignore the rich spatio-temporal context inherent in video. This leads to noisy, inconsistent correspondences that eventually cause the system to lose track in challenging scenarios like motion blur, repetitive textures, or low light.

Methods

STVO builds upon the DROID-VO architecture, which uses a RAFT-style iterative update operator and a Differentiable Bundle Adjustment (DBA) layer. The authors introduce two novel modules to inject consistency into the flow estimation process:

  1. Temporal Propagation Module (TPM): Instead of calculating flow for each frame pair independently, TPM maintains a "motion state" for each frame. As the system processes a sliding window of frames, it warps these motion states across adjacent frames using the currently predicted flow. This allows the network to "remember" motion trends and enforce temporal continuity, effectively smoothing out jittery predictions.
  2. Spatial Activation Module (SAM): This module uses geometric priors from depth maps (either generated internally by the system or from a pre-trained model like Depth Anything v2). It computes a Spatial Attention Matrix that captures relationships between pixels. This matrix is used to "activate" consistent motion features and filter out irrelevant noise or incorrect matches, ensuring that points belonging to the same physical object move together in the image plane.

The refined flow from these modules is then fed into a standard GRU-based update operator, followed by a DBA layer that optimizes the final camera poses and depths.

Datasets

The model was trained on the synthetic TartanAir dataset and evaluated across four major real-world benchmarks:

  • TUM-RGBD: Indoor scenes with rolling shutter artifacts and significant rotations.
  • EuRoC MAV: Drone-captured data featuring fast, dynamic movements.
  • ETH3D: A highly challenging benchmark with low lighting and significant motion blur.
  • KITTI Odometry: The standard for autonomous driving, featuring long-sequence outdoor trajectories.

Key Insights and Ideas

  • Flow is a Sequence Problem: The "aha moment" here is that optical flow in VO shouldn't be a pairwise task. Because the camera moves continuously, the motion between frames $t$ and $t+1$ is highly correlated with the motion between $t-1$ and $t$. TPM exploits this "motion inertia."
  • Depth as a Structural Filter: By using depth maps to guide spatial attention, the model gains a structural understanding of the scene. It learns that pixels with similar depths in a local neighborhood should likely have consistent motion vectors, which is a powerful way to reject outliers in textureless regions.
  • Hybrid Synergy: The paper demonstrates that deep learning doesn't have to replace geometric optimization; instead, it can be used to provide the "cleanest" possible inputs (consistent flow) to classical backends like Bundle Adjustment.

Key Results

STVO achieved state-of-the-art (SOTA) performance across all tested benchmarks, often by a wide margin:

  • ETH3D: Improved accuracy by 77.8% over the previous best method (reducing Absolute Trajectory Error from 0.190m to 0.042m).
  • KITTI: Improved accuracy by 38.9% on long-sequence estimations, showing remarkable resistance to drift.
  • TUM-RGBD: Achieved the lowest average error (0.080m) compared to influential models like DPVO and DROID-VO.
  • Qualitative Superiority: Visualizations show that STVO produces much sharper, more structurally accurate optical flow maps than its predecessors, especially in "foggy" or high-highlight conditions.

Limitations and Future Work

  • Computational Cost: The added complexity of the SAM and TPM modules increases GPU memory usage (from 4.2GB in the baseline to 6.0GB) and slightly reduces the frame rate (from 9.8 FPS to 7.3 FPS). This might limit its use on low-power edge devices without further optimization.
  • Depth Dependency: While the system can use its own internal depth estimates, it performs best when using high-quality priors from external models. Integrating a more lightweight, specialized depth estimator could be a future direction.
  • Real-time Constraints: Future work could focus on "distilling" these spatio-temporal insights into a faster architecture to reach the 30+ FPS required for some high-speed robotic applications.

Summary updated

BibTeX
@inproceedings{zhang2025leveraging,
  author = {Zhaoxing Zhang and Junda Cheng and Gangwei Xu and Xiaoxiang Wang and Can Zhang and Xin Yang},
  title = {{Leveraging Consistent Spatio-Temporal Correspondence for Robust Visual Odometry}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i10.33125},
}
Figure