TransportAgents: a multi-agents LLM framework for traffic accident severity prediction

Zhichao Yang, Jiashu He, Jinxuan Fan, Cirillo CinziaarXiv 2026

TL;DR

Predicting the severity of traffic accidents requires balancing structured data (like age or location) with unstructured text narratives from crash reports. This paper introduces TransportAgent, a hybrid multi-agent framework that splits crash data into thematic categories for specialized LLM analysis and then fuses their insights using a traditional Multilayer Perceptron (MLP). The result is a highly accurate, well-calibrated, and interpretable prediction system that consistently outperforms both standalone LLMs and traditional machine learning baselines.

What Problem Does This Paper Address?

Evaluating the severity of a traffic accident is crucial for emergency response deployment and urban safety planning. However, crash data is notoriously messy, combining structured categorical variables (e.g., demographics, time, location) with unstructured, free-text narratives from witnesses, victims, or police officers.

Traditional machine learning models excel at processing numerical and categorical features but fail to extract deep semantic meaning from text narratives. On the flip side, Large Language Models (LLMs) are great at understanding text but suffer from high variance, single-forward-pass reasoning limitations, and severe distributional biases when forced to handle complex, heterogeneous data in a single-agent setup. Specifically, single-agent LLMs tend to over-predict average severity levels and miss rare, critical events like fatalities.

Methods

The authors propose TransportAgent, a hybrid multi-agent pipeline that divides and conquers the prediction task before fusing the results with a classic neural network layer. The architecture consists of three main stages:

  1. Data Preprocessing Team: A Feature Selection Agent filters out irrelevant attributes that might cause LLM hallucinations. Then, a Conceptual Category Organizer groups the remaining features into distinct thematic buckets (e.g., demographics, environmental context, incident details).
  2. Severity Assessment Team: A Group Orchestrator assigns a specialized LLM sub-agent to each thematic bucket. Each sub-agent independently evaluates its specific subset of structured data and narrative cues to output a category-specific severity score.
  3. Integration Manager Module: Instead of letting the LLMs vote or debate (which can be unstable and computationally expensive), the framework passes the vector of category scores to a supervised Multilayer Perceptron (MLP). The MLP learns the optimal weights to fuse these heterogeneous signals into a final, calibrated 4-level severity prediction.

This architecture balances the semantic flexibility of LLMs with the stable, data-driven optimization of traditional neural networks.

Fig. 1: Architecture of the proposed Transport Agent framework. The Data Preprocessing Team selects and organizes relevant features, the Severity Assessment Team produces category-specific evaluations, and the MLP module integrates these into a final severity level score.

Datasets

The framework was evaluated on two complementary U.S. traffic accident datasets, both mapped to a standardized 4-level ordinal severity scale (1: Mild/No Injury, 2: Moderate, 3: Severe, 4: Fatal):

  • CPSRMS (Consumer Product Safety Risk Management System): Contains incident reports from 2017 to 2023, heavily featuring unstructured consumer narratives and a higher proportion of severe/fatal cases.
  • NEISS (National Electronic Injury Surveillance System): A structured database collecting data from a statistically representative sample of U.S. emergency departments, providing standardized clinical and demographic fields.

Key Insights and Ideas

  • Low Within-Category Dependence: Initial data exploration revealed that variables within the same conceptual category have very low correlation. This justifies the multi-agent design: each agent processes non-redundant, distinct signals, preventing context saturation.
  • LLMs for Semantics, ML for Weights: The core "aha" moment is leveraging the complementary strengths of two AI paradigms. LLMs are used purely for what they do best—extracting semantic meaning and reasoning over text—while a simple MLP handles the numerical optimization and class-balancing that LLMs typically struggle with.
  • Fixing the LLM Distributional Bias: Standalone LLMs (even with Chain-of-Thought prompting) tend to over-predict mid-level severity and under-represent extreme outcomes. By routing intermediate LLM scores through a supervised MLP, TransportAgent successfully aligns its prediction distribution with the true ground-truth class proportions.

Key Results

The authors evaluated TransportAgent across three distinct LLM backbones: GPT-3.5-turbo, GPT-4o-mini, and LLaMA-3.3-70B-Instruct.

  • Superior Accuracy: TransportAgent consistently outperformed pure LLM prompting (k-shot and Chain-of-Thought), multi-agent prompting (AutoGen), and traditional ML/econometric baselines (MLP, Ordered Logit).
  • Quantifiable Gains: Using the GPT-4o-mini backbone, TransportAgent achieved 72.67% accuracy on CPSRMS and 71.25% accuracy on the NEISS subset, compared to just 65.92% and 32.5% for Chain-of-Thought (CoT) prompting alone.
  • Robustness: In a 10-fold stratified split robustness analysis using GPT-3.5-turbo, TransportAgent maintained a remarkably low variance in accuracy ($70.69\% \pm 1.76$), proving it does not rely on a "lucky" data split and generalizes reliably.

Limitations and Future Work

  • Limitations: The paper does not deeply explore the computational overhead or latency introduced by running multiple parallel LLM agent calls per accident record, which could be a bottleneck for real-time deployment.
  • Future Work: The authors suggest that this hybrid multi-agent blueprint—combining semantic LLM sub-agents with structured numerical machine learning integration—can be generalized to other high-stakes, data-diverse decision-support domains such as healthcare diagnostics, financial risk assessment, and portfolio management.

Summary updated

BibTeX
@misc{yang2026transportagents,
  author = {Zhichao Yang and Jiashu He and Jinxuan Fan and Cirillo Cinzia},
  title = {{TransportAgents: a multi-agents LLM framework for traffic accident severity prediction}},
  year = {2026},
  eprint = {2601.15519},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.15519},
}
Figure