GaitLingo: Self-Supervised Gait Representation Learning with Language Priors

Chenye Wang, Zhengxiang Lan, Saihui Hou, Zhikang Liu, Xingqun Qi, Yongzhen Huang, Sirui HanNeurIPS 2026

TL;DR

Recognizing people solely by the silhouette of how they walk—known as gait recognition—often breaks down when models move from clean lab settings into messy real-world environments. GaitLingo fixes this by injecting language into self-supervised visual training: using multimodal models to describe how people walk in over a million unlabeled videos, it teaches a visual encoder which clips are worth paying attention to and how different walking styles relate to one another. Best of all, the text is discarded after training, leaving behind a fast, privacy-preserving visual model that sets new zero-shot records across six major benchmarks.

What Problem Does This Paper Address?

Every person has a distinct rhythm, posture, and stride. Because you can extract these walking patterns from simple black-and-white silhouettes at a distance, gait recognition is a uniquely non-invasive, hard-to-disguise biometric.

To avoid the massive cost of manually labeling identities across millions of videos, researchers have turned to self-supervised learning (SSL). Standard visual SSL works via instance discrimination: take two non-overlapping clips of the same walking sequence, pull their representations together in embedding space, and push clips from all other sequences apart.

Here’s the catch: purely visual SSL is "quantity-rich, structure-poor." Without higher-level semantic understanding, the model faces two blind spots:

  1. All clips look equally valuable: It cannot tell if a sequence contains rich, distinctive motion (e.g., carrying a heavy bag with a pronounced lean) or repetitive, uninformative frames.
  2. Binary relationships: Pushing all other sequences away ignores the fact that two strangers might actually share a very similar brisk, upright stride.
Overview comparing conventional visual SSL with GaitLingo's language-guided approach and zero-shot results.

Methods

GaitLingo builds on a standard SimSiam-like visual contrastive framework (using a DeepGaitV2 backbone) and introduces language priors through a two-stage captioning pipeline and three training modules:

  • Two-Stage Caption Generation: Directly asking a Vision-Language Model (VLM) for gait descriptions tends to yield generic templates polluted by clothing colors or backgrounds. Instead, the authors decouple perception from filtering. In Stage I, a VLM (Qwen2.5-VL-7B) writes dense, high-recall descriptions of sampled RGB frames. In Stage II, an LLM (Qwen3-8B) strips away appearance/scene confounders (like shirt color or street signs) and synthesizes a coherent sequence-level motion summary. The raw RGB videos are then deleted, keeping only anonymized silhouettes and clean gait captions.
  • Caption-Guided Sample Weighting (CSW): Not all training samples are created equal. CSW parses captions into gait attributes to score each sequence on semantic richness (how many stable attributes appear) and attribute rarity (upweighting infrequent covariates via inverse-frequency). Semantically rich, rare clips get sampled more often.
  • Temporal Adapter (TA): Because text captures dynamic motion cues rather than just static body shapes, the authors insert lightweight bottleneck 3D temporal convolutions into stages 3 and 4 of the 2D spatial backbone. A learnable gate initialized to zero allows the network to gradually blend motion dynamics into spatial features without destabilizing early training.
  • Soft Relation Distillation (SRD): Rather than forcing visual features to directly match text embeddings—which risks collapsing visual nuances due to noisy captions—SRD enforces ranking consistency. Using a frozen text encoder, it finds reliable triplets where caption $A$ is clearly closer to $B$ than to $C$, and nudges the visual embeddings to preserve that same relative similarity order.

At inference time, all language components vanish. Only the silhouette-based visual encoder runs.

Datasets

Overview of the GaitLP-1M dataset pipeline, covariate distributions, word cloud, and sequence/caption lengths.

Figure 2: Overview of GaitLP-1M. (a) The proposed two-stage caption generation pipeline. (b) Distributions of scene, carrying condition, view, and data source, showing the diversity of the collected gait sequences. (c) A word cloud summarizing frequent semantic concepts in the generated captions. (d) Distributions of sequence and caption lengths, indicating that GaitLP-1M contains temporally diverse sequences and rich language descriptions.
  • New Pretraining Dataset — GaitLP-1M: The first million-scale unlabeled silhouette gait dataset paired with gait-centric text captions. Built by merging and cleaning walking clips from four public pedestrian datasets (LUPerson-NL, MARS-Attribute, DukeMTMC-VID-Attribute, and StreamGait), it contains 1,027,043 sequences averaging 90 frames and 75 words per caption.
  • Existing Pretraining Dataset: Combined with GaitLU-1M (~944K unlabeled silhouette sequences, no captions) during full-scale pretraining.
  • Downstream Evaluation Benchmarks: Strictly unseen during pretraining and evaluated across six benchmarks: Gait3D and GREW (in-the-wild), CASIA-B and OU-MVLP (in-the-lab), CCPG (clothing-changing), and SUSTech1K (diverse multi-covariate conditions).

Key Insights and Ideas

  • Decoupling perception from abstraction prevents VLM collapse: Asking one model to simultaneously notice subtle arm swings and ignore a bright red jacket causes captions to degenerate into bland boilerplate. Letting a VLM describe everything and an LLM clean it up preserves discriminative motion details.
  • Scaling data without structure hits a wall: In ablations, simply doubling the visual pretraining data under the original model capacity barely budged Gait3D accuracy (+1.1%) and actually hurt clothing-change metrics. Language priors unlock the latent value of scale.
  • Order matters more than exact alignment: Distilling relative rankings from text (SRD) transfers semantic structure across samples while shielding the visual space from exact-match text noise.

Key Results

  • Zero-Shot Transfer: Evaluated directly on unseen target datasets without any identity labels, GaitLingo substantially outperforms the prior state-of-the-art self-supervised method (GaitSSB). Rank-1 accuracy jumps by +12.1 percentage points on Gait3D (24.8% $\rightarrow$ 36.9%), +7.9 points on GREW (16.6% $\rightarrow$ 24.5%), +5.0 points on SUSTech1K (50.3% $\rightarrow$ 55.3%), and an average of +9.1 points across CCPG's four clothing-change settings. Even against a capacity-matched Scaled GaitSSB baseline trained on the exact same data, GaitLingo adds +5.2% on Gait3D and +12.4% on SUSTech1K.
  • Supervised Fine-Tuning: When fine-tuned on target labels, GaitLingo beats dedicated supervised architectures, achieving 76.8% Rank-1 on Gait3D (surpassing SwinGait and Mesh-Gait at 75.0%) and 84.3% overall Rank-1 on SUSTech1K (beating DeepGaitV2 at 82.3%).

Limitations and Future Work

  • Multimodal Hallucinations and Static Bias: VLMs can still hallucinate plausible-sounding but ungrounded details, and they sometimes lean heavily on static posture while missing subtle, rapid temporal gait variations. This residual caption noise can trickle into sample weighting and relation distillation.
  • Future Directions: The authors suggest evaluating stronger foundation models as they emerge and ensembling descriptions from multiple models to reduce caption noise and better capture fine-grained motion dynamics.

Summary updated

Abstract

Self-supervised gait representation learning aims to learn transferable representations that generalize to unseen scenarios. Existing visual-only approaches provide limited guidance for assessing the semantic value of individual sequences and exploiting relations across samples. To address this limitation, we introduce language priors into self-supervised gait pretraining. We construct GaitLP-1M, a million-scale silhouette-based gait pretraining dataset without identity labels. A two-stage caption generation pipeline further produces gait descriptions from the corresponding RGB sequences. To the best of our knowledge, GaitLP-1M is the first million-scale silhouette gait dataset paired with gait-centric captions. Building on this foundation, we propose GaitLingo, a language-guided self-supervised framework for gait representation learning. Specifically, we design a Caption-Guided Sample Weighting (CSW) mechanism to prioritize informative samples based on sequence-level semantic richness and attribute rarity. We then introduce a lightweight Temporal Adapter (TA) to better capture motion semantics and improve cross-domain robustness. Finally, we propose Soft Relation Distillation (SRD) to transfer caption-derived relational structures into the visual embedding space. Extensive experiments demonstrate that GaitLingo consistently outperforms prior self-supervised gait pretraining methods in the zero-shot setting across six benchmarks. Compared with GaitSSB, it achieves Rank-1 gains of 12.1 percentage points on Gait3D and 7.9 percentage points on GREW, as well as an average improvement of 9.1 percentage points across four CCPG settings.
BibTeX
@inproceedings{wang2026gaitlingo,
  author = {Chenye Wang and Zhengxiang Lan and Saihui Hou and Zhikang Liu and Xingqun Qi and Yongzhen Huang and Sirui Han},
  title = {{GaitLingo: Self-Supervised Gait Representation Learning with Language Priors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=iGvBtSYHHN},
}
Figure