cs.AIApr 2, 2026

GenGait: A Transformer-Based Model for Human Gait Anomaly Detection and Normative Twin Generation

Authors: Elisa Motta, Marta Lorenzini, Clara Mouawad, Alberto Ranavolo, Mariano Serrao, Arash Ajoudani

Organizations: HRI2 Laboratory, Istituto Italiano di Tecnologia (IIT), Genoa, Italy · Department of Occupational and Environmental Medicine, Epidemiology and Hygiene, INAIL, Rome, Italy · Department of Medical and Surgical Sciences and Biotechnologies, Sapienza University of Rome, Rome, Italy

Abstract

Gait analysis provides an objective characterization of locomotor function and is widely used to support diagnosis and rehabilitation monitoring across neurological and orthopedic disorders. Deep learning has been increasingly applied to this domain, yet most approaches rely on supervised classifiers trained on disease-labeled data, limiting generalization to heterogeneous pathological presentations. The methodological objective of this work is to develop a label-free framework for joint-level anomaly detection and kinematic correction based on a Transformer masked autoencoder trained exclusively on normative gait sequences from 150 adults, acquired with a markerless multi-camera motion-capture system. At inference, a two-pass procedure is applied to potentially pathological input sequences: first, it estimates joint inconsistency scores by occluding individual joints and measuring deviations from the learned normative prior. Then, it withholds the flagged joints from the encoder input and reconstructs the full skeleton from the remaining spatiotemporal context, yielding corrected kinematic trajectories at the flagged positions. The validation objective is to assess whether the framework preserves unseen normative gait and reduces angular deviation in simulated abnormal gait patterns. In this proof-of-concept evaluation, data from 10 held-out normative participants, who performed seven simulated abnormal gait patterns, showed a significant reduction in angular deviation across all analyzed joints with large effect sizes, and preservation of normative kinematics. The proposed approach enables interpretable, subject-specific localization of joints that are inconsistent with learned normative gait patterns and generation of an individualized normative reconstruction without requiring disease labels. Video is available at https://youtu.be/Rcm3jqR5pN4.

Figures & tables

Explore similar work

CardsList
  1. Visual Prompting Meets Feature Reconstruction-Based Anomaly Detection with Dual-Teacher Supervision

    Jun 8, 2026Mateo Diaz-Bone, Daniel Caraballo, Florian Scheidegger +11Multimodal Anomaly DetectionGraph Anomaly Detection

  2. LEARN-TS: LLM-Enhanced Alignment and Reconstruction with Normality Guidance for Multivariate Time-Series Anomaly Detection

    Sep 30, 2026Jahyeob Koo, Kio Yun, Byoungmo Koo +1Time-Series Anomaly DetectionTime Series