Matching Skeleton-based Activity Representations with Heterogeneous Signals for HAR

Shuheng Li, Jiayun Zhang, Xiaohan Fu, Xiyuan Zhang, Jingbo Shang, Rajesh K. Gupta · DOI

Introduction

Human Activity Recognition (HAR) is a cornerstone of ubiquitous computing, enabling applications ranging from health monitoring to smart home automation. Traditionally, HAR models are trained to map sensor data—such as accelerometer readings from a smartwatch or Channel State Information (CSI) from WiFi—to discrete activity labels. However, these labels are typically encoded as one-hot vectors or simple text strings. This approach ignores the physical realities of human motion; for instance, a one-hot encoding treats "walking" and "running" as equally distinct as "walking" and "brushing teeth," despite the significant kinematic overlap between the former pair.

This paper introduces SKELAR, a framework designed to anchor HAR to physical motion by pretraining activity representations from 3D skeleton data. By grounding labels in actual joint movements, SKELAR enables models to understand the physical relationships between different activities, leading to superior performance in both full-shot and few-shot learning scenarios.

The Challenge of Physical Grounding

Grounding HAR in physical motion introduces two primary technical hurdles:

  1. User Invariance: How can a model extract the "essence" of a motion from 3D skeleton data without overfitting to a specific individual's body proportions or the camera's perspective?
  2. Cross-Modality Matching: How can a full-body skeleton representation be matched to downstream sensors that may only capture partial body movements (like a wrist-worn IMU) or environmental disturbances (like WiFi signals)?

The SKELAR Framework

To address these challenges, the authors propose a two-phase framework centered on skeleton representation learning and attention-based matching.

1. Skeleton Representation Learning via Coarse Angle Reconstruction

Instead of training an auto-encoder to reconstruct exact 3D joint coordinates—which often leads the model to memorize specific body shapes—SKELAR employs a novel coarse angle reconstruction task. The model calculates 3D rotation angles between joints and divides the angle space into discrete "bins." The training objective is to classify which bin an angle falls into. This discretization forces the model to learn fundamental poses and movements while remaining invariant to user-specific body proportions.

Visualization of 3D skeleton data across different views and users, highlighting the joint angles used for representation learning.

2. Attention-Based Label Matching

In the downstream HAR phase, SKELAR replaces standard classification heads with a matching module. Sensor features are matched against pretrained skeleton representations using a dot-product. To account for the fact that different sensors prioritize different body parts, SKELAR introduces a self-attention matching module. This module dynamically weights the importance of specific joints based on the sensor modality. For example, it might prioritize wrist and arm joints for smartwatch data, while spreading attention across the entire body for WiFi-based sensing.

Datasets and Evaluation

The authors evaluated SKELAR using several public datasets (OPPORTUNITY, PAMAP2, UTHAR, and NTUFi) and introduced a new benchmark: the Multimodal Activity Sensing Dataset (MASD). MASD features time-synchronized data from IMUs (smartwatch and smartphone), WiFi (CSI), and Kinect skeleton data, involving 20 volunteers performing 27 distinct activities.

Key Insights and Results

  • Superiority of Angles: T-SNE visualizations demonstrate that angle-based representations cluster activities effectively, whereas coordinate-based representations tend to cluster by user, proving the effectiveness of the coarse angle reconstruction task.
  • Modality-Specific Attention: The self-attention module successfully learns physical deployment realities. In the OPPORTUNITY dataset, which uses a back-mounted IMU, the model automatically prioritized the torso and hips.
  • Performance Gains: SKELAR consistently outperformed one-hot encoding, Llama-2 text embeddings, and other baselines. On IMU datasets, it achieved a mean accuracy of 90.52%, and on WiFi datasets, it reached 82.42%.
  • Few-Shot Generalization: In a 5-shot setting on the MASD-IMU dataset, SKELAR achieved 70.56% accuracy, significantly outperforming the one-hot baseline of 66.67%.

Conclusion

SKELAR demonstrates that grounding activity labels in physical motion representations significantly enhances the robustness and generalizability of HAR models. By moving away from arbitrary one-hot vectors toward physically informed embeddings, the framework bridges the gap between heterogeneous sensor signals and the actual human movements they seek to recognize. Future work will explore extending this approach to other modalities like radar and lidar, as well as optimizing the framework for zero-shot learning environments.

Summary updated

BibTeX
@inproceedings{li2025matching,
  author = {Shuheng Li and Jiayun Zhang and Xiaohan Fu and Xiyuan Zhang and Jingbo Shang and Rajesh K. Gupta},
  title = {{Matching Skeleton-based Activity Representations with Heterogeneous Signals for HAR}},
  booktitle = {SenSys},
  year = {2025},
  doi = {10.1145/3715014.3722089},
}
Figure