RaX-Crash: A Resource Efficient and Explainable Small Model Pipeline with an Application to City Scale Injury Severity Prediction
Di Zhu, Chen Xie, Ziwei Wang, Haoyun Zhang
TL;DR
<3-5 sentence high-level summary> RaX-Crash presents a resource-efficient pipeline for city-scale injury severity prediction by unifying crash, person, and vehicle data into a compact feature schema and evaluating compact tree ensembles against small language models. A hybrid approach combines XGBoost/RF predictions with SHAP explanations and SLM-generated narratives to improve communication without sacrificing scalability. Results show tree ensembles outperform SLMs as predictors, with focal loss and class weighting improving fatal recall and SHAP highlighting human, timing, and location factors. The work demonstrates the viability of integrating interpretable tabular models with narrative explanations for urban safety analytics and points to future work on data quality, transferability, and deployment in policymaker-facing tools.
Abstract
New York City reports over one hundred thousand motor vehicle collisions each year, creating substantial injury and public health burden. We present RaX-Crash, a resource efficient and explainable small model pipeline for structured injury severity prediction on the official NYC Motor Vehicle Collisions dataset. RaX-Crash integrates three linked tables with tens of millions of records, builds a unified feature schema in partitioned storage, and trains compact tree based ensembles (Random Forest and XGBoost) on engineered tabular features, which are compared against locally deployed small language models (SLMs) prompted with textual summaries. On a temporally held out test set, XGBoost and Random Forest achieve accuracies of 0.7828 and 0.7794, clearly outperforming SLMs (0.594 and 0.496); class imbalance analysis shows that simple class weighting improves fatal recall with modest accuracy trade offs, and SHAP attribution highlights human vulnerability factors, timing, and location as dominant drivers of predicted severity. Overall, RaX-Crash indicates that interpretable small model ensembles remain strong baselines for city scale injury analytics, while hybrid pipelines that pair tabular predictors with SLM generated narratives improve communication without sacrificing scalability.
