Training agents in cooperative settings offers the promise of AI agents able to interact effectively with humans (and other agents) in the real world. Multi-agent reinforcement learning (MARL) has the potential to achieve this goal, demonstrating success in a series of challenging problems. However, whilst these advances are significant, the vast majority of focus has been on the self-play paradigm. This often results in a coordination problem, caused by agents learning to make use of arbitrary conventions when playing with themselves. This means that even the strongest self-play agents may have very low cross-play with other agents, including other initializations of the same algorithm. In this paper we propose to solve this problem by adapting agent strategies on the fly, using a posterior belief over the other agents' strategy. Concretely, we consider the problem of selecting a strategy from a finite set of previously trained agents, to play with an unknown partner. We propose an extension of the classic statistical technique, Gibbs sampling, to update beliefs about other agents and obtain close to optimal ad-hoc performance. Despite its simplicity, our method is able to achieve strong cross-play with unseen partners in the challenging card game of Hanabi, achieving successful ad-hoc coordination without knowledge of the partner's strategy a priori.
Benchmarking the Limits of In-Context Reinforcement Learning for Ad-Hoc Teamwork
C$^{2}$DL, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所C²DL实验室);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);School of Future Technology, University of Chinese Academy of Sciences(中国科学院大学未来技术学院);Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究所);Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系);University of Science and Technology of China(中国科学技术大学);Qwen Team, Alibaba Group(阿里集团Qwen团队)
K-level Reasoning for Zero-Shot Coordination in Hanabi
Facebook AI Research(脸书人工智能研究院);University of Oxford(牛津大学)
在合作的多代理设置的标准问题设置是自我发挥(SP),其目标是训练一个团队的代理一起工作。然而,最佳SP策略通常包含任意约定(“握手”),并且与其他独立训练的代理或人类不兼容。后一种需求最近由Hu等人(2020)正式定义为zero-shot协调(ZSC)设置,并部分通过他们的模拟游戏(OP)算法解决,该算法在纸牌游戏Hanabi中显示了改进的ZSC和人类AI性能。OP假设可以访问环境的对称性,并防止代理在训练期间以相互不兼容的方式破坏这些对称性。然而,正如作者所指出的,发现给定环境的对称性是一个计算上的难题。相反,我们表明,通过简单的k级推理(KLR)Costa Gomes et al. 2006,同步训练所有级别,我们可以在Hanabi中获得有竞争力的ZSC和ad-hoc团队合作性能,包括与类人代理机器人配对时。我们还介绍了一种新的方法,同步k级推理与最佳响应(SyKLRBR),它进一步提高了我们的同步KLR的性能,通过共同训练的最佳响应。