mlsanityData to 14 Oct 2026

Closing the Modality Gap in Zero-Shot HAR: Contrastive Training and Separability-Optimized Prototypes on IMU Data

arXiv 2606.10789 ↗First posted 9 Jun 2026cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Zero-shot learning (ZSL) for inertial measurement unit (IMU)-based human activity recognition (HAR) faces a central challenge: bridging the gap between sensor embeddings and semantic class representations. We systematically evaluate seven configurations combining three inference methods with two training pipelines on the PAMAP2 dataset, using 14 seen and 4 unseen activity classes with subjects 108 and 109 held out for testing. We find that the modality gap is a training-time phenomenon governed by the encoder objective. A temporal convolutional network (TCN) trained with cross-entropy over label-name Sentence- BERT prototypes yields sensor embeddings with a mean cosine similarity of 0.30 to the corresponding text prototypes, while replacing the label-name prototype targets with discriminative activity descriptions raises this to 0.69. This alignment improvement transfers consistently across all three inference methods. The strongest result combines contrastive training with inverted softmax correction, achieving 73.2% accuracy and 0.583 macro F1 on unseen classes, compared to 58.3% accuracy and 0.34 macro F1 for the label-name baseline. A secondary finding is that richer text descriptions reduce inter-prototype separability in Sentence-BERT space, because shared biomechanical vocabulary causes the language model to compress the prototype cloud. This effect does not negate the benefits of contrastive alignment provided prototype descriptions retain sufficient discriminative vocabulary. We also demonstrate that overall accuracy is a misleading primary metric when test-set class distributions are imbalanced, and recommend macro-averaged F1 as the standard reporting metric for ZSL-HAR benchmarks.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 21 references that are in the map. First posted on arXiv 9 Jun 2026.

Builds on

14 of 21 references.

References · 14

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  3. 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 561
  4. 2017Zero-Shot Learning -- A Comprehensive Evaluation of the Good, the Bad and the Uglycited by 538
  5. 2018Generalized Zero- and Few-Shot Learning via Aligned Variational Autoencoderscited by 206
  6. 2017Offline bilingual word vectors, orthogonal transformations and the inverted softmaxcited by 96
  7. 2024HARGPT: Are LLMs Zero-Shot Human Activity Recognizers?cited by 54
  8. 2024SensorLLM: Aligning Large Language Models with Motion Sensors for Human Activity Recognitioncited by 38
  9. 2024UniMTS: Unified Pre-training for Motion Time Seriescited by 26
  10. 2025ZARA: Training-Free Motion Time-Series Reasoning via Evidence-Grounded LLM Agentscited by 15
  11. 2024Limitations in Employing Natural Language Supervision for Sensor-Based Human Activity Recognition -- And Ways to Overcome Themcited by 10
  12. 2024Large Language Model-Guided Semantic Alignment for Human Activity Recognitioncited by 6
2 more
  1. 2025Exploring the Capabilities of LLMs for IMU-based Fine-grained Human Activity Understandingcited by 5
  2. 2025SEZ-HARN: Self-Explainable Zero-shot Human Activity Recognition Networkcited by 2

Built on by

Not cited yet.