Advancing Automated OSHA Compliance Analysis in Construction through Prompt Engineering for NLP-Based Insight Extraction

Ensuring safety compliance in construction remains a persistent challenge, with regulatory violations contributing to high injury and fatality rates. Although OSHA maintains extensive accident records, much of this data exists in unstructured narrative form, limiting its usefulness for systematic compliance analysis. Manual interpretation is time consuming and inconsistent, highlighting the need for scalable, automated approaches that transform narrative data into structured, regulation-aligned insights. We present a scalable framework for extracting and assessing safety-regulatory compliance from unstructured OSHA accident narratives. Our approach, designed in a two-step pipeline, first integrates taxonomy-guided prompt engineering with a language model to identify and structure OSHA-relevant risk attributes. Then, formalized logic rules encode OSHA regulatory thresholds and required protections to automatically assess violations against these regulatory standards. To validate the framework, we conducted a case study on fall-from-height (FFH) accidents, a leading cause of construction fatalities. The model achieved 92% classification accuracy and 0.95 recall in identifying FFH cases. Structured attribute extraction enabled rule-aligned compliance checks against 29 CFR 1926. Scrutiny of these assessments revealed critical insights: Among historical accidents records, violations (accidents that did not follow the regulation standards) were most commonly flagged in roof-related cases (49.2%), followed by scaffolds (38.3%) and ladders (3.8%). These findings emphasize both persistent compliance gaps in high-risk environments and demonstrate the framework’s capability to generate structured, interpretable insights from unstructured text. This approach offers a replicable, data-driven model for improving regulatory oversight and safety monitoring, demonstrated through FFH cases and designed for adaptation to other construction hazards.

Authors

Institutions

Publication Details

Journal
Journal of Management in Engineering
Published
2026-05-09
DOI
https://doi.org/10.1061/jmenea.meeng-7154
Primary Topic
Occupational Health and Safety Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Advancing Automated OSHA Compliance Analysis in Construction through Prompt Engineering for NLP-Based Insight Extraction

Namgyun Kim, Unmesa Ray, JeeWoong Park
Journal of Management in Engineering
Occupational Health and Safety Research
article

Advancing Automated OSHA Compliance Analysis in Construction through Prompt Engineering for NLP-Based Insight Extraction

Namgyun Kim, Unmesa Ray, JeeWoong Park
article en

Abstract

Ensuring safety compliance in construction remains a persistent challenge, with regulatory violations contributing to high injury and fatality rates. Although OSHA maintains extensive accident records, much of this data exists in unstructured narrative form, limiting its usefulness for systematic compliance analysis. Manual interpretation is time consuming and inconsistent, highlighting the need for scalable, automated approaches that transform narrative data into structured, regulation-aligned insights. We present a scalable framework for extracting and assessing safety-regulatory compliance from unstructured OSHA accident narratives. Our approach, designed in a two-step pipeline, first integrates taxonomy-guided prompt engineering with a language model to identify and structure OSHA-relevant risk attributes. Then, formalized logic rules encode OSHA regulatory thresholds and required protections to automatically assess violations against these regulatory standards. To validate the framework, we conducted a case study on fall-from-height (FFH) accidents, a leading cause of construction fatalities. The model achieved 92% classification accuracy and 0.95 recall in identifying FFH cases. Structured attribute extraction enabled rule-aligned compliance checks against 29 CFR 1926. Scrutiny of these assessments revealed critical insights: Among historical accidents records, violations (accidents that did not follow the regulation standards) were most commonly flagged in roof-related cases (49.2%), followed by scaffolds (38.3%) and ladders (3.8%). These findings emphasize both persistent compliance gaps in high-risk environments and demonstrate the framework’s capability to generate structured, interpretable insights from unstructured text. This approach offers a replicable, data-driven model for improving regulatory oversight and safety monitoring, demonstrated through FFH cases and designed for adaptation to other construction hazards.

Journal of Management in EngineeringVol. 42(4)
University of Nevada, Las Vegas (US), Texas A&M University (US)
Openalex Percentile: Top 5%
Occupational Health and Safety Research
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.