Robust Multi-Agent Reinforcement Learning via Adversarial Regularization: Theoretical Foundation and Stable Algorithms
About
Multi-Agent Reinforcement Learning (MARL) has shown promising results across several domains. Despite this promise, MARL policies often lack robustness and are therefore sensitive to small changes in their environment. This presents a serious concern for the real world deployment of MARL algorithms, where the testing environment may slightly differ from the training environment. In this work we show that we can gain robustness by controlling a policy's Lipschitz constant, and under mild conditions, establish the existence of a Lipschitz and close-to-optimal policy. Based on these insights, we propose a new robust MARL framework, ERNIE, that promotes the Lipschitz continuity of the policies with respect to the state observations and actions by adversarial regularization. The ERNIE framework provides robustness against noisy observations, changing transition dynamics, and malicious actions of agents. However, ERNIE's adversarial regularization may introduce some training instability. To reduce this instability, we reformulate adversarial regularization as a Stackelberg game. We demonstrate the effectiveness of the proposed framework with extensive experiments in traffic light control and particle environments. In addition, we extend ERNIE to mean-field MARL with a formulation based on distributionally robust optimization that outperforms its non-robust counterpart and is of independent interest. Our code is available at https://github.com/abukharin3/ERNIE.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Multi-Agent Reinforcement Learning | SMAC (test) | Win Rate (2s3z)96.7 | 56 | |
| Multi-Agent Reinforcement Learning | SMAC | Win Rate (3m)99.2 | 34 | |
| Multi-Agent Reinforcement Learning | SMAC 3m | Win Rate35.9 | 13 | |
| Multi-Agent Reinforcement Learning | SMAC 1c3s5z | Success Rate (Dis-1)87.6 | 9 | |
| Multi-Agent Reinforcement Learning | SMAC MMM v1 | Natural Score98 | 9 | |
| Multi-Agent Reinforcement Learning | SMAC 3s_vs_3z StarCraft II (test) | Win Rate (Natural Baseline)98.6 | 9 | |
| Multi-Agent Reinforcement Learning | SMAC MMM | Win Rate (Dis-1)69.8 | 9 | |
| Multi-Agent Reinforcement Learning | SMAC 8m v1 | Natural Performance96.9 | 9 | |
| Multi-Agent Reinforcement Learning | SMAC 3m StarCraft II (test) | Natural Performance96.9 | 9 | |
| Multi-Agent Reinforcement Learning | SMAC 2s3z StarCraft II (test) | Natural Acc97.6 | 9 |