Cyclicity-Regularized Coordination Graphs

Oliver Järnefelt, Mahdi Kallel, Carlo D'EramoRLC 2024

TL;DR

This paper introduces a new method for creating sparser coordination graphs (CGs) in multi-agent reinforcement learning (MARL) by explicitly considering graph cyclicity, not just edge importance. This "cyclicity-regularized" approach, called KINGS, improves the performance of the max-sum algorithm in complex coordination tasks by preventing detrimental cycles from forming during graph simplification.

What Problem Does This Paper Address?

Multi-agent reinforcement learning (MARL) faces a significant challenge in coordinating multiple agents, especially when the number of agents grows. While value function factorization (VFF) methods have shown promise, they can suffer from "relative overgeneralization." Coordination Graphs (CGs) offer a way to model agent interactions and factorize the joint action-value function. However, a common technique for making CGs computationally tractable is sparsification, which involves removing edges. A popular method for this is based on "mutual influence" between agents. The problem is that this standard sparsification can lead to graphs with increased cyclicity, which negatively impacts the performance of the max-sum algorithm, a key tool for efficient action selection in CGs. This paper addresses the issue that simply removing edges based on influence, without considering the resulting graph topology (specifically, cyclicity), can harm performance.

Methods

The core contribution is a novel sparsification method called KINGS (Kirchoff Index Guided Sparsification). Unlike previous methods that primarily focus on the "mutual influence" between agents (represented by the $\xi$ metric), KINGS incorporates a measure of graph cyclicity. It uses a modified mutual influence metric ($\tilde{\xi}$) that penalizes edges whose removal would increase the graph's cyclicity. This is achieved by leveraging concepts from electrical network theory, specifically the effective resistance between nodes, which is related to the graph Laplacian.

KINGS iteratively prunes edges with the lowest $\tilde{\xi}$ scores. A key aspect is that it aims to maintain graph connectedness and minimize cyclicity. The authors also introduce a practical implementation that sparsifies the graph in "chunks" of edges rather than one by one, to manage computational cost, especially for deep MARL.

Datasets

The paper evaluates KINGS on two benchmark suites:

  • Multi-Agent Coordination Benchmark (MACO): This benchmark consists of temporally extended versions of six classical coordination games.
  • StarCraft Multi-Agent Challenge (SMAC): This is a more complex benchmark based on the real-time strategy game StarCraft II, used to test scalability.

Key Insights and Ideas

  • Cyclicity is a critical factor in CG sparsification: Simply removing edges based on agent influence can inadvertently create problematic cycles that degrade max-sum performance.
  • Topological information matters: Considering the graph's structure (like connectedness and cyclicity) during sparsification is crucial for effective coordination.
  • KINGS balances influence and topology: The proposed method effectively prunes edges that have low mutual influence and contribute significantly to graph cyclicity, leading to better-performing sparse CGs.
  • Connectedness is vital for certain tasks: In environments like "Gather," maintaining a connected graph is essential for agents to share information and achieve optimal outcomes. KINGS' focus on connectedness helps in these scenarios.

Key Results

  • KINGS consistently outperforms the state-of-the-art sparsification method CASEC (which only considers mutual influence) on MACO tasks, especially in environments where graph connectedness is important (e.g., Gather).
  • In the Gather environment, CASEC with a sparsity of 0.6 fails to solve the task, while KINGS with the same sparsity achieves optimal performance, highlighting the importance of topological awareness.
  • KINGS demonstrates better sparsity tolerance, maintaining higher performance at higher sparsity levels compared to CASEC.
  • On SMAC, while both KINGS and CASEC show improvements over DCG, the performance gains are less pronounced, but KINGS still exhibits more stable performance across different sparsity levels.
  • The paper shows that KINGS can achieve comparable or better performance with a higher degree of sparsity (fewer edges) than CASEC.

Limitations and Future Work

  • Static Sparsity Coefficient: The current method assumes a fixed sparsity coefficient. The authors suggest that dynamically adjusting the number of active CG edges based on the state could offer a more balanced solution.
  • Computational Cost: While KINGS aims to be efficient, the iterative computation of effective resistance can still be costly for very large graphs.
  • Max-Sum Convergence: While KINGS aims to mitigate cyclicity, the max-sum algorithm's convergence guarantees are still primarily for acyclic graphs.
  • Future Work: The authors suggest exploring more suitable distributed constraint optimization algorithms for CGs with high cyclicity and investigating dynamic sparsity adjustments.

Summary updated

BibTeX
@inproceedings{jarnefelt2024cyclicity,
  author = {Oliver Järnefelt and Mahdi Kallel and Carlo D'Eramo},
  title = {{Cyclicity-Regularized Coordination Graphs}},
  booktitle = {RLC},
  year = {2024},
  url = {https://openreview.net/forum?id=jtEIBD6pS8},
}
Figure