Leveraging Deep Learning and Multimodal Large Language Models for Near-Miss Detection Using Crowdsourced Videos

Shadi Jaradat;Mohammed Elhenawy;Huthaifa I. Ashqar;Alexander Paz;Richi Nayak
{"title":"Leveraging Deep Learning and Multimodal Large Language Models for Near-Miss Detection Using Crowdsourced Videos","authors":"Shadi Jaradat;Mohammed Elhenawy;Huthaifa I. Ashqar;Alexander Paz;Richi Nayak","doi":"10.1109/OJCS.2025.3525560","DOIUrl":null,"url":null,"abstract":"Near-miss traffic incidents, positioned just above \"unsafe acts\" on the safety triangle theory, offer crucial predictive insights for preventing crashes. However, these incidents are often underrepresented in traffic safety research, which tends to focus primarily on actual crashes. This study introduces a novel AI-based framework designed to detect and analyze near-miss and crash events in crowdsourced dashcam footage. The framework consists of two key components: a deep learning model to segment video streams and identify potential near-miss or crash incidents and a multimodal large language model (MLLM) to further analyze and extract narrative information from the identified events. We evaluated three deep learning models—CNN, Vision Transformers (ViTs), and CNN+LSTM—on a dataset specifically curated for three-class classification (crashes, near-misses, and normal driving events). CNN achieved the highest accuracy (90%) and F1-score (89%) at the frame level. At the event level, ViTs delivered a strong performance with a test accuracy of 77.27% and an F1-score of 67.37%, while CNN+LSTM, although lower in overall performance, demonstrated significant potential with a test accuracy of 78.1% and an F1-score of 68.69%. For a deeper analysis, we applied GPT-4o to process critical safety events (near-misses and crashes), utilizing both zero-shot and few-shot learning for narrative generation and feature extraction. The zero-shot learning method performed better, achieving an accuracy of 81.2% and an F1-score of 81.9%. This study underscores the potential of combining deep learning with MLLMs to enhance traffic safety analysis by integrating near-miss data as a key predictive layer. Our approach highlights the importance of leveraging near-miss incidents to proactively enhance road safety, thereby reducing the likelihood of crashes through early intervention and better event understanding.","PeriodicalId":13205,"journal":{"name":"IEEE Open Journal of the Computer Society","volume":"6 ","pages":"223-235"},"PeriodicalIF":0.0000,"publicationDate":"2025-01-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10820995","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Open Journal of the Computer Society","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10820995/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Near-miss traffic incidents, positioned just above "unsafe acts" on the safety triangle theory, offer crucial predictive insights for preventing crashes. However, these incidents are often underrepresented in traffic safety research, which tends to focus primarily on actual crashes. This study introduces a novel AI-based framework designed to detect and analyze near-miss and crash events in crowdsourced dashcam footage. The framework consists of two key components: a deep learning model to segment video streams and identify potential near-miss or crash incidents and a multimodal large language model (MLLM) to further analyze and extract narrative information from the identified events. We evaluated three deep learning models—CNN, Vision Transformers (ViTs), and CNN+LSTM—on a dataset specifically curated for three-class classification (crashes, near-misses, and normal driving events). CNN achieved the highest accuracy (90%) and F1-score (89%) at the frame level. At the event level, ViTs delivered a strong performance with a test accuracy of 77.27% and an F1-score of 67.37%, while CNN+LSTM, although lower in overall performance, demonstrated significant potential with a test accuracy of 78.1% and an F1-score of 68.69%. For a deeper analysis, we applied GPT-4o to process critical safety events (near-misses and crashes), utilizing both zero-shot and few-shot learning for narrative generation and feature extraction. The zero-shot learning method performed better, achieving an accuracy of 81.2% and an F1-score of 81.9%. This study underscores the potential of combining deep learning with MLLMs to enhance traffic safety analysis by integrating near-miss data as a key predictive layer. Our approach highlights the importance of leveraging near-miss incidents to proactively enhance road safety, thereby reducing the likelihood of crashes through early intervention and better event understanding.
利用深度学习和多模态大语言模型使用众包视频进行近靶检测
在安全三角理论中,险情交通事故位于“不安全行为”之上,为预防撞车事故提供了至关重要的预测见解。然而,这些事故在交通安全研究中往往代表性不足,这些研究往往主要集中在实际的撞车事故上。本研究介绍了一种新的基于人工智能的框架,旨在检测和分析众包行车记录仪镜头中的未遂和撞车事件。该框架由两个关键部分组成:一个深度学习模型,用于分割视频流并识别潜在的未遂或坠机事件;一个多模态大语言模型(MLLM),用于进一步分析和从已识别的事件中提取叙事信息。我们在一个专门为三类分类(碰撞、未遂和正常驾驶事件)策划的数据集上评估了三种深度学习模型——CNN、视觉变形器(ViTs)和CNN+ lstm。CNN在帧级上达到了最高的准确率(90%)和f1得分(89%)。在事件水平上,ViTs表现出色,测试准确率为77.27%,f1得分为67.37%,而CNN+LSTM虽然整体性能较低,但测试准确率为78.1%,f1得分为68.69%,显示出显著的潜力。为了进行更深入的分析,我们将gpt - 40应用于处理关键安全事件(未遂事故和撞车事故),利用零射击和少射击学习来生成叙事和提取特征。zero-shot学习方法表现更好,准确率为81.2%,f1得分为81.9%。该研究强调了将深度学习与mllm相结合的潜力,通过将未遂数据集成为关键预测层来增强交通安全分析。我们的方法强调了利用未遂事故来主动提高道路安全的重要性,从而通过早期干预和更好的事件理解来降低碰撞的可能性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
12.60
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信