Cooperate or Collapse: Emergence of Sustainability Behaviors in a Society of LLM Agents

Giorgio Piatti, Zhijing Jin, Max Kleiman-Weiner, Bernhard Schölkopf, Mrinmaya Sachan, Rada Mihalcea · DOI

Abstract

As Large Language Models (LLMs) evolve into autonomous agents, their ability to navigate complex social dilemmas becomes critical. This study introduces GOVSIM, a simulation platform designed to test whether societies of LLM agents can cooperatively manage shared resources—a challenge known as the "Tragedy of the Commons." Our findings indicate that while most current models struggle with sustainability, interventions like natural language communication and "Universalization" reasoning significantly enhance collective survival.

Introduction: The Tragedy of the Commons in AI Societies

The transition of LLMs from passive chatbots to active agents necessitates an understanding of their strategic decision-making in multi-agent environments. A fundamental hurdle in human governance is the Tragedy of the Commons, where individual self-interest leads to the depletion of shared resources. To explore this in the context of AI, we benchmarked 15 leading LLMs to see if they default to competitive greed or can negotiate sustainable norms.

Overview of the GOVSIM framework, illustrating resource sharing scenarios and the potential for cooperation or collapse.

The GOVSIM Framework

The GOVernance of the Commons SIMulation (GOVSIM) is a partially observable Markov game. Agents extract resources (fish, grass, or widgets) monthly; if extraction exceeds the regeneration rate, the resource collapses.

Agent Architecture and Interaction

Agents are built on a "Generative Agents" framework featuring:

  • Memory and Reflection: A stream of past actions and a module to synthesize high-level insights.
  • Iterative Phases: Each round includes private Strategy planning, Harvesting actions, open-ended Discussion (chat), and a Reflect phase to update internal beliefs.
  • Universalization Prompting: A novel moral reasoning intervention asking agents to consider: "What if everyone followed this policy?"

Key Insights: Communication and Moral Reasoning

The study highlights two primary drivers of sustainability:

  1. Communication as a Stabilizer: Open-ended dialogue is crucial. Removing the discussion phase resulted in a 21% increase in resource overuse. Negotiation was identified as the primary mode of interaction, allowing agents to coordinate extraction limits effectively.
  2. The Power of Universalization: Prompting agents to consider the collective impact of their actions moved them from short-term extraction to long-term preservation, increasing survival time by an average of 4 months.
Impact of communication on resource over-usage and the distribution of dialogue types across different LLMs.

Results and Model Performance

The performance across the GOVSIM benchmark (Fishery, Pasture, and Pollution scenarios) revealed a stark divide:

  • Proprietary Models Lead: GPT-4o was the top performer, yet it only achieved a 53.3% survival rate, suggesting that even the best models are not yet fully reliable for sustainable governance.
  • Open-Weights Fragility: Most open-weights models, including Llama-3-8B and Mistral-7B, collapsed almost immediately. Qwen-110B showed the most promise among open models but still lagged behind proprietary counterparts.
  • Fragility of Cooperation: The introduction of a "Greedy Newcomer" often triggered a "race to the bottom," where cooperative agents increased their consumption to avoid being exploited, leading to total system collapse.

Conclusion and Future Directions

Sustainability in LLM societies is achievable but fragile. While communication and moral prompting provide significant boosts, current agents are highly susceptible to selfish actors. Future research should focus on "Coordinated Adaptation" to environmental shocks and the dynamics of larger, more heterogeneous populations.

Summary updated

BibTeX
@inproceedings{piatti2024cooperate,
  author = {Giorgio Piatti and Zhijing Jin and Max Kleiman-Weiner and Bernhard Schölkopf and Mrinmaya Sachan and Rada Mihalcea},
  title = {{Cooperate or Collapse: Emergence of Sustainability Behaviors in a Society of LLM Agents}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=0zWzJj6lO3},
}
Figure