IDEAS home Printed from https://ideas.repec.org/a/nat/nathum/v9y2025i7d10.1038_s41562-025-02172-y.html
   My bibliography  Save this article

Playing repeated games with large language models

Author

Listed:
  • Elif Akata

    (Helmholtz Munich
    Max Planck Institute for Biological Cybernetics
    University of Tübingen)

  • Lion Schulz

    (Max Planck Institute for Biological Cybernetics)

  • Julian Coda-Forno

    (Helmholtz Munich
    Max Planck Institute for Biological Cybernetics)

  • Seong Joon Oh

    (University of Tübingen)

  • Matthias Bethge

    (University of Tübingen)

  • Eric Schulz

    (Helmholtz Munich
    Max Planck Institute for Biological Cybernetics)

Abstract

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.

Suggested Citation

  • Elif Akata & Lion Schulz & Julian Coda-Forno & Seong Joon Oh & Matthias Bethge & Eric Schulz, 2025. "Playing repeated games with large language models," Nature Human Behaviour, Nature, vol. 9(7), pages 1380-1390, July.
  • Handle: RePEc:nat:nathum:v:9:y:2025:i:7:d:10.1038_s41562-025-02172-y
    DOI: 10.1038/s41562-025-02172-y
    as

    Download full text from publisher

    File URL: https://www.nature.com/articles/s41562-025-02172-y
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1038/s41562-025-02172-y?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:nat:nathum:v:9:y:2025:i:7:d:10.1038_s41562-025-02172-y. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.nature.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.