Authors
Xu Zhang, Mei Chen
Published in
Journal of safety research. Volume 98. Pages 588-598. Epub Aug 27, 2026.
Abstract
High-quality crash data are essential for traffic safety analysis, yet police-reported crash databases often suffer from underreporting and miscoding, particularly for secondary crashes. This study evaluates advanced natural language processing (NLP) techniques to enhance crash data quality by mining crash narratives, using secondary crash identification in Kentucky as a case study.
Drawing from 16,656 manually reviewed narratives from 2015 to 2022, with 3803 confirmed secondary crashes, we systematically compared 11 models across four paradigms: zero-shot open-source large language models (LLMs), fine-tuned transformers, deep learning model with word embeddings, and logistic regression. Statistical significance was assessed using pairwise McNemar's tests, and 95% bootstrap confidence intervals were computed for all metrics.
Fine-tuned transformers achieved statistically superior performance, forming a top-performing cluster that was indistinguishable internally. RoBERTa yielded the highest F1 (0.90) and accuracy (95.4%) while requiring only seconds of inference on the test set. Among zero-shot LLMs, Llama3:70B reached the best F1 (0.86) but required 139 min of inference. The BiLSTM baseline (F1: 0.79) was statistically indistinguishable from Qwen3:32B and Gemma3:27B, while logistic baseline lagged well behind (F1: 0.66). Qualitative error analysis revealed that RoBERTa and Llama3:70B exhibit complementary failure patterns, supporting ensemble deployment strategy.
For agencies with labeled training data, fine-tuned RoBERTa is the recommended deployment choice, which offers the strongest accuracy at negligible computational cost. For agencies lacking labeled data, zero-shot LLMs such as Llama3:70B provide a viable alternative that can be deployed readily and simultaneously accumulate a labeled dataset for eventual transition to fine-tuned models.
These findings allow transportation agencies to automate labor-intensive narrative reviews, addressing chronic data quality issues like secondary crash miscoding. Practical deployment considerations are discussed, which emphasize privacy-preserving local deployment, ensemble approaches for improved accuracy, and incremental processing for scalability, providing a replicable scheme for enhancing crash-data quality with advanced NLP.
PMID:
42744508
Bibliographic data and abstract were imported from PubMed on 16 Sep 2026.
Read full publication at:
Please sign in
to see all details.
Advertisement
Stats
- Recommendations n/a n/a positive of 0 vote(s)
- Views 1
- Comments 0