Research
VkVIO: Cross-platform GPU Acceleration for Visual-Inertial Odometry with Vulkan
VIO systems split into a visual frontend (turning images into tracked and detected keypoints) and a backend (fusing those with inertial data into a pose). The frontend runs on every frame and scales…

- arXiv
- 2609.30459 · Preprint · not peer-reviewed
- Published
- 2026-09-24
- Authors
- Ole Hoffmann, Mateo de Mayo, Daniel Cremers
In plain words
VIO systems split into a visual frontend (turning images into tracked and detected keypoints) and a backend (fusing those with inertial data into a pose).
AI summary
Overview
Research area: Robotics and XR perception — visual-inertial odometry (VIO) and visual-inertial SLAM, specifically GPU acceleration of the visual frontend.
Technical level: Advanced. The paper assumes familiarity with VIO pipelines (pyramids, FAST detection, KLT tracking), GPU compute concepts (workgroups, subgroups, SPIR-V), and trajectory-error metrics.
Scope (one sentence): The paper presents VkVIO, a Vulkan-based, vendor-agnostic GPU implementation of the Basalt VIO frontend, and evaluates its speed, latency stability, thermals, and accuracy against CPU Basalt and CUDA-only frontends across an Nvidia RTX 3070, an Apple M3, and a Radxa Cubie A7Z single-board computer.
What This Paper Is About
VIO systems split into a visual frontend (turning images into tracked and detected keypoints) and a backend (fusing those with inertial data into a pose). The frontend runs on every frame and scales with resolution and camera count, so prior work moved it onto GPUs — but almost exclusively using CUDA, which restricts deployment to Nvidia hardware and rules out mobile phones, most single-board computers, and laptops without CUDA GPUs. The goal of this paper is to show that the same frontend acceleration can be achieved through Vulkan, a cross-platform graphics-and-compute API, without losing accuracy or speed — even on Nvidia hardware where CUDA is available.
Key Contributions
- VkVIO, described as the first cross-platform GPU-accelerated VIO frontend to the authors' knowledge, built on Vulkan/SPIR-V rather than CUDA and demonstrated on Nvidia, Apple, and ARM-class GPUs.
- A full reformulation of Basalt's CPU frontend into Vulkan compute shaders — pyramid construction, feature detection, temporal tracking, and cross-camera matching — including subgroup-based implementations plus shared-memory and atomic-reduction fallback variants for hardware without subgroup support. The source is stated as forthcoming.
- A cross-platform evaluation on three devices spanning vendors and price/power points (Nvidia RTX 3070 workstation, Apple M3 laptop, Radxa Cubie A7Z SBC), reporting frontend speedups of as much as 11× over the CPU baseline, more stable per-frame latency, and lower power and thermal load with no loss of accuracy.
- A head-to-head comparison against CUDA-only accelerated frontends (Jetson-SLAM and FastTrack) on identical Nvidia hardware, showing the vendor-agnostic implementation surpasses them.
Main Findings
- Substantial frontend speedups across all three vendors. Frontend speedup over CPU Basalt ranges from 1.4× (TR2) to 6.8× (HF151) on the Apple M3, from 4.8× to 11.3× on the RTX 3070, and from 1.0× to 1.4× on the Radxa Cubie A7Z. On the RTX 3070 the frontend reaches 0.50 ms per frame on TR2.
- End-to-end gains are real but diluted by the unchanged backend. End-to-end speedups are 1.2–3.9× on the M3, 2.2–5.0× on the RTX 3070, and 1.2–1.7× on the Radxa. On the Radxa, part of the end-to-end gain comes from the backend itself running 1.6–2.6× faster because the frontend no longer competes for CPU cores.
- Accuracy is preserved. Across 47 MSD sequences on the M3 (Table I), median ATE agrees within 6 mm between Basalt and VkVIO, and RTE is identical at millimetre precision. Against the CUDA baselines, accuracy stays within 6 mm ATE and 2 mm RTE of Basalt on all six evaluation sequences.
- Latency becomes far more stable. On HF151, Basalt's per-frame frontend time varies roughly between 20 and 45 ms, with feature detection responsible for about 95% of that variation, while VkVIO stays within a band of about 5 ms. The 99th-percentile end-to-end time drops from 42.98 ms to 12.99 ms. Per-frame standard deviation on the RTX 3070 is 0.05–0.11 ms versus 0.35–3.31 ms for Basalt.
- Feature detection dominates the CPU frontend and nearly vanishes on GPU. Detection accounts for 41% of Basalt's stage time on TR2 and 62–73% elsewhere, rising from 0.9 ms to 20.2 ms across the evaluation sequences; on the GPU it averages below 1 ms on every sequence.
- VkVIO beats CUDA-only frontends on the same Nvidia GPU. It achieves the highest frame rate of the four systems on every sequence, with end-to-end times 1.6–3.1× faster than FastTrack, 1.7–3.9× lower than Jetson-SLAM, and 1.9–4.3× lower than Basalt, plus the smallest frame-to-frame spread. On EMH02 its frontend averages 0.63 ms versus 2.04 ms (Jetson-SLAM), 3.22 ms (FastTrack), and 4.83 ms (Basalt). It has the lower RTE of the four on all five sequences the CUDA systems complete, and the lower ATE on three of those five.
- Better energy efficiency over long runs. On the 36.5-minute MIPB08 sequence on the M3, VkVIO finishes in 384 s versus 1257 s for Basalt at comparable accuracy (ATE 0.603 m vs. 0.597 m) and lower power (9.9 W vs. 10.3 W), needing 3.4× less energy for the session — 32 mJ per frame versus 110 mJ.
- Thermals improve on the fanless single-board computer. On a 40-minute MOO12 run on the bare Radxa board (no heatsink, no fan), Basalt pushes the CPU past 80 degrees Celsius within 80 s and holds 84 degrees for the rest of the run, while VkVIO takes 13 minutes to reach 80 degrees, stays 5 degrees cooler on average, and finishes earlier.
- A reduced "VkVIO-lite" configuration makes real-time operation viable on the cheap board. Raising the minimum FAST threshold from 5 to 20, enlarging the cell size from 50 to 82, cutting Gauss-Newton iterations per level from 5 to 3, and shrinking the backend window from 7 to 6 keyframes speeds the frontend by a further 1.8–2.5×. TR2, MOO02, and EMH02 then exceed their camera rates on average, though MGO02, MIO02, and HF151 still fall short; ATE grows by 0.5 m on MIO02 and 0.8 m on HF151.
- One codebase, three GPUs. The same Vulkan pipeline runs on all three devices without vendor-specific code; only the Radxa — whose GPU lacks subgroup operations — swaps in the fallback shaders.
Methodology in Plain English
The team took Basalt, an existing stereo visual-inertial odometry system, and rewrote only its frontend to execute on the GPU through Vulkan, leaving the backend untouched so that any measured difference is attributable to the frontend.
The frontend has four stages, and each became a compute shader recorded into a single command buffer submitted once per frame:
- Image pyramid: each resolution level is built with a separable 5×5 binomial blur and 2:1 subsampling. On the GPU, one invocation produces one output pixel, and each workgroup's rows are laid out so they map onto subgroups running in lockstep. On the authors' hardware the subgroup size is 32 and they choose 8 rows, giving 256-invocation workgroups, 32×8 output tiles, and 68×20 source regions. All levels of a camera are stored in one texture atlas.
- Feature detection: the image is divided into grid cells with a per-cell keypoint limit. Each 24×24 cell maps to one workgroup, and candidates are evaluated with the FAST-9 test over the threshold sequence 40, 20, 10, 5 with 3×3 non-maximum suppression. The authors add an early-rejection test on two opposite ring-point pairs to discard candidates cheaply, then use a bitonic k-sort to keep the strongest survivors; for weak embedded GPUs they instead use an atomic maximum reduction specialised for single-keypoint selection (k = 1).
- Tracking and cross-camera matching: a patch-based inverse-compositional KLT solver estimates a planar SE(2) transform (translation plus rotation) over 52 sample locations, with patches normalised by their mean intensity and five Gauss-Newton iterations per pyramid level. The Jacobian, Hessian, and gain are computed once. One workgroup of exactly 32 invocations handles one keypoint, so partial sums combine via subgroup reductions; a second shader variant accumulates through shared memory with extra barriers for hardware lacking subgroup support. Each track is verified by a forward and a backward pass, and discarded if the two disagree beyond a fixed threshold.
For evaluation they picked one representative sequence per capture device rather than many sequences from one device: EuRoC Machine Hall 02, TUM-VI Room 2, three Monado SLAM dataset sequences (MOO02, MGO02, MIO02) covering three VR headsets — one with four cameras — and the Hilti 2026 sequence HF151 with two opposing wide field-of-view cameras. They then measured frontend, backend, end-to-end, and 99th-percentile frame times plus trajectory errors on the three hardware platforms, and additionally compared against the CUDA frontends Jetson-SLAM and FastTrack on a desktop with an Intel Core i5-13600 CPU and RTX 3070.
Why This Matters
The paper's central argument is that CUDA lock-in has been silently narrowing where VIO research can be deployed, and that a graphics API designed for games is a viable, faster-in-practice substitute. Demonstrating state-of-the-art accuracy and higher frame rates than CUDA-based frontends on Nvidia's own hardware removes the usual objection that portability costs performance, while the Radxa result shows real-time VIO on a board roughly 20× cheaper than the nearest CUDA-capable Nvidia device.
Real-world applications:
- XR headsets and mobile phones: low-latency tracking on the GPUs these devices already ship, without Nvidia silicon; the paper evaluates three VR headset datasets, one with four cameras.
- Low-cost, low-power robotics: drones and small ground robots where heat, weight, and battery life dominate design, evidenced by the fanless single-board-computer experiments.
- Wearables and lightweight AR glasses: frontend latency and energy per frame (32 mJ versus 110 mJ) translate directly into battery life.
- Mixed-fleet development workflows: prototyping on a workstation GPU and deploying to embedded hardware with the same frontend codebase.
Industry relevance: the work lowers the barrier for any organisation that wants GPU-accelerated state estimation on non-Nvidia hardware, keeps a single codebase across vendors, and can pick hardware on power, size, and thermal grounds rather than API compatibility. It also positions Vulkan as a serious compute target for real-time perception, not just rendering.
Future Directions
- Bringing the backend onto the GPU. Backend time is now the dominant term: it is unchanged in the main comparison and sets the ceiling on end-to-end gains, and in the CUDA comparison Jetson-SLAM's tracking thread grows past 14 ms in the last 500 frames. Accelerating the sliding-window optimisation is the obvious next leverage point.
- Closing the remaining real-time gap on very cheap hardware. Even VkVIO-lite leaves MGO02, MIO02, and HF151 below their camera rates on the Radxa, and costs 0.5 m and 0.8 m of ATE on MIO02 and HF151 respectively — so better tuning or shaders for subgroup-less GPUs remain open.
- Broadening platform coverage. The three evaluated devices span Nvidia, Apple, and ARM-class GPUs; Android phones, the Raspberry Pi, and other Vulkan-capable boards named in the introduction are natural next targets, as is quantifying how the subgroup-free fallback path compares in detail.
- Comparison with other vendor-neutral approaches. The authors exclude GLidE-SLAM because it is monocular-only and no public implementation was available; a stereo or multi-camera comparison across cross-platform APIs would sharpen the case for Vulkan specifically over OpenGL, OpenCL, or OpenVX.
Target Audience
Robotics and XR perception engineers building deployable state-estimation systems; GPU and systems programmers interested in Vulkan compute for real-time pipelines; researchers working on VIO/VI-SLAM who want their methods to run beyond Nvidia hardware; and embedded product teams weighing hardware choices for low-power, thermally constrained devices. Readers need a working grasp of VIO frontend structure and GPU execution models to get the most from the implementation details, though the headline results and the deployment story are accessible to a broader engineering audience.
Authors’ abstract
Perception in robotics and XR fundamentally relies on good state estimation. Visual-inertial odometry (VIO) and Simultaneous Localization and Mapping (VI-SLAM) are proven ways of achieving this goal in a cost-effective and accurate manner. Efficiency in these systems allows for smaller, cooler, and lighter devices. GPU acceleration is a natural approach for reducing latency, thanks to their wide availability in platforms like embedded computers, mobile phones, and XR…
The full abstract on arXivRelated papers
- RootSLAM: Square Root Bundle Adjustment for Visual-Inertial SLAM 2026-10-10 · cs.RO · Also by Daniel Cremers, Mateo de Mayo
- TinyCVIO: A Constellation-Aided Visual-Inertial Odometry System for Nanodrones 2026-09-24 · cs.RO · Key terms of the title in common
- Observability Analysis and Online Calibration of Visual-Inertial-Wheel Odometry for 4WIS4WID Mobile Robots 2026-09-29 · cs.RO · Key terms of the title in common
- Dynamic-LIVO: A Dynamic-Aware LiDAR-Inertial-Visual Odometry System Using Spatio-Temporal Normals 2026-09-16 · cs.RO · Key terms of the title in common
- MultiFly: A Real-World Multimodal Aerial Dataset with Annotation-Efficient Label Transfer and Cross-Modal Semantic Consistency 2026-10-07 · cs.RO · Also by Daniel Cremers