Scalable Multi-agent Skill Discovery based on Kronecker Graphs

Jiayu Chen, Jingdi Chen, Tian Lan, Vaneet Aggarwal

Abstract: Covering skill (a.k.a., option) discovery has been developed to improve the exploration of RL in single-agent scenarios with sparse reward signals, through connecting the most distant states in the embedding space provided by the Fiedler vector of the state transition graph. Given that joint state space grows exponentially with the number of agents in multi-agent systems, existing researches still relying on single-agent skill discovery either become prohibitive or fail to directly discover joint skills that improve the connectivity of the joint state space. In this paper, we propose multi-agent skill discovery which enables the ease of decomposition. Our key idea is to approximate the joint state space as a Kronecker graph, based on which we can directly estimate its Fiedler vector using the Laplacian spectrum of individual agents' transition graphs. Further, considering that directly computing the Laplacian spectrum is intractable for tasks with infinite-scale state spaces, we further propose a deep learning extension of our method by estimating eigenfunctions through NN-based representation learning techniques. The evaluation on multi-agent tasks built with simulators like Mujoco, shows that the proposed algorithm can successfully identify multi-agent skills, and significantly outperforms the state-of-the-art. Codes are available at: https://github.itap.purdue.edu/Clan-labs/Scalable_MAOD_via_KP.

Introduction

Reinforcement learning (RL) in environments with sparse rewards remains a significant challenge, as agents often fail to encounter success signals through random exploration. "Covering option discovery" has emerged as a powerful technique to address this by identifying and connecting distant states in the environment's transition graph. However, extending this to multi-agent reinforcement learning (MARL) is difficult because the joint state space grows exponentially with the number of agents, making traditional graph-based methods computationally prohibitive. This paper presents a scalable framework for discovering joint skills in MARL by leveraging Kronecker graph approximations.

The MAOD Framework

The proposed Multi-agent Covering Option Discovery (MAOD) framework addresses the scalability issue through three primary innovations. First, it approximates the massive joint transition graph as a Kronecker product of smaller, individual agent graphs. This mathematical shortcut assumes a degree of independence in agent transitions, which significantly reduces the complexity of analyzing the joint space.

Second, the authors utilize spectral decomposition to estimate the Fiedler vector of the joint graph directly from the spectra of individual agent graphs. This reduces the computational cost from $O(m^{3n})$ to $O(nm^3)$, where $n$ is the number of agents and $m$ is the number of states per agent.

Joint state space graph and the discovery of a global joint option $\omega_1$ connecting distant states.

Third, for continuous or high-dimensional state spaces, the framework employs deep learning to learn "Laplacian representations." Neural networks estimate the eigenfunctions of the state space, allowing the method to scale to complex physics simulators like MuJoCo. The discovered options are integrated into a hierarchical framework where a high-level policy selects a joint option, and low-level policies are trained to execute the specific movements required to reach the joint sub-goal states.

Experimental Evaluation

The researchers evaluated MAOD across several discrete and continuous multi-agent tasks, including "Grid Room," "Grid Maze," and MuJoCo-based environments. In a 4-agent Grid Maze, MAOD achieved convergence in approximately 400 episodes, whereas standard MARL baselines like MAPPO and MADDPG failed to solve the task within 1,000 episodes.

Identification of a local joint option $\omega_2$ within the joint state space.

The results demonstrate that MAOD successfully identifies coordinated multi-agent skills that single-agent methods miss. By focusing on the joint Fiedler vector, the algorithm discovers skills that require agents to be in specific relative positions, which is crucial for collaborative tasks.

Key Insights and Future Work

A key finding is the robustness of the Kronecker approximation. Despite agent interactions like collisions, the global structure of the joint graph remains stable enough for effective option discovery. Furthermore, centralized execution of joint options was found to speed up convergence by pruning the search space.

Future work includes developing formal error bounds for the Kronecker approximation in MARL and exploring more efficient communication strategies to manage the data-sharing requirements of joint initiation and termination states.

Summary updated

BibTeX
@inproceedings{chen2022scalable,
  author = {Jiayu Chen and Jingdi Chen and Tian Lan and Vaneet Aggarwal},
  title = {{Scalable Multi-agent Skill Discovery based on Kronecker Graphs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=cNySQsuBxY},
}
Figure