A survey on LLM-based multi-agent systems: workflow, infrastructure, and challenges

Xinyi Li, S. Wang, Siqi Zeng, Yu Wu, Yi YangVicinagearth 2024

Abstract

The pursuit of more intelligent and credible autonomous systems, akin to human society, has been a long-standing endeavor for humans. Leveraging the exceptional reasoning and planning capabilities of large language models (LLMs), LLM-based agents have been proposed and have achieved remarkable success across a wide array of tasks. Notably, LLM-based multi-agent systems (MAS) are considered a promising pathway towards realizing general artificial intelligence that is equivalent to or surpasses human-level intelligence. In this paper, we present a comprehensive survey of these studies, offering a systematic review of LLM-based MAS. Adhering to the workflow of LLM-based multi-agent systems, we synthesize a general structure encompassing five key components: profile, perception, self-action, mutual interaction, and evolution. This unified framework encapsulates much of the previous work in the field. Furthermore, we illuminate the extensive applications of LLM-based MAS in two principal areas: problem-solving and world simulation. Finally, we discuss in detail several contemporary challenges and provide insights into potential future directions in this domain.

Introduction

While single Large Language Model (LLM) agents have shown impressive reasoning capabilities, they often hit a ceiling when faced with highly complex, multi-faceted tasks. Much like human society, "collective intelligence" is often superior to individual effort. However, research into LLM-based Multi-Agent Systems (MAS) has been fragmented, with varying architectures, communication protocols, and learning methods. This paper addresses the lack of standardization by synthesizing a "lifecycle" for agents and providing a systematic review of the current state-of-the-art.

A Unified Framework for LLM-Based MAS

The authors propose a unified framework that breaks down an LLM-based multi-agent system into five functional modules, standardizing the workflow from initial perception to long-term evolution.

The unified framework for LLM-based multi-agent systems, detailing the flow from perception and profiling to self-action and evolution.
  1. Profile: Defining "who" the agent is. This includes roles (e.g., "Software Engineer"), personalities, and social relationships. Generation strategies range from manual pre-definition to "learning-based" methods.
  2. Perception: How agents receive information. The field is moving from text-only inputs to multi-modal perception, incorporating visual and auditory data to create "embodied" agents.
  3. Self-action: The internal "brain" of the agent. This involves Memory (short-term vs. long-term), Knowledge Utilization (using RAG or external tools), and Reasoning/Planning (using techniques like Chain-of-Thought).
  4. Mutual Interaction: The "multi" in MAS. This categorizes how agents communicate (centralized vs. decentralized) and the nature of their relationships (cooperative, adversarial, or mixed).
  5. Evolution: How agents improve. This module focuses on self-reflection and learning from feedback to update internal states or fine-tune models.

Landscape and Applications

As a survey paper, this work catalogs the benchmarks and diverse applications used across the field, ranging from software engineering to complex world simulations.

A comparison of various LLM-based multi-agent systems across different domains, modalities, and interaction types.

Key insights from the current landscape include:

  • From Tools to Societies: The shift to "LLM-as-a-society" allows specialized agents to handle sub-tasks, reducing cognitive load and mitigating hallucinations through peer review.
  • The Importance of SOPs: In cooperative systems like MetaGPT, success often depends on encoding "Standard Operating Procedures" to make agent workflows predictable.
  • Evolution is the Frontier: Most current systems are static. The authors highlight "Evolution" as a critical area where agents learn from mistakes over time rather than just performing fixed tasks.

Key Results and Future Directions

LLM-based MAS are already outperforming single agents in several domains. In Software Engineering, systems like ChatDev can complete entire projects from a single prompt. In Scientific Research, MAS have automated complex chemical synthesis and protein discovery.

However, several "open problems" remain:

  • The Black Box Problem: Interpretability remains difficult for high-stakes applications like medicine.
  • Scaling Challenges: Communication overhead and computational costs skyrocket as the number of agents increases.
  • Hallucination Propagation: Errors can be accepted as truth by the group, leading to a cascade of failures.

The authors predict the rise of Agent-as-a-Service (AaaS), where users can deploy pre-configured, specialized multi-agent teams via cloud platforms without managing the underlying infrastructure.

Summary updated

BibTeX
@inproceedings{li2024survey,
  author = {Xinyi Li and S. Wang and Siqi Zeng and Yu Wu and Yi Yang},
  title = {{A survey on LLM-based multi-agent systems: workflow, infrastructure, and challenges}},
  booktitle = {Vicinagearth},
  year = {2024},
  doi = {10.1007/s44336-024-00009-2},
}
Figure