SwarmBench
收藏资源简介:
SwarmBench 是一个用于评估大型语言模型(LLMs)在多智能体系统(MAS)中协调能力的新型基准。该数据集模拟了五个基础的多智能体协调任务(追逐、同步、觅食、群聚、运输),在一个可配置的二维网格环境中进行。SwarmBench 的设计旨在评估 LLMs 在感知和通信受限条件下的协调能力,类似于自然群居生物。数据集提供了一个开放、可扩展的工具包,包括环境、提示、评估脚本和实验生成的综合数据集,旨在促进对 LLM 基于MAS协调和Embodied MAS理论基础的可重复研究。
SwarmBench is a novel benchmark for evaluating the coordination capabilities of Large Language Models (LLMs) in multi-agent systems (MAS). This dataset simulates five fundamental multi-agent coordination tasks, namely pursuit, synchronization, foraging, flocking, and transportation, within a configurable two-dimensional grid environment. Designed to assess LLMs' coordination abilities under constrained perception and communication conditions analogous to natural swarm organisms, SwarmBench provides an open, extensible toolkit encompassing the environment, prompts, evaluation scripts, and a comprehensive experimental dataset, aiming to facilitate reproducible research on LLM-based MAS coordination and the theoretical foundations of Embodied MAS.
SwarmBench 数据集概述
基本信息
- 名称: SwarmBench
- 类型: 基准测试数据集
- 目的: 评估大型语言模型(LLMs)在去中心化代理中的群体智能能力
- 论文: arXiv:2505.04364
- 许可证: MIT
- 开源: 是
核心特点
- 新颖性: 基于群体智能原则,评估去中心化协调能力
- 任务设计: 包含五种多代理系统(MAS)基础任务
- 🎯 追踪(Pursuit): 代理协作追踪并围堵移动速度更快的目标
- ⏱️ 同步(Synchronization): 代理同步内部二进制状态
- 🧺 觅食(Foraging): 代理导航、运输食物并协调任务分配
- 🐦 集群(Flocking): 代理保持群体一致性和分离性
- 🚚 运输(Transport): 多个代理协作推动大型物体到目标位置
- 环境: 可配置的2D网格环境,依赖局部感知(
k × k视图)和局部通信 - 评估: 系统化评估LLMs在群体场景中的能力和限制
- 分析: 研究LLM群体行为与集体智能概念的关联
工具包内容
- 物理系统: 可定制和扩展
- 环境: 标准化提示和评估脚本
- 数据集: 全面的实验数据
- 设计目标: 支持LLM-based MAS协调的可重复研究
快速开始
-
环境设置 bash conda env create -f environment.yaml conda activate swarmbench
-
运行评估 bash python example.py
-
导出回放视频 bash export_videos.sh
-
交互式回放 bash python analysis/generate_replay_videos.py --log-dir ./your_experiment_dir -v
示例回放
- 追踪:

- 同步:

- 觅食:

- 集群:

- 运输:





