Traffic Accident Severity Prediction via Large Language Model-Driven Semantic Feature Enhancement
Jianuo Hao, Fengze Fan, Xin Fu
Chang'an University
Key points
From the paper's conclusion- This study proposes a severity prediction approach enhanced by semantic risk reasoning derived from large language models (LLMs).
Abstract
Predicting the severity of traffic accidents remains challenging due to the limited ability of existing methods to extract deep semantic information from unstructured accident narratives, as traditional approaches typically depend on structured data alone. This study proposes a severity prediction approach enhanced by semantic risk reasoning derived from large language models (LLMs). A prompt-engineering template is designed to guide LLMs in extracting proxy semantic features from accident descriptions, forming an enriched feature set that incorporates causal logic. These semantic features are fused with traditional structured features through three integration strategies—direct feature concatenation, optimized feature selection, and model-level fusion. Experiments based on 4013 accident records from expressways in Yunnan Province, China, demonstrate that models using LLM-derived semantic features significantly outperform those relying solely on structured features. Notably, the LightGBM model utilizing semantic features within a balanced learning framework achieves a severe accident recall of 77.8%. While model-level fusion proves optimal for XGBoost (improving Macro-F1 to 0.6356), we identify a “feature dilution” effect in other classifiers, where high-quality semantic reasoning is compromised by low-quality structured noise. These findings indicate that the proposed approach effectively enhances the identification of high-risk accidents and offers a novel semantic-aware solution for traffic safety management. Furthermore, the obtained results provide actionable insights for traffic management agencies to optimize emergency response resource allocation and formulate targeted accident prevention strategies.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SafeTraffic Copilot: adapting large language models for trustworthy traffic safety assessments and decision interventionsNature Communications · 2025
- CrashSage: A large language model-centered framework for contextual and interpretable traffic crash analysisArtificial Intelligence for Transportation · 2025
- From Prediction to Prevention: Identifying Actionable Crash Factors Through ML and Narrative-Based Sensitivity TestingFuture Transportation · 2025
- SafePLUG: Empowering Multimodal LLMs with Pixel-Level Insight and Temporal Grounding for Traffic Accident UnderstandingCHAIN · 2026
- Toward explainable traffic crash liability analysis via neural-symbolic multimodal reasoning: Integrating visual perception with legal knowledge graphs.Accident; analysis and prevention · 2026
- Enhancing Road Safety through Advanced Machine Learning: A Comparative Study of Tree Ensembles, Neural Networks, and Integrated Models for Multi-class Accident Severity Prediction under Class ImbalanceInternational journal of intelligent engineering and systems · 2026