基于心智理论评估与增强掼蛋中的LLM智能体:一种不完全信息下的多玩家合作博弈
Evaluating and Enhancing LLMs Agent based on Theory of Mind in Guandan: A Multi-Player Cooperative Game under Imperfect Information
AI总结:
本文研究LLM智能体在掼蛋这一不完全信息多玩家合作游戏中的协作能力,提出基于心智理论的规划技术并结合外部工具应对复杂动作空间,实验表明LLM虽与强化学习模型存在性能差距,但能理解盟友与对手并提升协作表现。
摘要:
大型语言模型(LLMs)已在处理简单的不完全信息游戏和实现多智能体协调方面展现出成功,但它们在复杂的不完全信息环境中,尤其是在非英语环境中,促进与其他智能体进行实际协作的能力仍需探索。本研究考察了开源和基于API的LLMs所获取的知识在需要智能体在不完全信息下协作的复杂文本游戏中的适用性,并将其性能与使用其他类型智能体的既有基线进行比较。我们提出了一种心智理论(Theory of Mind, ToM)规划技术,使LLM智能体仅使用游戏规则、当前状态和历史上下文作为输入,就能针对各种对手调整策略。我们引入了一个外部工具来缓解该卡牌游戏中动态且庞大的动作空间所带来的挑战。我们的结果表明,尽管当前LLMs与最先进的强化学习(RL)模型之间存在性能差距,但LLMs在此游戏环境中展示了心智理论能力。它持续提升了它们对抗对手智能体的表现,表明它们能够理解盟友和对手的行动,并与盟友建立协作。为了鼓励进一步的研究和理解,我们已将代码库公开访问。
英文摘要:
Large language models (LLMs) have shown success in handling simple games with imperfect information and enabling multi-agent coordination, but their ability to facilitate practical collaboration against other agents in complex, imperfect information environments, especially in a non-English environment, still needs to be explored. This study investigates the applicability of knowledge acquired by open-source and API-based LLMs to sophisticated text-based games requiring agent collaboration under imperfect information, comparing their performance to established baselines using other types of agents. We propose a Theory of Mind (ToM) planning technique that allows LLM agents to adapt their strategy against various adversaries using only game rules, current state, and historical context as input. An external tool was incorporated to mitigate the challenge of dynamic and extensive action spaces in this card game. Our results show that although a performance gap exists between current LLMs and state-of-the-art reinforcement learning (RL) models, LLMs demonstrate ToM capabilities in this game setting. It consistently improves their performance against opposing agents, suggesting their ability to understand the actions of allies and adversaries and establish collaboration with allies. To encourage further research and understanding, we have made our codebase openly accessible.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。