GyroViBA: Gyroscope-Guided Correspondence and Differentiable Bundle Adjustment for Visual Odometry

Yuqing Wang, Xiaoji Niu, Yan Wang, Hailiang Tang, Jian Kuang, Tisheng ZhangarXiv 2026

TL;DR

When a camera whips around rapidly, motion blur smears out the visual world, leaving visual odometry (VO) systems blind and lost. GyroViBA solves this by pairing a camera with a humble gyroscope—not just to guess where features moved between frames, but to actively teach a neural network how to track them better through differentiable bundle adjustment, all without needing ground-truth poses or manual labels.

What Problem Does This Paper Address?

Visual odometry—estimating a camera's motion from video—relies on visual correspondence: spotting a distinct point (like a corner of a window) in one frame and finding it again in the next. Even modern deep-learning matchers like SuperPoint or LightGlue hit a wall during aggressive camera motion, especially rapid rotation. Fast rotation causes two headaches at once: huge jumps in where features land on the screen, and severe motion blur that smudges away the very textures those matchers rely on.

Fig. 1: Visual correspondence under normal motion (left) and rapid rotation with severe motion blur (right). A total of 1,024 initial feature points are used for matching. GyroViBA improves matching robustness using gyroscope-derived motion priors. Green and red lines denote inliers and outliers, respectively, based on a 1.5-pixel projection-error threshold.

Self-supervised VO frameworks (like the authors' prior work, ViBA) try to learn better features by using bundle adjustment (BA)—a geometric optimization that refines camera poses and 3D points—to supervise the feature network. But there is a catch: BA can only optimize over the visual measurements it is given. If motion blur destroys the correspondences, BA's geometric constraints fall apart, and the network learns nothing useful. Purely visual learning hits a circular dependency when the visuals themselves are degraded.

Methods

GyroViBA breaks this circular dependency by weaving gyroscope measurements into both the frontend (feature tracking) and the backend (geometric optimization and learning).

Fig. 2: Overall framework of GyroViBA. The frontend performs gyroscope-guided feature initialization between the first two frames, followed by residual- and uncertainty-guided adaptive tracking in subsequent frames. The backend jointly incorporates visual reprojection and gyroscope rotation constraints into differentiable bundle adjustment, where implicit differentiation enables self-supervised geometric learning of the feature network.
  1. Gyroscope-Guided Adaptive Frontend:
  2. Rotation Prediction: Between two frames, GyroViBA integrates angular velocity from the gyroscope to get the relative 3D rotation, then projects each feature point onto the next image to predict where it should be.
  3. Historical Residual Feedback: Because pure rotation ignores translation-induced parallax (and sensor noise), the system tracks the residual—the gap between the gyro prediction and the actual visually refined match—from the previous frame. It scales this residual by the frame-time ratio to nudge the next search center closer to reality.
  4. Uncertainty-Guided Adaptive Matching: Gyroscope uncertainty is propagated to the image plane as a 3$\sigma$ pixel radius. Combined with the median absolute deviation (MAD) of recent residuals and a 4-pixel safety margin, this dynamically sets the search radius, image pyramid levels, and patch size (e.g., switching to a two-level coarse-to-fine strategy when the search radius hits 16–32 pixels).
  5. Differentiable Visual–Gyroscope Backend:
  6. Joint Optimization: During training, GyroViBA's backend minimizes a combined objective: standard visual reprojection errors plus a gyroscope relative-rotation factor on $SO(3)$.
  7. Implicit Differentiation: Instead of unrolling optimization steps, GyroViBA treats the optimized poses and landmarks as an implicit function of the feature locations. By differentiating through the optimality conditions (using the Hessian of the joint visual–gyroscope objective), geometric gradients flow back to the feature network, teaching it to produce features that respect both visual consistency and physical rotation—no ground-truth poses required.

Datasets

  • Training: SpatialVid, a large-scale video dataset. Since synchronized gyroscope data isn't available there, the authors synthesize angular velocities from relative camera rotations between frames (using poses solely to generate synthetic gyro inputs, not as supervision targets).
  • Evaluation: Two challenging visual–inertial benchmarks—UZH-FPV (aggressive drone-like motion with rapid rotations) and VCU-RVI Motion (demanding tracking conditions)—integrated into the OpenVINS framework with an unchanged backend for fair frontend comparison.
  • Ablations: Self-collected GoPro sequences (GoPro-A and GoPro-B) to isolate the effects of gyro prediction vs. rotation-constrained training.

Key Insights and Ideas

  • Gyroscopes as a guide, not a crutch: Gyro-predicted positions can't account for translation parallax, so they shouldn't replace visual matching. Instead, using the residual between gyro predictions and visual refinements lets the system adapt its search window on the fly.
  • Fixing the supervision loop: By adding a gyroscope rotation factor into differentiable BA, the Hessian itself carries rotational information. Even when visual features are blurry, the backend's implicit gradients still steer the feature network toward physically consistent representations.
  • Complementary gains: On GoPro sequences, adding rotation-constrained training alone boosts forward–backward tracking consistency from 40.82% to 53.42%. Adding gyro prediction jumps it to 68.83%. Combining both hits 76.67% (and 74.85% under the highest angular motion).

Key Results

  • UZH-FPV (Odometry): GyroViBA completes all 6 sequences with the lowest average Absolute Translational Error (0.399 m, a 15.5% reduction over KLT) and Absolute Rotational Error (0.030 rad, a 23.3% reduction over ALIKED), running at 52.31 FPS.
  • VCU-RVI Motion (Odometry): While baselines like ORB (1/6) and XFeat (0/6) fail on most sequences, GyroViBA completes all 6 sequences, cutting ATE by 39.2% (0.1879 m) and ARE by 23.1% (0.0937 rad) compared to KLT, at 49.71 FPS.
  • Feature Correspondence (UZH-FPV): Achieves the highest average ground-truth inlier ratio (74.97%) and inlier count (698.9 out of 1,024 candidates), outperforming KLT (67.75% / 507.7) and ALIKED (55.97% / 571.1).

Limitations and Future Work

GyroViBA's frontend relies exclusively on gyroscope measurements and does not use accelerometer data, meaning translation-induced motion must still be inferred visually via historical residuals. Additionally, the differentiable BA module is only used during offline self-supervised training, not in online state estimation. In future work, the authors plan to explore more comprehensive inertial uncertainty modeling and adaptive motion compensation to handle even tougher sensing conditions.

Summary updated

BibTeX
@misc{wang2026gyroviba,
  author = {Yuqing Wang and Xiaoji Niu and Yan Wang and Hailiang Tang and Jian Kuang and Tisheng Zhang},
  title = {{GyroViBA: Gyroscope-Guided Correspondence and Differentiable Bundle Adjustment for Visual Odometry}},
  year = {2026},
  eprint = {2612.03749},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.03749},
}
Figure