RACE: Improve Multi-Agent Reinforcement Learning with Representation Asymmetry and Collaborative Evolution

Pengyi Li, Jianye Hao, Hongyao Tang, Yan Zheng, Xian FuICML 2023

TL;DR

RACE (Representation Asymmetry and Collaborative Evolution) is a hybrid framework that supercharges Multi-Agent Reinforcement Learning (MARL) by pairing it with Evolutionary Algorithms (EA). By decomposing agent policies into shared nonlinear encoders and individual linear heads, RACE enables efficient knowledge sharing and stable exploration, consistently outperforming state-of-the-art baselines in complex cooperative tasks.

What Problem Does This Paper Address?

Multi-Agent Reinforcement Learning is notoriously difficult due to two main hurdles: non-stationarity and low-quality reward signals.

Non-stationarity occurs because agents learn simultaneously; from one agent's perspective, the environment is constantly shifting as its teammates change their behaviors. Furthermore, many real-world tasks provide "sparse" or "deceptive" rewards—you might only get a signal at the very end of a long sequence of actions, making it hard for gradient-based MARL to figure out which actions were actually helpful.

While Evolutionary Algorithms (EA) are more robust to these issues because they optimize based on entire episodes (fitness) rather than step-by-step gradients, they are often sample-inefficient and struggle with the massive search space of deep neural networks. The authors of RACE sought a way to combine the sample efficiency of MARL with the robustness of EA.

Methods

The RACE framework introduces three core components to bridge the gap between MARL and EA:

Architecture of the RACE framework showing shared representations and collaborative evolution.
  1. Representation-Asymmetry Team Construction (RATC): Instead of evolving massive, complex neural networks for every team in a population, RACE splits the policy. Every team controlling a specific agent shares a nonlinear observation encoder (the "representation"), but maintains its own linear policy head. This "asymmetry" allows all teams to benefit from a shared understanding of the environment while keeping the evolutionary search space compact and linear.
  2. Value-Aware Mutual Information Maximization (VMM): To combat partial observability (where agents can't see the whole state), RACE optimizes the shared encoder to capture global state information. Crucially, it uses "Value-Aware" weights, ensuring the encoder prioritizes information from high-value (successful) states rather than wasting capacity on global information that leads to failure.
  3. Collaborative Evolution: RACE maintains a population of EA teams alongside a single MARL team. They interact through a "reciprocal" process: the EA population generates diverse experiences that are fed into the MARL team’s replay buffer, while the MARL team periodically injects its best-performing policies back into the EA population to steer evolution toward high-performing regions of the policy space.

Datasets

The authors evaluated RACE on two distinct types of challenging environments:

  • Multi-Agent MuJoCo (MAMuJoCo): A continuous control benchmark where multiple agents must coordinate to control different joints of a robot (e.g., a 6-agent HalfCheetah or a 3-agent Hopper).
  • StarCraft II Micromanagement (SMAC): A discrete action-space environment requiring complex tactical coordination between units to defeat AI opponents.

The study covered 16 different tasks in total, ranging from 2 to 6 agents.

Key Insights and Ideas

  • The Power of Linear Search: By restricting evolution to the linear policy heads, RACE makes the "genetic" search much more stable. It’s easier to find a good combination of linear weights than to mutate a deep, nonlinear network without breaking it.
  • Shared Intelligence: Sharing the nonlinear encoder across the entire population means that even if one team is performing poorly, its encoder is being improved by the collective experience of the more successful teams.
  • Selective Memory: The VMM component is a clever fix for a common problem in representation learning. By weighting mutual information by state value, the agents learn to ignore the "noise" of global states that lead to suboptimal outcomes, focusing only on the features of the world that lead to victory.
  • Mutualism: The relationship between MARL and EA here is symbiotic. EA provides the "exploration" (diverse experiences), while MARL provides the "exploitation" (fine-tuned gradient updates).

Key Results

RACE demonstrated significant performance gains across the board:

Performance comparison of RACE against baselines across various Multi-Agent MuJoCo tasks.
  • Superiority over Baselines: RACE consistently outperformed standard MARL (MATD3, FACMAC), pure EA, and previous hybrid methods like MERL.
  • Scaling Success: The performance gap between RACE and other methods actually increased as the number of agents grew (e.g., moving from 2 to 6 agents in HalfCheetah), suggesting better scalability.
  • Efficiency: Ablation studies showed that using the shared encoder with Value-Aware optimization improved the basic MARL algorithm's performance by an average of 27.1% across all tasks.
  • Stability: The "agent-level" crossover and mutation operators proved more stable than standard genetic operators, leading to faster convergence and higher final win rates in SMAC.

Limitations and Future Work

While RACE is highly effective, the authors note that it introduces additional hyperparameters, specifically $\alpha$ (mutation proportion) and $\beta$ (the weight of the VMM loss). The paper shows that performance is sensitive to these values, and they often require tuning based on whether the task is continuous or discrete.

Future work could explore automated hyperparameter tuning or meta-learning approaches to make RACE more "plug-and-play." Additionally, while the linear policy head simplifies evolution, exploring more expressive (yet still efficient) architectures for the policy head could be a promising next step for even more complex coordination tasks.

Summary updated

BibTeX
@inproceedings{li2023race,
  author = {Pengyi Li and Jianye Hao and Hongyao Tang and Yan Zheng and Xian Fu},
  title = {{RACE: Improve Multi-Agent Reinforcement Learning with Representation Asymmetry and Collaborative Evolution}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=3IgZpB5NJE},
}
Figure