← Paper Digest

AirLeg: A Robust and Accurate Self-Supervised Visual-Inertial-Leg SLAM System

Kuan Xu, Tianxin Hu, Ruofei Bai, Ruimeng Liu, Yuefan Hao, Zeyu Jiang, Zitong Zhan, Shenghai Yuan, Chen Wang, Lihua Xie

November 2026

GrandTour snowfield sequence, AirLeg and ANYmal leg odometry against total-station ground truth.

TL;DR A visual-inertial-leg SLAM system whose learned leg odometry is pretrained in simulation and adapted to the real robot without ground truth, with bundle adjustment and the network supervising each other. It has the lowest average error on GrandTour (0.19 m, against 18 other methods) and 0.59% drift on a Unitree Go2 after 0.5 h of unlabeled data.

What they do

Legged robots already carry an IMU and joint encoders, so adding a camera gives cheap visual-inertial-leg (VIL) localization. Learned leg odometry, however, either suffers a sim-to-real gap or needs real labels from motion capture, LiDAR or a visual estimator whose errors it then copies. AirLeg pretrains the leg odometry network in simulation and adapts it on the robot without ground truth, letting vision and leg proprioception correct each other.

How it works

  • Leg odometry network. A 0.85M-parameter Transformer reads 50 samples of IMU, joint states and load-normalized foot forces, and predicts body velocity, a gyroscope correction and uncertainties. It is pretrained on about 80 h of Isaac Lab data per robot with randomized gaits, terrains and robot and actuator parameters.
  • Self-supervised adaptation. A bilevel (imperative learning) problem: multi-sensor bundle adjustment uses the leg odometry to refine the visual map, and the refined map supervises the network through reprojection errors. Only the heads and part of the backbone are trained.
  • Online estimator. A short-window leg-aided stereo VO plus a long window that fuses leg, inertial, landmark and foot-terrain factors. The foot-terrain factor places each loaded foot on terrain reconstructed from stereo, with a slowly varying offset for sinkage. Factor weights are re-estimated online, and rank-1 adapters (about 1.3k parameters) keep adapting the network during deployment.

Results

  • GrandTour (ANYmal D, built-in IMU only, 17 test sequences, 18 baselines): mean ATE 0.15 m on normal and 0.23 m on challenging sequences. It is the only method under 0.4 m on all 17; every competitor fails or exceeds 4 m at least once.
  • Unitree Go2 with a RealSense D455, ten sequences totaling 1.8 km: 0.59% average drift against 1.55% for the best competitor, OKVIS2. Three visual-inertial methods fail on the stairs.
  • The simulation-only network gives 0.54 m mean ATE; 0.5 h of unlabeled data brings it to 0.23 m, 3.5 h to 0.19 m. Without supervision refinement, ATE rises from 0.189 m to 0.274 m.
  • Runs in real time on the Go2’s Jetson AGX Orin with 1.4 CPU cores and 2.6 GB of GPU memory.

Limitations

On ice (ICE-1) and soft sand (RIV-1), AirLeg (0.31 m and 0.29 m) trails the best competitors (0.02 m and 0.13 m): leg odometry is unreliable on ice, and the leg-aided front end drifts on soft sand. Adaptation still needs real data from the target robot, and the global refinement with loop closure runs offline after a run.

Videos

The Unitree Go2 test platform climbing stairs.
The Go2 walking through a crowded shopping mall.

Figures

From Figure 3: Imperative sim-to-real adaptation. The leg odometry network's predictions are integrated into relative...
From Figure 3: Imperative sim-to-real adaptation. The leg odometry network's predictions are integrated into relative poses with covariances and fused with the visual factors in bundle adjustment, weighted by variance component estimation; the refined map then supervises the network. The gradient comes from a sparse adjoint solve, without unrolling the bundle adjustment.
From Figure 4: The online localization system. The leg odometry network turns IMU and joint measurements into relativ...
From Figure 4: The online localization system. The leg odometry network turns IMU and joint measurements into relative motions that aid a short-window stereo VO. A long-window module fuses visual relative-pose, landmark, leg odometry, foot-terrain and inertial factors, weighted online, and the fused estimates update the network's low-rank adapters.
From Figure 7: Test in a crowded shopping mall. Top: map with the trajectory of AirLeg and the pedestrians. Bottom: v...
From Figure 7: Test in a crowded shopping mall. Top: map with the trajectory of AirLeg and the pedestrians. Bottom: views at A and B, and the trajectory near the start and end, with a drift of 1.01% over 124 m.
From Figure 9: Effect of the amount of real-world adaptation data. Top: composition of the nested training sets by sc...
From Figure 9: Effect of the amount of real-world adaptation data. Top: composition of the nested training sets by scene category, with the number of sequences above each bar. Bottom: ATE on the 17 GrandTour test sequences.
Abstract

Visual-inertial-leg (VIL) state estimation offers cost-effective localization for legged robots, adding only a camera to the onboard IMU and joint encoders. However, learning-based leg odometry is limited by its supervision: networks trained in simulation suffer from the sim-to-real gap, while real-world labels require costly sensors or inherit the errors of visual estimates. To address this, we present AirLeg, a self-supervised VIL SLAM system in which vision and leg proprioception improve each other from training to deployment. We pre-train the leg odometry network in simulation and adapt it to the robot without ground truth through imperative learning, where multi-sensor bundle adjustment uses the leg odometry to refine the visual map, which in turn supervises the network. During deployment, the fused estimates adapt the network online. To improve both localization and this supervision, a dual-window estimator fuses vision, IMU, and leg odometry, relates loaded feet to the visually reconstructed terrain through a deformation-aware constraint, and weights the constraints by variance component estimation. AirLeg completes all 17 GrandTour sequences with the lowest average error (0.19 m) among 19 methods. On a low-cost quadruped, it achieves the lowest drift (0.6%) with only 0.5 h of unlabeled data, in real time on an embedded computer.

Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.