Similarity-based cooperative equilibrium

Caspar Oesterheld, Johannes Treutlein, Roger B. Grosse, Vincent Conitzer, Jakob N. Foerster

TL;DR

This paper introduces "diff meta games," a novel framework where AI agents can achieve cooperation by observing a single metric of similarity to their opponent, rather than requiring full transparency. They prove this approach enables the same cooperative outcomes as full transparency and demonstrate experimentally that simple ML methods can learn these cooperative strategies.

What Problem Does This Paper Address?

As AI agents become more autonomous and interact with each other in complex environments (like self-driving cars or trading bots), they will increasingly face "social dilemmas." A classic example is the Prisoner's Dilemma, where game theory predicts that rational agents will defect, leading to suboptimal outcomes for everyone. While full transparency (agents knowing each other's code or weights) can enable cooperation, it's often unrealistic. Existing methods for achieving cooperation under full transparency are also computationally challenging for modern ML models. This paper aims to find a more realistic and computationally feasible way for AI agents to cooperate.

Methods

The core contribution is the introduction of "diff meta games." In this setup, instead of full transparency, agents' policies receive a single, noisy "difference" value indicating how similar they are to their opponent. This difference metric is designed to be a partial, yet informative, signal.

Key methodological aspects include:

  • Diff-based policies: Policies that take the similarity metric as input and output an action.
  • Diff meta game: A new game formulation where agents submit policies, and their utility is determined by the base game's outcome, influenced by the similarity metric.
  • Similarity-based cooperation (SBC): The phenomenon where agents learn to cooperate with similar opponents.
  • Theoretical guarantees: The authors prove a "folk theorem" for diff meta games, showing that any individually rational outcome achievable with full transparency can also be achieved with this partial similarity signal.
  • Experimental approach: They introduce a Cooperate against Copies and Defect against Random (CCDR) pretraining method to initialize policies and then use Alternating Best Response (ABR) learning to train them against each other.

Datasets

Not discussed in the paper. The paper focuses on theoretical game-theoretic frameworks and experimental setups using simulated games rather than real-world datasets.

Key Insights and Ideas

  • Partial transparency is sufficient for cooperation: The most significant insight is that a single, simple similarity metric can unlock the same cooperative equilibria as full, unrealistic transparency. This suggests a more practical path to cooperative AI.
  • Similarity as a coordination signal: The "difference" metric acts as a crucial signal for coordination. Agents learn to trust and cooperate with opponents who are perceived as similar, effectively creating a "green beard" effect for AI.
  • CCDR pretraining as a curriculum: The CCDR method provides a clever way to bootstrap cooperative behavior by training agents to be robust against both identical copies of themselves and random opponents. This pre-training is essential for ABR learning to find cooperative equilibria.
  • Symmetry in symmetric games: For symmetric games, the theory and experiments suggest that similarity-based cooperation naturally leads to symmetric, fair outcomes, avoiding the equilibrium selection problems of other methods.

Key Results

  • Theoretical Folk Theorem: For any individually rational strategy profile, there exists a diff function that enables it as a Nash equilibrium in the diff meta game.
  • Experimental Success in HDPD: In a complex, high-dimensional Prisoner's Dilemma variant (HDPD), ABR learning without pretraining consistently converged to mutual defection. However, with CCDR pretraining, agents learned partially cooperative equilibria in 26 out of 28 runs.
  • Improved Utilities: Successful runs with CCDR pretraining resulted in average player utilities closer to mutual cooperation than mutual defection.
  • Robustness of CCDR: While LOLA (another learning method) showed some success, CCDR pretraining was found to be significantly more robust across different parameter configurations and random seeds.

Limitations and Future Work

  • Realism of the "diff" signal: The paper uses a simplified, often noisy, single-number similarity metric. Future work could explore more complex or realistic ways agents might infer similarity (e.g., from learning procedures, communication patterns).
  • CCDR limitations: CCDR's effectiveness relies on the assumption that random opponents are a good proxy for "dissimilar" opponents. In some games, this might not hold, and agents might fail to learn to cooperate with genuinely dissimilar but rational opponents.
  • Unlearning: The paper notes that even after successful training, agents can sometimes "unlearn" cooperation during subsequent ABR phases. Developing methods that preserve cooperation more robustly is a key future direction.
  • Generalization: While successful in the HDPD, extending these findings to a wider range of games and more complex multi-agent scenarios is an open area.
  • Human-like similarity: Exploring how agents can infer similarity based on factors like shared cultural backgrounds or similar learning histories is suggested as a promising avenue.

Summary updated

BibTeX
@inproceedings{oesterheld2023similarity,
  author = {Caspar Oesterheld and Johannes Treutlein and Roger B. Grosse and Vincent Conitzer and Jakob N. Foerster},
  title = {{Similarity-based cooperative equilibrium}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=BkpQNlDWtf},
}
Figure