Identification of hydraulic engineering construction accident causes using instruction tuning and structured prompting in large language models

Wang, F.; Zhou, J. and Zheng, X. (2026) Identification of hydraulic engineering construction accident causes using instruction tuning and structured prompting in large language models. Journal of Construction Engineering and Management, 152(8): 04026122, ISSN 0733-9364

Abstract

Identifying the causes of accidents in hydraulic engineering construction is crucial for preventing recurrences and enhancing safety management. However, traditional methods relying on expert knowledge are often time-consuming, labor-intensive, and highly subjective. Although existing studies utilize text classification or information extraction, they frequently fail to provide granular cause analysis. Furthermore, general-purpose large language models (LLMs) struggle with domain-specific tasks, often suffering from hallucinations and unreliable outputs due to a lack of specialized knowledge. To address these limitations, this study introduces CausalE-LLM, a domain-adapted large language model designed for hydraulic engineering accident analysis. The model is developed through a systematic framework that integrates the construction of a specialized instruction data set, domain-specific fine-tuning, and structured prompt engineering to enhance causal reasoning capabilities. Comprehensive quantitative evaluations demonstrated that CausalE-LLM significantly outperforms mainstream LLMs and traditional deep learning baselines in terms of generation accuracy and semantic alignment with official investigation reports. Based on this model, an interactive system has been developed to assist managers in identifying accident causes efficiently. This research advances domain-specific accident causal reasoning in safety engineering, and it provides a robust and automated tool for improving the reliability and efficiency of safety management in hydraulic engineering.

Item Type: Article
Uncontrolled Keywords: accidents causes; hydraulic engineering construction; intelligent identification; large language models
Index terms: accuracy, reasoning, safety management, interactive system, construction accident, hydraulic, large language model, manager, investigation, efficiency, deep learning, safety engineering
Subjects: cognitive psychology, performance management, occupational health and safety management, practitioner, fluid mechanics, data collection methods, data science, software systems, artificial intelligence, professional development
Topics: Information Management, Roles and Professions, Quality Management, Digital Applications, Engineering Principles, Health and Safety, Research Practice
Descriptive scope: 3 PCA

N.B. Descriptive scope is a count of how many of the five facets of empirical research are indicated by the words used in title, abstract and keywords. It is not intended as a judgement on the research; merely a count of the kind of word we would expect to indicate Phenomenon, Concepts, Theoretical framing, Empirical techniques, Analytical techniques. If all five are present, then a code of “5 PCTEA” will indicate this. If you feel the coding for this record is questionable, we welcome discussion around the terms we matched or the way we categorized them. The facet you would expect may not be coded, or a facet may be coded inappropriately. This can also bear on a larger question, of which facets should be treated as defining in construction management research. Please get in touch, and we will look at it. More details here