Strategies of cooperation and defection in five large language models
Saptarshi Pal, Abhishek Mallela, Christian Hilbe, Lenz Pracher, Chiyu Wei, Feng Fu, Santiago Schnell, Martin A Nowak

TL;DR
This study evaluates how five large language models simulate social decision-making in the repeated prisoner's dilemma, revealing their strategies, adaptability, and alignment with game theory and human behavior.
Contribution
It provides a comprehensive analysis of LLMs' social strategies in game-theoretic scenarios and their ability to adapt to different conditions and framings.
Findings
LLMs show partial understanding of cooperation strategies
Strategies vary with parameter changes and framing
No LLM fully aligns with theoretical or human strategies
Abstract
Large language models (LLMs) are increasingly deployed to support human decision-making. This use of LLMs has concerning implications, especially when their prescriptions affect the welfare of others. To gauge how LLMs make social decisions, we explore whether five leading models produce sensible strategies in the repeated prisoner's dilemma, which is the main metaphor of reciprocal cooperation. First, we measure the propensity of LLMs to cooperate in a neutral setting, without using language reminiscent of how this game is usually presented. We record to what extent LLMs implement Nash equilibria or other well-known strategy classes. Thereafter, we explore how LLMs adapt their strategies to changes in parameter values. We vary the game's continuation probability, the payoff values, and whether the total number of rounds is commonly known. We also study the effect of different framings.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLanguage and cultural evolution · Neurobiology of Language and Bilingualism · Mobile Crowdsensing and Crowdsourcing
