arXiv · 2506.19536
Programming Geotechnical Reliability Algorithms using Generative AI
Abstract
Programming reliability algorithms is crucial for risk assessment in geotechnical engineering. This study explores the possibility of automating and accelerating this task using Generative AI based on Large Language Models (LLMs). Specifically, the most popular LLM, i.e., ChatGPT, is used to test the ability to generate MATLAB codes for four classical reliability algorithms. The four specific examples considered in this study are: (1) First Order Reliability Method (FORM); (2) Subset simulation; (3) Random field simulation; and (4) Bayesian update using Gibbs sampling. The results obtained using the generated codes are compared with benchmark methods. It is found that the use of LLMs can be promising for generating reliability codes. Failure, limitations, and challenges of adopting LLMs are also discussed. Overall, this study demonstrates that existing LLMs can be leveraged powerfully and can contribute toward accelerating the adoption of reliability techniques in routine geotechnical engineering.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Atma Sharma, Jie Zhang, Meng Lu, Shuangyi Wu, Baoxiang Li. 2025-06-24. Programming Geotechnical Reliability Algorithms using Generative AI. https://arxiv.org/abs/2506.19536
Cite the original work for its findings. Save a collection to share your selection of sources.