SafeTraffic Copilot: adapting large language models for trustworthy traffic safety assessments and decision interventions
Yang Zhao, Pu Wang, Yibo Zhao, Hongru Du, Hao Yang
Johns Hopkins University
Key points
From the paper's conclusion- We introduce SafeTraffic Copilot that adapts Large Language Models (LLMs) to perform expected crash prediction as a text-reasoning task, then attribute critical features for targeted safety interventions.
Abstract
Predicting expected traffic crashes and designing targeted interventions are highly challenging due to the inherent complexity of crash data and persistent concerns over the prediction trustworthiness. We introduce SafeTraffic Copilot that adapts Large Language Models (LLMs) to perform expected crash prediction as a text-reasoning task, then attribute critical features for targeted safety interventions. Within the Copilot, SafeTraffic LLM is customized then fine-tuned on the textualized SafeTraffic Event dataset, which consists of 66,205 real-world crash cases with 14.5 million words from five U.S. states. Across multiple prediction tasks including crash type, severity, and number of injuries, SafeTraffic LLM demonstrates a 33.3% to 45.8% improvement in average F1-score over existing works. To interpret these results and inform safety interventions, we introduce SafeTraffic Attribution, a sentence-level feature-attribution framework enabling conditional "what-if" risk analysis. Findings reveal that alcohol-impaired driving is the leading factor for severe crashes, with impairment-related and aggressive behaviors contributing nearly three times more risk than other behaviors. Furthermore, SafeTraffic Attribution identifies critical features during fine-tuning, guiding crash data collection strategies for continual improvement. SafeTraffic Copilot enables prediction and reasoning of conditional crash risks through foundation models, thereby supporting traffic safety improvements and offering clear advantages in generalization, adaptation, and trustworthiness.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CrashSage: A large language model-centered framework for contextual and interpretable traffic crash analysisArtificial Intelligence for Transportation · 2025
- Traffic Accident Severity Prediction via Large Language Model-Driven Semantic Feature EnhancementVehicles · 2026
- Transformer-based traffic crash injury severity classification with integrated structured and unstructured data: Interpretation of classification-related factors using SHAP and attention mechanisms.Accident; analysis and prevention · 2026
- Evidence-grounded road safety countermeasure recommendation from crash-context queries: A modular LLM framework.Accident; analysis and prevention · 2026
- Simulating the unseen: Crash prediction and prevention should learn from what did not happen.Accident; analysis and prevention · 2026
- LLM-Assisted Spatio-Temporal Analysis of Traffic Accidents: A Case Study of TrabzonApplied Sciences · 2026