Department of Computer Science, University College London(计算机科学系,伦敦大学学院);Centre for Artificial Intelligence, University College London(人工智能中心,伦敦大学学院);Department of Computer Science, University of Bologna(计算机科学系,博洛尼亚大学)
Marta Emili Garcia Segura, Stephen Hailes, Mirco Musolesi
Large Language Models (LLMs) are increasingly being deployed as autonomous agents in real-world environments. As these deployments scale, multi-agent interactions become inevitable, making it essential to understand strategic behavior in such systems. A central open question is whether LLM agents, like reinforcement learning agents, can shape the learning dynamics and influence the behavior of others through interaction alone. In this paper, we present the first investigation of opponent shaping (OS) with LLM-based agents. Existing OS algorithms cannot be directly applied to LLMs, as they require higher-order derivatives, face scalability constraints, or depend on architectural components that are absent in transformers. To address this gap, we introduce ShapeLLM, an adaptation of model-free OS methods tailored for transformer-based agents. Using ShapeLLM, we examine whether LLM agents can influence co-players' learning dynamics across diverse game-theoretic environments. We demonstrate that LLM agents can successfully guide opponents toward exploitable equilibria in competitive games (Iterated Prisoner's Dilemma, Matching Pennies, and Chicken) and promote coordination and improve collective welfare in cooperative games (Iterated Stag Hunt and a cooperative version of the Prisoner's Dilemma). Our findings show that LLM agents can both shape and be shaped through interaction, establishing opponent shaping as a key dimension of multi-agent LLM research.
School of Computer Science and Engineering, Nanyang Technological University(南洋理工大学计算机科学与工程学院);Beijing Institute for General Artificial Intelligence(北京通用人工智能研究院)
Opponent Learning Awareness and Modelling in Multi-Objective Normal Form Games
Vrije Universiteit Brussel(布鲁塞尔自由大学);Universiteit van Amsterdam(阿姆斯特丹大学);National University of Ireland Galway(爱尔兰国立大学戈尔韦分校);HU Univ. of Appl. Sci. Utrecht(乌得勒支HU应用科学大学)
Hierarchical Belief Modeling for Zero-Shot Opponent Adaptation in Partially Observable Multi-Agent Navigation
Tsinghua University(清华大学);Stevens Institute of Technology(史蒂文斯理工学院);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Texas A&M University(德克萨斯A&M大学)
Multi-agent Actor-Critic with Time Dynamical Opponent Model
ETH Zürich(苏黎世联邦理工学院);Singapore Management University(新加坡管理大学);EPFL(洛桑联邦理工学院)
在多智能体强化学习中,多个智能体在与公共环境和彼此交互的同时进行学习。由于智能体在学习过程中调整其策略,因此不仅单个智能体的行为变得不稳定,而且智能体所感知的环境也变得不稳定。这使得执行政策改进特别具有挑战性。在本文中,我们建议利用的事实,即代理寻求提高其预期的累积奖励,并引入一种新的\textit{Time Dynamical Opponent Model}(TDOM)编码的知识,对手的政策往往随着时间的推移而改善。我们激励TDOM理论推导出一个下界的日志目标的一个单独的代理,并进一步提出了\textit{Multi-Agent Actor-Critic with Time Dynamical Opponent Model}(TDOM-AC)。我们评估提出的TDOM-AC微分博弈和多智能体粒子环境。我们的经验表明,TDOM实现优越的对手的行为预测在测试时间。所提出的TDOM-AC方法在合作和\textbf{especially}混合合作竞争环境中进行的实验上优于最先进的Actor-Critic方法。TDOM-AC导致更稳定的训练和更快的收敛。
Generalizable Agent Modeling for Agent Collaboration-Competition Adaptation with Multi-Retrieval and Dynamic Generation
Beijing University of Posts and Telecommunications(北京邮电大学);Beijing Institute of Technology(北京理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Tsinghua University(清华大学)
SOM: Structured Opponent Modeling for LLM-based Agents via Structural Causal Model
School of Artificial Intelligence, University of Chinese Academy of Sciences \& Institute of Automation, Chinese Academy of Sciences Beijing China;National Key Laboratory of Cognition;Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences Beijing China;School of Artificial Intelligence, University of Chinese Academy of Sciences Beijing China;Institute of Automation, Chinese Academy of Sciences Beijing China;School of Artificial Intelligence, University of Chinese Academy of Sciences \& Institute of Automation, Chinese Academy of Sciences;Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences;School of Artificial Intelligence, University of Chinese Academy of Sciences;Institute of Automation, Chinese Academy of Sciences
Evolving in the Agent Jungle via History-Informed Opponent Awareness
University of Edinburgh(爱丁堡大学);University of Oklahoma(俄克拉荷马大学);Imperial College London(伦敦帝国学院);University of Michigan(密歇根大学);University of Southern California(南加州大学);Tencent(腾讯);Beijing Normal University(北京师范大学);Beijing Normal–Hong Kong Baptist University(北京师范大学-香港浸会大学联合国际学院)
Proximal Learning With Opponent-Learning Awareness
University of Toronto(多伦多大学);Vector Institute(向量研究所);University of Oxford(牛津大学);FLAIR(未来人工智能研究院)
具有对手学习意识的学习(LOLA)(Foerster et al. [2018 a])是一种多智能体强化学习算法,通常在部分竞争环境中学习基于互惠的合作。然而,LOLA往往无法学习更复杂的政策空间参数化的神经网络,部分原因是更新规则是敏感的政策参数化的行为。这个问题在对手建模设置中尤其突出,其中对手的策略是未知的,并且必须从观察中推断;在这种设置中,LOLA是指定不良的,因为行为上等同的对手策略可能导致不等同的更新。为了解决这一缺点,我们重新解释LOLA近似近端运营商,然后推导出一个新的算法,近端LOLA(POLA),它直接使用的近端配方。与LOLA不同,POLA更新是参数化不变的,在这个意义上说,当最近的目标有一个唯一的最佳,行为等效的政策导致行为等效的更新。然后,我们提出了实际的近似理想的POLA更新,我们评估在几个部分竞争的环境中的功能近似和对手建模。这从经验上证明,POLA比LOLA更可靠地实现基于互惠的合作。
SMAC-Hard: Enabling Mixed Opponent Strategy Script and Self-play on SMAC
Zhejiang University(浙江大学);University of Science and Technology of China(中国科学技术大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Polixir
Equilibrium Selection in Multi-Agent Policy Gradients via Opponent-Aware Basin Entry
Bloomsbury Technology(布洛姆斯伯里技术);London School of Economics and Political Science(伦敦政治经济学院);University of Bristol(布里斯托大学);Johannes Kepler University Linz(林茨约翰尼斯·开普勒大学);Odesa Polytechnic National University(敖德萨国立技术大学)