Benchmarking LLMs' Swarm intelligence
本文提出了一种名为SwarmBench的新基准,旨在评估大语言模型(LLMs)在多智能体系统中的群智能能力,特别是在严格限制感知和通信条件下的分布式协调能力。
更新于 2025-05-09。作者:Kai Ruan、Mowen Huang、Ji-Rong Wen、Hao Sun。
中文摘要
大型语言模型(LLMs)在复杂推理方面显示出潜力,然而,在严格约束条件下(如限制性的局部感知和通信,这是自然群体特征)它们在多智能体系统(MAS)中出现的自组织协调能力仍大部分未被探索,特别是在群体智能的细微差别方面。现有的基准测试往往无法完全捕捉到代理在操作不完整的时空信息时产生的去中心化协调的独特挑战。为了填补这一空白,我们引入了SwarmBench,这是一个新型基准,旨在系统地评估作为去中心化代理的LLMs的群体智能能力。SwarmBench在可配置的2D网格环境中包含五个基础MAS协调任务,迫使代理主要依赖局部感官输入(k x k视角)和局部通信。我们提出了协调有效性的度量标准,并分析了涌现的群体动态。在零样本设置下评估了几种领先的LLMs,我们发现任务间的性能存在显著差异,突显了局部信息约束带来的困难。尽管出现了一些协调,但结果表明,在这些去中心化场景中,在不确定性下的稳健规划和策略形成存在局限性。在类似群体的条件下评估LLMs对于实现其在未来去中心化系统中的潜力至关重要。我们将SwarmBench作为一个开源、可扩展的工具包发布,它基于一个可定制和可扩展的物理系统,具有定义明确的机械属性。它提供环境、提示、评估脚本和生成的全面实验数据集,旨在促进基于LLMs的MAS协调以及具身MAS的理论基础的可重复研究。我们的代码仓库可在https://github.com/x66ccff/swarmbench上获取。
英文摘要
Large Language Models (LLMs) show potential for complex reasoning, yet their capacity for emergent coordination in Multi-Agent Systems (MAS) when operating under strict constraints-such as limited local perception and communication, characteristic of natural swarms-remains largely unexplored, particularly concerning the nuances of swarm intelligence. Existing benchmarks often do not fully capture the unique challenges of decentralized coordination that arise when agents operate with incomplete spatio-temporal information. To bridge this gap, we introduce SwarmBench, a novel benchmark designed to systematically evaluate the swarm intelligence capabilities of LLMs acting as decentralized agents. SwarmBench features five foundational MAS coordination tasks within a configurable 2D grid environment, forcing agents to rely primarily on local sensory input (k x k view) and local communication. We propose metrics for coordination effectiveness and analyze emergent group dynamics. Evaluating several leading LLMs in a zero-shot setting, we find significant performance variations across tasks, highlighting the difficulties posed by local information constraints. While some coordination emerges, results indicate limitations in robust planning and strategy formation under uncertainty in these decentralized scenarios. Assessing LLMs under swarm-like conditions is crucial for realizing their potential in future decentralized systems. We release SwarmBench as an open, extensible toolkit-built upon a customizable and scalable physical system with defined mechanical properties. It provides environments, prompts, evaluation scripts, and the comprehensive experimental datasets generated, aiming to foster reproducible research into LLM-based MAS coordination and the theoretical underpinnings of Embodied MAS. Our code repository is available at https://github.com/x66ccff/swarmbench.
解读
一句话总结
本文提出了一种名为SwarmBench的新基准,旨在评估大语言模型(LLMs)在多智能体系统中的群智能能力,特别是在严格限制感知和通信条件下的分布式协调能力。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:现有基准测试未能充分捕捉到在智能体操作时出现的不完整时空信息带来的去中心化协调的独特挑战。
- 现有方案不足:现有基准测试往往忽略了去中心化协调的核心挑战,即智能体在严重限制的感知和通信条件下如何实现协调。
- 研究目标:设计并实现SwarmBench,一个评估LLMs作为去中心化智能体在严格感知和通信限制下的群智能能力的基准。
问题2:论文的核心创新点是什么?
- 技术创新:提出SwarmBench,一个基于2D网格环境的基准,其中智能体必须依赖局部感知和可选的局部通信来实现协调。
- 方法改进:通过引入协调有效性和涌现群体动态的度量,系统地评估LLMs的群智能能力。
- 优势:开放、可扩展的工具包SwarmBench提供了一个,可以促进基于LLM的多智能体系统协调和具身多智能体系统理论基础的可重复研究。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在零样本设置下评估了多个领先的LLMs,发现不同任务之间存在显著的性能差异。
- 性能提升:结果表明,LLMs在基本协调方面表现出潜力,但在长期规划和稳健的空间推理方面存在挑战。
- 对比结果:SwarmBench的结果表明,LLMs在去中心化场景下表现出局限性,特别是在不确定性下的稳健规划和策略形成方面。
问题4:这个研究的实际应用价值是什么?
- 应用场景:SwarmBench可以帮助开发出能够在去中心化系统中实现真正集体智能的LLMs。
- 实施建议:SwarmBench可以作为评估和指导未来LLMs研究的平台。
- 局限与展望:SwarmBench目前采用2D网格环境,未来可以扩展到3D环境,以更真实地模拟物理多智能体系统。此外,可以探索通过学习机制来增强智能体的适应性。
来源
机器可读索引:llms.txt