# MAC-I$^2$: Learned Metrics-Aware Covariance for Robust Visual-Inertial Fusion in Initialization and Calibration

Robotics.world

> Visual-inertial fusion combines camera and IMU data by weighting each according to an assigned uncertainty, but existing systems (VINS-Mono, OKVIS, ORB-SLAM3, MSCKF, OpenVINS) use predefined values…

**arXiv**: 2609.07116 · Preprint · not peer-reviewed

**Published**: 2026-09-07

**Authors**: Xiang Fei, Yuheng Qiu, Can Xu, Yutian Chen, Ruogu Li, Xingxing Zuo, Wenshan Wang, Sebastian Scherer

## In plain words

Visual-inertial fusion combines camera and IMU data by weighting each according to an assigned uncertainty, but existing systems (VINS-Mono, OKVIS, ORB-SLAM3, MSCKF, OpenVINS) use predefined values — for example, a fixed 1.5-pixel noise on visual residuals in VINS-Mono, or covariances propagated from preset IMU noise parameters.

## AI summary

## Overview

**Research area:** Visual-inertial state estimation (robotics / SLAM), specifically uncertainty modeling and sensor fusion, applied here to visual-inertial initialization and camera–IMU extrinsic calibration.

**Technical level:** Advanced. The paper assumes familiarity with IMU preintegration, factor-graph optimization, SE(3)/SO(3) perturbation Jacobians, and learned uncertainty models.

**Scope:** A framework that replaces hand-tuned measurement covariances with learned, "metrics-aware" covariances for both the visual and inertial modalities, demonstrated on visual-inertial initialization and calibration across EuRoC, VBR, and TUM-VI.

## What This Paper Is About

Visual-inertial fusion combines camera and IMU data by weighting each according to an assigned uncertainty, but existing systems (VINS-Mono, OKVIS, ORB-SLAM3, MSCKF, OpenVINS) use predefined values — for example, a fixed 1.5-pixel noise on visual residuals in VINS-Mono, or covariances propagated from preset IMU noise parameters. These fixed weights cannot reflect how trustworthy a measurement actually is in a given context, such as illumination changes, dynamic objects, textureless regions, or particular motion patterns.

The paper's goal is to make both modalities "compete on their own merits" by learning covariances whose predicted magnitude faithfully matches the actual measurement error — a property the authors call *metrics-aware* — and then using those covariances inside a visual-inertial initialization and calibration system.

## Key Contributions

1. **MAC-I² framework:** described as the first framework to fuse vision and IMU through learned metrics-aware covariances for both modalities, weighting each measurement by local reliability rather than predefined uncertainty.
2. **Metrics-aware visual pose covariance:** derived by propagating MAC-VO's learned feature-matching uncertainties into a pose covariance through the information matrix at convergence of the visual pose-graph optimization. The authors report that the covariance model, trained only on synthetic TartanAir data, produces metrics-aware pose uncertainties on real datasets without fine-tuning.
3. **Metrics-aware inertial covariance:** a learned IMU model with a *learnable initial covariance* (replacing standard propagation from a zero covariance) plus a held-out fine-tuning strategy that keeps the covariance metrics-aware on unseen sequences. The GRU is removed from the uncertainty branch in favor of a CNN encoder shared with the correction prediction.
4. **A visual-inertial initialization and calibration system** built on these covariances, with two workflows — one using the learned IMU model (no explicit bias estimation needed) and one using raw IMU data with explicit gyroscope bias estimation — evaluated against VINS-Mono, VINS-Fusion, ORB-SLAM3, DRT, Stereo-NEC, sqrt-VINS, and FF-VIO-Init.

## Main Findings

- **EuRoC initialization accuracy:** with the learned IMU model, MAC-I² reaches an average gravity direction error of 0.418° and velocity RMSE of 0.018 m/s, versus the best baselines on each metric, DRT-t (1.137°) and VINS-Fusion (0.031 m/s). The abstract describes this as roughly a 60% gravity-error reduction and 42% velocity-error reduction; the experiments section states about 63% for gravity.
- **EuRoC success rate:** 0.999 (99.9%) across all evaluated segments. Even without the learned IMU model the method reaches 0.889° and 0.018 m/s with a 0.999 success rate, still above every baseline. Reported baseline success rates on EuRoC average 0.318 (VINS-Mono), 0.633 (DRT-t), 0.640 (DRT-l), 0.582 (VINS-Fusion), 0.820 (ORB-SLAM3), 0.823 (Stereo-NEC), 0.704 (sqrt-VINS mono), 0.736 (sqrt-VINS stereo), and 0.866 (FF-VIO-Init).
- **Gap widens on hard sequences:** on EuRoC V103, VINS-Mono, DRT-l, and VINS-Fusion achieve success rates of only 0.040, 0.279, and 0.408, and the strongest baseline Stereo-NEC drops to 0.537, while MAC-I² achieves 1.00.
- **VBR robustness:** on the 8 VBR sequences with ground-truth poses, VINS-Mono and sqrt-VINS fall below a 0.10 success rate and the best baseline ORB-SLAM3 reaches 0.561; MAC-I² reaches 0.803 (about 80%) with the lowest average errors of 1.136° and 0.191 m/s. Only the workflow without the learned IMU model is reported in the VBR table.
- **Covariance quality, vision:** binning pose estimates by predicted uncertainty shows mean translation and rotation errors tracking the ideal y = x relationship on EuRoC, indicating the predicted uncertainty matches actual pose error.
- **Covariance quality, IMU:** on unseen EuRoC sequences (MH_02, MH_04, V1_01, V1_03, V2_02), the method's uncertainties follow the y = x line while AirIMU's remain overconfident — the motivation for the held-out fine-tuning step.
- **Gyroscope bias:** the method estimates gyroscope bias accurately and robustly across all EuRoC sequences (shown qualitatively in a figure; no numeric bias table is reported in the provided text).
- **Calibration:** on the 4 TUM-VI IMU calibration sequences with aggressive six-DoF motion, repeated 10 times per sequence, the method produces accurate and consistent extrinsics, whereas VINS-Mono loses tracking in most trials and drifts substantially. No numeric rotation or translation errors are reported in the provided text.
- **Ablation (partially reported):** on EuRoC, identical (identity) visual + identity IMU covariance gives 0.021 m/s average velocity and 0.463° gravity error; learned visual + identity IMU gives 0.020 m/s; learned visual + learned IMU gives 0.018 m/s. Identity visual + learned IMU yields 0.053 m/s, i.e., worse than the identity baseline — the remaining rows of that table are truncated in the provided content.

## Methodology in Plain English

The authors start from an existing learned visual odometry, MAC-VO, which predicts for each matched feature a 3D uncertainty that quantitatively reflects the true matching error. Because initialization and calibration fuse *poses* rather than raw features, they convert that feature-level uncertainty into a pose-level covariance: at the solution of the visual pose-graph optimization, the Hessian (information matrix) built from the per-feature covariances is inverted to approximate the pose covariance. This converts a per-feature confidence into a 6-DoF uncertainty on each relative camera motion.

For the IMU, they observe a consistent pattern: after bias correction, integration error jumps sharply at the beginning of an integration window and then grows slowly. Standard preintegration starts from a zero covariance and cannot represent this. Prior learned work (AirIMU) captured it with a recurrent network whose hidden state inflates noise at sequence start, but that ties the behavior to where the recurrent state is initialized — problematic when IMU data is preintegrated in segments for real-time use. The authors instead make the *initial covariance itself a learned parameter*, so every segment's propagation starts with the appropriate inflation, and they drop the GRU in favor of a CNN encoder shared with the measurement-correction branch. Training uses a Gaussian negative log-likelihood loss with a Mahalanobis term (rewarding small uncertainty on accurate integrations) and a log-determinant term (penalizing inflated uncertainty).

Because learned covariances tend to become overconfident on unseen data, they split the training set, train the full network on the first part, then fine-tune only the initial covariance and the uncertainty decoder on the held-out part with everything else frozen.

The showcase system then solves a joint optimization over poses, velocities, gravity, biases, and camera–IMU extrinsics. Visual residuals constrain *relative poses* rather than raw features, with covariance obtained by propagating the pose covariance through the inverse left Jacobian of SE(3); inertial residuals come from preintegration with the predicted preintegration covariance. When the learned IMU model is unavailable, gyroscope bias and extrinsic rotation are estimated first by aligning visual rotations with IMU-integrated rotations.

## Why This Matters

This work attacks a structural weakness in visual-inertial estimation: the trust between camera and IMU is almost always a constant chosen offline, so a system can be confidently wrong exactly when conditions degrade. Providing *calibrated* uncertainty on both sides makes the fusion self-weighting, which is most valuable precisely in the failure regimes (darkness, motion blur, dynamic scenes) where existing systems collapse — reflected in the success-rate gaps on V103 and VBR.

Real-world applications:

- **Drones and MAVs:** reliable initialization from short, aggressive motion segments, where VINS-Mono-style methods frequently fail.
- **AR/VR headsets and handheld devices:** fast, target-free camera–IMU extrinsic calibration without checkerboards, plus robust tracking under rapid head motion.
- **Field robots and autonomous vehicles:** start-up and re-initialization in visually degraded environments.
- **Sensor manufacturing and deployment tooling:** automated per-unit calibration and noise characterization in place of manual tuning.

Industry relevance: fixed noise parameters are a notorious source of tuning burden in every production VIO stack; a learned, transferable covariance model could reduce per-platform tuning and provide the calibrated uncertainty that downstream sensor fusion (e.g., GNSS/INS, LiDAR) needs to allocate trust correctly.

## Future Directions

- **Beyond initialization:** the covariances are demonstrated only in initialization and calibration; extending them to the full sliding-window VIO back-end is the obvious next step.
- **Training-data dependence:** the learned IMU model requires training sequences per IMU, and evaluation was restricted to sequences not used in training; how well the learned initial covariance transfers across IMUs, temperatures, and sampling rates is unresolved.
- **Accelerometer bias:** it is explicitly ignored in the no-learned-IMU workflow because it is coupled with gravity under small motion — the paper does not report how this is handled in the learned workflow.
- **Full quantitative calibration reporting:** the provided results for TUM-VI calibration are qualitative (figures), leaving numeric extrinsic error comparisons with VINS-Mono and Kalibr ground truth as an open reporting gap, as are the truncated ablation rows for gravity error under different covariance settings.

## Target Audience

Robotics researchers and graduate students working on visual-inertial odometry/SLAM and learned uncertainty estimation; practitioners building VIO stacks who need robust initialization and target-free calibration; and engineers integrating learned noise models into factor-graph or filter-based estimators. Readers without a background in Lie-group optimization and preintegration will find the methodology section demanding.

## Authors’ abstract

Visual-Inertial (VI) fusion is fundamental to accurate and robust state estimation, where camera and IMU measurements are combined according to their respective uncertainties. Existing methods, however, fuse the two modalities with predefined uncertainties, regardless of how reliable each is in the local context, and thus often struggle under challenging environments involving illumination changes, dynamic objects, and textureless regions. In this paper, we present…

[The full abstract on arXiv](https://arxiv.org/abs/2609.07116)

[Read the original paper](https://arxiv.org/abs/2609.07116)

## Related papers

- [SUPER ODOMETRY 2.0: Resilient Odometry via Hierarchical Adaptation](https://robotics.world/paper/super-odometry-2-0-resilient-odometry-via-hierarchical-adaptation-2608.25427) 2026-08-26 · cs.RO · Also by Sebastian Scherer, Wenshan Wang
- [SuperMap: A Spatio-Temporal SLAM System for Visual-Language Navigation](https://robotics.world/paper/supermap-a-spatio-temporal-slam-system-for-visual-language-navigation-2608.22896) 2026-08-24 · cs.RO · Also by Sebastian Scherer, Wenshan Wang
- [Point It, Strike It: Direction-Conditioned Dynamic Manipulation of Deformable Linear Objects](https://robotics.world/paper/point-it-strike-it-direction-conditioned-dynamic-manipulation-of-2610.09573) 2026-10-07 · cs.RO · Also by Ruogu Li, Xiang Fei
- [Structured Perception Representations for Off-road Dynamics Learning](https://robotics.world/paper/structured-perception-representations-for-off-road-dynamics-learning-2610.22900) 2026-10-16 · cs.RO · Also by Sebastian Scherer, Wenshan Wang
- [TravSUITE: Traversability via Self-Supervised, Uncertainty-Aware IRL and Terrain Estimation](https://robotics.world/paper/travsuite-traversability-via-self-supervised-uncertainty-aware-irl-and-2610.32130) 2026-10-23 · cs.RO · Also by Sebastian Scherer, Wenshan Wang

---

Canonical: https://robotics.world/paper/mac-i-2-learned-metrics-aware-covariance-for-robust-visual-inertial-2609.07116
