Offline Equilibrium Finding

Shuxin Li, Xinrun Wang, Jakub Cerny, Youzhi Zhang, Pengdeng Li, Hau Chan, Bo An

TL;DR

This paper introduces the framework of Offline Equilibrium Finding (OEF), addressing how to find game-theoretic equilibria (such as Nash or Coarse Correlated Equilibria) in multi-agent games purely from pre-collected, static datasets without access to a simulator. The authors show that standard offline reinforcement learning (RL) fails in this setting, and propose a model-based framework (plugging algorithms like CFR, PSRO, and JPSRO into a learned neural game dynamics model) combined with behavior cloning to solve imperfect-information extensive-form games offline.

What Problem Does This Paper Address?

In real-world competitive and cooperative environments—like football, table tennis, or autonomous driving—building an accurate simulator is often impossible due to intricate physics and human biomechanics. While online equilibrium finding algorithms (e.g., Counterfactual Regret Minimization [CFR] or Policy Space Response Oracles [PSRO]) require billions of simulator interactions, offline single-agent RL learns strictly from logged data.

However, applying standard offline RL independently across agents fails: an agent's utility depends directly on the opponent's strategy, and optimizing an agent in isolation against historical trajectories leaves it open to heavy exploitation by adaptive adversaries. Meanwhile, evaluating whether an action profile constitutes an equilibrium requires counterfactual reasoning across alternate actions—many of which are absent in static logs. The paper formally frames this as the Offline Equilibrium Finding (OEF) problem: given an offline dataset $\mathcal{D}$ collected by an unknown behavior strategy $\sigma$, find an approximate equilibrium strategy profile $\sigma^*$.

Methods

The authors introduce a model-based approach with an optional imitation learning hybrid:

  1. Learned Environment Model ($E$): A neural network parameterized by $\theta_e$ is trained via mean squared error regression on dataset transitions $(s_t, a) \to (s_{t+1}, r_{t+1})$, legal actions, and game-termination indicators. This learned dynamics model acts as a surrogate game engine/simulator.
  2. Model-Based Equilibrium Solvers (MB): Existing online algorithms run directly inside the surrogate environment $E$:
  3. OEF-CFR: Employs Deep CFR with external sampling, traversing the neural model's predicted state transitions to compute counterfactual regrets and average strategies.
  4. OEF-PSRO: Generates best-response policies via RL inside $E$ and solves the empirical meta-game (using $\alpha$-rank).
  5. OEF-JPSRO: Generalizes Joint PSRO on $E$ to output joint policies converging to (Coarse) Correlated Equilibria ((C)CEs) for multi-player games.
  6. Behavior Cloning Hybrid (BC+MB): Standard supervised behavior cloning ($\pi_{\text{bc}}$) fits the policy distribution in $\mathcal{D}$. The final strategy linearly blends both policies: $\pi = \alpha \pi_{\text{bc}} + (1 - \alpha) \pi_{\text{mb}}$, where the mixing weight $\alpha \in [0, 1]$ balances behavior imitation against model-based equilibrium planning.

Datasets

The authors constructed benchmark offline datasets using OpenSpiel across several standard imperfect-information extensive-form games:

  • Games: 2-player to 5-player Kuhn poker, 2-player and 3-player Leduc poker, Liar's Dice (2-player), and Phantom Tic-Tac-Toe.
  • Dataset Types:
  • Random Dataset: Generated via uniform random policies (providing broad state-action coverage).
  • Expert Dataset: Generated using near-equilibrium strategies (e.g., solved via CFR or PSRO with $\alpha$-rank).
  • Learning Dataset: Intermediate checkpoints logged while training an online equilibrium solver.
  • Hybrid Dataset: Controlled mixtures of expert and random trajectories at varying ratios.

Key Insights and Ideas

  • Coverage Trade-offs (Theory & Practice):
  • Random data covers the game tree: High state-action coverage allows the learned dynamics model $E$ to closely approximate true transition mechanics. Consequently, pure model-based methods (MB) excel on random/exploratory data.
  • Expert data exposes blind spots for models: Because expert players visit only a narrow, optimal sub-tree, a model trained on purely expert data fails to predict outcomes for off-equilibrium exploratory actions.
  • Conversely, Behavior Cloning (BC) excels on expert data (simply cloning the equilibrium actions) but fails completely on random datasets.
  • The Synergy of BC+MB: The hybrid strategy $\pi = \alpha \pi_{\text{bc}} + (1 - \alpha) \pi_{\text{mb}}$ effectively bridges the gap: as the dataset quality transitions from random to expert, adjusting $\alpha$ smoothly shifts reliance from the learned model to direct imitation.
  • Why Naive Offline RL Fails: Model-free (BAIL) and model-based (MOPO) offline RL struggle because they seek unilateral utility-maximizers against fixed historical policies, yielding highly exploitable policies when evaluated against true best-responses.

Key Results

  • Vs. Offline RL: On 2-player Kuhn and Leduc poker, BC+MB achieved substantially lower exploitability ($\text{NashConv}$) compared to state-of-the-art offline RL baselines (MOPO and BAIL), which exhibited high exploitability across all dataset compositions.
  • Algorithm Equivalence: On Kuhn poker, OEF-CFR and OEF-PSRO produced virtually identical performance profiles, confirming that the bottleneck is the fidelity of the learned environment model rather than the choice of equilibrium solver.
  • Multi-Player & CCE: OEF-JPSRO consistently decreased the CCE Gap Sum on 3-player Kuhn and Leduc poker as the offline dataset size scaled (e.g., from 10k to 50k transitions in Leduc poker).
  • Hybrid Superiority: In Kuhn and Leduc poker across varied player counts, BC+MB outperformed both pure BC and pure MB across every hybrid dataset mixture.

Limitations and Future Work

  • Scale of Domains: Experiments are limited to small benchmark games (Kuhn, Leduc, small board games); complex, large-scale games like Heads-Up No-Limit Texas Hold'em or StarCraft II were left for future research.
  • Weight Selection: The mixing parameter $\alpha$ between BC and MB was chosen by evaluating a discrete grid of weights against the real environment. The authors noted that finding $\alpha$ purely offline or via few-shot interactions remains an open problem.
  • Model Uncertainty: Unlike modern conservative offline RL methods that explicitly penalize epistemic uncertainty in dynamic models, the current environment model relies purely on standard supervised regression losses.

Summary updated

BibTeX
@inproceedings{li2023offline,
  author = {Shuxin Li and Xinrun Wang and Jakub Cerny and Youzhi Zhang and Pengdeng Li and Hau Chan and Bo An},
  title = {{Offline Equilibrium Finding}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=tx-KRrFC2b},
}
Figure