In general-sum games, the interaction of self-interested learning agents commonly leads to collectively worst-case outcomes, such as defect-defect in the iterated prisoner's dilemma (IPD). To overcome this, some methods, such as Learning with Opponent-Learning Awareness (LOLA), shape their opponents' learning process. However, these methods are myopic since only a small number of steps can be anticipated, are asymmetric since they treat other agents as naive learners, and require the use of higher-order derivatives, which are calculated through white-box access to an opponent's differentiable learning algorithm. To address these issues, we propose Model-Free Opponent Shaping (M-FOS). M-FOS learns in a meta-game in which each meta-step is an episode of the underlying inner game. The meta-state consists of the inner policies, and the meta-policy produces a new inner policy to be used in the next episode. M-FOS then uses generic model-free optimisation methods to learn meta-policies that accomplish long-horizon opponent shaping. Empirically, M-FOS near-optimally exploits naive learners and other, more sophisticated algorithms from the literature. For example, to the best of our knowledge, it is the first method to learn the well-known Zero-Determinant (ZD) extortion strategy in the IPD. In the same settings, M-FOS leads to socially optimal outcomes under meta-self-play. Finally, we show that M-FOS can be scaled to high-dimensional settings.
Department of Computer Science, University College London(计算机科学系,伦敦大学学院);Centre for Artificial Intelligence, University College London(人工智能中心,伦敦大学学院);Department of Computer Science, University of Bologna(计算机科学系,博洛尼亚大学)
FLAIR, Foerster Lab for AI Research(FLAIR人工智能研究实验室);Department of Engineering, University of Oxford, Oxford, UK(牛津大学工程系);Department of Biomedicine, University of Basel, Basel, Switzerland(巴塞尔大学生物医学系);Isomorphic Labs, London, UK(Isomorphic实验室);Epsilogen Ltd., London, UK(Epsilogen有限公司)
SAGE: Structured Strategic Reasoning for Efficient LLM Game Playing
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Johns Hopkins University(约翰斯·霍普金斯大学);Microsoft(微软);Fudan University(复旦大学);University of Science and Technology of China(中国科学技术大学)
我们提出了第一个无模型算法,在具有无限水平平均奖励目标的两人零和表格随机游戏中实现分散学习的低遗憾性能。在分散式学习中,学习代理只控制一个玩家,并试图实现对任意对手的低后悔性能。这与集中式学习形成对比,在集中式学习中,代理试图通过控制两个参与者来近似纳什均衡。在我们的无限时域未贴现设置中,需要额外的结构假设来提供学习过程的良好行为:这里我们假设对于对手的每一个策略,代理都有一种从任何状态到任何其他状态的方式。该假设类似于MDP设置中的“通信”假设。我们表明,我们的分散式乐观纳什Q学习(DONQ学习)算法实现了次线性高概率遗憾的顺序$T^{3/4}$和次线性预期遗憾的顺序$T^{2/3}$。此外,与相同设置下的(Wei et al. 2017)和(Jafarnia-Jahromi et al. 2021)之前的工作相比,我们的算法具有较低的计算复杂性和较低的内存空间需求。