This paper introduces MACKRL (Multi-Agent Common Knowledge Reinforcement Learning), a framework designed to bridge the gap between independent learning and centralized joint action learning in cooperative multi-agent systems.
TL;DR
MACKRL leverages "common knowledge"—information that agents not only share but know that they share—to enable complex coordination in fully decentralized environments. By using a hierarchical policy tree that conditions on varying levels of shared information, MACKRL outperforms state-of-the-art algorithms like QMIX and COMA on challenging tasks like StarCraft II micromanagement.
What Problem Does This Paper Address?
In cooperative multi-agent reinforcement learning (MARL), agents must learn to work together to achieve a goal. There is a fundamental tension between two approaches:
- Joint Action Learning (JAL): Agents learn a single centralized policy. While highly coordinated, this is often infeasible because the joint action space grows exponentially with the number of agents.
- Independent Learning (IL): Each agent learns its own policy based on local observations. This is scalable but often fails because agents cannot predict their teammates' actions, leading to poor coordination.
The authors identify a "middle ground." In many real-world scenarios (like autonomous driving or robotics), agents share common knowledge. For example, when two agents see each other, they both know their relative positions and know that the other agent knows it too.
Standard decentralized policies often force agents to ignore this shared information to remain "predictable," which limits their performance. MACKRL seeks to exploit this overlapping information to allow for decentralized yet highly coordinated actions.
Methods
The core of the paper is the MACKRL algorithm, which uses a hierarchical policy tree to dynamically select the right level of coordination.
- Hierarchical Policy Tree: The hierarchy starts at a "root" representing all agents and branches down into subgroups (e.g., pairs) and finally to individual agents.
- Conditioning on Common Knowledge: Each node in the tree is a policy that conditions only on the common knowledge available to that specific group. For example, a pairwise controller only uses information that both agents in the pair are guaranteed to know.
- Delegation: Higher-level controllers can either choose a joint action for their group or "delegate" the decision to lower-level controllers. This allows the system to coordinate tightly when common knowledge is rich and act independently when it is not.
- Pairwise MACKRL: To keep the action space manageable, the authors focus on a three-level hierarchy: a "pair selector" at the top, "pair controllers" in the middle, and "individual controllers" at the leaves.
- Central-V Training: MACKRL is trained using a stochastic actor-critic method with a centralized critic (Central-V). Because the entire hierarchy is differentiable, it can be trained end-to-end.
- Probabilistic Common Knowledge: The authors introduce a heuristic for "correlated sampling" using a shared random seed, allowing agents to coordinate even when their shared knowledge is noisy or uncertain.
Datasets and Environments
The authors evaluated MACKRL on two main benchmarks:
- Single-step Matrix Games: A proof-of-concept setup designed to test coordination under partial observability and varying levels of common knowledge noise.
- StarCraft Multi-Agent Challenge (SMAC): A standard, high-complexity benchmark for MARL. Specifically, they tested on:
- 2s3z: 2 Stalkers and 3 Zealots (mixed unit types requiring diverse tactics).
- 3m / 8m: 3 or 8 Marines (testing focus-fire coordination and scalability).
Key Insights and Ideas
- Common Knowledge as a "Free" Signal: Common knowledge (like field-of-view intersections) arises naturally in decentralized tasks. MACKRL is the first to explicitly formalize and exploit this for reinforcement learning.
- Simultaneous Coordination: Unlike methods that rely on "implicit communication" (observing a teammate's move and reacting a step later), MACKRL allows for simultaneous coordinated actions because agents can independently reach the same conclusion based on shared info.
- Graceful Degradation: The experiments with noisy matrix games showed that MACKRL's performance doesn't collapse when common knowledge is imperfect; it simply leans more on individual policies.
- Scalability via Subsampling: While the number of possible agent pairings is huge ($O(n!)$), the authors found that training on a fixed random subset of pairings still yields excellent results, making the approach viable for larger teams.
Key Results
- Superiority over Baselines: In StarCraft II (SMAC), MACKRL significantly outperformed COMA and QMIX in terms of sample efficiency and final win rates on the
2s3zand3mmaps. - Matrix Game Success: MACKRL outperformed both IL (which lacked coordination) and JAL (which struggled with partial observability) by effectively using the "common knowledge bit" when available.
- Robustness to Noise: In the "noisy" matrix game, MACKRL maintained high expected returns even when the common knowledge signal was randomly flipped with up to 10% probability.
- Scalability: On the
8mmap, MACKRL demonstrated that its hierarchical structure could scale to larger groups of agents while maintaining a performance edge over centralized value-based methods.
Limitations and Future Work
- Computational Complexity: Even with subsampling, the hierarchical tree adds complexity to the training process compared to simple independent learners.
- Defining Common Knowledge: The current implementation relies on a pre-defined common knowledge function (like field-of-view). The authors suggest that in the future, the common knowledge function itself could be learned during training.
- Off-Policy Learning: MACKRL is currently an on-policy actor-critic method. Developing an off-policy version (similar to QMIX) could further improve sample efficiency.
- Real-World Application: The authors point toward applying this to autonomous vehicle fleets or drone swarms where sensor-based common knowledge is abundant but communication bandwidth is limited.
Summary updated