In this letter, we propose an Attention-Based Neural-Augmented Kalman Filter (AttenNKF) for state estimation in legged robots. Foot slip is a major source of estimation error: when slip occurs, kinematic measurements violate the no-slip assumption and inject bias during the update step. Our objective is to estimate this slip-induced error and compensate for it. To this end, we augment an Invariant Extended Kalman Filter (InEKF) with a neural compensator that uses an attention mechanism to infer error conditioned on foot-slip severity and then applies this estimate as a post-update compensation to the InEKF state (i.e., after the filter update). The compensator is trained in a latent space, which aims to reduce sensitivity to raw input scales and encourages structured slip-conditioned compensations, while preserving the InEKF recursion. Experiments demonstrate improved performance compared to existing legged-robot state estimators, particularly under slip-prone conditions.
We evaluated the proposed method across various terrain conditions.
The experiments cover nominal walking, slippery/noisy surfaces, and long-term trajectory tracking.
Indoor trajectory
Nominal walking
Noisy surface (30mm pebbles)
Slippery surface ($\mu \approx 0.15$)
Uneven terrain
Deformable surface (OOD)
The robot traversed approximately 100m on deformable grass terrain. While baselines accumulated up to 10m of vertical drift, AttenNKF maintained errors within $\pm 2-3$m.
Coming Soon