Skip to main content
QUICK REVIEW

[Paper Review] Enhancing Traffic Incident Management with Large Language Models: A Hybrid Machine Learning Approach for Severity Classification

Artur Grigorev, Khaled Saleh|arXiv (Cornell University)|Mar 20, 2024
Traffic Prediction and Management TechniquesEngineering6 citations
TL;DR

The paper investigates integrating large language model features with traditional ML models to classify traffic incident severity, comparing multiple LLMs and ML algorithms across three international datasets. Random Forest and XGBoost with LLM features often match or improve traditional feature engineering.

ABSTRACT

This research showcases the innovative integration of Large Language Models into machine learning workflows for traffic incident management, focusing on the classification of incident severity using accident reports. By leveraging features generated by modern language models alongside conventional data extracted from incident reports, our research demonstrates improvements in the accuracy of severity classification across several machine learning algorithms. Our contributions are threefold. First, we present an extensive comparison of various machine learning models paired with multiple large language models for feature extraction, aiming to identify the optimal combinations for accurate incident severity classification. Second, we contrast traditional feature engineering pipelines with those enhanced by language models, showcasing the superiority of language-based feature engineering in processing unstructured text. Third, our study illustrates how merging baseline features from accident reports with language-based features can improve the severity classification accuracy. This comprehensive approach not only advances the field of incident management but also highlights the cross-domain application potential of our methodology, particularly in contexts requiring the prediction of event outcomes from unstructured textual data or features translated into textual representation. Specifically, our novel methodology was applied to three distinct datasets originating from the United States, the United Kingdom, and Queensland, Australia. This cross-continental application underlines the robustness of our approach, suggesting its potential for widespread adoption in improving incident management processes globally.

Motivation & Objective

  • Assess whether LLM-extracted features from full-text incident reports improve severity classification over traditional feature engineering.
  • Evaluate combinations of LLMs and machine learning models for incident severity prediction.
  • Determine if combining baseline features with NLP-derived features enhances predictive accuracy.

Proposed method

  • Convert accident reports into full-text representations combining column names and values.
  • Extract numerical features from full-text descriptions using various LLMs (e.g., BERT variants, XLNet, RoBERTa, ALBERT).
  • Train and compare ML models (XGBoost, LightGBM, Random Forest, KNN) on baseline, NLP, and combined feature sets.
  • Balance datasets with even sampling and remove zero-variance features.
  • Evaluate using cross-validation with metrics including F1-score, accuracy, precision, and recall.

Experimental results

Research questions

  • RQ1Do LLM-derived features improve classification performance relative to traditional feature engineering for incident severity?
  • RQ2Which combinations of LLMs and ML models yield the best severity predictions?
  • RQ3Does combining baseline features with NLP features outperform either feature type alone?

Key findings

  • LLM features tend to improve or match performance when combined with traditional features, especially with tree-based models.
  • There is no apparent difference between different language models in this task, suggesting limited discriminative information in the accident narrations used.
  • The highest reported F1-score on Queensland data with combined features (report + NLP) is 0.65 using RandomForest with GPT-2 features.
  • XGBoost with BERT features achieved a competitive F1-score of 0.56 on Queensland data.
  • Overall, combining LLM features with baseline features tends to perform better than either alone in severity classification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.