Playing repeated games with large language models

By Elif Akata, L. Schulz, Julian Coda-Forno, Seong Joon Oh, Matthias Bethge, Eric Schulz. Nature Human Behaviour, 2023

295 citations recorded by the source corpus.

Large language models (LLMs) are increasingly used in applications where they interact with humans and other agents. We propose to use behavioural game theory to study LLMs’ cooperation and coordination behaviour. Here we let different LLMs play finitely repeated 2 × 2 games with each other, with human-like strategies, and actual human players. Our results show that LLMs perform particularly well at self-interested games such as the iterated Prisoner’s Dilemma family. However, they behave suboptimally in games that require coordination, such as the Battle of the Sexes. We verify that these behavioural signatures are stable across robustness checks. We also show how GPT-4’s behaviour can be modulated by providing additional information about its opponent and by using a ‘social chain-of-thought’ strategy. This also leads to better scores and more successful coordination when interacting with human players. These results enrich our understanding of LLMs’ social behaviour and pave the way for a behavioural game theory for machines. Large language models perform well in self-interested games such as the iterated Prisoner’s Dilemma but struggle in games that require coordination. Social reasoning strategies can improve cooperative outcomes with both other models and human players.

Subfields: Artificial Intelligence, Cultural Studies, Sociology and Political Science

View Paper: https://www.semanticscholar.org/paper/3f98cf521222c65522200037c0eb95a17081b2dd

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Nitesh V. Chawla
  2. Zili Wang
  3. Chenglin Wu
  4. Xiawu Zheng
  5. Francisco Herrera
  6. Gianluca Bontempi
  7. Andrea Dal Pozzolo
  8. Charu C. Aggarwal

In Sociology and Political Science

  1. Nitesh V. Chawla

Citations in the corpus