LLMSense:利用大语言模型对时空传感器轨迹进行高层推理
LLMSense: Harnessing LLMs for High-level Reasoning Over Spatiotemporal Sensor Traces
AI总结:
本文提出LLMSense框架,利用大语言模型的推理能力对长期时空传感器轨迹进行高层推理,通过摘要生成和历史轨迹选择性纳入策略,在痴呆症诊断与占用追踪任务上实现超过80%的准确率。
摘要:
大多数关于传感系统中机器学习的研究都集中在低层感知任务上,这些任务在较短的时间窗口内处理原始传感数据。然而,许多实际应用,如人类日常行为建模和占用追踪,需要高层推理能力来理解概念并基于长期传感器轨迹进行推断。现有的基于机器学习的方法在处理此类复杂任务时,由于训练样本有限且传感器轨迹维度较高,难以实现泛化,因此必须整合人类知识来设计第一性原理模型或逻辑推理方法。我们提出一个根本性问题:能否利用大语言模型(LLMs)的推理能力和世界知识,从长期时空传感器轨迹中识别复杂事件?为了回答这个问题,我们为LLMs设计了一个有效的高层推理任务提示框架,该框架既能处理来自原始传感器数据的轨迹,也能处理低层感知结果。我们还设计了两种策略来提升长传感器轨迹下的性能,包括推理前的摘要生成以及历史轨迹的选择性纳入。我们的框架可以在边缘-云架构中实现,在边缘端运行小型LLMs进行数据摘要,并在云端执行高层推理以保护隐私。结果表明,LLMSense在两个高层推理任务上可以达到超过80%的准确率,这两个任务分别是基于行为轨迹的痴呆症诊断和基于环境传感器轨迹的占用追踪。本文为利用LLM对传感器轨迹进行高层推理提供了若干见解和指导原则,并指出了未来工作的几个方向。
英文摘要:
Most studies on machine learning in sensing systems focus on low-level perception tasks that process raw sensory data within a short time window. However, many practical applications, such as human routine modeling and occupancy tracking, require high-level reasoning abilities to comprehend concepts and make inferences based on long-term sensor traces. Existing machine learning-based approaches for handling such complex tasks struggle to generalize due to the limited training samples and the high dimensionality of sensor traces, necessitating the integration of human knowledge for designing first-principle models or logic reasoning methods. We pose a fundamental question: Can we harness the reasoning capabilities and world knowledge of Large Language Models (LLMs) to recognize complex events from long-term spatiotemporal sensor traces? To answer this question, we design an effective prompting framework for LLMs on high-level reasoning tasks, which can handle traces from the raw sensor data as well as the low-level perception results. We also design two strategies to enhance performance with long sensor traces, including summarization before reasoning and selective inclusion of historical traces. Our framework can be implemented in an edge-cloud setup, running small LLMs on the edge for data summarization and performing high-level reasoning on the cloud for privacy preservation. The results show that LLMSense can achieve over 80\% accuracy on two high-level reasoning tasks such as dementia diagnosis with behavior traces and occupancy tracking with environmental sensor traces. This paper provides a few insights and guidelines for leveraging LLM for high-level reasoning on sensor traces and highlights several directions for future work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。