Keyframe-Based Feed-Forward Visual Odometry
Weichen Dai, Wenhan Su, Da Kong, Yuhang Ming, Wanzeng Kong
TL;DR
This work tackles the inefficiency of end-to-end visual foundation-model visual odometry by introducing a reinforcement-learning–based keyframe policy that adaptively filters input frames within a sliding-window VO pipeline built on VGGT. The method trains on synthetic data (TartanAir) and demonstrates strong generalization to real-world datasets (EuRoC, TUM-RGBD, KITTI) while maintaining competitive accuracy with minimal runtime overhead. By explicitly maintaining and selecting keyframes, the approach improves local estimation and robustness without requiring explicit geometric heuristics or post-processing. The work highlights the potential of data-driven memory management for scalable, feed-forward VO and points to future directions toward fully feed-forward SLAM with loop closure.
Abstract
The emergence of visual foundation models has revolutionized visual odometry~(VO) and SLAM, enabling pose estimation and dense reconstruction within a single feed-forward network. However, unlike traditional pipelines that leverage keyframe methods to enhance efficiency and accuracy, current foundation model based methods, such as VGGT-Long, typically process raw image sequences indiscriminately. This leads to computational redundancy and degraded performance caused by low inter-frame parallax, which provides limited contextual stereo information. Integrating traditional geometric heuristics into these methods is non-trivial, as their performance depends on high-dimensional latent representations rather than explicit geometric metrics. To bridge this gap, we propose a novel keyframe-based feed-forward VO. Instead of relying on hand-crafted rules, our approach employs reinforcement learning to derive an adaptive keyframe policy in a data-driven manner, aligning selection with the intrinsic characteristics of the underlying foundation model. We train our agent on TartanAir dataset and conduct extensive evaluations across several real-world datasets. Experimental results demonstrate that the proposed method achieves consistent and substantial improvements over state-of-the-art feed-forward VO methods.
