arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.07728cs.AI
收藏

一种新型多智能体架构以减少大型语言模型在多步骤结构建模中的幻觉

A Novel Multi-Agent Architecture to Reduce Hallucinations of Large Language Models in Multi-Step Structural Modeling

Department of Civil and Architectural Engineering, University of Miami(迈阿密大学土木与建筑工程系);HBC Engineering Company(HBC工程公司);College of Civil Engineering, Hunan University(湖南大学土木学院);Department of Computer Science, University of Illinois Chicago(伊利诺伊大学芝加哥分校计算机科学系);Department of Civil and Environmental Engineering, Lehigh University(莱斯利大学土木与环境工程系);School of Architecture, University of Miami(迈阿密大学建筑学院)

Ziheng Geng, Jiachen Liu, Ran Cao, Lu Cheng, Dan M. Frangopol, Minghui Cheng

AI总结:

本文提出了一种新型多智能体架构,通过并行代理协同工作,利用OpenSeesPy实现多步骤结构建模自动化,有效减少幻觉并提高计算效率。

摘要:

大型语言模型(如GPT和Gemini)在上下文理解和推理方面表现出色。LLM的强大性能激发了人们利用它们自动化传统上依赖人类专业知识的任务的兴趣。最近,LLM已被集成到能够操作结构分析软件(如OpenSees)的智能代理中,以构建结构模型并进行分析。然而,现有的LLM在处理多步骤结构建模时受到限制,因为在长序列操作中经常出现幻觉和误差累积。为此,本研究提出了一种新的多智能体架构,利用OpenSeesPy自动化结构建模和分析。首先,问题分析和建模规划代理从用户描述中提取关键参数,并制定分步建模计划。节点和元件代理随后并行操作以组装框架几何,随后是荷载分配代理。生成的几何和荷载信息通过代码翻译代理转换为可执行的OpenSeesPy脚本。所提出的架构在包含20个框架问题的基准上进行了评估,经过十次重复试验,实现了18个案例的100%准确率和剩余两个案例的90%准确率。该架构还显著提高了计算效率,并展示了对更大结构系统的可扩展性。

英文摘要:

Large language models (LLMs) such as GPT and Gemini have demonstrated remarkable capabilities in contextual understanding and reasoning. The strong performance of LLMs has sparked growing interest in leveraging them to automate tasks traditionally dependent on human expertise. Recently, LLMs have been integrated into intelligent agents capable of operating structural analysis software (e.g., OpenSees) to construct structural models and perform analyses. However, existing LLMs are limited in handling multi-step structural modeling due to frequent hallucinations and error accumulation during long-sequence operations. To this end, this study presents a novel multi-agent architecture to automate the structural modeling and analysis using OpenSeesPy. First, problem analysis and construction planning agents extract key parameters from user descriptions and formulate a stepwise modeling plan. Node and element agents then operate in parallel to assemble the frame geometry, followed by a load assignment agent. The resulting geometric and load information is translated into executable OpenSeesPy scripts by code translation agents. The proposed architecture is evaluated on a benchmark of 20 frame problems over ten repeated trials, achieving 100% accuracy in 18 cases and 90% in the remaining two. The architecture also significantly improves computational efficiency and demonstrates scalability to larger structural systems.

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

↑