Abstract
Offline Multi-Agent Reinforcement Learning (MARL) is critical for real-world applications where exploration is costly or dangerous. However, standard conservative offline RL methods, which excel in single-agent settings, face significant performance degradation as the number of agents increases. This paper identifies that conservative value functions in MARL are prone to local optima that trap traditional gradient-based actors. We propose OMAR (Offline Multi-Agent RL with Actor Rectification), a novel framework that integrates zeroth-order optimization with policy gradients to escape these local traps. OMAR achieves state-of-the-art performance across diverse benchmarks, including StarCraft II and Multi-Agent MuJoCo, demonstrating robustness to agent scaling.
Introduction
The transition of Reinforcement Learning (RL) from simulation to reality hinges on the "offline" setting—learning from fixed datasets without environment interaction. While conservatism (e.g., Conservative Q-Learning) has mitigated extrapolation errors in single-agent tasks, its application to Multi-Agent RL (MARL) reveals a surprising bottleneck. As the number of agents grows, the performance of these conservative algorithms plummets. This paper investigates this "coordination trap" and introduces Actor Rectification (OMAR) as a solution.
The Multi-Agent Coordination Trap
Conservative methods penalize Q-values for actions outside the dataset distribution to prevent overestimation. While effective, this creates a "bumpy," non-concave Q-function landscape riddled with local optima. In single-agent settings, a local optimum may suffice. However, in cooperative MARL, the joint action space is vast, and a single agent's failure to find the global optimum can lead to a total team failure.
As shown in Figure 3(b), standard conservative methods like MA-CQL see a sharp decline in performance as the agent count increases from 1 to 5. Figure 3(c) illustrates the underlying cause: the Q-function landscape is non-concave, and standard first-order gradients are insufficient to reach the global maximum.
OMAR: Actor Rectification
To overcome these local optima, OMAR introduces a hybrid optimization strategy:
- Zeroth-Order Sampling: OMAR employs a sampling-based optimizer (similar to the Cross-Entropy Method) to explore the Q-function landscape globally. By proposing and evaluating candidate actions, it identifies high-value regions that gradients might miss.
- Actor Rectification: The actor's loss function is augmented with a "rectification" term. This term pulls the actor toward the high-performing actions identified by the sampling process, effectively "rectifying" the policy update.
- Hybrid Efficiency: By combining efficient first-order gradients with robust zeroth-order sampling, OMAR maintains computational efficiency (adding only ~4.7% runtime) while achieving superior global optimization.
Experimental Results
OMAR was evaluated against strong baselines (MA-CQL, MA-TD3+BC, MA-ICQ) across several benchmarks, including Multi-Agent Particle Environments, StarCraft II (SMAC), and Multi-Agent MuJoCo. In the "Spread" task, OMAR remained robust even as agent counts increased, unlike baselines. In StarCraft II, OMAR achieved a 76.7% average performance gain over MA-CQL.
Figure 6 highlights that the performance improvement offered by OMAR is most pronounced in multi-agent scenarios, confirming that the "coordination trap" is a unique challenge of MARL that OMAR successfully addresses.
Conclusion
OMAR demonstrates that the failure of conservative offline MARL is structural rather than just a matter of hyperparameter tuning. By acknowledging the non-concave nature of conservative value functions and employing actor rectification, OMAR enables agents to plan better in complex, crowded environments. Future work will explore more sophisticated sampling distributions and deeper theoretical guarantees for this hybrid approach.
Summary updated