让智能体学会猜人心:从模糊指令中推断人类意图
Theory of Mind in Action: The Instruction Inference Task in Dynamic Human-Agent Collaboration
- 用少量示例+思维链训练,让大模型理解未说清的指令
- 在人机协作任务中,性能接近真人,尤其在GPT-4o和DeepSeek-R1上表现优异
- 适合研究人机协同、智能体推理与对话系统的人参考
高效的人机协作依赖于智能体理解(人类)主事者给出的指令。在许多情况下,指令可能不完整或模糊,此时智能体需基于共享上下文推断主事者的隐含意图,即具备主事者的理论心理(ToM)能力。本文探讨大语言模型(LLMs)在动态、目标导向的协作环境中实现这一能力的潜力。为此,我们提出了新的「指令推断」任务,要求智能体通过解析不完整或模糊的指令,协助主事者达成目标。我们设计了基于LLM的智能体Tomcat,支持两种变体:一种为少样本思维链(Fs-CoT),另一种为基于常识提示(CP)。两者均在GPT-4o、DeepSeek-R1和Gemma-3-27B三款主流大模型上实现。我们招募52名人类参与者,提供与CP变体相同的背景信息,评估指标包括意图准确率、行动最优性和规划最优性。结果表明,采用Fs-CoT的Tomcat(尤其是使用GPT-4o和DeepSeek-R1时)表现与人类相当,验证了其在人机协作中具备理论心理推理潜力。
原文摘要 · Abstract (English)
Successful human-agent teaming relies on an agent being able to understand instructions given by a (human) principal. In many cases, an instruction may be incomplete or ambiguous. In such cases, the agent must infer the unspoken intentions from their shared context, that is, it must exercise the principal's Theory of Mind (ToM) and infer the mental states of its principal. We consider the prospects of effective human-agent collaboration using large language models (LLMs). To assess ToM in a dynamic, goal-oriented, and collaborative environment, we introduce a novel task, Instruction Inference, in which an agent assists a principal in reaching a goal by interpreting incomplete or ambiguous instructions. We present Tomcat, an LLM-based agent, designed to exhibit ToM reasoning in interpreting and responding to the principal's instructions. We implemented two variants of Tomcat. One, dubbed Fs-CoT (Fs for few-shot, CoT for chain-of-thought), is based on a small number of examples demonstrating the requisite structured reasoning. One, dubbed CP (commonsense prompt), relies on commonsense knowledge and information about the problem. We realized both variants of Tomcat on three leading LLMs, namely, GPT-4o, DeepSeek-R1, and Gemma-3-27B. To evaluate the effectiveness of Tomcat, we conducted a study with 52 human participants in which we provided participants with the same information as the CP variant. We computed intent accuracy, action optimality, and planning optimality to measure the ToM capabilities of Tomcat and our study participants. We found that Tomcat with Fs-CoT, particularly with GPT-4o and DeepSeek-R1, achieves performance comparable to the human participants, underscoring its ToM potential for human-agent collaboration.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。