arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.06586cs.LGcs.AIcs.CL
收藏

ContextGPT:将大语言模型知识注入神经符号活动识别模型

ContextGPT: Infusing LLMs Knowledge into Neuro-Symbolic Activity Recognition Models

University of Milan(米兰大学)

Luca Arrotta, Claudio Bettini, Gabriele Civitarese, Michele Fiori

AI总结:

针对上下文感知人类活动识别中标注数据稀缺、现有神经符号方法依赖本体构建成本高的问题,提出ContextGPT提示工程方法从LLMs提取活动-场景常识知识,注入神经符号模型后在数据稀缺场景下以极低投入取得媲美甚至优于逻辑方法的识别效果。

摘要:

上下文感知的人类活动识别(HAR)是移动计算领域的研究热点,现有文献中最有效的方案均基于监督深度学习模型。然而,这类系统的实际部署受限于训练所需标注数据的稀缺性。神经符号人工智能(NeSy)通过将人类活动及其可执行场景的常识知识注入HAR深度学习分类器,为缓解这一问题提供了颇具潜力的研究方向。现有面向上下文感知HAR的NeSy方法依赖基于逻辑的模型(如本体)中编码的知识,而设计、实现和维护这类模型以覆盖新活动与新场景,需要大量人工工程投入、技术知识与领域专业技能。近期研究表明,预训练大语言模型(LLMs)可有效编码人类活动相关的常识知识。本研究提出ContextGPT:一种新颖的提示工程方法,用于从LLMs中检索人类活动与其执行场景之间关联的常识知识。与本体不同,ContextGPT所需的人力投入与专业技能要求极低。在两个公开数据集上开展的广泛评估显示,通过注入ContextGPT提供的常识知识得到的NeSy模型在数据稀缺场景下表现优异,仅需极少的投入就能达到与基于逻辑的方法相近(有时甚至更优)的识别准确率。

英文摘要:

Context-aware Human Activity Recognition (HAR) is a hot research area in mobile computing, and the most effective solutions in the literature are based on supervised deep learning models. However, the actual deployment of these systems is limited by the scarcity of labeled data that is required for training. Neuro-Symbolic AI (NeSy) provides an interesting research direction to mitigate this issue, by infusing common-sense knowledge about human activities and the contexts in which they can be performed into HAR deep learning classifiers. Existing NeSy methods for context-aware HAR rely on knowledge encoded in logic-based models (e.g., ontologies) whose design, implementation, and maintenance to capture new activities and contexts require significant human engineering efforts, technical knowledge, and domain expertise. Recent works show that pre-trained Large Language Models (LLMs) effectively encode common-sense knowledge about human activities. In this work, we propose ContextGPT: a novel prompt engineering approach to retrieve from LLMs common-sense knowledge about the relationship between human activities and the context in which they are performed. Unlike ontologies, ContextGPT requires limited human effort and expertise. An extensive evaluation carried out on two public datasets shows how a NeSy model obtained by infusing common-sense knowledge from ContextGPT is effective in data scarcity scenarios, leading to similar (and sometimes better) recognition rates than logic-based approaches with a fraction of the effort.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑