Robust Localization with Visual-Inertial Odometry Constraints for Markerless Mobile AR

Changkun Liu, Yukun Zhao, Tristan BraudarXiv 2023 · DOI

Introduction

For Augmented Reality (AR) to provide an immersive experience, virtual objects must remain precisely anchored to the physical environment. This stability depends on accurate camera localization. Currently, mobile AR systems primarily utilize two technologies, each with inherent limitations. Visual-Inertial Odometry (VIO) provides smooth local tracking but suffers from cumulative "drift," causing virtual objects to shift over time. Conversely, Absolute Pose Regression (APR) models use deep learning to estimate global positions from single images; while drift-free, they are prone to significant "noise," resulting in erratic position jumps that break visual immersion.

High-end structure-based localization methods offer high accuracy but are computationally prohibitive for real-time mobile applications. This paper presents VIO-APR, a framework designed to achieve the stability of VIO with the global consistency of APR, maintaining sub-100ms latency on standard smartphones.

Methodology: The VIO-APR Framework

The VIO-APR framework acts as a supervisory layer over existing pose regression models, creating a symbiotic relationship between VIO and APR. The system operates through two alternating stages: Period Alignment and Pose Optimization.

System architecture of the VIO-APR framework, illustrating the interaction between the VIO system, APR model, and the dual-stage alignment and optimization process.

Period Alignment

In this stage, the system analyzes a sequence of frames to validate APR reliability. It compares the relative motion measured by the device's VIO against the motion predicted by the APR model. If these measurements align within predefined distance ($d_{th}$) and orientation ($o_{th}$) thresholds, the APR data is deemed reliable. This allows the system to calculate a high-confidence reference pose to anchor the coordinate system.

Pose Optimization

Once a reference is established, the system uses it to calibrate the VIO's local coordinates to the global world. During subsequent tracking, the system performs probabilistic filtering: if the APR produces a noisy outlier (a sudden jump), the system ignores it and relies on VIO data. If the APR remains stable, it is used to periodically update the anchor, effectively negating VIO drift without introducing jitter.

Dataset and Evaluation

To evaluate the framework, the researchers developed a comprehensive dataset containing 70 recordings across six diverse indoor and outdoor scenes, including squares, churches, and offices. Unlike existing datasets, this collection includes raw VIO data, IMU readings, and GPS data necessary for mobile AR research. Ground truth poses were generated using COLMAP Structure-from-Motion (SfM) for rigorous evaluation.

Sample scenes from the newly released dataset, showing (a) Stairs and (b) Church environments with AR object placement markers.

Key Results

The framework was tested using PoseNet and MS-Transformer APR models. Key findings include:

  • Enhanced Accuracy: In outdoor environments, VIO-APR improved median position accuracy by up to 36% and orientation accuracy by 29%.
  • Precision and Reliability: The percentage of frames achieving high precision (within 0.25m and 2°) increased by up to 112% in specific scenes. Crucially, the system nearly eliminated catastrophic errors (jumps > 5m).
  • Real-Time Performance: On an iPhone 14 Pro Max, the entire pipeline—including the AI model inference—runs in approximately 77ms, well within the requirements for real-time AR.

Conclusion and Future Work

VIO-APR demonstrates that VIO can serve as an effective "sanity check" for APR models, providing the local smoothness required for AR while APR prevents long-term drift. While the system currently requires a few consecutive reliable APR frames to initialize alignment, future work will explore Pose Graph Optimization (PGO) to further refine trajectories in challenging, low-texture environments.

Summary updated

BibTeX
@misc{liu2023robust,
  author = {Changkun Liu and Yukun Zhao and Tristan Braud},
  title = {{Robust Localization with Visual-Inertial Odometry Constraints for Markerless Mobile AR}},
  year = {2023},
  eprint = {2308.05394},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.05394},
}
Figure