GASim:一种用于大规模社会模拟的图加速混合框架
GASim: A Graph-Accelerated Hybrid Framework for Social Simulation
AI总结:
本文提出GASim框架,通过图优化内存和图消息传递提升大规模社会模拟效率,实现9.94倍速度提升并降低计算成本。
摘要:
大规模社会模拟器对于研究复杂社会模式至关重要。先前工作探索混合方法以扩展模拟规模,结合基于大语言模型(LLM)的智能体和数值基于智能体的模型(ABM)。然而,这导致高延迟,因为内存检索昂贵且顺序执行ABM。为解决这一挑战,我们提出了GASim,一种用于大规模社会模拟的图加速混合多智能体框架。对于由LLM驱动的核心智能体,GASim引入图优化内存(GOM)以取代昂贵的LLM检索流水线,使用轻量级传播在稀疏内存图上进行。对于大多数普通智能体,GASim采用图消息传递(GMP),通过细粒度特征聚合和图注意力网络,将顺序ABM执行替换为并行更新。我们进一步引入熵驱动分组(EDG),协调这种混合分区,利用信息熵动态识别处于信息多样邻居中的核心智能体。大量实验表明,GASim不仅在传统混合框架上实现了9.94倍的端到端加速,还消耗少于基准线20%的令牌,显著降低成本,同时保持与现实世界公共意见趋势的强一致性。我们的代码可在https://github.com/Jasmine0201/GASim上获得。
英文摘要:
Large-scale social simulators are essential for studying complex social patterns. Prior work explores hybrid methods to scale up simulations, combining large language models (LLM)-based agents with numerical agent-based models (ABM). However, this incurs high latency due to expensive memory retrieval and sequential ABM execution. To address this challenge, we propose GASim, a graph-accelerated hybrid multi-agent framework for large-scale social simulations. For core agents driven by LLM, GASim introduces Graph-Optimized Memory (GOM) to replace intensive LLM-based retrieval pipelines with lightweight propagation over a sparse memory graph. For the majority of ordinary agents, GASim employs Graph Message Passing (GMP), substituting sequential ABM execution with parallel updates by fine-grained feature aggregation and Graph Attention Network. We further introduce Entropy-Driven Grouping (EDG) that coordinates this hybrid partitioning, leveraging information entropy to dynamically identify emergent core agents situated in information-diverse neighborhoods. Extensive experiments show that GASim not only delivers a substantial 9.94-fold end-to-end speedup over the traditional hybrid framework but also consumes less than 20% of baseline tokens, significantly reducing costs while preserving strong alignment with real-world public opinion trends. Our code is available at https://github.com/Jasmine0201/GASim.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。