A Plug-and-Play Learning-based IMU Bias Factor for Robust Visual-Inertial Odometry

Yang Yi, Kunqing Wang, Jinpu Zhang, Zhen Tan, Xiangke Wang, Hui Shen, Dewen Hu · OpenReview

Abstract

The bias of low-cost Inertial Measurement Units (IMU) is a critical factor affecting the performance of Visual-Inertial Odometry (VIO). In particular, when visual tracking encounters errors, the optimized bias results may deviate significantly from the true values, adversely impacting the system's stability and localization precision. In this paper, we propose a novel plug-and-play framework featuring the Inertial Prior Network (IPNet), which is designed to accurately estimate IMU bias. Recognizing the substantial impact of initial bias errors in low-cost inertial devices on system performance, our network directly leverages raw IMU data to estimate the mean bias, eliminating the dependency on historical estimates in traditional recursive predictions and effectively preventing error propagation. Furthermore, we introduce an iterative approach to calculate the mean value of the bias for network training, addressing the lack of bias labels in many visual-inertial datasets. The framework is evaluated on two public datasets and one self-collected dataset. Extensive experiments demonstrate that our method significantly enhances both localization precision and robustness, with the ATE-RMSE metric improving on average by 46%.

Introduction

Visual-Inertial Odometry (VIO) serves as the fundamental "inner ear" for autonomous robots and augmented reality systems, fusing high-rate inertial data with visual information to track movement in 3D space. However, the performance of these systems is often hampered by the inherent instability of low-cost Inertial Measurement Units (IMUs). Specifically, IMUs suffer from time-varying biases—small errors in acceleration and angular velocity readings—that, if left uncorrected, lead to exponential position drift.

Standard VIO backends attempt to estimate these biases by correlating IMU measurements with tracked visual features. This approach works well in ideal conditions but fails in "visually degraded" environments. When a camera encounters motion blur, low-light conditions, or featureless surfaces, the visual constraints become unreliable. In these scenarios, the optimization engine may erroneously adjust the IMU bias to fit noisy or incorrect visual data, leading to catastrophic localization failure.

Conceptual overview of how IPNet mitigates drift during visual degradation by providing a stable bias prior.

The IPNet Framework

To address this vulnerability, we propose IPNet (Inertial Prior Network), a deep learning module designed to provide a stable bias estimate independent of visual input.

Non-Recursive Bias Estimation

Unlike traditional recursive filters that update bias estimates based on previous states, IPNet adopts a non-recursive approach. It processes a sliding window of raw IMU data (typically 1000 samples) to predict the mean bias. This design ensures that errors from past frames do not propagate through the system, providing a stable prior even when the visual pipeline is failing. The network utilizes an encoder-decoder architecture with multi-head self-attention to capture the unique "motion signatures" of specific platforms.

System Integration

The framework is designed to be "plug-and-play." The bias predicted by IPNet is integrated into a standard factor-graph-based VIO backend as an additional Bias Prior Factor. This factor acts as a physical sanity check, constraining the optimization and preventing the estimated bias from drifting into unrealistic values during periods of poor visual tracking.

The proposed VIO framework integrating IPNet as a plug-and-play bias prior factor.

Iterative Label Generation

A significant hurdle in training learning-based IMU models is the lack of ground truth bias labels in standard datasets. We overcome this by introducing an iterative optimization method. By utilizing high-precision ground truth poses (e.g., from Vicon systems), we can back-calculate the average IMU bias for specific sequences, creating the high-quality labels necessary for supervised learning.

Experimental Results

The proposed method was rigorously tested across multiple datasets, including the public EuRoC and TumVi datasets, as well as custom indoor and outdoor datasets.

  • Accuracy and Robustness: The integration of the IPNet bias factor resulted in an average improvement of 46% in Absolute Trajectory Error (ATE-RMSE). Crucially, in sequences where baseline VIO systems typically diverge due to aggressive motion or poor lighting, our method maintained stable and accurate localization.
  • Real-Time Efficiency: IPNet achieves an inference frequency of 500Hz on modern hardware, significantly exceeding the typical 200Hz output rate of standard IMUs. This ensures that the bias prior can be provided with negligible latency for real-time robotics.
  • Generalization: Experiments showed that the network's ability to learn platform-specific motion characteristics allows it to generalize effectively. For instance, a model trained on handheld data was successfully applied to an autonomous vehicle platform, demonstrating the robustness of the learned motion priors.

Conclusion

By decoupling IMU bias estimation from visual tracking, we have developed a more resilient VIO framework. IPNet provides a robust inertial anchor that prevents catastrophic drift in challenging environments. Future work will focus on developing self-supervised training pipelines to eliminate the need for external ground truth systems during label generation.

Summary updated

Abstract

The bias of low-cost Inertial Measurement Units (IMU) is a critical factor affecting the performance of Visual-Inertial Odometry (VIO). In particular, when visual tracking encounters errors, the optimized bias results may deviate significantly from the true values, adversely impacting the system's stability and localization precision. In this paper, we propose a novel plug-and-play framework featuring the Inertial Prior Network (IPNet), which is designed to accurately estimate IMU bias. Recognizing the substantial impact of initial bias errors in low-cost inertial devices on system performance, our network directly leverages raw IMU data to estimate the mean bias, eliminating the dependency on historical estimates in traditional recursive predictions and effectively preventing error propagation. Furthermore, we introduce an iterative approach to calculate the mean value of the bias for network training, addressing the lack of bias labels in many visual-inertial datasets. The framework is evaluated on two public datasets and one self-collected dataset. Extensive experiments demonstrate that our method significantly enhances both localization precision and robustness, with the ATE-RMSE metric improving on average by 46\%. The source code and video will be available at \textcolor{red}{https://github.com/yiyscut/VIO-IPNet.git}.
BibTeX
@misc{yi2025plug,
  author = {Yang Yi and Kunqing Wang and Jinpu Zhang and Zhen Tan and Xiangke Wang and Hui Shen and Dewen Hu},
  title = {{A Plug-and-Play Learning-based IMU Bias Factor for Robust Visual-Inertial Odometry}},
  year = {2025},
  eprint = {2503.12527},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.12527},
}
Figure