留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

基于多模态大模型的车载视频事故检测方法

瞿伟斌,  严永,  李平凡

瞿伟斌, 严永, 李平凡. 基于多模态大模型的车载视频事故检测方法[J]. 交通信息与安全, 2026, 44(3): 183-190. doi: 10.3963/j.issn.1674-4861.2026.03.016
引用本文: 瞿伟斌, 严永, 李平凡. 基于多模态大模型的车载视频事故检测方法[J]. 交通信息与安全, 2026, 44(3): 183-190. doi: 10.3963/j.issn.1674-4861.2026.03.016
QU Weibin, YAN yong, LI Pingfan. A Vehicle-Mounted Video Accident Detection Method Based on Multimodal Large Models[J]. Journal of Transport Information and Safety, 2026, 44(3): 183-190. doi: 10.3963/j.issn.1674-4861.2026.03.016
Citation: QU Weibin, YAN yong, LI Pingfan. A Vehicle-Mounted Video Accident Detection Method Based on Multimodal Large Models[J]. Journal of Transport Information and Safety, 2026, 44(3): 183-190. doi: 10.3963/j.issn.1674-4861.2026.03.016

基于多模态大模型的车载视频事故检测方法

doi: 10.3963/j.issn.1674-4861.2026.03.016
基金项目: 

国家重点研发计划项目 2023YFC3009700

详细信息
    作者简介:

    瞿伟斌(1995—),硕士,助理研究员. 研究方向: 交通安全. E-mail: quwb@tmri.cn

    通讯作者:

    李平凡(1976—),博士,研究员. 研究方向: 交通安全. E-mail: lipf@tmri.cn

  • 中图分类号: U491.31

A Vehicle-Mounted Video Accident Detection Method Based on Multimodal Large Models

  • 摘要: 针对车载视频事故检测中单帧判定误报率偏高、长视频处理效率不足,以及多模态大模型选型缺乏系统量化对比的问题,构建一套融合时序窗口的车载视频事故检测框架。原始车载视频经分辨率统一、帧率标准化和视频压缩处理后,按1帧/s提取关键帧,形成标准化帧级分析单元;构建的数据集覆盖24个事故视频(平均时长2.7 min),经压缩后图片平均体积下降79.9%,共形成3 307个有效片段,其中车内1 488个、车外1 819个,事故事件片段1 932个、占58.4%。以关键帧为输入构建统一提示词模板,模板从场景环境、车辆运动状态、碰撞接触迹象、驾驶人操作和上下文线索5个维度组织评判要素,将事故检测任务形式化为二分类视觉问答任务;分别调用GLM-4.5V、GLM-4.1V-Thinking-Flash、Qwen3-VL-Plus、Qwen3-VL-Flash、Qwen3-VL-32B和Qwen3-VL-30B-A3B共6种视觉语言模型逐帧推理,得到帧级事故置信度分数。针对单帧判定缺乏时序上下文导致的误报与结果碎片化问题,采用“秒级采样+时序窗口融合”策略,对连续5帧(约2.5 s)的帧级置信度按加权概率聚合,并以0.7为判定阈值,以降低单帧误检并改善判定结果的时序一致性。在自建真实车载事故数据集上,从准确率、召回率、F1分数和单帧推理成本4个维度开展评测;时序窗口融合后,各模型F1分数较单帧基线提升2倍以上。对比结果显示:Qwen3-VL-32B的F1分数最高(0.689),准确率94.6%、召回率58.2%;GLM-4.1V推理成本较低;Qwen3-VL-30B-A3B以较小模型规模获得接近Qwen3-VL-32B的检测性能,F1分数为67.6%。各模型呈现精度与成本之间的权衡:Qwen3-VL系列检测指标较高但推理成本偏高,GLM系列推理成本较低,适配轻量化部署场景。现有样本对夜间、雨雪等复杂环境的覆盖有限,后续需扩充多环境样本并引入端到端时序建模。研究结果可为车载事故主动上报系统的模型选型与部署提供量化参考。

     

  • 图  1  多模态模型介绍

    Figure  1.  Introduction to multimodal models

    图  2  关键帧抽取时序示意图

    Figure  2.  Timeline diagram of keyframe extraction

    图  3  图片压缩处理

    Figure  3.  Image compression processing

    图  4  大语言模型提示词设计

    Figure  4.  Prompt design for LLMs

    图  5  整体检测框架流程

    Figure  5.  Overall algorithm flowchart

    图  6  视频识别结果

    Figure  6.  Video recognition result illustration

    图  7  各模型识别PR曲线与AUPRC值

    Figure  7.  PR curve and AUPRC values identification for each model

    图  8  各模型成本-性能散点图

    Figure  8.  Cost-performance scatter plots for each model

    图  9  各模型成本-性能雷达图

    Figure  9.  Cost-performance radar chart for each model

    表  1  视频处理情况

    Table  1.   Video processing status distribution

    状态 不同阶段视频数量
    正常行驶 事发时 事发后
    车内 74 896 518
    车外 52 1036 731
    下载: 导出CSV

    表  2  多模态分析提示词结构表

    Table  2.   Multimodal analysis prompt structure table

    分析维度 检测要素 评判标准
    车辆位置变化 急刹、碰撞 运动轨迹突变程度
    车辆姿态变化 翻车、侧滑 车辆姿态突变程度
    环境异常现象 冒烟、起火 视觉显著性
    人员行为变化 摔倒、剧烈晃动 姿态异常显著性
    交通流状态 突然停滞、拥堵 流量变化剧烈度
    下载: 导出CSV

    表  3  大模型性能综合对比表

    Table  3.   Comprehensive comparison table of LLMs performance

    模型 准确率/% 精确率/% 召回率/% F1分数
    GLM-4.5V 86.8 16.1 58.7 25.3
    GLM-4.1V 83.7 13.9 62.7 22.7
    Qwen3-VL-Plus 80.9 12.4 65.9 20.8
    Qwen3-VL-Flash 80.7 12.4 66.7 20.9
    Qwen3-VL-32B 80.9 12.4 66.7 21.0
    Qwen3-VL-30B-A3B 80.9 12.4 65.9 20.8
    下载: 导出CSV

    表  4  时序融合后大模型性能综合对比表

    Table  4.   Comprehensive comparison table of LLMs performance after temporal fusion

    模型 准确率/% 精确率/% 召回率/% F1分数
    GLM-4.5V 92.8 77.8 40.2 53.0
    GLM-4.1V 93.0 72.8 48.4 58.1
    Qwen3-VL-Plus 94.1 82.5 54.1 65.3
    Qwen3-VL-Flash 94.3 83.1 56.6 67.3
    Qwen3-VL-32B 94.6 84.5 58.2 68.9
    Qwen3-VL-30B-A3B 94.4 84.1 56.6 67.6
    下载: 导出CSV

    表  5  各组模型推理成本对比

    Table  5.   Comparison Table of Inference Costs Across Different Model Groups

    模型 单次tokens均值 输入tokens均值 输出tokens均值 单次成本/元 千次成本/元
    GLM-4.5V 6 815 5 815 1 000 0.018 18
    GLM-4.1V 7 307 6 307 1 000 0 0
    Qwen3-VL-Plus 5 271 4 271 1 000 0.014 14
    Qwen3-VL-Flash 5 274 4 274 1 000 0.007 5 7.5
    Qwen3-VL-32B 5 272 4 272 1 000 0.016 16
    Qwen3-VL-30B-A3B 5 272 4 272 1 000 0.006 6
    注:本文所有API调用成本数据基于2025年11月官方定价。
    下载: 导出CSV
  • [1] 王爱丽, 董宝田, 王泽胜, 等. 融合光流速度场自适应背景建模的交通场景中运动行人检测算法[J]. 长安大学学报(自然科学版), 2015, 35(增刊1): 184-187, 221.

    WANG A L, DONG B T, WANG Z S, et al. Pedestrian detection algorithm based on optical flow velocity field and adaptive background modeling in traffic scenes[J]. Journal of Chang'an University(Natural Science Edition), 2015, 35 (S1): 184-187, 221. (in Chinese)
    [2] IJJINA E P, CHAND D, GUPTA S, et al. Computer vision-based accident detection in traffic surveillance[C]. 2019 10th International Conference on Computing, Communication and Networking Technologies(ICCCNT), Kanpur, India: IEEE, 2019.
    [3] 王晨, 周威, 严隽逸, 等. 1种用于道路交通事故自动检测的改进双流网络[J]. 中国公路学报, 2023, 36(5): 185-196.

    WANG C, ZHOU W, YAN J Y, et al. Improved two -stream network for vision -based traffic accident detection[J]. China Journal of Highway and Transport, 2023, 36(5): 185-196. (in Chinese)
    [4] 张奇, 周威, 胡伟超, 等. 融合递进式域适应和交叉注意力的事故检测方法[J]. 计算机工程与应用, 2025, 61(6): 349-360.

    ZHANG Q, ZHOU W, HU W C, et al. Accident detection method integrating progressive domain adaptation and cross-attention[J]. Computer Engineering and Applications, 2025, 61(6): 349-360. (in Chinese)
    [5] 尚婷, 连冠, 黄龙显, 等. 基于多源数据的特长隧道驾驶疲劳模型[J]. 交通信息与安全, 2024, 42(4): 30-41.

    SHANG T, LIAN G, HUANG L X, et al. A driving fatigue model for extra-long tunnels based on multi-source data[J]. Journal of Transport Information and Safety, 2024, 42(4): 30-41. (in Chinese)
    [6] VASWANI A, SHAZEER N, PARMAR N, et al. Attention is all you need[C]. Advances in Neural Information Processing Systems 30, Red Hook, USA: Curran Associates Inc., 2017.
    [7] ZHANG S, FU D, LIANG W, et al. TrafficGPT: viewing, processing and interacting with traffic foundation models[J]. Transport Policy, 2024, 150: 95-105. doi: 10.1016/j.tranpol.2024.03.006
    [8] ABU TAMI M, ASHQAR H I, ELHENAWY M, et al. Using multimodal large language models for automated detection of traffic safety-critical events[J]. Vehicles, 2024, 6(3): 1571-1590. doi: 10.3390/vehicles6030074
    [9] GU Y, QIAN Z, CHEN F. From twitter to detector: real-time traffic incident detection using social media data[J]. Transportation Research Part C: Emerging Technologies, 2016, 67: 321-342. doi: 10.1016/j.trc.2016.02.011
    [10] WEN L, YANG X, FU D, et al. On the road with GPT-4V (ision): explorations of utilizing visual-language model as autonomous driving agent[C]. The 12th International Conference on Learning Representations, Vienna, Austria: ICLR, 2024.
    [11] LI T, BIAN Z, LEI H, et al. Multi-level traffic-responsive tilt camera surveillance through predictive correlated online learning[J]. Transportation Research Part C: Emerging Technologies, 2024, 167: 104804. doi: 10.1016/j.trc.2024.104804
    [12] ZHOU X, KNOLL A C. GPT-4V as traffic assistant: an In-depth look at vision language model on complex traffic events[EB/OL]. (2024-02-03)[2025-12-15]. http://arxiv.org/abs/2402.02205.
    [13] ZHANG K, WANG S, JIA N, et al. Integrating visual large language model and reasoning chain for driver behavior analysis and risk assessment[J]. Accident Analysis & Prevention, 2024, 198: 107497.
    [14] HASAN Md Z, CHEN J, WANG J, et al. Vision-language models can identify distracted driver behavior from naturalistic videos[J]. Transactions on Intelligent Transportation Systems, 2024, 25(9): 11602-11616. doi: 10.1109/TITS.2024.3381175
    [15] WANG L, REN Y, JIANG H, et al. AccidentGPT: av2x environmental perception multi-modal large model for accident analysis and prevention[C]. 2024 IEEE Intelligent Vehicles Symposium(IV), Jeju Island, Korea: IEEE, 2024.
    [16] ZHANG R, WANG B, ZHANG J, et al. When language and vision meet road safety: leveraging multimodal large language models for video-based traffic accident analysis[J]. Accident Analysis & Prevention, 2025, 219: 108077.
    [17] 马艳丽, 顾高峰, 高月娥, 等. 基于驾驶绩效的车载信息系统操作分心判定模型[J]. 中国公路学报, 2016, 29(4): 123-129.

    MA Y L, GU G F, GAO Y E, et al. Driver distraction judging model under in-vehicle information system operation based on driving performance[J]. China Journal of Highway and Transport, 2016, 29(4): 123-129. (in Chinese)
    [18] 刘小溪, 程佳诚, 程咏梅, 等. 车载视频图像路牌检测与字符序列识别方法[J]. 计算机工程与应用, 2023, 59(8): 175-181.

    LIU X X, CHENG J C, CHENG Y M, et al. Distance posts detection and character sequences recognition method in video images acquired from camera in moving vehicle[J]. Computer Engineering and Applications, 2023, 59(8): 175-181. (in Chinese)
    [19] 应申, 曾卓源, 张纪元. 面向数据脱敏的交通场景车牌检测方法[J]. 交通信息与安全, 2024, 42(6): 84-94.

    YING S, ZENG Z Y, ZHANG J Y. A detection method of traffic scene license plate for data desensitization[J]. Journal of Transport Information and Safety, 2024, 42(6): 84-94. (in Chinese)
    [20] SAHOO P, SINGH A K, SAHA S, et al. A systematic survey of prompt engineering in large language models: techniques and applications[EB/OL]. (2024-02-05)[2025-12-15]. https://arxiv.org/abs/2402.07927.
  • 加载中
图(9) / 表(5)
计量
  • 文章访问数:  9
  • HTML全文浏览量:  14
  • PDF下载量:  3
  • 被引次数: 0
出版历程
  • 收稿日期:  2025-11-20

目录

    /

    返回文章
    返回