用模块化框架研究大模型智能体如何集体演化行为
Shachi: A Modular, Controllable Framework for LLM-Based Agent-Based Modeling of Emergent Collective Behavior
- 将智能体认知拆分为身份、记忆、工具三部分,可独立调控
- 在10个任务中验证了记忆迁移与多环境共存引发的新行为模式
- 适合研究群体智能、政策模拟的学者与工程师
个体大模型驱动智能体间的互动如何催生集体行为,是人工生命领域的核心问题。现有研究受限于缺乏系统性模拟框架,难以进行可控实验。为此,我们提出Shachi——一个原则性强、模块化的框架,将智能体认知分解为配置(身份)、记忆(上下文延续)和工具(能力扩展),均由大模型推理引擎统一调度。这一设计使各认知组件成为可独立调控的变量,支持微调实验以追踪微观特质如何影响宏观动态。我们在涵盖三个复杂层级的10项任务基准上评估行为模式。结果表明,该框架支持跨环境的记忆传递,产生依赖历史的行为转变;允许智能体同时存在于多个环境,揭示单环境研究中无法观测的交叉干扰。此外,在美国关税冲击的真实案例研究中,局部交互且认知参数可调的智能体,生成了与真实市场动态方向一致的宏观结果。本工作提供了一个开放源代码的、面向大模型代理建模的严谨仿真平台,旨在推动对人工智能体集体行为的累积性科学研究。
原文摘要 · Abstract (English)
How collective behaviors emerge from the interactions of individual LLM-driven agents is a central question in artificial life, yet controlled study of these emergent dynamics has been hindered by the lack of a principled simulation framework for systematic experimentation. To address this, we introduce Shachi, a principled methodology and modular framework that decomposes an agent's cognition into core components: Configuration for intrinsic identity, Memory for contextual continuity, and Tools for extended capabilities, all orchestrated by an LLM reasoning engine. This decomposition treats each cognitive component as an independently controllable variable, enabling perturbation studies that trace how micro-level cognitive traits propagate into population-level dynamics. We investigate behavioral patterns across a 10-task benchmark spanning three levels of collective complexity. Shachi enables memory transfer across environment transitions, producing history-dependent behavioral shifts, and allows agents to simultaneously inhabit multiple environments, revealing cross-environment interference invisible in single-environment studies. Furthermore, in a real-world U.S. tariff shock case study, locally interacting agents with individually controlled cognitive components produce macro-level market dynamics directionally consistent with observed real-world outcomes. Our work provides a rigorous, open-source simulation framework for LLM-based ABM, aimed at fostering cumulative scientific inquiry into the emergent collective behaviors of interacting artificial agents.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。