Language models are increasingly deployed in interactive online environments, from personal chat assistants to domain-specific agents, raising questions about their cooperative and competitive behavior in multi-party settings. While prior work has examined language model decision-making in isolated or short-term game-theoretic contexts, these studies often neglect long-horizon interactions, human-model collaboration, and the evolution of behavioral patterns over time. In this paper, we investigate the dynamics of language model behavior in the iterated prisoner's dilemma (IPD), a classical framework for studying cooperation and conflict. We pit model-based agents against a suite of 240 well-established classical strategies in an Axelrod-style tournament and find that language models achieve performance on par with, and in some cases exceeding, the best-known classical strategies. Behavioral analysis reveals that language models exhibit key properties associated with strong cooperative strategies - niceness, provocability, and generosity while also demonstrating rapid adaptability to changes in opponent strategy mid-game. In controlled "strategy switch" experiments, language models detect and respond to shifts within only a few rounds, rivaling or surpassing human adaptability. These results provide the first systematic characterization of long-term cooperative behaviors in language model agents, offering a foundation for future research into their role in more complex, mixed human-AI social environments.
Collaborative Belief Reasoning with LLMs for Efficient Multi-Agent Collaboration
Shenzhen International Graduate School, Tsinghua University(深圳国际研究生院,清华大学);Huawei Tenchnologies Co., Ltd.(华为技术有限公司);University of Science and Technology of China(中国科学技术大学)
The Conflict Between People's Urge to Punish AI and Legal Systems
School of Computing, KAIST(韩国科学技术院计算学院);Data Science Group, Institute for Basic Science(基础科学研究院数据科学组);Graduate School of Science and Technology Policy, KAIST(韩国科学技术院科技政策研究生院);School of Law, Korea University(高丽大学法学院)
Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Models
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
The Ghost in the Machine has an American accent: value conflict in GPT-3
The University of Sydney(悉尼大学);Sorbonne Université(索邦大学);European University Institute(欧洲大学学院);Ruhr Universität Bochum(波鸿鲁尔大学);University of Sassari(萨萨里大学);Vytautas Magnus University(维陶塔斯·马格努斯大学);Delft University of Technology(代尔夫特理工大学)