A large language model-empowered agent for reliable and robust structural analysis
Jiachen Liu, Ziheng Geng, Ran Cao, Lu Cheng, Paolo Bocchini, Minghui Cheng
University of Miami · Hunan University
Key points
From the paper's conclusion- Experimental results demonstrate that the agent achieves accuracy exceeding 99.0% on the benchmark dataset, exhibiting reliable and robust performance across diverse conditions.
Abstract
Large language models (LLMs) have exhibited remarkable capabilities across diverse open-domain tasks, yet their application in specialised domains such as civil engineering remains largely unexplored. This paper starts bridging this gap by evaluating and enhancing the reliability and robustness of LLMs in structural analysis of beams. Reliability is assessed through the accuracy of correct outputs under repetitive runs of the same analysis problem, whereas robustness is evaluated based on the performance across varying load and boundary conditions. A benchmark dataset, comprising eight beam structural analysis problems, is created to test the Llama-3.3 70B Instruct model. Results show that, despite an apparent qualitative understanding of structural mechanics, the LLM lacks the quantitative reliability and robustness required for engineering applications. To address these limitations, a shift is proposed that reframes the structural analysis as a code generation task. Accordingly, an LLM-empowered agent is developed that (a) integrates chain-of-thought and few-shot prompting to generate accurate OpenSeesPy code, and (b) automatically executes the code to produce structural analysis results. Experimental results demonstrate that the agent achieves accuracy exceeding 99.0% on the benchmark dataset, exhibiting reliable and robust performance across diverse conditions. Ablation studies highlight the complete example and function usage examples as the primary contributors to the agent’s enhanced performance.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Neuro-Symbolic Framework for Ensuring Deterministic Reliability in AI-Assisted Structural Engineering: The SYNAPSE ArchitectureBuildings · 2026
- Scientific Coding with Large Language Models: Evidence from Finite Element AnalysisarXiv · 2026
- MechFoundry: An agentic loop that poses and performs engineering analyses and optimization of real-world objectsarXiv · 2026
- Large language model agent as a mechanical designerJournal of Engineering Design · 2026
- IndustrialKnowEval: A Benchmark for Evaluating Multi-Level Industrial Knowledge in LLMsarXiv · 2026
- Benchmarking Large Language Models on Production BIM Workflows Using Agentic AutomationBuildings · 2026