Sample-Efficient Robust Multi-Agent Reinforcement Learning in the Face of Environmental Uncertainty

Laixi Shi, Eric Mazumdar, Yuejie Chi, Adam Wierman

Introduction

Reinforcement learning (RL) often struggles with the "sim-to-real" gap, where policies trained in simulation fail in the real world due to unmodeled noise or environmental shifts. In multi-agent reinforcement learning (MARL), this issue is exacerbated because agents react strategically to one another. Small environmental perturbations can cause a complete breakdown of game-theoretic equilibria, such as Nash Equilibria, leading to unstable and divergent outcomes. While robustness has been explored in single-agent RL, achieving environmental robustness with near-optimal sample efficiency in MARL has remained a significant challenge.

Distributionally Robust Markov Games

To address this, the authors introduce Distributionally Robust Markov Games (RMGs). In this framework, agents do not assume a single fixed environment. Instead, they consider an "uncertainty set" of possible environments, typically defined using Total Variation (TV) distance.

A key structural assumption used is agent-wise $(s,a)$-rectangularity, which allows environmental uncertainty to be decomposed by state and action. This decomposition makes the robust version of the Bellman equations mathematically tractable.

The DR-NVI Algorithm

The paper proposes a model-based algorithm: Distributionally Robust Nash Value Iteration (DR-NVI). The algorithm operates in two primary phases:

  1. Model Building: It constructs an empirical model of the environment based on collected samples.
  2. Robust Equilibrium Solving: It solves for robust equilibria (Nash, Correlated, or Coarse Correlated) by recursively applying a robust Bellman operator.

To ensure computational efficiency, the authors utilize strong duality to transform the complex optimization over a high-dimensional probability simplex (required for robust Bellman equations) into a simple one-dimensional search.

The Fishing Protection Benchmark

The authors demonstrate the practical necessity of their approach using a stylized "Fishing Protection" benchmark. This two-player game involves a fisherman and a police officer.

The Fishing Protection benchmark illustrates how standard MARL fails under slight parameter shifts between City A and City B, while Robust MARL maintains a stable equilibrium.

In this scenario, standard MARL learns different, often opposite, strategies for City A and City B due to minor differences in the probability of punishment. This leads to catastrophic failure (e.g., license revocation) when a policy from one city is applied to another. In contrast, the robust approach identifies a consistent strategy that prevents punishment across both environments.

Theoretical Results and Insights

The paper provides the first near-optimal finite-sample guarantees for robust Markov games.

  • Sample Efficiency: DR-NVI achieves an $\epsilon$-approximate robust equilibrium with a sample complexity of roughly $\tilde{O}\left( \frac{SH^3 \prod A_i}{\epsilon^2} \min \{H, \frac{1}{\sigma_{min}}\} \right)$. This improves upon previous state-of-the-art results by a factor of $S^3$ and reduces dependency on action space size.
  • The "Price" of Robustness: Interestingly, robust MARL can be more sample-efficient than standard MARL regarding the horizon ($H$). High uncertainty effectively acts as a regularizer, shortening the look-ahead horizon from $H^4$ to $H^3$.
  • Optimality: By establishing an information-theoretic lower bound, the authors prove that DR-NVI is optimal with respect to state space size, target accuracy, and horizon length.

Conclusion and Future Work

While this work establishes a strong theoretical foundation for robust MARL in tabular settings, several avenues for future research remain. Extending these guarantees to function approximation (Deep RL) and moving from a generative model to "online" exploration are critical steps for real-world deployment. Additionally, exploring other uncertainty metrics like KL-divergence or Wasserstein distance could offer different types of robustness.

Summary updated

BibTeX
@inproceedings{shi2024sample,
  author = {Laixi Shi and Eric Mazumdar and Yuejie Chi and Adam Wierman},
  title = {{Sample-Efficient Robust Multi-Agent Reinforcement Learning in the Face of Environmental Uncertainty}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=qDw4FxMubj},
}
Figure