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

📅 2026-03-08
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenge of hallucination and error accumulation in large language models during multi-step structural modeling. To mitigate these issues, the authors propose a novel multi-agent collaborative framework that decomposes the modeling process into five distinct phases—problem parsing, planning, geometric construction, load assignment, and code generation—each handled by specialized agents working in parallel. This architecture autonomously generates OpenSeesPy scripts while effectively suppressing hallucinations and error propagation over long sequences of operations. Evaluated on 20 frame structures, the approach achieves 100% accuracy in 18 cases and 90% in the remaining two, demonstrating significant improvements in accuracy, efficiency, and scalability for structural modeling tasks.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

large language models
hallucinations
multi-step structural modeling
error accumulation
structural analysis
Innovation

Methods, ideas, or system contributions that make the work stand out.

multi-agent architecture
hallucination reduction
structural modeling
OpenSeesPy automation
large language models
🔎 Similar Papers
No similar papers found.
Z
Ziheng Geng
Department of Civil and Architectural Engineering, University of Miami, Coral Gables, FL 33146, USA
J
Jiachen Liu
HBC Engineering Company, Miami, FL 33178, USA
R
Ran Cao
College of Civil Engineering, Hunan University, Changsha, 410082, China
Lu Cheng
Lu Cheng
Assistant Professor, UIC CS
Socially Responsible AICausal Machine LearningData MiningAI for Good
Dan M. Frangopol
Dan M. Frangopol
Professor of Structural Engineering, Lehigh University
Life-Cycle EngineeringBridge EngineeringStructural ReliabilityStructural OptimizationDisaster Resilience
M
Minghui Cheng
Department of Civil and Architectural Engineering, University of Miami, Coral Gables, FL 33146, USA; School of Architecture, University of Miami, Coral Gables, FL 33146, USA