TL;DR
Standard conservative offline reinforcement learning (RL) algorithms, which excel in single-agent tasks, surprisingly fail to scale as the number of agents increases. This paper introduces OMAR (Offline Multi-Agent RL with Actor Rectification), a method that prevents agents from getting stuck in local optima by blending traditional policy gradients with a sampling-based "rectification" step to ensure better coordination in multi-agent environments.
What Problem Does This Paper Address?
Offline Reinforcement Learning is the art of learning a high-performing policy from a static, pre-collected dataset without any further environment interaction. To prevent agents from overestimating the value of actions not present in the data (extrapolation error), researchers typically use "conservatism"—penalizing the value function (the Critic) for unfamiliar state-action pairs.
While this works well for single agents, the authors discovered a "coordination collapse" in multi-agent settings. As the number of agents grows, the performance of state-of-the-art conservative algorithms like Conservative Q-Learning (CQL) drops dramatically.
The authors identify the culprit: non-concavity. Conservative value functions create a "bumpy" landscape with many local optima. Standard first-order optimization (policy gradients) often gets stuck in these sub-optimal pits. In a multi-agent team, if even one agent gets stuck in a bad local optimum, the entire team’s coordination fails, leading to global failure.
Methods
The authors propose OMAR (Offline Multi-Agent RL with Actor Rectification) to help agents "climb out" of these local optima.
- Base Framework: OMAR is built on top of decentralized critics (like Independent TD3) and incorporates the conservative loss from CQL to handle extrapolation errors.
- Zeroth-Order Optimization: Instead of relying solely on gradients (first-order), OMAR uses a sampling-based (zeroth-order) approach. It maintains an iteratively refined Gaussian distribution to sample candidate actions and evaluate their Q-values. This is similar to the Cross-Entropy Method (CEM) but uses a "softer" update rule to be more robust in high-dimensional spaces.
- Actor Rectification: The core innovation is the new policy objective. The actor is trained to minimize a loss that combines the standard policy gradient with a rectification term. This term acts like a regularizer, pulling the actor’s predicted action toward the high-value actions discovered by the sampling process.
- Safe Improvement: The authors provide a theoretical proof showing that this rectification objective provides a safe policy improvement guarantee over the behavior policy found in the dataset.
Datasets
The authors evaluated OMAR across a diverse set of benchmarks with varying data qualities (Random, Medium-Replay, Medium, and Expert):
- Multi-Agent Particle Environments (MPE): Tasks like Cooperative Navigation and Predator-Prey.
- Multi-Agent MuJoCo: A complex locomotion task where different agents control different joints of a "HalfCheetah" robot to make it run.
- StarCraft II Micromanagement (SMAC): A challenging discrete control benchmark involving combat between groups of units (e.g., 2 Stalkers & 3 Zealots vs. an identical enemy team).
- D4RL Maze2D: Used to verify that the method remains compatible and effective even in single-agent settings.
Key Insights and Ideas
- The Multi-Agent Penalty: The paper highlights that the "curse of dimensionality" in MARL isn't just about the size of the action space, but how conservatism makes the optimization landscape exponentially harder for gradients to navigate.
- Coordination is Fragile: In cooperative tasks, the "weakest link" problem is real. A single agent failing to find the global optimum of the conservative critic leads to uncoordinated behavior that ruins the performance of the whole group.
- Gradients + Sampling = Success: The "aha moment" is realizing that while gradients are efficient, they are "blind" to better peaks nearby. By using a zeroth-order sampling mechanism to "rectify" the actor, the agent can leverage the global information hidden in the conservative critic more effectively.
Key Results
OMAR consistently achieved state-of-the-art results, significantly outperforming baselines like MA-CQL, MA-ICQ, and TD3+BC.
- Scaling: Unlike CQL, which saw performance plummet as agents increased from 1 to 5 in the "Spread" task, OMAR maintained high performance.
- StarCraft II: OMAR achieved an average performance gain of 76.7% over MA-CQL across all tested maps.
- Efficiency: Despite adding a sampling step, OMAR is computationally efficient, incurring only about 4.7% more runtime on average compared to standard MA-CQL.
- Robustness: OMAR performed well even when the dataset quality was mediocre or low, whereas behavior-regularization methods (like TD3+BC) struggled.
Limitations and Future Work
- Hyperparameter Sensitivity: The regularization coefficient $\tau$ (which balances the gradient and the rectification term) requires tuning. The authors noted that the optimal $\tau$ varies depending on the quality of the offline dataset.
- Sampling Distributions: The current sampling mechanism uses a Gaussian distribution. The authors suggest that exploring more complex or general distributions could further improve the discovery of optimal actions.
- Generalization: While tested on several benchmarks, future work could involve applying the "Actor Rectification" concept to other offline RL algorithms beyond the CQL-based framework.
Summary updated