Scaling Large-Language-Model-based Multi-Agent Collaboration

Chen Qian,Zihao Xie,Yifei Wang,Wei Liu,Yufan Dang,Zhuoyun Du,Weize Chen,Cheng Yang,Zhiyuan Liu,Maosong Sun
2024-06-11
Abstract:Pioneering advancements in large language model-powered agents have underscored the design pattern of multi-agent collaboration, demonstrating that collective intelligence can surpass the capabilities of each individual. Inspired by the neural scaling law, which posits that increasing neurons leads to emergent abilities, this study investigates whether a similar principle applies to increasing agents in multi-agent collaboration. Technically, we propose multi-agent collaboration networks (MacNet), which utilize directed acyclic graphs to organize agents and streamline their interactive reasoning via topological ordering, with solutions derived from their dialogues. Extensive experiments show that MacNet consistently outperforms baseline models, enabling effective agent collaboration across various network topologies and supporting cooperation among more than a thousand agents. Notably, we observed a small-world collaboration phenomenon, where topologies resembling small-world properties achieved superior performance. Additionally, we identified a collaborative scaling law, indicating that normalized solution quality follows a logistic growth pattern as scaling agents, with collaborative emergence occurring much earlier than previously observed instances of neural emergence. The code and data will be available at <a class="link-external link-https" href="https://github.com/OpenBMB/ChatDev" rel="external noopener nofollow">this https URL</a>.
Artificial Intelligence,Computation and Language,Multiagent Systems,Networking and Internet Architecture,Social and Information Networks
What problem does this paper attempt to address?
The problem this paper attempts to address is: In multi-agent collaboration, can increasing the number of agents exhibit emergent capabilities similar to those in the scaling laws of neural networks? Specifically, the researchers explore whether designing a multi-agent collaboration network (MACNET), organizing agents using a directed acyclic graph, and optimizing their interaction reasoning process through topological sorting can achieve effective multi-agent collaboration, and whether this collaboration can show significant performance improvement as the number of agents increases. The core objective of the paper is to verify the existence of the cooperation scaling law, that is, whether the quality of standardized solutions follows a logical growth pattern as the number of agents increases, and whether the phenomenon of cooperative emergence occurs earlier than the previously observed neural emergence phenomenon. Additionally, the research aims to explore the impact of different network topologies on the performance of multi-agent collaboration, in order to find the optimal collaboration model.