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

Mastering the Game of No-Press Diplomacy via Human-Regularized Reinforcement Learning and Planning

Anton Bakhtin, David J Wu, Adam Lerer, Jonathan Gray, Athul Paul Jacob, Gabriele Farina, Alexander H Miller, Noam Brown

Overview

Researchers at Meta AI and MIT have developed Diplodocus, an AI agent that achieved expert-level performance in the complex strategy game of "no-press" Diplomacy. By regularizing reinforcement learning toward human imitation models—a technique called RL-DiL-piKL—the team created an agent that is both tactically superior and compatible with human cooperative conventions. In a 200-game tournament, Diplodocus successfully outperformed 62 human participants.

The Challenge of Human-Compatible AI

In the realm of artificial intelligence, purely adversarial, two-player zero-sum games like Chess, Go, and Poker have been effectively "solved" using self-play reinforcement learning (RL). In these environments, an agent can achieve superhuman performance simply by playing millions of games against itself.

However, this approach breaks down in games that require cooperation and adherence to human conventions. Diplomacy is a seven-player game where success hinges on forming and breaking alliances. If an AI trains solely through self-play, it often develops "alien" strategies. These strategies might be mathematically efficient in a vacuum, but they are completely incomprehensible to human players. For instance, if humans expect a specific opening move to signal a peaceful alliance, a self-play AI might ignore that convention entirely, leading to a breakdown in cooperation.

The core challenge addressed by this research is: How do you train an agent to maximize its win rate while remaining "human-compatible" enough to successfully cooperate with actual people?

Methods: Introducing DiL-piKL

To solve this, the authors introduce two primary algorithmic innovations:

  1. DiL-piKL (Distributional Lambda piKL): This is a novel planning algorithm. It builds upon "piKL," which uses a KL-divergence penalty to keep an agent's search-based policy close to a human imitation-learned "anchor" policy. The "Distributional" aspect is the key upgrade: instead of using a single fixed penalty ($\lambda$), the agent samples from a distribution of $\lambda$ values. This allows the agent to model a diverse population of players, ranging from highly predictable (human-like) to highly strategic (optimal).
  2. RL-DiL-piKL: This integrates the DiL-piKL planning algorithm into a self-play reinforcement learning loop. During training, the agent uses DiL-piKL to find an equilibrium for the current state. The resulting policy and value estimates are then used to update the agent’s neural networks. This ensures the value function accurately predicts the outcomes of games played with human-like partners, rather than assuming perfect, "alien" play from everyone.
Interpolation between Equilibrium, Behavioral Cloning, and Best Response in DiL-piKL

The agent itself, Diplodocus, utilizes a Transformer-based architecture to process the board state and an LSTM-based policy head to generate complex, simultaneous orders for multiple units.

Key Insights

  • The Necessity of an "Anchor": Pure RL agents perform well against themselves but "drift" away from human play styles, making them poor partners. Regularizing the agent toward a human model prevents this drift.
  • Modeling Diversity: By using a distribution of $\lambda$, the agent recognizes that humans are not a monolith. Some play optimally, while others make mistakes. This makes the agent far more robust across different human skill levels.
  • Best Response to Humans: The agent does not simply try to imitate humans, which would cap its skill level. Instead, it tries to find the best response to a model of human behavior. It plays a "low-$\lambda$" (more optimal) policy itself while assuming its opponents might play "high-$\lambda$" (more human-like) policies.
  • Value Function Accuracy: A major breakthrough was realizing that standard self-play value functions overestimate the "perfectness" of future play. By training with human-regularized search, Diplodocus learns a value function that accounts for the fact that humans follow specific, sometimes sub-optimal, conventions.

Key Results

The researchers evaluated Diplodocus using a human anchor policy trained on roughly 46,000 online Diplomacy games. They then hosted a 200-game tournament involving 62 human participants ranging from beginners to experts.

Tournament results showing Diplodocus agents ranking 1st and 3rd by Elo
  • Tournament Dominance: Two versions of Diplodocus (High and Low regularization) achieved the top two average scores among all 48 participants who played more than two games.
  • Elo Ratings: Diplodocus-High ranked 1st overall with an Elo of 181, significantly outpacing the top human player (162).
  • Expert Approval: Three expert human players reviewed anonymized games and consistently identified Diplodocus as the strongest agent. Interestingly, they also noted it was the agent they would most like to cooperate with, praising its predictability and lack of "nonsensical" moves.
  • Baseline Superiority: In population-based tests, Diplodocus outperformed previous state-of-the-art agents (like DNVI-NPU and DORA) by a wide margin (scoring 29% compared to 20% or lower).

Limitations and Future Work

While groundbreaking, this work focuses specifically on "no-press" Diplomacy, where players communicate only through their moves. "Full-press" Diplomacy, which involves natural language negotiation, is a significantly harder challenge requiring the integration of these strategic insights with Large Language Models (LLMs). Additionally, the agent relies heavily on a large corpus of human games to define its "anchor" policy, meaning this approach may be difficult to apply in domains where human data is scarce. Future work could explore co-evolving the human model and the agent's strategy dynamically during training.

Summary updated

BibTeX
@inproceedings{bakhtin2023mastering,
  author = {Anton Bakhtin and David J Wu and Adam Lerer and Jonathan Gray and Athul Paul Jacob and Gabriele Farina and Alexander H Miller and Noam Brown},
  title = {{Mastering the Game of No-Press Diplomacy via Human-Regularized Reinforcement Learning and Planning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=F61FwJTZhb},
}
Figure