用语言模型编码活动语义,提升上下文感知动作识别准确率
Semantically Encoding Activity Labels for Context-Aware Human Activity Recognition
- 将活动标签转为语义向量,捕捉动作间相似关系
- 在噪声数据和缺失传感器场景下表现更优
- 适合需要理解动作语义的智能设备应用
以往研究将上下文感知人类活动识别(CA-HAR)视为多标签分类问题,输入为时间序列传感器数据,输出为表示活动或情境是否发生的二值标签。这些方法或独立预测每个标签,或通过图结构手动设定关系,但均忽视了活动标签本身丰富的语义关联。例如,步行、慢跑和跑步具有相似运动模式但强度不同,属于语义相关类别。因此,现有方法难以准确捕捉此类内在细微关系,尤其在标注噪声较大的典型CA-HAR数据集或理想传感器不可用(如无音频传感器识别说话)的情况下。为此,本文提出SEAL方法,利用语言模型(LM)对活动标签进行语义编码,生成保留自然语言语义信息的向量嵌入。SEAL将智能设备采集的时间序列传感器数据及其对应活动与情境标签(文本)统一映射为向量嵌入,在训练中使传感器数据表示与标签嵌入在共享空间中对齐;推理时通过相似度搜索返回与输入最匹配的活动标签。尽管语言模型已在其他领域广泛应用,其在CA-HAR中的潜力仍被严重低估,本工作为该领域带来新范式。研究为将更先进的语言模型融入动作识别任务开辟了新路径。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。