Harnessing Generative Pre-Trained Transformers for Construction Accident Prediction with Saliency Visualization
Source abstract
Abstract
Leveraging natural language processing models using a large volume of text data in the construction safety domain offers a unique opportunity to improve understanding of safety accidents and the ability to learn from them. However, little effort has been made to date in regard to utilizing large language models for the prediction of accident types that can help to prevent and manage potential accidents. This research aims to develop a model for predicting the six types of accidents (caught-in-between, cuts, falls, struck-by, trips, and others) by employing transfer learning with a fine-tuned generative pre-trained transformer (GPT). Additionally, to enhance the interpretability of the fine-tuned GPT model, a method for saliency visualization of input text was developed to identify words that significantly impact prediction results. The models were evaluated using a comprehensive dataset comprising 15,000 actual accident records. The results indicate that the suggested model for detecting the six accident types achieves 82% accuracy. Furthermore, it was observed that the proposed saliency visualization method can identify accident precursors from unstructured free-text data of construction accident reports. These results highlight the advancement of the generalization performance of large language processing-based accident prediction models, thereby proactively preventing construction accidents.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Occupational Health and Safety Research · Infrastructure Maintenance and Monitoring
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Architecture and Architectural Engineering, Seoul National University, Gwanak-gu, Seoul 08826, Republic of Korea
Department of Architectural Engineering, Gachon University, Seongnam-si 13120, Gyeonggi-do, Republic of Korea
Department of Safety Engineering, Incheon National University, Incheon 22012, Republic of Korea
Funding
National Research Foundation of Korea
References (58)
Show source-provided references
1. The digitization of the world from edge to core
2. (2023, October 23). Data Growth Worldwide 2010–2025. Available online: https://www.statista.com/statistics/871513/worldwide-data-created/.
3. (2008, August 01). EDER Unstructured Data and the 80 Percent Rule. Breakthrough Analysis. Available online: https://breakthroughanalysis.com/2008/08/01/unstructured-data-and-the-80-percent-rule/.
4. Can We Ever Escape from Data Overload? A Cognitive Systems Diagnosis10.1007/s101110200002 ↗
5. Henke, N., and Jacques Bughin, L. (2016). The Age of Analytics: Competing in a Data-Driven World, McKinsey Global Institute Research.
6. Automatically learning construction injury precursors from text10.1016/j.autcon.2020.103145 ↗
7. Liu, Y., Wang, J., Tang, S., Zhang, J., and Wan, J. (2023). Integrating information entropy and latent Dirichlet allocation models for analysis of safety accidents in the construction industry. Buildings, 13.10.3390/buildings13071831 ↗
8. A framework for learning from incidents in the workplace10.1016/j.ssci.2011.12.032 ↗
9. Incident reporting or storytelling? Competing schemes in a safety-critical and hazardous work setting10.1016/j.ssci.2007.06.024 ↗
10. Ganguli, R., Miller, P., and Pothina, R. (2021). Effectiveness of natural language processing based machine learning in analyzing incident narratives at a mine. Minerals, 11.10.3390/min11070776 ↗
11. Automated text classification of near-misses from safety reports: An improved deep learning approach10.1016/j.aei.2020.101060 ↗
12. Wu, H., Zhong, B., Medjdoub, B., Xing, X., and Jiao, L. (2020). An ontological metro accident case retrieval using CBR and NLP. Appl. Sci., 10.10.3390/app10155298 ↗
13. Li, J., and Wu, C. (2023). Deep Learning and Text Mining: Classifying and Extracting Key Information from Construction Accident Narratives. Appl. Sci., 13.10.3390/app131910599 ↗
14. Zhang, J., Zi, L., Hou, Y., Deng, D., Jiang, W., and Wang, M. (2020). A C-BiLSTM approach to classify construction accident reports. Appl. Sci., 10.10.3390/app10175754 ↗
15. Application of machine learning to construction injury prediction10.1016/j.autcon.2016.05.016 ↗
16. Construction site accident analysis using text mining and natural language processing techniques10.1016/j.autcon.2018.12.016 ↗
17. AI-based prediction of independent construction safety outcomes from universal attributes10.1016/j.autcon.2020.103146 ↗
18. Locatelli, M., Seghezzi, E., Pellegrini, L., Tagliabue, L.C., and Di Giuda, G.M. (2021). Exploring natural language processing in construction and integration with building information modeling: A scientometric analysis. Buildings, 11.10.3390/buildings11120583 ↗
19. High-level implementable methods for automated building code compliance checking10.1016/j.dibe.2023.100174 ↗
20. Radford, A., Narasimhan, K., Salimans, T., and Sutskever, I. (2018). Improving Language Understanding with Unsupervised Learning, OpenAI. Technical Report.
21. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017). Advances in Neural Information Processing Systems 30 (NIPS 2017), NIPS.
22. Automated vision-based construction progress monitoring in built environment through digital twin10.1016/j.dibe.2023.100247 ↗
23. Esmaeili, B., and Hallowell, M. (2012). Proceedings of the Construction Research Congress 2012, American Society of Civil Engineers.
24. Quantitative Risk Evaluation of Fatal Incidents in Construction Based on Frequency and Probability Analysis10.1061/(ASCE)ME.1943-5479.0000998 ↗
25. Natural language processing (NLP) in management research: A literature review
26. Safety-Knowledge Management in American Construction Organizations10.1061/(ASCE)ME.1943-5479.0000067 ↗
27. Owner’s Role in Construction Safety10.1061/(ASCE)0733-9364(2006)132:2(164) ↗
28. Applications of natural language processing in construction10.1016/j.autcon.2022.104169 ↗
29. Analyzing Arizona OSHA injury reports using unsupervised machine learning10.1016/j.proeng.2016.04.200 ↗
30. Construction Safety Risk Modeling and Simulation10.1111/risa.12772 ↗
31. Three Approaches to Qualitative Content Analysis10.1177/1049732305276687 ↗
32. Automated content analysis for construction safety: A natural language processing system to extract precursors and outcomes from unstructured injury reports10.1016/j.autcon.2015.11.001 ↗
33. Text mining-based construction site accident classification using hybrid supervised machine learning10.1016/j.autcon.2020.103265 ↗
34. Accident Case Retrieval and Analyses: Using Natural Language Processing in the Construction Industry10.1061/(ASCE)CO.1943-7862.0001625 ↗
35. Kim, H., Jang, Y., Kang, H., and Yi, J.-S. (2022). Proceedings of the Construction Research Congress 2022, American Society of Civil Engineers.
36. Construction accident narrative classification: An evaluation of text mining techniques10.1016/j.aap.2017.08.026 ↗
37. Quantifying the reliability of defects located by bridge inspectors through human observation behavioral analysis10.1016/j.dibe.2023.100167 ↗
38. A commentary of GPT-3 in MIT Technology Review 202110.1016/j.fmre.2021.11.011 ↗
39. Language models are few-shot learners
40. Balkus, S.V., and Yan, D. (2022). Natural Language Engineering, Cambridge University Press.
41. A review on the attention mechanism of deep learning10.1016/j.neucom.2021.03.091 ↗
42. A survey of transformers10.1016/j.aiopen.2022.10.001 ↗
43. Enhancing construction safety: Machine learning-based classification of injury types10.1016/j.ssci.2023.106102 ↗
44. Hastie, T., Friedman, J., and Tibshirani, R. (2001). The Elements of Statistical Learning, Springer.10.1007/978-0-387-21606-5 ↗
45. Cross-Validatory Choice and Assessment of Statistical Predictions10.1111/j.2517-6161.1974.tb00994.x ↗
46. Evaluation of augmented training datasets
47. DeVries, T., and Taylor, G.W. (2017). Improved Regularization of Convolutional Neural Networks with Cutout. arXiv.
48. Introduction to Modern Information Retrieval10.1108/01435121111132365 ↗
49. Schütze, H., Manning, C.D., and Raghavan, P. (2008). Introduction to Information Retrieval, Cambridge University Press.10.1017/CBO9780511809071 ↗
50. Kim, Y. (2014). Convolutional Neural Networks for Sentence Classification. arXiv.10.3115/v1/D14-1181 ↗
51. Zhang, Y., and Wallace, B. (2015). A Sensitivity Analysis of (and Practitioners’ Guide to) Convolutional Neural Networks for Sentence Classification. arXiv.
52. Devlin, J., Chang, M.-W., Lee, K., and Toutanova, K. (2018). Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv.
53. Gulli, A., and Pal, S. (2017). Deep Learning with Keras, Packt Publishing Ltd.
54. Sokolov, A., Mostovoy, J., Ding, J., and Seco, L. (2020). Building Machine Learning Systems to Automate ESG Index Construction, Luis Seco Publications.10.3905/jesg.2021.1.010 ↗
55. Design and implementation of information extraction system for scientific literature using fine-tuned deep learning models10.1145/3530043.3530047 ↗
56. Standardized use inspection of workers’ personal protective equipment based on deep learning10.1016/j.ssci.2022.105689 ↗
57. Machine Learning-Based Risk Analysis for Construction Worker Safety from Ubiquitous Site Photos and Videos10.1061/(ASCE)CP.1943-5487.0000979 ↗
58. The truth of the F-measure