دمج نماذج اللغة الكبيرة للتحليل الهيكلي الآلي Integrating large language models for automated structural analysis

شارك:
المجلة: Automation in Construction، المجلد: 192
DOI: https://doi.org/10.1016/j.autcon.2026.107215
تاريخ النشر: 2026-09-01
المؤلف: Haoran Liang وآخرون
الموضوع الرئيسي: تقنيات هندسة البرمجيات المدفوعة بالنماذج

نظرة عامة

يقدم قسم ورقة البحث إطارًا جديدًا يدمج نماذج اللغة الكبيرة (LLMs) مع برامج تحليل الهياكل لأتمتة تحليل الهياكل الهندسية. يعالج هذا الإطار الفجوة الحالية في استخدام LLMs للتحليل الهيكلي التلقائي من خلال تمكينها من تحويل الأوصاف الهيكلية النصية إلى نصوص بايثون قابلة للتنفيذ. من خلال دمج القدرات التوليدية لـ LLMs مع أدوات العناصر المحدودة مثل OpenSeesPy، يستخدم الإطار تصميم موجهات محددة المجال واستراتيجيات التعلم في السياق لتعزيز قدرات حل المشكلات وضمان الاستقرار التوليدي.

أجرى المؤلفون تجارب باستخدام مجموعة بيانات معيارية مختارة من 20 مشكلة تحليل هيكلي (SAWPs) مع حلول معروفة، حيث تم تقييم أداء نماذج LLMs المختلفة ضمن الإطار. أشارت النتائج إلى أن الإطار المقترح، وخاصة عند بنائه على GPT-4o، حقق دقة 100%، متفوقًا على نماذج أخرى مثل GPT-4 (85%)، Gemini 1.5 Pro (80%)، وLlama-3.3 (30%). بالإضافة إلى ذلك، حسنت دمج التعليمات المحددة المجال الأداء بنسبة 30% في المشكلات التي تتضمن تكوينات هيكلية غير متناسقة. تشير النتائج إلى أن هذا الإطار يعزز بشكل كبير الأتمتة في حل SAWPs مقارنة بالطرق التقليدية، مما يزيد من الكفاءة في مهام تحليل الهياكل.

مقدمة

تسلط مقدمة هذه الورقة البحثية الضوء على الدور الحاسم للتحليل الشامل في الهندسة الإنشائية لضمان تصميمات دقيقة تحت ظروف تحميل متغيرة. بينما لا تزال الطرق التقليدية مثل الحسابات اليدوية ونمذجة العناصر المحدودة (FEM) قيد الاستخدام، هناك تفضيل متزايد للنهج الحسابية بسبب كفاءتها وقدرتها على إدارة الهياكل المعقدة. تشير الورقة إلى ظهور نماذج اللغة الكبيرة (LLMs) كأداة تحويلية في أتمتة المهام التي تتطلب جهدًا كبيرًا ضمن الهندسة، وخاصة في تحليل الهياكل. على الرغم من التقدم الكبير في LLMs، لا يزال تطبيقها في الهندسة المدنية محدودًا، حيث تستكشف الدراسات الحديثة إمكانياتها في مجالات مثل اكتشاف العيوب المعمارية والكتابة التقنية.

يقترح المؤلفون إطارًا جديدًا يدمج LLMs مع حزمة OpenSeesPy لتعزيز قدرات تحليل الهياكل. يتم تقييم هذا الإطار باستخدام مجموعة بيانات مختارة من 20 مشكلة تحليل هيكلي (SAWPs)، مع استخدام نماذج LLMs المختلفة، بما في ذلك GPT-4 وLlama 3. تهدف الدراسة إلى إظهار كيف يمكن لـ LLMs استخراج المعلومات بفعالية من أوصاف المشكلات النصية وتوليد نصوص بايثون لتحليل العناصر المحدودة (FEA) للهياكل الإطارية ثنائية الأبعاد. يقلل هذا النهج بشكل كبير من الوقت الذي يقضيه المهندسون في نمذجة الهياكل وتصوير النتائج من خلال السماح لهم باستخدام موجهات لغة طبيعية مختصرة بدلاً من الترميز اليدوي. توضح الورقة هيكلها، موضحة المنهجية، والإعداد الحسابي، وتحليل الأداء، واتجاهات البحث المستقبلية.

الطرق

يستعرض قسم المنهجية النهج المنهجي المستخدم في البحث لمعالجة أهداف الدراسة. يوضح تصميم التجربة، بما في ذلك اختيار المشاركين، وتقنيات جمع البيانات، والأساليب التحليلية المستخدمة. استخدمت الدراسة نهجًا كميًا، مستفيدة من الأدوات الإحصائية لتحليل البيانات التي تم جمعها من عينة سكانية.

تشير النتائج الرئيسية من المنهجية إلى أن الطرق المختارة كانت فعالة في التقاط المتغيرات ذات الصلة وضمان موثوقية النتائج. ساعد استخدام مجموعات التحكم والتوزيع العشوائي في تقليل التحيزات، مما عزز من صحة الاستنتاجات المستخلصة من التحليل. بشكل عام، أسست الإطار المنهجي قاعدة قوية للنتائج اللاحقة للبحث.

النتائج

في قسم النتائج والمناقشة، يقدم المؤلفون تحليلًا مقارنًا لأداء إطارهم عبر نماذج اللغة الكبيرة المختلفة (LLMs). يبرز هذا التحليل فعالية الإطار المقترح في تعزيز قدرات هذه النماذج. بالإضافة إلى ذلك، يتناول القسم الاستقرار التوليدي للإطار عند تطبيقه على المهام المعيارية، مما يوضح موثوقيته في إنتاج مخرجات متسقة.

علاوة على ذلك، يبحث المؤلفون في تأثير الموجهات التعليمية على جودة المخرجات الناتجة. تشير النتائج إلى أن طبيعة ووضوح التعليمات تؤثر بشكل كبير على أداء LLMs، مما يشير إلى أن تحسين موجهات الإدخال يمكن أن يؤدي إلى نتائج توليدية محسنة. بشكل عام، تؤكد النتائج على إمكانية الإطار في تعزيز أداء LLM مع التأكيد على أهمية تصميم التعليمات في تحقيق مخرجات عالية الجودة.

المناقشة

يستعرض قسم المناقشة في ورقة البحث سير العمل الشامل وهندسة إطار مصمم لتعزيز قدرات حل المشكلات لنماذج اللغة الكبيرة (LLMs) في تحليل الهياكل. يتم هيكلة الإطار في ثلاث طبقات: طبقة البيانات، وطبقة النموذج، وطبقة المخرجات. في طبقة البيانات، يتم دمج متطلبات المستخدم وتعليمات النظام، باستخدام SQLite لتنسيق أوصاف المشكلات والرموز المقابلة بلغة بايثون لتحليل الهياكل. يسهل هذا النهج المنظم التعلم في السياق، مما يسمح لـ LLM بتفسير وحل مشكلات تحليل الهياكل (SAWPs) بفعالية من خلال توليد رموز قابلة للتنفيذ.

في طبقة النموذج، تعمل LLM بشكل أساسي من خلال حزمة OpenSeesPy، التي تمكن من توليد وتنفيذ نصوص بايثون لتحليل الهياكل. يستخدم الإطار عملية توليد رموز من ثلاث مراحل تستخرج المعلمات الرئيسية، وتبني التخطيط الهيكلي، وتولد التصورات، مما يحسن من الموثوقية ويبسّط تصحيح الأخطاء. تقوم طبقة المخرجات بتنسيق النتائج في تقارير منظمة، مما يعزز الشفافية وقابلية التفسير. تشير النتائج إلى أن الإطار يحسن بشكل كبير من قدرة LLM على أتمتة مهام تحليل الهياكل، محققًا معدلات دقة عالية عبر نماذج مختلفة، وخاصة مع GPT-4o المعزز، الذي يظهر أداءً متفوقًا في استخراج المعلومات وتوليد الرموز. تؤكد الدراسة على إمكانية LLMs في الهندسة الإنشائية، مشددة على قدرتها على التعلم والتعميم من أمثلة قليلة، بينما تحدد أيضًا مجالات للتحسين، مثل التعامل مع الهياكل غير المتناسقة وتعزيز قدرات التفكير المكاني.

Journal: Automation in Construction, Volume: 192
DOI: https://doi.org/10.1016/j.autcon.2026.107215
Publication Date: 2026-09-01
Author(s): Haoran Liang et al.
Primary Topic: Model-Driven Software Engineering Techniques

Overview

The research paper section presents a novel framework that integrates Large Language Models (LLMs) with structural analysis software to automate the analysis of engineering structures. This framework addresses the existing gap in utilizing LLMs for automatic structural analysis by enabling them to convert textual structural descriptions into executable Python scripts. By combining the generative capabilities of LLMs with finite element tools like OpenSeesPy, the framework employs domain-specific prompt design and in-context learning strategies to enhance problem-solving capabilities and ensure generative stability.

The authors conducted experiments using a curated benchmark dataset of 20 structural analysis word problems (SAWPs) with known solutions, evaluating the performance of various LLMs within the framework. Results indicated that the proposed framework, particularly when built on GPT-4o, achieved 100% accuracy, outperforming other models such as GPT-4 (85%), Gemini 1.5 Pro (80%), and Llama-3.3 (30%). Additionally, the integration of domain-specific instructions improved performance by 30% on problems involving asymmetrical structural configurations. The findings suggest that this framework significantly enhances automation in solving SAWPs compared to traditional methods, thereby increasing efficiency in structural analysis tasks.

Introduction

The introduction of this research paper highlights the critical role of thorough analysis in structural engineering to ensure accurate designs under varying loading conditions. While traditional methods such as hand calculations and finite element modeling (FEM) are still in use, there is a growing preference for computational approaches due to their efficiency and capability to manage complex structures. The paper notes the emergence of Large Language Models (LLMs) as a transformative tool in automating labor-intensive tasks within engineering, particularly in structural analysis. Despite significant advancements in LLMs, their application in civil engineering remains limited, with recent studies exploring their potential in areas like architectural flaw detection and technical writing.

The authors propose a novel framework that integrates LLMs with the OpenSeesPy package to enhance structural analysis capabilities. This framework is evaluated using a curated dataset of 20 structural analysis word problems (SAWPs), employing various LLMs, including GPT-4 and Llama 3. The study aims to demonstrate how LLMs can effectively extract information from textual problem descriptions and generate Finite Element Analysis (FEA) Python scripts for 2D frame structures. This approach significantly reduces the time engineers spend on structural modeling and result visualization by allowing them to use concise natural language prompts instead of manual coding. The paper outlines its structure, detailing methodology, computational setup, performance analysis, and future research directions.

Methods

The methodology section outlines the systematic approach employed in the research to address the study’s objectives. It details the experimental design, including the selection of participants, data collection techniques, and analytical methods utilized. The study employed a quantitative approach, leveraging statistical tools to analyze the data collected from a sample population.

Key findings from the methodology indicate that the chosen methods were effective in capturing the relevant variables and ensuring the reliability of the results. The use of control groups and randomization helped mitigate biases, enhancing the validity of the conclusions drawn from the analysis. Overall, the methodological framework established a robust basis for the subsequent findings of the research.

Results

In the Results and Discussion section, the authors present a comparative analysis of their framework’s performance across various large language models (LLMs). This analysis highlights the effectiveness of the proposed framework in enhancing the capabilities of these models. Additionally, the section addresses the generative stability of the framework when applied to benchmark tasks, demonstrating its reliability in producing consistent outputs.

Furthermore, the authors investigate the influence of instructional prompts on the quality of the generated outputs. The findings indicate that the nature and clarity of instructions significantly affect the performance of the LLMs, suggesting that optimizing input prompts can lead to improved generative results. Overall, the results underscore the framework’s potential to enhance LLM performance while emphasizing the importance of instructional design in achieving high-quality outputs.

Discussion

The discussion section of the research paper outlines the comprehensive workflow and architecture of a framework designed to enhance the problem-solving capabilities of large language models (LLMs) in structural analysis. The framework is structured into three layers: the data layer, model layer, and output layer. At the data layer, user requirements and system instructions are integrated, utilizing SQLite to format problem descriptions and corresponding Python code for structural analysis. This structured approach facilitates in-context learning, allowing the LLM to effectively interpret and solve structural analysis problems (SAWPs) by generating executable code.

In the model layer, the LLM operates primarily through the OpenSeesPy package, which enables the generation and execution of Python scripts for structural analysis. The framework employs a three-stage code generation process that extracts key parameters, constructs the structural layout, and generates visualizations, thereby improving reliability and simplifying debugging. The output layer formats the results into structured reports, enhancing transparency and interpretability. The findings indicate that the framework significantly improves the LLM’s ability to automate structural analysis tasks, achieving high accuracy rates across various models, particularly with the enhanced GPT-4o, which demonstrates superior performance in information extraction and code generation. The study emphasizes the potential of LLMs in structural engineering, highlighting their capacity to learn and generalize from minimal examples while also identifying areas for improvement, such as handling asymmetrical structures and enhancing spatial reasoning capabilities.