arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.01272cs.AIcs.LG
收藏

将他人心智建模为代码

Modeling Others' Minds as Code

Department of Computer Science, University of Washington(华盛顿大学计算机科学系);Department of Computer Science, Johns Hopkins University(约翰霍普金斯大学计算机科学系)

Kunal Jha, Aydan Yuenan Huang, Eric Ye, Natasha Jaques, Max Kleiman-Weiner

AI总结:

针对现有人类行为建模方法数据需求大、鲁棒性差的问题,提出将日常行为建模为代码化行为程序的ROTE算法,结合LLM与概率推理,在多测试场景中预测表现显著优于基线,为真实世界人类行为预测提供新路径。

摘要:

准确预测人类行为对于稳健、安全的人-人工智能协作至关重要。然而,现有的人类建模方法通常数据需求量大且鲁棒性差,因为它们要么对理性做出不切实际的假设,要么计算量过大,无法快速适配。我们的核心洞见是,许多日常社交互动可能遵循可预测的模式,即能为行动者和观察者最小化认知负荷的高效“脚本”,例如“等绿灯亮了再走”。\n我们提出将这些日常行为模式建模为以计算机代码实例化的行为程序,而非基于信念和欲望条件化的策略。我们引入了ROTE这一新型算法,它既利用大语言模型(LLMs)合成行为程序的假设空间,又通过概率推理对该空间上的不确定性进行推断。\n我们在一组网格世界任务和一个大规模具身家庭模拟器中测试了ROTE。ROTE能从稀疏观测中预测人类和人工智能的行为,在样本内准确率和样本外泛化能力方面,表现优于行为克隆、基于LLM的方法等强基线,最高提升达50%。通过将动作理解视为程序合成问题,ROTE为人工智能系统在真实世界中高效、有效地预测人类行为开辟了道路。

英文摘要:

Accurate prediction of human behavior is essential for robust and safe human-AI collaboration. However, existing approaches for modeling people are often data-hungry and brittle because they either make unrealistic assumptions about rationality or are too computationally demanding to adapt rapidly. Our key insight is that many everyday social interactions may follow predictable patterns; efficient "scripts" that minimize cognitive load for actors and observers, e.g., "wait for the green light, then go." We propose modeling these routines as behavioral programs instantiated in computer code rather than policies conditioned on beliefs and desires. We introduce ROTE, a novel algorithm that leverages both large language models (LLMs) for synthesizing a hypothesis space of behavioral programs, and probabilistic inference for reasoning about uncertainty over that space. We test ROTE in a suite of gridworld tasks and a large-scale embodied household simulator. ROTE predicts human and AI behaviors from sparse observations, outperforming competitive baselines -- including behavior cloning and LLM-based methods -- by as much as 50% in terms of in-sample accuracy and out-of-sample generalization. By treating action understanding as a program synthesis problem, ROTE opens a path for AI systems to efficiently and effectively predict human behavior in the real-world.

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

↑