Semantically Encoding Activity Labels for Context-Aware Human Activity Recognition

Wen Ge, Guanyi Mou, Emmanuel O. Agu, Kyumin Lee
4/10/2025
cs.LG

No official code found. Best implementation: GMouYes/SEAL (0 stars, last commit 2025-01-13).

Abstract

Prior work has primarily formulated CA-HAR as a multi-label classification problem, where model inputs are time-series sensor data and target labels are binary encodings representing whether a given activity or context occurs. These CA-HAR methods either predicted each label independently or manually imposed relationships using graphs. However, both strategies often neglect an essential aspect: activity labels have rich semantic relationships. For instance, walking, jogging, and running activities share similar movement patterns but differ in pace and intensity, indicating that they are semantically related. Consequently, prior CA-HAR methods often struggled to accurately capture these inherent and nuanced relationships, particularly on datasets with noisy labels typically used for CA-HAR or situations where the ideal sensor type is unavailable (e.g., recognizing speech without audio sensors). To address this limitation, we propose SEAL, which leverage LMs to encode CA-HAR activity labels to capture semantic relationships. LMs generate vector embeddings that preserve rich semantic information from natural language. Our SEAL approach encodes input-time series sensor data from smart devices and their associated activity and context labels (text) as vector embeddings. During training, SEAL aligns the sensor data representations with their corresponding activity/context label embeddings in a shared embedding space. At inference time, SEAL performs a similarity search, returning the CA-HAR label with the embedding representation closest to the input data. Although LMs have been widely explored in other domains, surprisingly, their potential in CA-HAR has been underexplored, making our approach a novel contribution to the field. Our research opens up new possibilities for integrating more advanced LMs into CA-HAR tasks.

View on arXivView PDF

Code Implementations(1)

GMouYes/SEALCommunity100%

Code Repository for PerCom 2025 paper "Semantically Encoding Activity Labels for Context-Aware Human Activity Recognition"

00Shell, PythonJan 2, 20251 years ago

Similar Papers

Cite this paper

@article{ge2025semantically,
  title  = {Semantically Encoding Activity Labels for Context-Aware Human Activity Recognition},
  author = {Wen Ge and Guanyi Mou and Emmanuel O. Agu and Kyumin Lee},
  year   = {2025},
  eprint = {2504.07916},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.07916v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.07916.svg)](https://codeofpaper.com/paper/2504.07916)

Discussion