GaitFM: A Cross-Modal Foundation Model for Wearable Gait Assessment

Yize Cai, Zhiqing HongarXiv 2026

TL;DR

GaitFM is a novel foundation model that brings the power of large-scale vision pretraining to wearable sensor data for gait assessment. By "translating" IMU signals into image-like representations, it achieves state-of-the-art performance across 18 clinical tasks and demonstrates remarkable generalizability across diverse sensor placements and patient populations.

What Problem Does This Paper Address?

Gait assessment—analyzing how people walk—is a vital tool for diagnosing and monitoring neurological and musculoskeletal conditions like Parkinson’s disease or osteoarthritis. While wearable Inertial Measurement Units (IMUs) offer a low-cost, "in-the-wild" alternative to expensive gait labs, they come with a major headache: heterogeneity.

Data varies wildly depending on whether a sensor is on the wrist, waist, or ankle, and which device is being used. Most existing deep learning models are "brittle"—trained on small, specific datasets for single tasks, they fail to generalize to new settings or patient groups. Furthermore, high-quality labeled medical sensor data is notoriously scarce compared to the massive datasets available in computer vision or natural language processing.

Methods

The authors introduce GaitFM, a cross-modal foundation model based on the Masked Autoencoder (MAE) architecture. Its "secret sauce" is a two-stage pretraining process:

  1. Visual Knowledge Transfer: The model starts with weights pretrained on ImageNet-1K (1.28 million natural images). To bridge the gap between 1D sensor signals and 2D images, the authors designed a sensor-to-image embedder. This component reshapes raw IMU data into image-like tensors that the vision-trained encoder can understand.
  2. Continual Sensor Pretraining: The model then undergoes self-supervised pretraining on a massive, curated gait dataset. It learns to reconstruct "masked" (hidden) parts of the sensor images, forcing it to understand the underlying temporal and spatial relationships of human movement.

For downstream tasks, the model uses a flexible "dynamic-input" design. It can process data from any combination of body locations by using shared encoders and location-specific embeddings, allowing a single model to work with everything from a clinical multi-sensor setup to a single smartwatch.

Figure 1. Overview of the GaitFM framework. a, GaitFM adopts a masked autoencoder (MAE) architecture initialized with weights pretrained on ImageNet-1K, comprising approximately 1.28 million natural images across 1,000 classes. b, A sensor-to-image embedder enables continued MAE pretraining on a curated gait dataset comprising approximately 4,000 participants and 1.23 million IMU gait windows from seven heterogeneous datasets. c, Fine-tuning of GaitFM for downstream gait assessment tasks. GaitFM accommodates varying sensor placements and modality combinations, supporting flexible gait assessment across clinical and daily settings. The downstream tasks encompass gait parameter estimation, disease and abnormality diagnosis, and clinical outcome prediction. d, Distribution of samples across sensor placements.

Datasets

The study leverages an impressive breadth of data:

  • Pretraining: A curated collection of ~1.23 million gait windows from about 4,000 participants across seven internal datasets (including mPower, Mobilise-D, and ClinicalGait).
  • Evaluation: 18 tasks across 11 datasets. Crucially, the authors tested on four external datasets (like GaitPrint and StrokeRehabilitation) that were never seen during pretraining to prove the model's robustness.

Key Insights and Ideas

  • Vision Models are Great Gait Teachers: Perhaps the most surprising finding is that features learned from looking at cats and cars on ImageNet translate effectively to the "wiggles" of an accelerometer. This visual knowledge helps the model capture local patterns and cross-modal correlations (e.g., how the accelerometer relates to the gyroscope) far better than training from scratch.
  • Scaling Laws Apply: The authors found that as they increased the size of the vision backbone (from "Tiny" to "Huge"), the performance on gait tasks continued to improve. This suggests that gait assessment can directly benefit from the ongoing "arms race" in large-scale vision research.
  • Extreme Data Efficiency: GaitFM is a "few-shot" champion. Fine-tuning GaitFM with just 10% of the labeled data often outperformed standard models trained on the full 100%. This is a game-changer for medical fields where labels are expensive to obtain.
  • Location Agnostic: Because of its modular design, the model maintains high accuracy even when sensors are moved (e.g., from a pocket to a wrist), supporting the use of everyday consumer wearables for clinical-grade monitoring.

Key Results

GaitFM consistently outperformed conventional end-to-end baselines (like ResNets and Transformers) across all 18 tasks:

  • Gait Parameters: On the Mobilise-D dataset, it increased the $R^2$ (coefficient of determination) for gait speed estimation by 0.234 compared to a version trained without vision weights.
  • Disease Diagnosis: It achieved significantly higher AUROC scores for detecting Parkinson’s, Multiple Sclerosis, and ACL injuries. For instance, it improved AUROC by 0.112 on the mPower Parkinson's dataset.
  • Clinical Outcomes: It successfully predicted one-year fall risks, outperforming baselines on both internal and external datasets.
Performance comparison showing GaitFM's superiority in gait parameter estimation and disease diagnosis.

Limitations and Future Work

While a major step forward, the authors note several areas for growth:

  • Disorder Coverage: The current dataset doesn't cover every possible gait-related disorder.
  • The "Black Box" of Transfer: While we know visual pretraining helps, the specific "visual priors" that are most useful for sensor data remain a mystery.
  • Clinical Validation: As with any AI tool in healthcare, prospective clinical trials are needed to see how GaitFM performs in real-world patient care workflows.

Future work may involve expanding the model to include other physiological signals (like heart rate or EMG) to create an even more comprehensive "foundation model for human health."

Summary updated

Abstract

Gait assessment supports the diagnosis, monitoring, and prognosis of diverse movement-related conditions, such as neurological and musculoskeletal disorders. Recent advances in deep learning using everyday wearable inertial measurement units (IMUs) offer an accessible and low-cost approach to automated gait assessment. However, IMU measurements vary substantially across individuals, body locations, and device configurations, while existing deep learning models are typically developed using small, homogeneous datasets for specific clinical tasks, limiting their robustness and generalizability in diverse real-world contexts. Here we present GaitFM, a cross-modal foundation model for gait assessment using IMU sensors. GaitFM improves the generalizability of gait assessment by transferring knowledge from large vision models and pretraining on unlabeled IMU sensor data. We pretrain GaitFM on a large curated dataset comprising about 4,000 participants and 1.23 million gait windows across diverse clinical and daily conditions, sensor modalities, and body locations. GaitFM demonstrates strong performance across 18 gait-related tasks, including 3 gait parameter estimation tasks, 14 disease and gait abnormality detection tasks, and 1 clinical outcome prediction task. Furthermore, GaitFM generalizes across different sensor configurations and body locations, including those commonly used in clinical settings and everyday wearable devices. These findings demonstrate the effectiveness of transferring visual knowledge in improving sensor-based gait assessment performance, offering a new promising pathway for addressing data scarcity in the sensor and medical domains.
BibTeX
@misc{cai2026gaitfm,
  author = {Yize Cai and Zhiqing Hong},
  title = {{GaitFM: A Cross-Modal Foundation Model for Wearable Gait Assessment}},
  year = {2026},
  eprint = {2611.01684},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.01684},
}
Figure