SensorLLM:将大语言模型与运动传感器对齐以实现人类活动识别
SensorLLM: Aligning Large Language Models with Motion Sensors for Human Activity Recognition
AI总结:
针对LLMs在运动传感器HAR任务中因语义缺失等局限未被充分利用的问题,提出两阶段框架SensorLLM,通过传感器-语言对齐(含通道边界特殊标记)与任务感知调优,实现无需标注的有效识别且性能超现有方法,为时间序列-文本对齐研究奠基。
摘要:
我们提出SensorLLM,这是一个两阶段框架,能让大语言模型(LLMs)从传感器时间序列数据中执行人类活动识别(HAR)。尽管LLMs具备强大的推理和泛化能力,但由于时间序列缺乏语义上下文、计算约束以及处理数值输入的挑战,它们在运动传感器数据中的应用仍未充分开发。SensorLLM通过传感器-语言对齐阶段解决这些局限,该阶段中模型将传感器输入与趋势描述对齐。引入特殊标记来标记通道边界。这种对齐使LLMs无需人类标注即可捕获数值变化、通道特定特征和不同时长的数据。在后续的任务感知调优阶段,我们针对HAR分类优化模型,其性能达到或超过现有最先进方法。我们的结果表明,SensorLLM通过人类直观的传感器-语言对齐,进化为有效的传感器学习器、推理器和分类器,可在不同HAR数据集上泛化。我们相信这项工作为未来时间序列与文本对齐的研究奠定基础,为传感器数据分析的基础模型铺路。我们的代码可在https://github.com/zechenli03/SensorLLM获取。
英文摘要:
We introduce SensorLLM, a two-stage framework that enables Large Language Models (LLMs) to perform human activity recognition (HAR) from sensor time-series data. Despite their strong reasoning and generalization capabilities, LLMs remain underutilized for motion sensor data due to the lack of semantic context in time-series, computational constraints, and challenges in processing numerical inputs. SensorLLM addresses these limitations through a Sensor-Language Alignment stage, where the model aligns sensor inputs with trend descriptions. Special tokens are introduced to mark channel boundaries. This alignment enables LLMs to capture numerical variations, channel-specific features, and data of varying durations, without requiring human annotations. In the subsequent Task-Aware Tuning stage, we refine the model for HAR classification, achieving performance that matches or surpasses state-of-the-art methods. Our results demonstrate that SensorLLM evolves into an effective sensor learner, reasoner, and classifier through human-intuitive Sensor-Language Alignment, generalizing across diverse HAR datasets. We believe this work establishes a foundation for future research on time-series and text alignment, paving the way for foundation models in sensor data analysis. Our codes are available at https://github.com/zechenli03/SensorLLM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。