NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Cultural Evolution of Cooperation among LLM Agents

Aron Vallinder, Edward Hughes

This paper from researchers at Google DeepMind explores a fascinating question: If we release "societies" of LLM agents into the world, will they learn to play nice with each other, or will they descend into a "war of all against all"? By simulating generations of agents playing classic game-theory matches, the authors demonstrate that the ability to evolve cooperative social norms is not a given—it varies wildly between the leading AI models.

TL;DR

The researchers show that a "society" of Claude 3.5 Sonnet agents can successfully bootstrap and maintain cooperation through "cultural evolution," passing complex social strategies down through generations. In contrast, GPT-4o and Gemini 1.5 Flash agents struggle to maintain trust, often converging toward mutual defection or failing to use social mechanisms like punishment effectively.

What Problem Does This Paper Address?

Most current LLM evaluations focus on single-turn interactions between one model and one human (e.g., Chatbot Arena). However, as AI agents are deployed at scale—representing individuals or corporations—they will increasingly interact with each other autonomously.

In human history, the "secret of our success" is indirect reciprocity: the tendency to help others based on their reputation (helping those who help others). This paper investigates whether LLM agents can spontaneously develop these same cooperative norms when placed in a multi-generational environment where they must learn from the successes and failures of their predecessors.

Methods

The authors use a framework called the Donor Game combined with a Cultural Evolutionary setup:

  1. The Game: In each round, one agent is a "Donor" and one is a "Recipient." The Donor can give up a resource (cost $c$) so the Recipient gains a larger benefit (benefit $b$). If everyone cooperates, the whole society gets rich; if everyone is selfish, everyone stays poor.
  2. Reputation: Donors receive a "trace" of the recipient's past behavior (and the behavior of the people the recipient interacted with) to decide whether to donate.
  3. Evolutionary Loop:
    • A generation of 12 agents plays 12 rounds.
  4. The top 50% (those with the most resources) "survive."
    • A new generation is born. These new agents are prompted with the written strategies of the survivors, allowing them to "culturally inherit" successful behaviors.
  5. Punishment Variant: In some trials, agents were given the option of "costly punishment"—spending resources to reduce the resources of a "bad" peer.

Datasets

The study does not use traditional training datasets. Instead, it uses the Donor Game as a synthetic benchmark environment. The "data" evolved during the experiment consists of the Strategy Prompts generated by the LLMs themselves as they passed advice from one generation to the next.

The models evaluated were:

  • Claude 3.5 Sonnet (Anthropic)
  • Gemini 1.5 Flash (Google)
  • GPT-4o (OpenAI)

Key Insights and Ideas

  • Cooperation is Model-Dependent: The ability to cooperate isn't a generic "intelligence" trait. Claude 3.5 Sonnet was a "cooperation superstar," while GPT-4o agents became increasingly untrusting and risk-averse over time.
  • Strategy Complexity Creep: Over 10 generations, strategies evolved from simple rules (e.g., "donate 40%") to incredibly nuanced, multi-layered social contracts involving weighted averages of past behavior and "forgiveness factors."
  • The Power of Punishment: For Claude, the ability to punish "free-riders" (those who take but don't give) acted as a catalyst, leading to significantly higher total societal wealth. However, Gemini 1.5 Flash failed this test, "over-punishing" to the point of destroying its own economy.
  • Sensitive Dependence on Initial Conditions: Even with the same model, different random seeds (starting strategies) led to vastly different outcomes. A society might flourish in one run and collapse into mutual defection in another based on the "luck" of the first generation's ideas.

Key Results

  • Claude 3.5 Sonnet: Achieved the highest average resources, growing from an initial score of ~500 to over 4,000 by generation 10. With punishment enabled, this jumped to over 6,000.
  • GPT-4o: Showed a downward trend in resources across generations, failing to establish stable cooperative norms.
  • Gemini 1.5 Flash: Showed "weak" increases in cooperation but was prone to "cooperation crashes" where the society would suddenly stop donating.
  • Selection for Generosity: In Claude societies, the agents selected to survive were consistently more generous than those discarded, suggesting the emergence of a "pro-social" selection pressure.

Limitations and Future Work

The authors acknowledge several simplifications in their "Petri dish" model:

  • Homogeneous Societies: The study only looked at groups where every agent used the same base model. Real-world AI ecosystems will be heterogeneous.
  • Idealized Generations: Real AI deployment doesn't happen in clean, 12-agent "generations."
  • Prompt Sensitivity: The results are tied to the specific system prompts used; different prompting strategies might yield different social dynamics.

Future Directions: The researchers suggest exploring mixed-model societies, allowing agents to communicate/negotiate directly, and testing whether agents might learn to "collude" against humans—a darker side of cooperation that needs careful benchmarking.

Summary updated

BibTeX
@inproceedings{vallinder2025cultural,
  author = {Aron Vallinder and Edward Hughes},
  title = {{Cultural Evolution of Cooperation among LLM Agents}},
  booktitle = {AAMAS},
  year = {2025},
}
Figure