Decomposed Soft Actor-Critic Method for Cooperative Multi-Agent Reinforcement Learning

Yuan Pu, Shaochen Wang, Rui Yang, Xin Yao, Bin LiarXiv 2021

TL;DR

This paper introduces mSAC, a novel method that combines value function decomposition and soft actor-critic techniques for cooperative multi-agent reinforcement learning. It achieves competitive performance against state-of-the-art methods on challenging StarCraft II benchmarks, particularly excelling in tasks with large action spaces.

What Problem Does This Paper Address?

Cooperative multi-agent reinforcement learning (MARL) is crucial for tasks involving multiple agents working together, such as autonomous driving or complex game playing. While deep RL has shown promise, MARL faces significant challenges:

  • Non-stationarity: As agents learn and update their policies simultaneously, the environment appears to change from each agent's perspective, making learning unstable.
  • Scalability: The joint state-action space grows exponentially with the number of agents, making it computationally intractable to learn a centralized policy.
  • Credit Assignment: Determining which agent's actions contributed to a global reward is difficult, especially when rewards are sparse or delayed.

Existing MARL approaches often fall into two categories: value function decomposition (e.g., QMIX) and multi-agent policy gradients (e.g., COMA). Value-based methods can struggle with off-policy learning and stability, while policy-based methods often face credit assignment challenges. This paper aims to bridge this gap by developing a method that leverages the strengths of both approaches.

Methods

The proposed Decomposed Soft Actor-Critic (mSAC) method integrates several key components:

  • Decomposed Q-Network Architecture: Inspired by value function decomposition, mSAC uses individual agent Q-networks (q^i) and a mixing network (q_mix). Crucially, it enforces a linear relationship between the joint Q-value (Q_tot) and individual Q-values, which is theoretically shown to support efficient off-policy learning. This is achieved by having the mixing network's weights and biases conditioned only on the global state, rather than a complex non-linear function.
  • Soft Actor-Critic (SAC) Integration: The paper adapts the single-agent SAC algorithm, which is known for its stability and sample efficiency due to its maximum entropy framework. This allows for off-policy learning and encourages exploration by maximizing both expected reward and policy entropy.
  • Probabilistic Policy: Each agent learns a probabilistic policy, represented as a probability mass function for discrete actions. This contrasts with some value-based methods that might rely on greedy action selection or simple epsilon-greedy exploration, enabling more nuanced action choices.
  • Counterfactual Advantage Function (Optional): For improved credit assignment, mSAC can optionally incorporate a counterfactual advantage function, similar to the COMA algorithm. This function estimates the advantage of an agent's action by comparing the joint Q-value with a baseline that assumes the agent took a different action, while keeping other agents' actions fixed.

The overall architecture follows the centralized training with decentralized execution (CTDE) paradigm, where a centralized critic (the decomposed Q-network) is used during training, and decentralized actors (the policies) are used for execution.

Datasets

The experiments were conducted on the StarCraft II micromanagement cooperative multi-agent benchmark, specifically using the StarCraft Multi-Agent Challenge (SMAC) environment. SMAC provides various scenarios with different numbers of agents, unit types, and action spaces, making it a standard benchmark for MARL research. The paper evaluates performance on maps with homogeneous agents (e.g., 3m, 8m) and heterogeneous agents (e.g., 1c3s5z, 3s5z, 3s_vs_5z), as well as maps with large action spaces (e.g., 2c_vs_64zg, MMM2).

Key Insights and Ideas

  • Soft Policy Iteration is Beneficial: The paper's findings suggest that the soft policy iteration paradigm (maximizing entropy alongside reward) is effective in MARL, leading to more stable and efficient learning compared to non-soft policy methods. This is attributed to better exploration and the ability to capture multiple near-optimal behaviors.
  • Joint Policy Optimization for Large Action Spaces: For tasks with large action spaces (like controlling units that can target one of many enemies), jointly optimizing the entire policy distribution (as mSAC does) is more effective than greedy action selection. This allows agents to plan their actions more strategically rather than relying on a simple e-greedy approach.
  • Counterfactual Advantage is Task-Dependent: While counterfactual advantage functions can help with credit assignment, their effectiveness is more pronounced in complex environments. In simpler scenarios, their impact is less significant, suggesting that the need for explicit credit assignment mechanisms is tied to the task's difficulty.
  • Bridging Value and Policy Methods: mSAC successfully combines the strengths of value function decomposition (for efficient off-policy learning and stability) and policy gradients (for direct policy optimization and credit assignment), offering a more robust approach.

Key Results

  • mSAC significantly outperforms the policy-based approach COMA on most StarCraft II micromanagement tasks.
  • mSAC achieves competitive results with the state-of-the-art value-based approach QMIX on most tasks in terms of asymptotic performance.
  • mSAC demonstrates very good performance on large action space tasks, such as 2c_vs_64zg and MMM2, outperforming QMIX in these scenarios.
  • Ablation studies showed that the soft policy iteration paradigm is important for performance, while the counterfactual advantage function's impact is more pronounced in harder tasks.

Limitations and Future Work

  • Discrete Action Space Focus: The current work primarily focuses on discrete action spaces. The authors suggest that experiments in continuous domains would be valuable.
  • Theoretical Analysis: While the paper provides theoretical underpinnings for the decomposed Q-network, more comprehensive theoretical analysis of the mSAC algorithm is needed.
  • Exploration in Difficult Maps: The paper notes that in some difficult maps, exploration remains a challenge, leading to high variance in performance across different random seeds. Developing more effective exploration strategies for such scenarios is identified as a key future research direction.

Summary updated

BibTeX
@misc{pu2021decomposed,
  author = {Yuan Pu and Shaochen Wang and Rui Yang and Xin Yao and Bin Li},
  title = {{Decomposed Soft Actor-Critic Method for Cooperative Multi-Agent Reinforcement Learning}},
  year = {2021},
  eprint = {2104.06655},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.06655},
}
Figure