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

Generalized Beliefs for Cooperative AI

Darius Muglich, Luisa M. Zintgraf, Christian A. Schröder de Witt, Shimon Whiteson, Jakob N. Foerster

Introduction

Self-play in cooperative AI often leads to agents that develop highly specialized, idiosyncratic conventions, making them terrible teammates for novel partners. In Multi-Agent Reinforcement Learning (MARL), training via self-play is highly effective. However, in cooperative games with partial observability (Dec-POMDPs), self-play causes agents to invent arbitrary, implicit conventions to communicate. For example, an agent might learn that "hinting the color red means your rightmost card is playable."

While this works perfectly in self-play, it fails catastrophically in cross-play (zero-shot coordination), where two independently trained agents are paired together. Their secret conventions clash, and performance tanks. Previous solutions attempt to fix this by forcing agents to learn symmetric, unambiguous policies during training, or by hard-coding domain knowledge. This paper asks: instead of restricting how agents learn to play, can we build a separate "translator" module that observes gameplay, infers the hidden state of the game, and decodes the novel partner's intent on the fly?

By learning a "generalized belief model" across a diverse pool of policies to decode these implicit intents without constraining the agents during training, agents can achieve significantly better zero-shot coordination with unseen partners.

Methods

The authors propose learning a Generalized Belief Model using a Transformer-based autoregressive architecture.

  • Belief Emulation: Instead of computationally intractable Bayesian updating, they train a neural network via supervised learning to predict unobservable state features (e.g., hidden cards) based on the action-observation history.
  • Generalization via Diversity: To make the belief model generalize to unseen partners, they train it on rollouts generated by a pool of diverse, pre-trained policies.
  • Architectural Tweak: Feeding all discrete state features directly into a standard Transformer self-attention mechanism requires $O(K^2T^2)$ memory. The authors introduce an embedding scheme that projects features into a continuous space and aggregates them via a fully connected layer, reducing the requirement to a highly efficient $O(T^2)$.
Architectural tweak for efficient state feature processing
  • Improving Cross-Play: They leverage this belief model in two ways:
  • Generalized Belief Search (GBS): Sampling hidden states from the belief model and running Monte Carlo rollouts using the pool of training policies to select the most robust action.
  • Best Response (BR): Training a new RL agent that takes the hidden state of the generalized belief model as an explicit input, creating a model-based architecture capable of reasoning over novel conventions.

Datasets

The paper evaluates its methods on Hanabi, a popular AI benchmark for cooperative games with partial information (players see everyone's cards except their own). They utilize two distinct pools of pre-trained agents: 13 SAD (Simplified Action Decoder) policies and 12 OP (Other-Play) policies. These two groups have vastly different playstyles and conventions.

Key Insights and Ideas

  • Zero-Shot Intent Decoding: A belief model trained on a sufficiently diverse set of policies can accurately predict the hidden states and intents of a completely unseen policy. You don't need to see a specific convention during training to infer its meaning at test time.
  • Semantic vs. Literal Beliefs: The model's accuracy correlates better with cross-play performance when it predicts the semantic meaning of a card (e.g., "is this card playable or discardable?") rather than its literal identity (e.g., "is this a Red 4?"). This proves the model is learning functional conventions rather than just memorizing game states.
Correlation between semantic belief accuracy and cross-play performance
  • Interpretability through Embeddings: By applying PCA to the learned state feature embeddings, the authors could literally "see" which game features the agents were using to pass secret messages. Features with the highest variance (like deck size and directly hinted cards) were the primary channels for implicit communication.
  • Transformers > LSTMs for Beliefs: The paper demonstrates that Transformers significantly outperform LSTM encoder-decoder architectures in maintaining accurate beliefs over long trajectories in Dec-POMDPs.

Key Results

  • Belief Accuracy: "Multi" models (trained on 6 or 12 policies) achieved cross-entropy scores on unseen test policies that were nearly identical to models trained directly on those test policies.
  • Massive Cross-Play Improvements: Standard SAD policies score an average of ~6.25 (out of 25) in cross-play. Training a Best Response (BR) with the generalized belief model and applying Generalized Belief Search (GBS) doubled this score to 12.47.
  • Inter-Population Generalization: Remarkably, a belief model trained entirely on SAD policies was able to improve the cross-play performance of OP policies (boosting scores up to 18.99). This proves the method generalizes across entirely different training regimes and populations.

Limitations and Future Work

  • Computational Cost: The Generalized Belief Search (GBS) relies on Monte Carlo rollouts (200 per legal move), which is computationally expensive at inference time. However, the authors note that the Best Response trained on the belief model's hidden state achieves most of the performance gains without needing the search step.
  • Domain Focus: The experiments are limited to the Hanabi benchmark.
  • Future Work: The authors suggest scaling to larger Dec-POMDPs and more realistic settings where enumerating all unobservable features is impossible. They also plan to explore incorporating stabilizing Transformer layers specific to high-variance RL domains to further improve the Best Response training.

Summary updated

BibTeX
@inproceedings{muglich2022generalized,
  author = {Darius Muglich and Luisa M. Zintgraf and Christian A. Schröder de Witt and Shimon Whiteson and Jakob N. Foerster},
  title = {{Generalized Beliefs for Cooperative AI}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=1aMWrxWGgR},
}
Figure