arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.11176cs.CLcs.AIcs.CEcs.LG
收藏

评估LLM在智能环境中的少样本时间推理用于人类活动预测

Evaluating Few-Shot Temporal Reasoning of LLMs for Human Activity Prediction in Smart Environments

organization= Department of Civil \& Environmental Engineering, Carnegie Mellon University , addressline= 5000 Forbes Ave , city= Pittsburgh , state= PA , postcode= 15213 , country= USA;organization= Department of Mechanical Engineering, Carnegie Mellon University , addressline= 5000 Forbes Ave , city= Pittsburgh , state= PA , postcode= 15213 , country= USA

Maral Doctorarastoo, Katherine A. Flanigan, Mario Bergés, Christopher McComb

AI总结:

本文研究了预训练语言模型在智能环境中的少样本时间推理能力,通过评估其在人类活动预测中的表现,发现其在低数据环境下具备强大的时间理解能力。

摘要:

预见人类活动及其持续时间对于智能家庭自动化、基于模拟的建筑和城市设计、基于活动的交通系统模拟以及人机协作等应用至关重要。现有的数据驱动的基于代理的模型——从基于规则的到深度学习的——在低数据环境中表现不佳,限制了其实用性。本文探讨了预训练于广泛人类知识的大型语言模型是否能通过从紧凑的上下文线索中推理解决这一问题。我们采用一种检索增强的提示策略,整合四个来源的上下文——时间、空间、行为历史和身份,并在CASAS Aruba智能家庭数据集上进行评估。评估涵盖两个互补的任务:下一步活动预测与持续时间估计,以及多步骤日常序列生成,每个任务都使用不同数量的少样本示例进行测试。分析少样本效果揭示了多少上下文监督足以在低数据环境中平衡数据效率和预测准确性。结果表明,大型语言模型在人类行为的时间理解方面表现出强大的固有能力:即使在零样本设置中,它们也能产生连贯的日常活动预测,而添加一个或两个示例进一步优化了持续时间校准和类别准确性。超过几个示例后,性能趋于饱和,表明边际收益递减。序列级评估确认了在少样本条件下的一致时间对齐。这些发现表明,预训练语言模型可以作为有前途的时间推理器,捕捉到重复的例行公事和情境依赖的行为变化,从而加强基于代理的模型的行为模块。

英文摘要:

Anticipating human activities and their durations is essential in applications such as smart-home automation, simulation-based architectural and urban design, activity-based transportation system simulation, and human-robot collaboration, where adaptive systems must respond to human activities. Existing data-driven agent-based models--from rule-based to deep learning--struggle in low-data environments, limiting their practicality. This paper investigates whether large language models, pre-trained on broad human knowledge, can fill this gap by reasoning about everyday activities from compact contextual cues. We adopt a retrieval-augmented prompting strategy that integrates four sources of context--temporal, spatial, behavioral history, and persona--and evaluate it on the CASAS Aruba smart-home dataset. The evaluation spans two complementary tasks: next-activity prediction with duration estimation, and multi-step daily sequence generation, each tested with various numbers of few-shot examples provided in the prompt. Analyzing few-shot effects reveals how much contextual supervision is sufficient to balance data efficiency and predictive accuracy, particularly in low-data environments. Results show that large language models exhibit strong inherent temporal understanding of human behavior: even in zero-shot settings, they produce coherent daily activity predictions, while adding one or two demonstrations further refines duration calibration and categorical accuracy. Beyond a few examples, performance saturates, indicating diminishing returns. Sequence-level evaluation confirms consistent temporal alignment across few-shot conditions. These findings suggest that pre-trained language models can serve as promising temporal reasoners, capturing both recurring routines and context-dependent behavioral variations, thereby strengthening the behavioral modules of agent-based models.

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

↑