arXiv:2608.24544cs.CVAug 2026

Manuscript Offprint

arXiv:2608.24544

KLTNet: Learning Sparse Feature Tracking for Robust and Accurate Monocular Visual-Inertial Odometry

Renbiao Jin, Danping Zou, Wenxian Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Renbiao Jin, Danping Zou †^{\dagger}, Wenxian Yu

Abstract—Many feature-based visual-inertial odometry (VIO) systems rely on sparse feature tracking, whose accuracy and robustness directly affect state estimation. Classical KLT trackers rely primarily on local image patches and can become unreliable under rapid motion or in low-texture environments. We propose KLTNet, a lightweight learning-based, plug-and-play sparse feature tracker designed to replace classical KLT trackers in KLT-based VIO front ends. KLTNet follows a coarse-to-fine, dense-to-sparse architecture that combines low-resolution dense optical flow for robust global motion initialization with triplet-patch refinement for accurate and temporally consistent tracking. A fixed reference patch provides a stable anchor throughout each feature track and helps reduce accumulated tracking drift. In addition, KLTNet predicts anisotropic confidence weights supervised through differentiable multi-view triangulation, which can be used as observation weights in compatible VIO estimators. Experiments with VINS-Mono and OpenVINS on public benchmarks and a self-collected low-texture dataset demonstrate improved tracking and odometry accuracy over classical KLT, while maintaining real-time performance on an embedded platform.

I. INTRODUCTION

Robust and accurate visual-inertial odometry (VIO) is important for applications such as robotics, autonomous driving, and AR/VR. In feature-based VIO systems, sparse feature tracking in the visual front end directly affects the accuracy and robustness of state estimation. The Kanade–Lucas–Tomasi (KLT) [1] tracker is widely used because of its efficiency and high frame-to-frame localization accuracy. However, KLT estimates feature motion mainly from local image patches. Without sufficient image context, tracking can become unreliable under rapid motion or in low-texture environments, such as the challenging corridor example shown in Fig. 1.

Recent dense optical flow methods, such as RAFT [2] and SEA-RAFT [3], achieve robust correspondence estimation by exploiting image-wide context. Inspired by these developments, we construct a simple baseline, termed RAFT-Sparse, which propagates sparse feature positions by sampling dense RAFT flow between consecutive frames. However, our experiments show that directly replacing KLT with RAFT-Sparse does not consistently improve odometry accuracy. A key limitation is that independently estimated pairwise flow is recursively chained along each feature track, allowing small tracking errors to accumulate over time. These observations suggest that global correspondence robustness alone is insufficient for VIO, where accurate and temporally consistent sparse feature tracks are also important.

Figure

(b) Low Texture + Rapid Rotation

(c) Weak Texture + Steady Translation

Fig. 1. Trajectory comparison in a low-texture environment using VINS-Mono with the classical KLT and the proposed KLTNet tracker. (a) KLTNet closely follows ground truth (GT), while classical KLT drifts under challenging scenarios. (b) During rapid rotation (T1-T4) in low-texture regions, KLT exhibits large drift (red dashed circle), but KLTNet remains stable. (c) In steady translation (green dashed box), both perform similarly, demonstrating that KLTNet performs comparably under moderate motion and remains robust when classical KLT degrades.

Multi-frame learned systems such as DROID-SLAM [4], DPVO [5] and DVI-SLAM [6] reduce temporal drift by jointly considering visual correspondence and state estimation across multiple frames. However, these methods are designed as complete odometry or SLAM systems in which the learned visual front end is closely coupled with the back end. They are therefore difficult to use as direct replacements for the sparse tracker in existing KLT-based VIO systems and generally introduce additional computational and memory costs. In this work, we instead focus on a standalone sparse tracker that preserves the track-based interface of conventional VIO front ends while improving tracking robustness, accuracy, and temporal consistency.

To this end, we propose KLTNet, a lightweight learning-based, plug-and-play sparse feature tracker designed to replace the classical KLT tracker in KLT-based VIO systems. KLTNet follows a coarse-to-fine, dense-to-sparse architecture. It first estimates low-resolution dense optical flow to capture global motion cues and provide robust initialization for sparse feature tracks. The coarse feature positions are then refined using triplet image patches from the reference, previous, and current frames to improve localization accuracy. Fixing the reference patch at track initialization provides a stable reference throughout the lifetime of a track, helping suppress drift accumulation from recursive frame-to-frame tracking.

†^{\dagger}Corresponding Author. All authors are with Shanghai Jiao Tong University, Shanghai 200240, China. (e-mail: {renbiaojin, dpzou}@sjtu.edu.cn)

Beyond accurate feature tracking, KLTNet also predicts anisotropic confidence weights trained under multi-view geometric constraints through differentiable triangulation. The learned weights provide relative directional weighting for feature observations and can be used for adaptive observation weighting in compatible VIO estimators.

We validate KLTNet by integrating it into VINS-Mono and OpenVINS and evaluating it on multiple public datasets and a self-collected low-texture dataset. Experimental results show improved feature tracking accuracy and robustness, as well as lower odometry errors across both VIO systems. KLTNet also achieves real-time tracking on an NVIDIA Jetson AGX Orin. Our main contributions are summarized as follows:

• We propose KLTNet, a lightweight learning-based, plug-and-play sparse feature tracker with a coarse-to-fine, dense-to-sparse architecture. It combines global dense-flow initialization with triplet-patch refinement to improve tracking robustness, accuracy, and temporal consistency.

• We introduce differentiable multi-view triangulation for learning anisotropic observation weights, enabling adaptive feature weighting in compatible VIO estimators.

• We integrate KLTNet into VINS-Mono and OpenVINS and demonstrate improved odometry accuracy over the classical KLT tracker. With VINS-Mono, KLTNet reduces the average absolute trajectory error by 34% on EuRoC and 49% on TUM-VI, while maintaining real-time performance on a resource-constrained platform.

References (23)