Attention-Based Neural-Augmented Kalman Filter for Legged Robot State Estimation
Seokju Lee, Kyung-Soo Kim
TL;DR
The paper addresses slip-induced bias in legged-robot state estimation by augmenting an Invariant EKF with a slip-conditioned Neural Compensator that uses cross-attention to modulate a post-update correction. The compensator is trained in two stages (autoencoder latent learning and attention-based compensation) and relies on a continuous foot slip level as context. Experiments on indoor terrains (gravel, Teflon, stairs) and outdoor grass demonstrate substantial reductions in relative position error compared to Slip Rejection, Learned Contact, and InNKF, with robust performance and real-time speed (~580 Hz). This approach enhances odometry reliability in slip-prone environments, enabling more robust autonomous legged locomotion while preserving the filter structure.
Abstract
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.
