AlberDICE: Addressing Out-Of-Distribution Joint Actions in Offline Multi-Agent RL via Alternating Stationary Distribution Correction Estimation

Daiki E. Matsunaga, Jongmin Lee, Jaeseok Yoon, Stefanos Leonardos, Pieter Abbeel, Kee-Eung Kim

The Challenge of Out-of-Distribution Joint Actions

In Offline Reinforcement Learning (RL), agents learn to make decisions using a fixed dataset of past experiences rather than interacting with a live environment. The primary hurdle in this setting is distribution shift: if an agent attempts an action that is not well-represented in the training data (an out-of-distribution, or OOD, action), the model may falsely predict a high reward, leading to catastrophic failures during actual deployment.

This problem becomes exponentially more difficult in Multi-Agent RL (MARL). Even if every individual agent selects a "safe" action that exists in the dataset, the combination of their actions might be entirely novel.

Payoff matrix for a simple coordination game.

Imagine a scenario where Agent A has historical data for "passing left" and Agent B has data for "running right." If they execute these actions simultaneously for the first time, the resulting OOD joint action could easily lead to a turnover. Existing methods often attempt to solve this by using value decomposition (breaking the team goal into individual goals) or fully decentralized training. Unfortunately, these approaches frequently fail to prevent uncoordinated, OOD combinations.

Introducing AlberDICE

To tackle this curse of dimensionality, researchers introduce AlberDICE (Alternate Best Response Stationary DIstribution Correction Estimation). Building on the "DICE" family of algorithms, AlberDICE shifts away from traditional Q-learning—which estimates future rewards—and instead optimizes the stationary distribution of the policy, effectively estimating how often agents should occupy certain states and take certain actions.

AlberDICE relies on a few key innovations:

  • Alternating Optimization: Solving for all agents simultaneously is computationally intractable as the team size grows. AlberDICE bypasses this by updating one agent at a time. It treats the active agent's task as finding the "best response" to the fixed policies of its teammates.
  • Joint-Action Regularization: The algorithm applies a specific mathematical penalty (KL-divergence) that strictly discourages the team from drifting away from the joint actions present in the offline dataset.
  • Numerical Stability: The authors derive a "minimax-to-min" formulation and utilize Importance Resampling to manage the high-variance mathematics that typically make distribution-correction methods notoriously difficult to train.

Key Insights and Results

The research team evaluated AlberDICE across a diverse suite of environments, ranging from simple "treacherous" coordination puzzles like the Penalty XOR Game and Bridge, to complex simulators like Multi-Robot Warehouse (RWARE), Google Research Football (GRF), and the StarCraft Multi-Agent Challenge (SMAC).

The "Aha" Moment on Coordination

One of the paper's most compelling insights is that standard behavior cloning can fail even when trained exclusively on "expert" data. If the dataset contains two distinct successful strategies (e.g., "everyone go left" OR "everyone go right"), an uncoordinated model might average them out, resulting in a failing OOD mix ("Agent 1 goes left, Agent 2 goes right"). AlberDICE’s alternating approach forces the agents to commit to a single, coordinated strategy.

Comparison of learned policy distributions across different algorithms.

As seen in the policy distribution comparisons above, AlberDICE is uniquely capable of converging perfectly on a single optimal joint action, whereas baseline algorithms like Behavior Cloning (BC), ICQ, OMAR, and OptiDICE either spread their probability mass unreliably or fail to coordinate entirely.

Performance and Scaling

AlberDICE consistently outperformed state-of-the-art baselines:

  • Perfect Coordination: In the Penalty XOR and Bridge tasks, AlberDICE was the only algorithm to reliably discover the optimal deterministic strategy across all dataset types.
  • Superior Scaling: In the "Super Hard" SMAC scenarios, AlberDICE achieved significantly higher success rates. In the Corridor map, for instance, it reached a 0.98 success rate, comfortably beating the next best baseline (OMAR) at 0.92.
  • OOD Avoidance: Quantitative tests proved that AlberDICE selects OOD joint actions far less frequently than its competitors. In one SMAC task, a leading baseline (ICQ) selected OOD actions 54.7% of the time, while AlberDICE did so only 4.8% of the time.

Furthermore, the authors theoretically prove that this alternating optimization is not merely a heuristic; it is mathematically guaranteed to converge to a Nash policy, ensuring no single agent has an incentive to deviate from the learned strategy.

Limitations and Future Work

While highly effective, AlberDICE does have limitations:

  • Equilibrium Selection: Though guaranteed to converge to a Nash policy, it may not always find the global optimum in games with multiple equilibria. The final outcome can be sensitive to the optimization's starting point.
  • Sequential Training: Because agents are optimized alternately, training can take longer than fully decentralized methods that process agents in parallel.
  • Autoregressive Pre-training: The method requires pre-training a "data policy" to map the dataset's distribution. While this scales linearly with the number of agents, it adds an unavoidable pre-processing step to the pipeline.

Despite these constraints, AlberDICE represents a major step forward in ensuring multi-agent teams can learn safely and effectively from static datasets without falling victim to the hazards of out-of-distribution hallucination.

Summary updated

BibTeX
@inproceedings{matsunaga2023alberdice,
  author = {Daiki E. Matsunaga and Jongmin Lee and Jaeseok Yoon and Stefanos Leonardos and Pieter Abbeel and Kee-Eung Kim},
  title = {{AlberDICE: Addressing Out-Of-Distribution Joint Actions in Offline Multi-Agent RL via Alternating Stationary Distribution Correction Estimation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=LhVJdq4cZm},
}
Figure