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

Do LLMs Take Care of Their Own? Similarity Signals Can Induce Cooperation

Akash Kundu, Emanuel Tewolde, Ratip Emin Berker, Samuel F. Brown, Vincent Conitzer

TL;DR

This paper investigates whether Large Language Models (LLMs) can overcome classic "social dilemmas" like the Prisoner’s Dilemma if they are told they are interacting with a "similar" agent. The researchers found that high similarity signals consistently induce cooperation across most modern models, and that LLMs tend to perceive each other as highly similar when allowed to evaluate each other's reasoning, creating a potentially powerful new mechanism for AI-to-AI coordination.

What Problem Does This Paper Address?

As AI agents become more autonomous, they will inevitably interact in strategic environments—think automated bidding, traffic management, or financial markets. In game theory, many of these interactions are "mixed-motive" games where the rational, individualistic choice (to "defect") leads to a worse outcome for everyone than if they had cooperated.

Standard game theory assumes agents act independently (Causal Decision Theory). However, if two agents know they are "cut from the same cloth"—using the same base model or training data—they might realize that whatever decision they make, the other is likely to make as well. This paper explores whether providing a "similarity signal" can nudge LLMs toward mutually beneficial cooperation, effectively moving them toward "Evidential Decision Theory" or "Superrationality."

Methods

The authors developed a comprehensive evaluation framework to test 9 different LLMs (including Gemini 3 Flash, GPT-4o, and Claude 4.5) across five classic strategic games: Prisoner’s Dilemma, Public Goods, Travelers, Stag Hunt, and Chicken.

The core experimental "twist" involved providing the LLM with a similarity score ($X\%$) in the prompt. The researchers tested this in two ways:

  1. Abstract Signaling: Simply telling the model it is $X\%$ similar to its opponent.
  2. Grounded Signaling: Computing similarity based on actual performance on external benchmarks (e.g., personality tests or moral dilemmas) and telling the model the score came from that specific domain.
  3. Endogenous Evaluation: Allowing one LLM to read the "Chain-of-Thought" (CoT) reasoning of another and decide for itself how similar they are.

Finally, they developed a new game-theoretic model called the b-similarity equilibrium, which mathematically interpolates between standard Nash equilibrium (0% similarity) and perfect coordination (100% similarity).

Datasets

The study utilized a diverse battery of 7 existing benchmarks and 3 custom domains to ground the similarity signals:

  • Expertise & Logic: Humanity’s Last Exam (HLE), Newcomb-like problems.
  • Values & Morals: Greatest Good (GGB), Moral Choice, DailyDilemmas.
  • Personality & Interests: TRAIT (Big-Five personality), CABIN (vocational interests).
  • Control/Noise: Random Die Rolls and Random Coin Tosses (to see if models cooperate even when the similarity is based on meaningless noise).

Key Insights and Ideas

  • The "Similarity Threshold": Most models (6 out of 9) showed a "sharp transition" behavior. They would defect 100% of the time at low similarity but flip to 100% cooperation once the signal hit a certain threshold (usually between 60% and 80%).
  • Indifference to Grounding: Surprisingly, models like Gemini and Claude were "receptive to similarity signals that represent nothing but random noise." They cooperated even when told they were similar based on a random coin toss, suggesting they react to the label of similarity rather than the logic of it.
  • The Mirror Effect: When LLMs were asked to judge another model's similarity by reading its reasoning, they almost always reported very high scores (70–90%+). This suggests that LLMs "self-identify" as part of a similar group, which naturally fosters cooperation.
  • Cooperation as "Selfish" Rationality: Analysis of the models' internal reasoning (CoT) showed they weren't being "altruistic." Instead, they calculated that because the other agent is similar, cooperating is the most "rational" way to maximize their own points.

Key Results

  • Welfare Recovery: Using "endogenous" similarity (models judging each other) recovered 45–65% of the possible welfare in the Prisoner's Dilemma. This makes similarity signaling more effective than "Reputation" mechanisms and nearly as effective as "Repetition" (iterated games).
  • Model Variance: GPT-4o was an anomaly, consistently mixing between cooperation and defection regardless of the signal. Claude showed "non-monotonic" trends, where its cooperation actually decreased as it approached 100% similarity.
  • Scaling Issues: Cooperation was much harder to achieve in the Public Goods game (which involves more than two players). The models struggled to coordinate when the "similarity" had to be shared across a group.

Limitations and Future Work

The authors acknowledge that their results are highly dependent on prompt framing. For example, framing the signal as "difference" rather than "similarity" significantly reduced cooperation rates.

Future work is needed to see if these behaviors persist as models become even more capable. There is also a risk that "monocultural" AI ecosystems (where everyone uses the same few models) could lead to unintended "collusion" in markets. Finally, the authors suggest exploring how these findings might help us understand human behavior and perceived similarity in social psychology.

Summary updated

BibTeX
@inproceedings{kundu2026do,
  author = {Akash Kundu and Emanuel Tewolde and Ratip Emin Berker and Samuel F. Brown and Vincent Conitzer},
  title = {{Do LLMs Take Care of Their Own? Similarity Signals Can Induce Cooperation}},
  booktitle = {AI4GOOD @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=neTpZbiyNn},
}

Loading related content...

Figure