Suppr超能文献

由大语言模型驱动的多智能体系统:群体智能中的应用。

Multi-agent systems powered by large language models: applications in swarm intelligence.

作者信息

Jimenez-Romero Cristian, Yegenoglu Alper, Blum Christian

机构信息

ETIS Laboratory, ENSEA, CNRS, UMR8051, CY Cergy-Paris University, Cergy, France.

Independent Researcher, Jülich, Germany.

出版信息

Front Artif Intell. 2025 May 21;8:1593017. doi: 10.3389/frai.2025.1593017. eCollection 2025.

Abstract

This work examines the integration of large language models (LLMs) into multi-agent simulations by replacing the hard-coded programs of agents with LLM-driven prompts. The proposed approach is showcased in the context of two examples of complex systems from the field of swarm intelligence: ant colony foraging and bird flocking. Central to this study is a toolchain that integrates LLMs with the NetLogo simulation platform, leveraging its Python extension to enable communication with GPT-4o via the OpenAI API. This toolchain facilitates prompt-driven behavior generation, allowing agents to respond adaptively to environmental data. For both example applications mentioned above, we employ both structured, rule-based prompts and autonomous, knowledge-driven prompts. Our work demonstrates how this toolchain enables LLMs to study self-organizing processes and induce emergent behaviors within multi-agent environments, paving the way for new approaches to exploring intelligent systems and modeling swarm intelligence inspired by natural phenomena. We provide the code, including simulation files and data at https://github.com/crjimene/swarm_gpt.

摘要

这项工作通过用大语言模型驱动的提示替换智能体的硬编码程序,研究了将大语言模型集成到多智能体模拟中。所提出的方法在群体智能领域的两个复杂系统示例的背景下进行了展示:蚁群觅食和鸟群聚集。本研究的核心是一个将大语言模型与NetLogo模拟平台集成的工具链,利用其Python扩展通过OpenAI API与GPT-4o进行通信。这个工具链有助于生成提示驱动的行为,使智能体能够对环境数据做出自适应响应。对于上述两个示例应用,我们既使用了结构化的、基于规则的提示,也使用了自主的、知识驱动的提示。我们的工作展示了这个工具链如何使大语言模型能够研究自组织过程并在多智能体环境中诱导涌现行为,为探索智能系统和模拟受自然现象启发的群体智能的新方法铺平了道路。我们在https://github.com/crjimene/swarm_gpt上提供了代码,包括模拟文件和数据。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/b838/12135685/ace91afc989f/frai-08-1593017-g0001.jpg

文献AI研究员

20分钟写一篇综述,助力文献阅读效率提升50倍。

立即体验

用中文搜PubMed

大模型驱动的PubMed中文搜索引擎

马上搜索

文档翻译

学术文献翻译模型,支持多种主流文档格式。

立即体验