arrow
返回

Multitask Learning for Crash Analysis: A Fine-Tuned LLM Framework Using Twitter Data

delete2024-09-01
delete3
delete
OA
AI
S
Shadi Jaradat *
R
Richi Nayak
A
Alexander Paz
H
Huthaifa I. Ashqar
M
Mohammad Elhenawy
DOI:10.3390/smartcities7050095delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Highlights What are the main findings? Demonstrates the effectiveness of a novel multitask learning (MTL) framework utilizing large language models (LLMs) for real-time analysis of road traffic crashes (RTCs) through the integration of social media data. Fine-tuning GPT-2 for language modeling demonstrated that it outperformed baseline models, including GPT-4o mini in zero-shot mode and XGBoost, across various classification and information retrieval tasks. This study benchmarks the performance of the fine-tuned GPT-2 model against these baselines, highlighting its superior performance in these tasks. The study collected and curated a dataset of 26,226 RTC-related tweets from Australia over a year. This dataset extracted fifteen unique features, with six used in classification tasks and nine in information retrieval tasks. Developed an advanced automated labeling system using GPT-3.5, followed by rigorous expert verification to ensure the accuracy and reliability of feature extraction from tweets. The resulting meticulously curated dataset serves as a foundational resource for training and validating subsequent models, establishing a new standard for RTC analysis. What is the implication of the main finding? Offers a transformative approach to traffic safety analytics, providing detailed, timely insights crucial for emergency responders, urban planners, and policymakers. By leveraging cutting-edge AI techniques within an MTL framework, this study demonstrates a transformative approach to real-time RTC analysis, setting the stage for future advancements in the field. The curated dataset generated in this research not only advances traffic safety measures but also serves as a valuable resource for extracting insights, developing models, and conducting further research. This resource provides a solid foundation for future studies aimed at enhancing road safety.Highlights What are the main findings? Demonstrates the effectiveness of a novel multitask learning (MTL) framework utilizing large language models (LLMs) for real-time analysis of road traffic crashes (RTCs) through the integration of social media data. Fine-tuning GPT-2 for language modeling demonstrated that it outperformed baseline models, including GPT-4o mini in zero-shot mode and XGBoost, across various classification and information retrieval tasks. This study benchmarks the performance of the fine-tuned GPT-2 model against these baselines, highlighting its superior performance in these tasks. The study collected and curated a dataset of 26,226 RTC-related tweets from Australia over a year. This dataset extracted fifteen unique features, with six used in classification tasks and nine in information retrieval tasks. Developed an advanced automated labeling system using GPT-3.5, followed by rigorous expert verification to ensure the accuracy and reliability of feature extraction from tweets. The resulting meticulously curated dataset serves as a foundational resource for training and validating subsequent models, establishing a new standard for RTC analysis. What is the implication of the main finding? Offers a transformative approach to traffic safety analytics, providing detailed, timely insights crucial for emergency responders, urban planners, and policymakers. By leveraging cutting-edge AI techniques within an MTL framework, this study demonstrates a transformative approach to real-time RTC analysis, setting the stage for future advancements in the field. The curated dataset generated in this research not only advances traffic safety measures but also serves as a valuable resource for extracting insights, developing models, and conducting further research. This resource provides a solid foundation for future studies aimed at enhancing road safety.Abstract Road traffic crashes (RTCs) are a global public health issue, with traditional analysis methods often hindered by delays and incomplete data. Leveraging social media for real-time traffic safety analysis offers a promising alternative, yet effective frameworks for this integration are scarce. This study introduces a novel multitask learning (MTL) framework utilizing large language models (LLMs) to analyze RTC-related tweets from Australia. We collected 26,226 traffic-related tweets from May 2022 to May 2023. Using GPT-3.5, we extracted fifteen distinct features categorized into six classification tasks and nine information retrieval tasks. These features were then used to fine-tune GPT-2 for language modeling, which outperformed baseline models, including GPT-4o mini in zero-shot mode and XGBoost, across most tasks. Unlike traditional single-task classifiers that may miss critical details, our MTL approach simultaneously classifies RTC-related tweets and extracts detailed information in natural language. Our fine-tunedGPT-2 model achieved an average accuracy of 85% across the six classification tasks, surpassing the baseline GPT-4o mini model's 64% and XGBoost's 83.5%. In information retrieval tasks, our fine-tuned GPT-2 model achieved a BLEU-4 score of 0.22, a ROUGE-I score of 0.78, and a WER of 0.30, significantly outperforming the baseline GPT-4 mini model's BLEU-4 score of 0.0674, ROUGE-I score of 0.2992, and WER of 2.0715. These results demonstrate the efficacy of our fine-tuned GPT-2 model in enhancing both classification and information retrieval, offering valuable insights for data-driven decision-making to improve road safety. This study is the first to explicitly apply social media data and LLMs within an MTL framework to enhance traffic safety.
Keyword:
road traffic crashes
social media data analysis
large language models
multitask learning
GPT

期刊

Smart Cities 封面图
Smart Cities
IF:
5.5
论文数:
952
被引数:
3.0K

机构

Arab American University 封面图
Arab American University
学者数:
485
论文数: 380
被引数: 240
引用论文

引用论文

A field study of thermal inertia of roofs and its influence on indoor comfort
err2013-09-18
err0
PREAI
errMarco D’Orazio; Costanzo Di Perna; Elisa Di Giuseppe
err分享
err收藏
Harnessing the Power of LLMs in Practice: A Survey on ChatGPT and Beyond在实践中利用LLMs的力量: 关于ChatGPT及以后的调查
err2024-04-26
err137
errOAAI
errYang, Jingfeng; Jin, Hongye; Tang, Ruixiang; Han, Xiaotian; Feng, Qizhang; Jiang, Haoming; Zhong, Shaochen; Yin, Bing; Hu, Xia
err分享
err收藏
Enhancement of photo sensor properties of nanocrystalline ZnO thin film by swift heavy ion irradiation
err2015-01-01
err0
PREAI
errS. V. Mahajan; D. S. Upadhye; S. U. Shaikh; R. B. Birajadar; F. Y. Siddiqui; S. B. Bagul; N. P. Huse; R. B. Sharma
err分享
err收藏
YAC transgene-mediated olfactory receptor gene choiceYAC转基因介导的嗅觉受体基因选择
err2000-02-01
err0
errOAAI
errFarah A.W. Ebrahimi; James Edmondson; Rodney Rothstein; Andrew Chess
err分享
err收藏
Models of Inflammatory Breast Cancer
err2012-03-06
err0
PREAI
errLara Lacerda; Wendy A. Woodward
err分享
err收藏
Emergence of permanent teeth in Tanzanian children
err2002-12-09
err0
PREAI
errEmeria A. Mugonzibwa; Anne M. Kuijpers‐Jagtman; Maija T. Laine‐Alava; Martin A. Van‘t Hof
err分享
err收藏
学者 查看更多内容