Variational Inequality Perspective and Optimizers for Multi-Agent Reinforcement Learning

Baraah A. M. Sidahmed, Tatjana ChavdarovaOWA @ NeurIPS 2024

TL;DR

This paper introduces Variational Inequality (VI) optimization techniques, specifically Nested-Lookahead VI (nLA-VI) and Extragradient (EG), to improve the stability and performance of Multi-Agent Reinforcement Learning (MARL) algorithms like MADDPG. By reformulating MARL problems as VI problems, the authors demonstrate that these VI-based optimizers lead to more robust training and better policy convergence in complex multi-agent environments.

What Problem Does This Paper Address?

Multi-Agent Reinforcement Learning (MARL) is notoriously challenging. Agents learning through trial and error often exhibit high sensitivity to hyperparameter choices and random initializations, leading to unstable training and poor reproducibility. Traditional gradient-based optimization methods struggle with the inherent "rotational dynamics" present in equilibrium-seeking problems, which can prevent convergence. This paper aims to address these issues by leveraging Variational Inequality (VI) theory, which provides a framework for solving equilibrium-finding problems, to enhance the training of MARL agents.

Methods

The core contribution is the application of VI-based optimization methods to MARL. The authors propose three new algorithms:

  • LA-MADDPG: Integrates the Nested-Lookahead VI (nLA-VI) method into the Multi-Agent Deep Deterministic Policy Gradient (MADDPG) algorithm. nLA-VI uses "lookahead" steps to stabilize training by averaging current and past network parameters.
  • EG-MADDPG: Integrates the Extragradient (EG) method into MADDPG. EG is known to handle certain types of equilibrium problems better than standard gradient descent.
  • LA-EG-MADDPG: A combination of both nLA-VI and EG applied to MADDPG.

These methods reformulate the actor-critic optimization in MARL as a VI problem and apply the VI optimizers to the joint policy space of all agents.

Datasets

The paper evaluates its methods on the following benchmarks:

  • Rock-Paper-Scissors (RPS): A classic zero-sum game known for its cyclical behavior and analytically computable Nash equilibrium.
  • Matching Pennies: Another zero-sum game with a mixed Nash equilibrium.
  • Multi-Agent Particle Environments (MPE): Specifically, the "Predator-prey" and "Physical deception" environments. These are more complex scenarios involving cooperation and competition.

Key Insights and Ideas

  • MARL as a VI Problem: The paper frames MARL training as a Variational Inequality problem, which is a more natural fit for equilibrium-seeking dynamics than standard optimization.
  • VI Optimizers for Stability: VI-based methods like nLA-VI and EG can significantly improve training stability and reduce variance compared to standard optimizers like Adam, especially in MARL settings.
  • Beyond Reward Metrics: The authors highlight that relying solely on rewards for evaluating MARL convergence can be misleading. Suboptimal policies can sometimes achieve seemingly good rewards, while true policy convergence to an equilibrium might be better indicated by other metrics or qualitative analysis of agent behavior.
  • Balanced Agent Participation: In cooperative or mixed environments like Predator-prey, VI-based methods can lead to more balanced participation among agents on the same team, preventing scenarios where one agent's strategy becomes dominant or erratic.

Key Results

  • Improved Performance in Zero-Sum Games: In Rock-Paper-Scissors and Matching Pennies, LA-MADDPG consistently reduced the distance of learned policies to the equilibrium policy, outperforming the baseline MADDPG with Adam.
  • Stabilized Training: While EG-MADDPG alone showed similar performance to the baseline, combining it with Lookahead (LA-EG-MADDPG) stabilized performance. Lookahead also significantly reduced variance across different random seeds.
  • Enhanced Predator-Prey Behavior: In the MPE Predator-prey environment, VI-based methods improved the adversary agents' ability to coordinate and chase the good agent, leading to a higher win rate.
  • Better Policy Convergence: The paper shows that while rewards might saturate, LA-MADDPG learned near-optimal policies by alternating actions in RPS, which is the desired behavior for reaching equilibrium, unlike the baseline which got stuck in suboptimal ties.

Limitations and Future Work

  • Hyperparameter Tuning: The authors acknowledge that full convergence to the Nash equilibrium was not achieved, partly due to not extensively tuning hyperparameters.
  • Generalization to Other MARL Algorithms: The current work focuses on MADDPG. Future work could investigate applying VI methods to other MARL algorithms.
  • Exploring Other VI Techniques: The paper suggests exploring additional existing VI techniques beyond nLA-VI and EG.
  • Robust Evaluation Metrics: The paper emphasizes the need for more robust evaluation metrics in MARL, as reward-based metrics alone can be inadequate, especially when the true equilibrium is unknown.

Summary updated

BibTeX
@inproceedings{sidahmed2024variational,
  author = {Baraah A. M. Sidahmed and Tatjana Chavdarova},
  title = {{Variational Inequality Perspective and Optimizers for Multi-Agent Reinforcement Learning}},
  booktitle = {OWA @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=z5chjuwztL},
}
Figure