arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.11882cs.AIcs.CLcs.HCcs.LGcs.MA
收藏

在语言智能体框架中利用双过程理论实现实时同步人机协作

Leveraging Dual Process Theory in Language Agent Framework for Real-time Simultaneous Human-AI Collaboration

Shanghai Jiao Tong University(上海交通大学);Meituan(美团);Intelligent Game and Decision Laboratory(智能游戏与决策实验室)

Shao Zhang, Xihuai Wang, Wenhao Zhang, Chaoran Li, Junru Song, Tingyu Li, Lin Qiu, Xuezhi Cao, Xunliang Cai, Wen Yao, Weinan Zhang, Xinbing Wang, Ying Wen

AI总结:

针对LLM智能体在实时同步人机协作中因延迟和策略推断困难而难以自主决策的问题,提出DPT-Agent框架,集成System 1(FSM与代码即策略)和System 2(心智理论与异步反思),实现高效实时协作,性能显著优于主流框架。

摘要:

基于大语言模型(LLMs)构建的智能体在回合制人机协作中表现出色,但在需要实时交互的同步任务中却面临困难。延迟问题以及推断多变人类策略的挑战,阻碍了它们在没有明确指令的情况下做出自主决策的能力。通过对当前独立的System 1和System 2方法的实验,我们验证了在实时任务中使用双过程理论的必要性。我们提出了DPT-Agent,这是一种新型语言智能体框架,它集成了System 1和System 2,以实现高效的实时同步人机协作。DPT-Agent的System 1使用有限状态机(FSM)和代码即策略(code-as-policy)进行快速、直观且可控的决策。DPT-Agent的System 2集成了心智理论(ToM)和异步反思,以推断人类意图并执行基于推理的自主决策。我们通过与基于规则的智能体和人类合作者的进一步实验,证明了DPT-Agent的有效性,显示出相对于主流基于LLM的框架的显著改进。DPT-Agent能有效帮助LLMs将正确的慢思考和推理转化为可执行的行动,从而提升性能。据我们所知,DPT-Agent是首个自主实现成功实时同步人机协作的语言智能体框架。DPT-Agent的代码可在https://github.com/sjtu-marl/DPT-Agent找到。

英文摘要:

Agents built on large language models (LLMs) have excelled in turn-by-turn human-AI collaboration but struggle with simultaneous tasks requiring real-time interaction. Latency issues and the challenge of inferring variable human strategies hinder their ability to make autonomous decisions without explicit instructions. Through experiments with current independent System 1 and System 2 methods, we validate the necessity of using Dual Process Theory (DPT) in real-time tasks. We propose DPT-Agent, a novel language agent framework that integrates System 1 and System 2 for efficient real-time simultaneous human-AI collaboration. DPT-Agent's System 1 uses a Finite-state Machine (FSM) and code-as-policy for fast, intuitive, and controllable decision-making. DPT-Agent's System 2 integrates Theory of Mind (ToM) and asynchronous reflection to infer human intentions and perform reasoning-based autonomous decisions. We demonstrate the effectiveness of DPT-Agent through further experiments with rule-based agents and human collaborators, showing significant improvements over mainstream LLM-based frameworks. DPT-Agent can effectively help LLMs convert correct slow thinking and reasoning into executable actions, thereby improving performance. To the best of our knowledge, DPT-Agent is the first language agent framework that achieves successful real-time simultaneous human-AI collaboration autonomously. Code of DPT-Agent can be found in https://github.com/sjtu-marl/DPT-Agent.

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

↑