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

Towards Learning Representations of Policies in Two-Player Zero-Sum Imperfect-Information Games

Kevin Wang, Kevin Yang, Arjun Prakash, Amy GreenwaldarXiv 2026

TL;DR

This paper provides a systematic framework for learning low-dimensional, compact vector embeddings of policies in two-player zero-sum imperfect-information games. By evaluating various self-supervised learning techniques across games like Poker and Liar's Dice, the authors demonstrate that trajectory-based contrastive learning successfully captures meaningful behavioral semantics without needing access to internal network weights. This work lays the groundwork for more efficient opponent modeling and depth-limited lookahead search in complex, hidden-information environments.

What Problem Does This Paper Address?

In imperfect-information games (like poker), success often requires reasoning about your opponent's strategy while hiding your own. Traditionally, algorithms perform lookahead search by tracking policies tabularly. While this works for simple games, enumerating full policies becomes completely intractable as the game's "public belief state" grows.

To scale up, AI agents need a way to compress complex, stochastic policies into compact, fixed-dimensional vector representations (embeddings). However, very little research has systematically explored how to generate diverse policy datasets, how best to embed these policies, or how to properly evaluate the quality of the resulting representations in zero-sum, adversarial settings.

Methods

The authors tackle the problem by breaking it down into three components: dataset generation, embedding learning, and downstream evaluation.

1. Policy Dataset Generation

To learn representations, you first need a diverse population of agents. The authors propose three methods:

  • Custom Random Initialization: Initializing neural network policies with specific weight/bias distributions to ensure behavioral diversity rather than homogeneity.
  • Policy Space Response Oracle (PSRO): An iterative game-theoretic algorithm that trains best-responses against mixtures of existing policies.
  • Neural Population Learning (NeuPL): A population-based approach where multiple agents share a single conditional neural network.

2. Embedding Architectures

The paper compares several self-supervised learning (SSL) methods to embed these policies:

  • Weight Autoencoder (WAE): A naive baseline that attempts to compress and reconstruct the raw flattened weights of the policy network directly.
  • Functional Autoencoder (FAE): An architecture that ignores raw weights and instead minimizes the KL-divergence between the action distributions of the original and reconstructed networks across sampled game states.
  • Trajectory Encoder: A contrastive learning approach (inspired by SimCLR) that uses a Transformer to map variable-length game trajectories (observations, actions, rewards) into a latent space by maximizing similarity between different trajectories from the same policy.
Figure 2: Trajectory encoder

Datasets

The methods were evaluated across four zero-sum imperfect-information games of varying complexity:

  • Kuhn Poker: A tiny game with 12 information states.
  • Leduc Poker: A larger poker variant featuring 936 information states, a community card, and multiple betting rounds.
  • Liar's Dice (1 die, 4 sides): A pure bluffing game structurally distinct from poker, containing roughly 1,024 information states.
  • Phantom Tic-Tac-Toe: A partially observable version of Tic-Tac-Toe (~500,000 information states) used to test scalability beyond card games.

Key Insights and Ideas

  • Weights $\neq$ Behavior: Trying to embed raw neural network parameters (via the Weight Autoencoder) fails completely. Proximity in weight space is a poor proxy for strategic similarity; behavior must be modeled directly through actions or trajectories.
  • The "Who" vs. "How Much" Trade-off: Different self-supervised objectives yield different types of knowledge. Contrastive learning (Trajectory Encoder) excels at fine-grained identity tasks ("knowing who the opponent is"), whereas generative imitation losses (like the Grover et al. baseline) are better at capturing smooth payoff structures ("knowing how much they will win/lose").
  • The Tabular Breakdown: While exact tabular representations dominate in tiny games like Kuhn Poker, they quickly suffer from the curse of dimensionality. In larger games, they either underperform learned embeddings or trigger Out-Of-Memory (OOM) errors due to the massive size of the state space.

Key Results

  • Payoff Prediction: In Leduc Poker, learned 128-dimensional encoders outperformed the 2808-dimensional tabular baseline on predicting expected payoffs against a random opponent (achieving up to a 32.3% improvement over the mean baseline).
  • Agent Identification: The contrastive Trajectory Encoder substantially outperformed prior hybrid architectures (Grover et al.) on identifying which policy generated a specific unseen trajectory, scoring 47.9% vs. 25.7% top-1 accuracy in Kuhn Poker and 57.8% vs. 38.9% in Leduc Poker.
  • Strategic Clustering: Qualitative t-SNE visualizations revealed that the Trajectory Encoder naturally clustered agents based on their style of play (e.g., separating aggressive, high-betting strategies from passive ones), whereas weight-based autoencoders showed no discernible patterns.

Limitations and Future Work

The authors highlight a critical "epistemic blind spot" in current policy representations: while the embeddings contain enough information to recognize an opponent's identity or style, they do not inherently encode how to exploit them. When used for adaptive strategy selection, the embeddings struggled to beat a simple "Best-Average" baseline strategy.

Future work will focus on designing explicitly payoff-aware training objectives (e.g., contrastive losses where positive pairs share correlated payoff profiles) and scaling these representations to massive games with millions of states or continuous action spaces.

Summary updated

BibTeX
@misc{wang2026towards,
  author = {Kevin Wang and Kevin Yang and Arjun Prakash and Amy Greenwald},
  title = {{Towards Learning Representations of Policies in Two-Player Zero-Sum Imperfect-Information Games}},
  year = {2026},
  eprint = {2607.01498},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.01498},
}
Figure