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 · DOI

Introduction

Offline Multi-Agent Reinforcement Learning (MARL) presents a significant challenge: learning effective coordination from a static dataset without environment interaction. The primary obstacle is distribution shift, where agents may select "out-of-distribution" (OOD) joint actions that were not present in the training data. This often leads to overoptimistic value estimates and failure in deployment. AlberDICE (ALternate BEst Response Stationary DIstribution Correction Estimation) is proposed to address these issues by leveraging stationary distribution correction and an alternating optimization strategy.

The Challenge of OOD Joint Actions

In MARL, the joint action space grows exponentially with the number of agents, a phenomenon known as the curse of dimensionality. Standard offline RL methods often fail because they focus on individual action conservatism rather than joint action coordination. Even if individual actions are within the data distribution, their combination might be OOD.

Consider a simple coordination game like the XOR task. The agents must choose complementary actions to receive a reward. If the dataset contains examples of "Agent 1: A, Agent 2: B" and "Agent 1: B, Agent 2: A", a naive algorithm might incorrectly generalize that "Agent 1: A, Agent 2: A" is also a high-value state, despite it being OOD and yielding zero reward.

The XOR coordination game matrix, where rewards are only given for complementary actions (A,B) and (B,A).

Methodology: The AlberDICE Approach

AlberDICE introduces a novel framework to ensure joint-space conservatism while maintaining computational efficiency:

  • DICE Framework: Instead of traditional Q-learning, AlberDICE utilizes stationary distribution correction estimation. This directly estimates the ratio between the learned policy's distribution and the dataset distribution, avoiding the extrapolation errors inherent in bootstrapping.
  • Alternating Best Response: To manage the exponential joint action space, the algorithm optimizes policies sequentially. It computes the best response for one agent while keeping others fixed, ensuring a tractable optimization process and providing theoretical guarantees of convergence to Nash policies.
  • Regularized Linear Programming: The objective function is formulated as a regularized LP that penalizes deviations from the joint actions found in the dataset. This enforces conservatism at the joint level, preventing the selection of uncoordinated OOD actions.
  • Numerical Stability: The authors derive a minimax-free objective, which enhances training stability when using deep neural networks by avoiding gradient explosions common in distribution-correction methods.

Experimental Results

The effectiveness of AlberDICE was evaluated against several state-of-the-art baselines, including BC, ICQ, OMAR, and OptiDICE, across various benchmarks such as the XOR game, StarCraft Multi-Agent Challenge (SMAC), and Google Research Football (GRF).

In the XOR coordination task, AlberDICE was the only method to consistently converge to an optimal joint action. Baselines often failed by either producing uniform distributions or converging to OOD joint actions with zero reward.

Comparison of joint action distributions learned by various algorithms on the XOR task. AlberDICE successfully identifies a high-reward joint action (A,B), while baselines fail to coordinate or stay within the data distribution.

Quantitative results on complex benchmarks like SMAC and GRF further demonstrated AlberDICE's superiority. It significantly reduced the frequency of OOD joint action selection—for instance, reducing it from 54.7% in a baseline to just 4.8% in a specific SMAC scenario—leading to higher overall performance in "Super Hard" coordination tasks.

Conclusion

AlberDICE provides a robust theoretical and practical framework for offline MARL. By focusing on joint-space stationary distribution correction and employing an alternating optimization strategy, it successfully navigates the trade-off between coordination and conservatism. While future work may address global optimality in multi-equilibria games and extend the framework to partial observability, AlberDICE represents a significant step forward in training reliable multi-agent systems from offline data.

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