arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.02388cs.CLcs.AIcs.LGcs.SE
收藏

基于验证器辅助迭代上下文学习的面向解决方案的智能体模型生成

Solution-oriented Agent-based Models Generation with Verifier-assisted Iterative In-context Learning

Tsinghua University(清华大学);Lynxi Technologies Co. Ltd(灵汐科技有限公司)

Tong Niu, Weihao Zhang, Rong Zhao

AI总结:

本文提出SAGE框架,通过验证器辅助的迭代上下文学习利用大型语言模型自动生成面向特定问题的智能体模型,并引入半结构化表示和两级验证器以保障模型可执行性与方案可行性。

摘要:

智能体模型(ABMs)是提出和验证假设性解决方案或政策的重要范式,旨在应对复杂系统带来的挑战并实现各种目标。这一过程需要劳动密集型的努力和多学科专业知识。封装了跨领域知识和编程能力的大型语言模型(LLMs)有可能缓解这一过程的困难。然而,LLMs擅长处理顺序信息,这使得分析ABMs中固有的复杂交互和非线性动态变得困难。此外,由于LLMs缺乏自我评估能力,仅依靠LLMs不足以有效完成这一过程。在本文中,我们提出了SAGE,一个通用的面向解决方案的ABM生成框架,旨在为特定问题自动建模并生成解决方案。与依赖专家手工制作或资源密集型神经网络训练的方法不同,SAGE建立了一个验证器辅助的迭代上下文学习过程,利用大型语言模型(LLMs)来发挥其固有的跨领域知识,以应对来自不同领域场景的复杂需求。在SAGE中,我们引入了一种半结构化概念表示,用于明确表达ABMs的复杂结构,以及一种目标表示,用于引导LLMs通过上下文学习对场景进行建模并提出假设性解决方案。为确保模型可执行性和解决方案可行性,SAGE设计了一个两级验证器,并采用针对ABMs复杂交互和非线性动态量身定制的思维链提示,驱动迭代生成优化。此外,我们从开放来源构建了一个面向解决方案的ABMs评估数据集。该数据集包含跨多个领域的实用模型。

英文摘要:

Agent-based models (ABMs) stand as an essential paradigm for proposing and validating hypothetical solutions or policies aimed at addressing challenges posed by complex systems and achieving various objectives. This process demands labor-intensive endeavors and multidisciplinary expertise. Large language models (LLMs) encapsulating cross-domain knowledge and programming proficiency could potentially alleviate the difficulty of this process. However, LLMs excel in handling sequential information, making it challenging for analyzing the intricate interactions and nonlinear dynamics inherent in ABMs. Additionally, due to the lack of self-evaluation capability of LLMs, relying solely on LLMs is insufficient to effectively accomplish this process. In this paper, we present SAGE, a general solution-oriented ABM generation framework designed for automatic modeling and generating solutions for targeted problems. Unlike approaches reliant on expert handcrafting or resource-intensive neural network training, SAGE establishes a verifier-assisted iterative in-context learning process employing large language models (LLMs) to leverages their inherent cross-domain knowledge for tackling intricate demands from diverse domain scenarios. In SAGE, we introduce an semi-structured conceptual representation expliciting the intricate structures of ABMs and an objective representation to guide LLMs in modeling scenarios and proposing hypothetical solutions through in-context learning. To ensure the model executability and solution feasibility, SAGE devises a two-level verifier with chain-of-thought prompting tailored to the complex interactions and non-linear dynamics of ABMs, driving the iterative generation optimization. Moreover, we construct an evaluation dataset of solution-oriented ABMs from open sources.It contains practical models across various domains.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑