CrashSage: A large language model-centered framework for contextual and interpretable traffic crash analysis

• Introduces CrashSage, an LLM framework for interpretable crash analysis. • Fine-tunes LLaMA3-8B, outperforming state-of-the-art tabular models and baseline LLMs. • Gradient-based attribution reveals word-level crash severity risk factors. • Co-occurrence analysis uncovers interdependent patterns among safety dimensions. Road crashes claim over 1.3 million lives annually worldwide and incur global economic losses exceeding $1.8 trillion. Such profound societal and financial impacts underscore the urgent need for road safety research that uncovers crash mechanisms and delivers actionable insights. Conventional statistical models, machine learning along with modern deep learning models, typically rely on structured crash data, overlooking contextual nuances, such as narrative elements related to multi-vehicle interactions, crash progression, and rare event characteristics, and struggling to capture complex interactions and underlying semantics. This study presents CrashSage, a novel Large Language Model (LLM)-centered framework designed to transcend these limitations and advance traffic safety analysis and modeling. Particularly, CrashSage introduces four key innovations to transform raw data into actionable intelligence. First, it pioneers a novel tabular-to-text transformation strategy with a relational data integration schema, enabling the conversion of raw, heterogeneous crash data into enriched, structured textual narratives that retain essential structural and relational contexts. Second, it employs context-aware data augmentation using a base LLM model to enhance narrative coherence while preserving factual integrity. Third, we demonstrate the power of domain specialization by fine-tuning a LLaMA3-8B model for crash severity inference. The resulting model delivers superior performance against a comprehensive suite of baselines, including state-of-the-art tabular models (CatBoost, TabTransformer, FT-Transformer) and various prompting strategies with popular LLMs (GPT-4o, GPT-4o-mini, LLaMA3-70B). Finally, and most importantly, CrashSage integrates a novel gradient-based explainability technique that illuminates model decisions at the word level for individual crashes in an intuitive manner. This technique also moves beyond identifying isolated risk factors to uncovering their complex interplay. It reveals how driver behaviors act as central nodes that connect with environmental and infrastructure factors and highlights dangerous synergistic effects. By emulating the analytical workflow of a human expert, CrashSage establishes a new paradigm for traffic safety analysis to offer interpretable insights into the complex dynamics of road crashes.

Authors

Institutions

Publication Details

Journal
Artificial Intelligence for Transportation
Published
2025-10-18
DOI
https://doi.org/10.1016/j.ait.2025.100030
Citations
4
Primary Topic
Traffic and Road Safety
Type
article
Field-Weighted Citation Impact
5.21
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CrashSage: A large language model-centered framework for contextual and interpretable traffic crash analysis

Jidong Yang, Zhen Hao
4 citations
Artificial Intelligence for Transportation
Traffic and Road Safety
5.21
article

CrashSage: A large language model-centered framework for contextual and interpretable traffic crash analysis

Jidong Yang, Zhen Hao
article en
4 citations

Abstract

• Introduces CrashSage, an LLM framework for interpretable crash analysis. • Fine-tunes LLaMA3-8B, outperforming state-of-the-art tabular models and baseline LLMs. • Gradient-based attribution reveals word-level crash severity risk factors. • Co-occurrence analysis uncovers interdependent patterns among safety dimensions. Road crashes claim over 1.3 million lives annually worldwide and incur global economic losses exceeding $1.8 trillion. Such profound societal and financial impacts underscore the urgent need for road safety research that uncovers crash mechanisms and delivers actionable insights. Conventional statistical models, machine learning along with modern deep learning models, typically rely on structured crash data, overlooking contextual nuances, such as narrative elements related to multi-vehicle interactions, crash progression, and rare event characteristics, and struggling to capture complex interactions and underlying semantics. This study presents CrashSage, a novel Large Language Model (LLM)-centered framework designed to transcend these limitations and advance traffic safety analysis and modeling. Particularly, CrashSage introduces four key innovations to transform raw data into actionable intelligence. First, it pioneers a novel tabular-to-text transformation strategy with a relational data integration schema, enabling the conversion of raw, heterogeneous crash data into enriched, structured textual narratives that retain essential structural and relational contexts. Second, it employs context-aware data augmentation using a base LLM model to enhance narrative coherence while preserving factual integrity. Third, we demonstrate the power of domain specialization by fine-tuning a LLaMA3-8B model for crash severity inference. The resulting model delivers superior performance against a comprehensive suite of baselines, including state-of-the-art tabular models (CatBoost, TabTransformer, FT-Transformer) and various prompting strategies with popular LLMs (GPT-4o, GPT-4o-mini, LLaMA3-70B). Finally, and most importantly, CrashSage integrates a novel gradient-based explainability technique that illuminates model decisions at the word level for individual crashes in an intuitive manner. This technique also moves beyond identifying isolated risk factors to uncovering their complex interplay. It reveals how driver behaviors act as central nodes that connect with environmental and infrastructure factors and highlights dangerous synergistic effects. By emulating the analytical workflow of a human expert, CrashSage establishes a new paradigm for traffic safety analysis to offer interpretable insights into the complex dynamics of road crashes.

Artificial Intelligence for TransportationVol. 3-4
University of Georgia (US)
Openalex Percentile: Top 4%
Traffic and Road Safety
5.21
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.