Disentangling Sources of Risk for Distributional Multi-Agent Reinforcement Learning

Kyunghwan Son, Junsu Kim, Sungsoo Ahn, Roben Delos Reyes, Yung Yi, Jinwoo ShinICML 2022

Overview

In cooperative multi-agent reinforcement learning (MARL), agents face two distinct types of uncertainty: the unpredictable behavior of their teammates and the inherent randomness of the environment. This paper introduces DRIMA (Disentangled RIsk-sensitive Multi-Agent reinforcement learning), a framework that disentangles these risk sources. By allowing agents to be "optimistic" about their teammates' potential to cooperate while remaining "realistic" about environmental hazards, DRIMA achieves state-of-the-art performance in complex tasks like StarCraft II.

What Problem Does This Paper Address?

Most cooperative MARL algorithms operate under the paradigm of Centralized Training with Decentralized Execution (CTDE). While successful, these agents often fail in highly stochastic environments. The authors identify a fundamental flaw in how current "risk-sensitive" models handle uncertainty: they treat all risk as a single, entangled entity.

In reality, there are two distinct sources of risk:

  1. Cooperative Uncertainty: Risk arising from not knowing what teammates will do, especially during training when they are still exploring.
  2. Environmental Uncertainty: Risk arising from the environment's stochastic transitions and rewards (e.g., a random chance of an attack failing).
Cooperative vs. Environmental Uncertainty

Existing distributional MARL frameworks (like DMIX or DFAC) cannot separate these. If you make an agent risk-averse to avoid environmental traps, it also becomes "scared" of its teammates' exploration, leading to a breakdown in cooperation. Conversely, a risk-seeking agent might cooperate well but take suicidal gambles against the environment.

Methods: The DRIMA Framework

To solve this, the authors propose DRIMA. The core innovation is a hierarchical architecture based on Implicit Quantile Networks (IQN) that separates the two risk levels.

DRIMA Architecture

The architecture relies on two distinct estimators:

  • True Action-Value Estimator ($Z_{jt}$): This component learns the joint action-value distribution of the team, specifically capturing environmental risk ($w_{env}$). It has no structural constraints (like monotonicity), allowing it to accurately model the environment's complexity.
  • Transformed Action-Value Estimator ($Z_{tran}$): This component is trained to "imitate" the true estimator but is constrained to be decentralizable into individual agent utility functions. Crucially, it incorporates a cooperative risk level ($w_{agt}$).

By using different sampling distributions for $w_{env}$ and $w_{agt}$, researchers can tune agents to be, for example, "cooperative risk-seeking" (trusting teammates to eventually learn the right move) but "environmental risk-neutral" (not gambling on random environment outcomes). The model is trained using a combination of a Huber quantile regression loss for the true estimator and a set of specialized losses ($L_{opt}, L_{nopt}, L_{ub}$) that force the transformed estimator to track the true value while applying the desired risk weights.

Experimental Setup and Datasets

The primary evaluation occurs within the StarCraft Multi-Agent Challenge (SMAC), a popular benchmark for MARL. The authors modify standard maps to create specific challenges:

  • Explorative Scenarios: Modified exploration schedules where agents behave heavily randomly during training.
  • Dilemmatic Scenarios: Modified rewards that introduce "social dilemmas" where agents might learn local optima (like running away) instead of global cooperation.
  • Noisy Scenarios: Testing phase environments where some agents are replaced with random or adversarial actors.
  • Basic Scenarios: Standard SMAC maps (e.g., 3s_vs_5z, MMM2) to test general performance.

They also use a Stochastic Two-Step Matrix Game as a diagnostic tool to prove that DRIMA can handle different risk types at different stages of a task.

Key Insights and Results

  • Teammates are "Prosocial" Risks: Unlike a random environment, teammates are trying to learn the same goal. Being optimistic about them (risk-seeking) is often the only way to break out of suboptimal "safe" behaviors.
  • Escaping the "Safe" Policy Trap: In "Dilemmatic" StarCraft scenarios, standard models like DMIX often learn to simply run away from enemies to avoid the risk of damage. DRIMA escapes this local optimum by disentangling the fear of the environment from the trust in the team.
  • Robustness through Aversion: In the presence of "noisy" or "adversarial" agents, DRIMA can be set to "cooperative risk-averse." This allows the agent to learn a policy that doesn't rely on the unreliable cooperation of its peers, maintaining higher performance than baselines that assume perfect teamwork.
  • Superior Performance: DRIMA significantly outperformed eight state-of-the-art baselines (including QMIX, QPLEX, and DMIX) across all explorative and dilemmatic SMAC scenarios. In the diagnostic matrix game, DRIMA achieved a reward of 6.98, while DMIX struggled at 0.03, demonstrating that DMIX's entangled risk sensitivity prevents it from finding the optimal balance.

Limitations and Future Work

  • Hyperparameter Complexity: DRIMA introduces several new hyperparameters (weights for different losses and the choice of risk levels). While the paper provides heuristics, finding the perfect risk balance for a brand-new task might require tuning.
  • Static Risk Levels: In this work, risk levels ($w_{agt}, w_{env}$) are set by the researcher. A natural next step would be an automated system where agents dynamically adjust their risk sensitivity based on the current state of the game or the observed reliability of their teammates.
  • Adversarial Defense: While DRIMA is robust to noisy agents, specifically training against malicious, coordinated adversarial agents remains an open and vital area for future MARL research.

Summary updated

BibTeX
@inproceedings{son2022disentangling,
  author = {Kyunghwan Son and Junsu Kim and Sungsoo Ahn and Roben Delos Reyes and Yung Yi and Jinwoo Shin},
  title = {{Disentangling Sources of Risk for Distributional Multi-Agent Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
}
Figure