Fine-Tuning a Domain-Specific Language Model for Truss Structural Analysis

This research investigates the feasibility of fine-tuning a domain-specific language model (LLM) to enhance the accuracy and accessibility of truss structural analysis. General-purpose AI models, such as ChatGPT, often struggle with engineering-specific problems due to insufficient domain knowledge. To address this, we propose fine-tuning a small LLM tailored for structural engineering tasks, with truss analysis using the stiffness method as a case study. The project leverages a curated dataset of textual and diagrammatic inputs from engineering textbooks, manuals, and solved examples. Image-to-text tools will translate structural diagrams into machine-readable formats, reducing data preparation costs while maintaining numerical precision. Fine-tuning involves preprocessing domain-specific datasets, adapting pre-trained models using supervised learning, and incorporating physics-based constraints. A transformer-based model, such as Flan-T5, will be fine-tuned to process text-based truss problems and produce detailed analysis results, including intermediate calculations and force distributions. The model’s accuracy and computational efficiency will be evaluated against benchmarks, conventional analysis tools, and case studies. Although the primary focus is on text-based inputs, this work lays the foundation for integrating visual inputs, providing engineers and students with a practical tool for rapid and accurate analysis. By addressing challenges in dataset preparation, fine-tuning, and evaluation, this study advances the application of AI in structural engineering.

Authors

Publication Details

Journal
UTC Scholar (University of Tennessee at Chattanooga)
Published
2025-09-09
Primary Topic
Machine Learning in Materials Science
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Fine-Tuning a Domain-Specific Language Model for Truss Structural Analysis

Mbakisya Onyango, Joseph Owino, Weidong Wu, Yu Liang et al.
UTC Scholar (University of Tennessee at Chattanooga)
Machine Learning in Materials Science
article

Fine-Tuning a Domain-Specific Language Model for Truss Structural Analysis

Mbakisya Onyango, Joseph Owino, Weidong Wu, Yu Liang, Ignatius Fomunung, Rajon Dey
article en

Abstract

This research investigates the feasibility of fine-tuning a domain-specific language model (LLM) to enhance the accuracy and accessibility of truss structural analysis. General-purpose AI models, such as ChatGPT, often struggle with engineering-specific problems due to insufficient domain knowledge. To address this, we propose fine-tuning a small LLM tailored for structural engineering tasks, with truss analysis using the stiffness method as a case study. The project leverages a curated dataset of textual and diagrammatic inputs from engineering textbooks, manuals, and solved examples. Image-to-text tools will translate structural diagrams into machine-readable formats, reducing data preparation costs while maintaining numerical precision. Fine-tuning involves preprocessing domain-specific datasets, adapting pre-trained models using supervised learning, and incorporating physics-based constraints. A transformer-based model, such as Flan-T5, will be fine-tuned to process text-based truss problems and produce detailed analysis results, including intermediate calculations and force distributions. The model’s accuracy and computational efficiency will be evaluated against benchmarks, conventional analysis tools, and case studies. Although the primary focus is on text-based inputs, this work lays the foundation for integrating visual inputs, providing engineers and students with a practical tool for rapid and accurate analysis. By addressing challenges in dataset preparation, fine-tuning, and evaluation, this study advances the application of AI in structural engineering.

UTC Scholar (University of Tennessee at Chattanooga)
Quality Education
Openalex Percentile: Top 45%
Machine Learning in Materials Science
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.