ChatPaper.aiChatPaper

利用Concordia进行基于生成式代理的建模,其中行动根植于物理、社会或数字空间。

Generative agent-based modeling with actions grounded in physical, social, or digital space using Concordia

December 6, 2023
作者: Alexander Sasha Vezhnevets, John P. Agapiou, Avia Aharon, Ron Ziv, Jayd Matyas, Edgar A. Duéñez-Guzmán, William A. Cunningham, Simon Osindero, Danny Karmon, Joel Z. Leibo
cs.AI

摘要

基于代理的建模已经存在几十年,并被广泛应用于社会科学和自然科学领域。随着大型语言模型(LLM)提供的新功能,这种研究方法的范围有望得到显著扩大。生成式基于代理的模型(GABM)不仅仅是经典的基于代理的模型(ABM),其中代理相互交流。相反,GABM是利用LLM构建的,以将常识应用于情境,表现“合理”,回忆常见的语义知识,生成API调用以控制应用等数字技术,并在模拟内部和对外部观察的研究人员之间进行通信。在这里,我们介绍了Concordia,这是一个旨在促进构建和处理GABM的库。Concordia使得构建基于语言的模拟物理或数字环境变得容易。Concordia代理使用灵活的组件系统产生其行为,该系统在LLM调用和联想记忆检索之间进行调解。一种名为游戏主持人(GM)的特殊代理受桌面角色扮演游戏的启发,负责模拟代理相互作用的环境。代理通过用自然语言描述他们想要做的事情来采取行动。然后,GM将他们的行动转化为适当的实施。在模拟的物理世界中,GM检查代理行动的物理合理性并描述其效果。在模拟应用程序和服务等技术的数字环境中,GM可能处理API调用以与外部工具集成,例如通用人工智能助手(例如Bard,ChatGPT)和数字应用程序(例如日历,电子邮件,搜索等)。Concordia旨在支持各种科学研究应用以及通过模拟用户和/或生成合成数据来评估真实数字服务的性能。
English
Agent-based modeling has been around for decades, and applied widely across the social and natural sciences. The scope of this research method is now poised to grow dramatically as it absorbs the new affordances provided by Large Language Models (LLM)s. Generative Agent-Based Models (GABM) are not just classic Agent-Based Models (ABM)s where the agents talk to one another. Rather, GABMs are constructed using an LLM to apply common sense to situations, act "reasonably", recall common semantic knowledge, produce API calls to control digital technologies like apps, and communicate both within the simulation and to researchers viewing it from the outside. Here we present Concordia, a library to facilitate constructing and working with GABMs. Concordia makes it easy to construct language-mediated simulations of physically- or digitally-grounded environments. Concordia agents produce their behavior using a flexible component system which mediates between two fundamental operations: LLM calls and associative memory retrieval. A special agent called the Game Master (GM), which was inspired by tabletop role-playing games, is responsible for simulating the environment where the agents interact. Agents take actions by describing what they want to do in natural language. The GM then translates their actions into appropriate implementations. In a simulated physical world, the GM checks the physical plausibility of agent actions and describes their effects. In digital environments simulating technologies such as apps and services, the GM may handle API calls to integrate with external tools such as general AI assistants (e.g., Bard, ChatGPT), and digital apps (e.g., Calendar, Email, Search, etc.). Concordia was designed to support a wide array of applications both in scientific research and for evaluating performance of real digital services by simulating users and/or generating synthetic data.
PDF110December 15, 2024