Moonwalk: Advancing Gait-Based User Recognition on Wearable Devices with Metric Learning
Asaf Liberman, Oron Levy, Soroush Shahi, Cori Tymoszek Park, Mike Ralph, Richard Kang, Abdelkareem Bedri, Gierad Laput
TL;DR
Moonwalk introduces a passive gait-based authentication method for wireless headphones using the built-in accelerometer. It trains a self-supervised metric learning model with NT-Xent loss to produce discriminative gait embeddings from 3D acceleration, enabling enrollment from as little as 10 seconds of walking and on-device recognition without retraining for new users. In experiments with 50 participants and controlled variations in shoe type and floor surface, the approach achieves an average F1-score of 92.9% and EER around 2–3% on the GA dataset, with robust generalization to surfaces and improved performance with adaptive enrollment. The work demonstrates the practicality and challenges of passive authentication for wearables, and outlines directions for making gait-based recognition more robust and deployable in real devices.
Abstract
Personal devices have adopted diverse authentication methods, including biometric recognition and passcodes. In contrast, headphones have limited input mechanisms, depending solely on the authentication of connected devices. We present Moonwalk, a novel method for passive user recognition utilizing the built-in headphone accelerometer. Our approach centers on gait recognition; enabling users to establish their identity simply by walking for a brief interval, despite the sensor's placement away from the feet. We employ self-supervised metric learning to train a model that yields a highly discriminative representation of a user's 3D acceleration, with no retraining required. We tested our method in a study involving 50 participants, achieving an average F1 score of 92.9% and equal error rate of 2.3%. We extend our evaluation by assessing performance under various conditions (e.g. shoe types and surfaces). We discuss the opportunities and challenges these variations introduce and propose new directions for advancing passive authentication for wearable devices.
