Research
Smart Fusion for Adaptive Visual-IMU Weighting in cuVSLAM Sparse Bundle Adjustment
In cuVSLAM, the relative influence of camera measurements and IMU measurements during optimization is set once, from pre-calibrated noise covariances (equivalent to α = 1.0), and never changes while…

- arXiv
- 2610.20226 · Preprint · not peer-reviewed
- Published
- 2026-10-14
- Authors
- Wonju Lee, Dara Molloy, Abhilash Nand Kumar, Onias Castelo, Petar Trslic, David Adley, Conor Ferguson, Hesam Rabeti
In plain words
In cuVSLAM, the relative influence of camera measurements and IMU measurements during optimization is set once, from pre-calibrated noise covariances (equivalent to α = 1.0), and never changes while the system runs. That is fine when the calibrated noise model still describes the data, but sparse texture, large depth variation, motion blur, or lighting changes can make the fixed balance a poor fit.
AI summary
Overview
Research area: Visual-inertial odometry (VIO) and sparse bundle adjustment — specifically the adaptive weighting of visual versus inertial residuals inside a tightly-coupled optimizer, with a small learned component predicting that weight at runtime.
Technical level: Intermediate. Readers need some familiarity with bundle adjustment, IMU preintegration, and information matrices, but the core idea (scale one term up or down) is simple and the paper is short.
Scope in one sentence: The paper shows that varying a single scalar visual-weight multiplier in cuVSLAM's sparse bundle adjustment (SBA) collapses into two distinct performance regimes, and trains a 914-parameter MLP to pick the regime per SBA call from tracker-internal statistics, reducing mean RMSE APE by 27.7% on EuRoC MAV and 14.9% on TUM-VI Room under leave-one-out cross-validation.
What This Paper Is About
In cuVSLAM, the relative influence of camera measurements and IMU measurements during optimization is set once, from pre-calibrated noise covariances (equivalent to α = 1.0), and never changes while the system runs. That is fine when the calibrated noise model still describes the data, but sparse texture, large depth variation, motion blur, or lighting changes can make the fixed balance a poor fit.
The paper asks whether that balance can be adjusted on the fly, cheaply, using only information the tracker already has. It introduces a scalar α ≥ 1 that upscales the visual information matrix relative to the IMU preintegration constraint, and a lightweight network that chooses between a low-α and a high-α setting before each SBA call.
Key Contributions
-
Empirical regime characterization. Across the candidate set α ∈ {1.0, 2.0, 5.0, 10.0, 20.0}, trajectories cluster into an "imu-trust" regime (α ∈ {1, 2}) and a "vision-trust" regime (α ∈ {10, 20}), with α = 5.0 treated as a transition case. Within-regime differences are small relative to between-regime differences, which motivates reformulating α-selection as binary classification.
-
Smart Fusion, a 914-parameter Visual Quality Estimator (VQE). A 10 → 32 → 16 → 2 MLP with ReLU activations and softmax output maps a 10-dimensional feature vector — assembled entirely from statistics the tracker already maintains — to a per-SBA regime prediction, setting α before each optimization call. The cuVSLAM solver structure is unchanged; the only additions are a scalar multiplier on the visual information matrix and one forward pass.
-
A sequential non-causal greedy label-generation procedure. Each training sequence is divided into S = 10 equal-length segments by camera frame count, segments are assigned greedily in order (each candidate evaluated over N = 3 independent tracker runs, future segments held at α = 1.0), and the winning α is mapped to a binary label. Segments selecting α = 5.0 are discarded as uncertain. The authors note that exhaustive joint optimization would require 5^10 ≈ 9.8 × 10⁶ combinations per sequence, so this is a reference, not a strict upper bound.
-
Leave-one-out evaluation on two datasets. LOOCV over 11 EuRoC MAV sequences and 5 TUM-VI Room sequences, showing 27.7% and 14.9% mean RMSE APE reductions respectively.
Main Findings
-
Two regimes, not a continuum. On EuRoC MH_01, both α ∈ {1.0, 2.0} yield 0.138 m APE while both values in {10.0, 20.0} yield approximately 0.073 m — a 47% difference between regimes and a small difference within each.
-
EuRoC MAV results (LOOCV, 11 folds, mean over N = 3 runs). Mean RMSE APE falls from 0.202 m at α = 1.0 to 0.146 m with Smart Fusion (−27.7%). The greedy reference reaches 0.121 m (−40.2%). Smart Fusion therefore captures 69% of the baseline-to-reference difference.
-
Largest per-sequence gains. V1_03 (−49.7%), MH_01 (−47.0%), V1_02 (−40.6%), and MH_05 (−40.0%). V1_01 shows 0.0% change because all α values produce the same 0.090 m APE on that sequence.
-
Worst residual gap. V2_03 is the case where Smart Fusion (0.481 m) trails the greedy reference (0.331 m) most in absolute terms. It also has the highest baseline APE among evaluated EuRoC sequences, and no sequence in its training fold has a comparable baseline APE.
-
TUM-VI Room results (LOOCV, 5 folds). Mean APE falls from 0.270 m to 0.230 m (−14.9%), against a greedy reference of 0.222 m (−18.0%). That corresponds to 83% of the baseline-to-reference difference. room1 improves 29.4% and room3 improves 21.3%; room2 changes −3.2%, room4 −0.7%, and room5 0.0%. Room6 is excluded because its ground truth coverage does not span the full trajectory in the authors' setup.
-
Dataset-dependent class balance supports a classifier. The greedy procedure on EuRoC produces 110 segment-level assignments across 11 sequences, of which 103 get a definite label (9 imu-trust, 94 vision-trust) and 7 fall in the transition region and are excluded. TUM-VI Room is far more balanced: approximately 57% imu-trust and 43% vision-trust of labeled segments.
-
Label proportions shift between segment and call level. Repeated segment labels across SBA calls produce approximately 13,700 feature vectors on EuRoC, of which approximately 9,500 carry a definite binary label (≈31% fall in the transition region and are excluded from training). Among labeled calls the greedy reference assigns roughly 76% imu-trust and 24% vision-trust — the reverse of the segment-level majority, because each segment label is repeated according to how many SBA calls it contains. The effective label count for EuRoC is therefore 103, at the segment level.
-
Training recipe details. Focal loss with γ = 2.0, inverse-class-frequency weights with the imu-trust weight additionally multiplied by 2 before normalization (final w_imu ≈ 0.78, w_vis ≈ 1.22), Adam at 1×10⁻³ with weight decay 1×10⁻⁴, batch size 64, 500 epochs with cosine annealing. Focal loss is chosen to handle the class imbalance; the extra imu-trust boost reflects a design preference against predicting vision-trust under poor visual conditions.
-
Known limitation the authors state. Features are collected from a common α = 1.0 baseline rollout, but at inference the trajectory may diverge from that rollout because of earlier MLP decisions, so the input distribution can shift.
-
Not reported. The paper reports no runtime, latency, memory, or power figures for the added forward pass, and no results for α values below 1.0 (explicitly not explored).
Methodology in Plain English
Start from the standard cuVSLAM cost function: a sum of IMU preintegration residuals plus a sum of reprojection residuals, each weighted by an information matrix derived from calibrated noise. Multiply the visual term by a scalar α. When α = 1.0 you recover the shipped system; larger α tells the optimizer to trust the camera more.
Rather than searching over α continuously, the authors first swept a small candidate set {1.0, 2.0, 5.0, 10.0, 20.0} and observed that results bunch into a low group and a high group with a messy middle. That turns the problem into a coin flip: low α or high α.
To generate training labels without hand annotation, they built an oracle. Each sequence is cut into 10 chunks by frame count. Starting from the first chunk, they tried every candidate α on that chunk (three runs each, to average out CUDA non-determinism), held all later chunks at the default 1.0, and kept whichever α gave the lowest final full-trajectory APE. They fixed that choice, moved to the next chunk, and repeated. Chunks that preferred α = 5.0 were thrown out as ambiguous.
The classifier itself sees only ten numbers the tracker already computes: log observation count, log landmark count, horizontal and vertical pixel scatter, log IMU preintegration interval, log mean depth, depth coefficient of variation, feature survival rate, log mean reprojection error, and log error spread. These are grouped in the paper as quantity, coverage and timing, geometry, and stability. A log transform is applied for numerical stability. Nothing new is sensed and no images are fed to the network.
At inference, the network runs once immediately before each SBA call on the current feature vector and outputs a class; imu-trust maps to α = 2.0 and vision-trust to α = 10.0, chosen as the representatives nearest the transition region in each group. Predictions are made per call with no temporal smoothing, even though training supervision was per segment. Evaluation uses RMSE APE with Sim(3) Umeyama alignment, averaged over three runs, with LOOCV so the held-out sequence was never seen in training.
Why This Matters
Most VIO systems pick one sensor weighting at calibration and live with it, and most adaptive schemes work at the per-feature or per-residual level (robust costs, per-feature covariance scaling). This paper shows that a single global scalar, toggled coarsely between two settings by a sub-thousand-parameter network, is enough to recover a large fraction of the benefit of a full oracle search. That is a useful data point for anyone who assumed backend weighting needs continuous, expensive tuning.
It also matters practically because the intervention is nearly free in engineering terms: no change to the solver, no new sensor, no image processing — one scalar and one tiny forward pass on numbers the tracker already holds.
Real-world applications:
- Mobile robots and AGVs operating indoors where texture varies sharply between rooms, corridors, and warehouses.
- Drones and handheld scanning on the EuRoC-style trajectories where motion blur and fast rotation degrade feature tracking intermittently.
- AR/VR headsets and wearable cameras that must stay localized through lighting changes and dynamic occlusion without recalibration.
- Consumer and industrial products built on embedded VIO stacks, where the compute budget rules out a second neural network in the loop.
Industry relevance: the work comes from Analog Devices with an author from NVIDIA, and targets cuVSLAM — an open-source, GPU-accelerated system the authors explicitly thank NVIDIA for releasing. The framing is deployment-oriented: keep the solver, add a small learned policy, measure against the shipped default. That combination of an embedded-sensor vendor and a GPU-accelerated open-source SLAM stack makes the result directly relevant to product teams shipping visual-inertial localization on power- and compute-constrained hardware.
Future Directions
- Close the gap to the oracle. Smart Fusion captures 69% of the greedy-reference improvement on EuRoC and 83% on TUM-VI. The authors attribute the remainder to the mismatch between local per-SBA features and a full-trajectory APE objective, and to thin training coverage of hard conditions — both are open problems.
- Temporal features and smoothing. The paper uses no temporal smoothing and classifies each SBA call independently, despite segment-level supervision. Adding history is the authors' own stated next step and could address cases like V2_03, where no training sequence resembles the held-out one.
- Explore α below 1.0. Every candidate tested sits at or above the calibrated baseline, so the visual term is never down-weighted relative to default. The behavior below α = 1.0 is explicitly unexamined, and would complete the picture of how far the imu-trust direction should extend.
- Distribution shift between training and deployment. Features are gathered from a fixed α = 1.0 rollout, but at inference the MLP's own past decisions change the trajectory and therefore the feature distribution. Quantifying and correcting that feedback loop is a natural follow-up, as is testing whether the feature set transfers beyond EuRoC and TUM-VI Room.
Target Audience
Robotics engineers and researchers working on tightly-coupled visual-inertial odometry who want a low-cost, deployable alternative to continuous sensor-weight tuning. It suits practitioners integrating cuVSLAM or similar GPU-accelerated backends, and students who want a compact, well-scoped example of oracle-supervised learning applied to an optimization backend rather than to a front-end or a policy. Readers looking for a deep-learning SLAM paper, dense bundle adjustment, or extensive ablation studies will find it thin; readers who want a clear empirical observation plus a small, honest evaluation will find it useful.
Authors’ abstract
In cuVSLAM, visual and inertial measurement unit (IMU) residuals are fused in sparse bundle adjustment (SBA) with a weighting fixed by pre-calibrated noise covariances, leaving no mechanism to adapt the visual-inertial balance at runtime. We introduce a scalar $α\geq1$ that upscales the visual information matrix relative to the IMU preintegration constraint. Across the candidate set $\{1.0,2.0,5.0,10.0,20.0\}$, the resulting trajectories form two empirical performance…
The full abstract on arXivRelated papers
- OpenJaws: An Open Hardware UMI Framework with Stereo Localization for Generalist Manipulation 2026-10-27 · cs.RO · Also by Hesam Rabeti
- Touch2Trace: Tactile-Driven Imitation Learning for Dexterous Cable Tracing 2026-09-14 · cs.RO · Also by Wonju Lee
- SARAM: Sparse Adapter Allocation with Reuse and Merging for Lifelong Robot Learning 2026-10-17 · cs.RO · Key terms of the title in common
- RootSLAM: Square Root Bundle Adjustment for Visual-Inertial SLAM 2026-10-10 · cs.RO · Key terms of the title in common
- Magnetic based In-situ Self 3D Pose Estimation for a Modular Soft Tendon-Driven Continuum Robot via IMU-Fusion 2026-09-30 · cs.RO · Key terms of the title in common