Cultural Evolution of Cooperation among LLM Agents

Aron Vallinder, Edward Hughes
12/13/2024
cs.MAcs.AI

No official code found. Best implementation: CakeCrusher/cultural_evolution (7 stars, last commit 2025-01-05).

Abstract

Large language models (LLMs) provide a compelling foundation for building generally-capable AI agents. These agents may soon be deployed at scale in the real world, representing the interests of individual humans (e.g., AI assistants) or groups of humans (e.g., AI-accelerated corporations). At present, relatively little is known about the dynamics of multiple LLM agents interacting over many generations of iterative deployment. In this paper, we examine whether a "society" of LLM agents can learn mutually beneficial social norms in the face of incentives to defect, a distinctive feature of human sociality that is arguably crucial to the success of civilization. In particular, we study the evolution of indirect reciprocity across generations of LLM agents playing a classic iterated Donor Game in which agents can observe the recent behavior of their peers. We find that the evolution of cooperation differs markedly across base models, with societies of Claude 3.5 Sonnet agents achieving significantly higher average scores than Gemini 1.5 Flash, which, in turn, outperforms GPT-4o. Further, Claude 3.5 Sonnet can make use of an additional mechanism for costly punishment to achieve yet higher scores, while Gemini 1.5 Flash and GPT-4o fail to do so. For each model class, we also observe variation in emergent behavior across random seeds, suggesting an understudied sensitive dependence on initial conditions. We suggest that our evaluation regime could inspire an inexpensive and informative new class of LLM benchmarks, focussed on the implications of LLM agent deployment for the cooperative infrastructure of society.

View on arXivView PDF

Code Implementations(1)

implements the methodology outlined in the paper *Cultural Evolution of Cooperation among LLM Agents*. The paper explores whether a society of large language model (LLM) agents can develop cooperative norms through cultural evolution, using the classic *Donor Game*. The goal is to evaluate multi-agent interaction dynamics

70Python, Jupyter NotebookDec 24, 20241 years ago

Similar Papers

Cite this paper

@article{vallinder2024cultural,
  title  = {Cultural Evolution of Cooperation among LLM Agents},
  author = {Aron Vallinder and Edward Hughes},
  year   = {2024},
  eprint = {2412.10270},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10270v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.10270.svg)](https://codeofpaper.com/paper/2412.10270)

Discussion