Structure-Aware and Format-Enhanced Transformer for Accident Report Modeling

Modeling accident investigation reports is crucial for elucidating accident causation mechanisms, analyzing risk evolution processes, and formulating effective accident prevention strategies. However, such reports are typically long, hierarchically structured, and information-dense, posing unique challenges for existing language models. To address these domain-specific characteristics, this study proposes SAFE-Transformer, a Structure-Aware and Format-Enhanced Transformer designed for long-document modeling in the emergency safety context. SAFE-Transformer adopts a dual-stream encoding architecture to separately model symbolic section features and heading text, integrates hierarchical depth and format types into positional encodings, and introduces a dynamic gating unit to adaptively fuse headings with paragraph semantics. We evaluate the model on a multi-label accident intelligence classification task using a real-world corpus of 1632 official reports from high-risk industries. Results demonstrate that SAFE-Transformer effectively captures hierarchical semantic structure and outperforms strong long-text baselines. Further analysis reveals an inverted U-shaped performance trend across varying report lengths and highlights the role of attention sparsity and label distribution in long-text modeling. This work offers a practical solution for structurally complex safety documents and provides methodological insights for downstream applications in safety supervision and risk analysis.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2025-07-16
DOI
https://doi.org/10.3390/app15147928
Citations
1
Primary Topic
Occupational Health and Safety Research
Type
article
Field-Weighted Citation Impact
1.54
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Structure-Aware and Format-Enhanced Transformer for Accident Report Modeling

Pinsheng Duan, Tang Wenhu, Shikun Hu, Diping Yuan et al.
1 citations
Applied Sciences
Occupational Health and Safety Research
1.54
article

Structure-Aware and Format-Enhanced Transformer for Accident Report Modeling

Pinsheng Duan, Tang Wenhu, Shikun Hu, Diping Yuan, Hui Zhang, W. Y. Zeng
article en
1 citations

Abstract

Modeling accident investigation reports is crucial for elucidating accident causation mechanisms, analyzing risk evolution processes, and formulating effective accident prevention strategies. However, such reports are typically long, hierarchically structured, and information-dense, posing unique challenges for existing language models. To address these domain-specific characteristics, this study proposes SAFE-Transformer, a Structure-Aware and Format-Enhanced Transformer designed for long-document modeling in the emergency safety context. SAFE-Transformer adopts a dual-stream encoding architecture to separately model symbolic section features and heading text, integrates hierarchical depth and format types into positional encodings, and introduces a dynamic gating unit to adaptively fuse headings with paragraph semantics. We evaluate the model on a multi-label accident intelligence classification task using a real-world corpus of 1632 official reports from high-risk industries. Results demonstrate that SAFE-Transformer effectively captures hierarchical semantic structure and outperforms strong long-text baselines. Further analysis reveals an inverted U-shaped performance trend across varying report lengths and highlights the role of attention sparsity and label distribution in long-text modeling. This work offers a practical solution for structurally complex safety documents and provides methodological insights for downstream applications in safety supervision and risk analysis.

Applied SciencesVol. 15(14)
Shenzhen Institute of Information Technology (CN), Chinese Academy of Sciences (CN), China University of Mining and Technology (CN), Urban Planning & Design Institute of Shenzhen (China) (CN), Shenzhen Institutes of Advanced Technology (CN), South China University of Technology (CN)
Good health and well-being
Openalex Percentile: Top 17%
Occupational Health and Safety Research
1.54
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.