集成大型语言模型用于自动化结构分析
Integrating Large Language Models for Automated Structural Analysis
AI总结:
针对尚无系统框架利用大型语言模型(LLMs)进行自动结构分析的空白,提出集成LLMs与结构分析软件的新型框架,通过特定领域提示设计等策略提升性能,基于GPT-4o的框架在基准数据集上达100%准确率。
摘要:
工程结构的自动化分析通过减少重复任务为提升效率提供了巨大潜力。尽管人工智能驱动的方法日益普及,但尚无系统框架利用大型语言模型(LLMs)进行自动结构分析。为填补这一空白,我们提出了一个将LLMs与结构分析软件集成的新型框架。LLMs作为核心引擎:它们从文本中解析结构描述并将其转换为可执行的Python脚本。此外,该框架将LLMs的生成能力与基于代码的有限元(FE)工具(如OpenSeesPy)集成。它采用特定领域的提示设计和上下文学习策略,以增强LLMs的问题解决能力和生成稳定性,实现从描述性文本到模型输出的全自动结构分析。在实验中,我们引入了一个精心整理的小规模基准数据集,包含20个带有真实解的结构分析文字题(SAWPs),并评估了不同LLMs在该框架内解决这些SAWPs的性能。我们还研究了由结构工程师设计的系统指令的作用,以了解其对LLM驱动的结构分析的影响。此外,我们检验了框架的生成稳定性。通过在基准上的多次验证实验,结果表明,与传统方法相比,所提出的框架可显著提高解决SAWPs的自动化水平。定量而言,基于GPT-4o的框架达到了100%的准确率,超过了GPT-4(85%)、Gemini 1.5 Pro(80%)和Llama-3.3(30%)。此外,集成特定领域指令使不对称结构配置问题的性能提升了30%。
英文摘要:
Automated analysis for engineering structures offers considerable potential for boosting efficiency by minimizing repetitive tasks. Although AI-driven methods are increasingly common, no systematic framework yet leverages Large Language Models (LLMs) for automatic structural analysis. To address this gap, we propose a novel framework that integrates LLMs with structural analysis software. LLMs serve as the core engine: they parse structural descriptions from text and translate them into executable Python scripts. Moreover, the framework integrates the generative capabilities of LLMs with code-based finite element (FE) tools like OpenSeesPy. It employs domain-specific prompt design and in-context learning strategies to enhance the LLM's problem-solving capabilities and generative stability, enabling fully automated structural analysis from descriptive text to model outputs. In our experiments, we introduce a well-curated small-scale benchmark dataset of 20 structural analysis word problems (SAWPs) with ground-truth solutions and evaluate the performance of different LLMs within our framework in solving these SAWPs. The role of system instructions, crafted by structural engineers, is also investigated to understand their impact on LLM-driven structural analysis. Additionally, the generative stability of our framework is examined. Through multiple validation experiments on the benchmark, our results demonstrate that the proposed framework can substantially increase the level of automation in solving SAWPs compared to traditional methods. Quantitatively, the framework, built on GPT-4o, achieved 100% accuracy, surpassing GPT-4 (85%), Gemini 1.5 Pro (80%), and Llama-3.3 (30%) on the test examples. Furthermore, integrating domain-specific instructions enhanced performance by 30% on problems with asymmetrical structural configurations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。