Automatically categorizing construction accident narratives using the deep-learning model with a class-imbalance treatment technique

Shuang, Q; Liu, X; Wang, Z and Xu, X (2024) Automatically categorizing construction accident narratives using the deep-learning model with a class-imbalance treatment technique. Journal of Construction Engineering and Management, 150(9): 04024107, ISSN 0733-9364

Abstract

Learning from prior incidents is crucial for improving safety, particularly in the construction industry where fatalities and injuries are frequent. High-precision classification of construction accident narratives is a laborious, time-consuming process that requires substantial domain expertise. However, automatic text classification had fallen short of expectations due to a lack of high-quality data sets, inadequate semantic interpretation, and primitive model architecture. To address these issues, this study developed a state-of-the-art text classification (TC) model to extract construction knowledge and classify construction accident narratives into predefined categories. The architecture of the TC deep-learning model was built based on the pretrained instruction-based omnifarious representations (INSTRUCTOR). A class-imbalance treatment (CIT) technique incorporating focal loss and weighted random sampling was embedded to make the model concentrate on hard samples and minority classes. The retrained and fine-tuned INSTRUCTOR-CIT model achieved an F1 score of 82.22% for the benchmark data set containing 1,000 accident narratives from the Occupational Health and Safety Administration (OSHA). Impressively, on a larger benchmark data set of 4,770 OSHA accident narratives labeled by another official system, the model achieved an F1 score of 94.84%, highlighting its generality. Furthermore, the experimental results demonstrated that our model was superior to existing methods with less preprocessing and higher accuracy. Finally, the contribution to construction project management was discussed to enhance unstructured data management in the construction industry. The findings of this study contribute to effective management practices and assist construction professionals focus on value-added tasks such as decision making and corrective action planning.

Item Type: Article
Uncontrolled Keywords: class imbalance; deep learning; natural language processing; text classification; text embedding
Index terms: deep learning, construction professional, minority, sampling, construction project management, fatalities, construction industry, instructor, injury, unstructured data, occupational health and safety, accuracy, narrative, decision-making, management practice, state of the art, construction accident
Subjects: occupational health and safety management, health conditions and diseases, sociology, decision analysis, industry analysis, management, health risk and incident analysis, qualitative and interpretive research, professional development, project management theory and practice, artificial intelligence, data science, data collection methods, research dissemination and communication, practitioner
Topics: Digital Applications, Ethics, Risk Management, Roles and Professions, Health and Safety, Business Strategy, Information Management, Research Practice, Project Management
Descriptive scope: 4 PCTE

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