arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.13002cs.AIcs.LG
收藏

从叙事到概率推理:利用大语言模型预测和解释碰撞中驾驶员危险行为

From Narratives to Probabilistic Reasoning: Predicting and Interpreting Drivers' Hazardous Actions in Crashes Using Large Language Model

University of Michigan-Dearborn(密歇根大学迪尔伯恩分校);University of Michigan Transportation Research Institute(密歇根大学交通研究所);Toyota Motor Engineering & Manufacturing North America, Inc.(丰田汽车工程与制造北美公司);Korea Advanced Institute of Science and Technology(韩国科学技术院)

Boyou Chen, Gerui Xu, Zifei Wang, Huizhong Guo, Ananna Ahmed, Zhaonan Sun, Zhen Hu, Kaihan Zhang, Shan Bao

AI总结:

本研究提出一种基于微调大语言模型的框架,从碰撞叙事文本中自动识别驾驶员危险行为,在MTCF数据上达到80%准确率,并通过概率推理增强可解释性,为交通安全分析提供新方案。

摘要:

车辆碰撞涉及道路使用者之间的复杂交互、瞬间决策以及具有挑战性的环境条件。其中,两车碰撞最为普遍,约占道路碰撞事故的70%,对交通安全构成重大挑战。识别驾驶员危险行为(DHA)对于理解碰撞成因至关重要,然而大规模数据库中DHA数据的可靠性受到不一致且劳动密集型的人工编码实践的限制。在此,我们提出了一种创新框架,利用微调的大语言模型自动从文本碰撞叙事中推断DHA,从而提高DHA分类的有效性和可解释性。利用MTCF五年的两车碰撞数据,我们在详细的碰撞叙事上微调了Llama 3.2 1B模型,并将其性能与传统机器学习分类器(包括随机森林、XGBoost、CatBoost和神经网络)进行了基准比较。微调后的LLM实现了80%的总体准确率,超越了所有基线模型,并在数据不平衡的场景中表现出显著改进。为了增强可解释性,我们开发了一种概率推理方法,分析了模型在原始测试集和三个针对性反事实场景(驾驶员分心和年龄的变化)中的输出偏移。我们的分析揭示,为一名驾驶员引入分心显著增加了“一般不安全驾驶”的可能性;两名驾驶员均分心则最大化了“两名驾驶员均采取危险行为”的概率;而指定一名青少年驾驶员则显著提高了“超速和停车违规”的概率。我们的框架和分析方法为大规模自动化DHA检测提供了稳健且可解释的解决方案,为交通安全分析和干预提供了新的机遇。

英文摘要:

Vehicle crashes involve complex interactions between road users, split-second decisions, and challenging environmental conditions. Among these, two-vehicle crashes are the most prevalent, accounting for approximately 70% of roadway crashes and posing a significant challenge to traffic safety. Identifying Driver Hazardous Action (DHA) is essential for understanding crash causation, yet the reliability of DHA data in large-scale databases is limited by inconsistent and labor-intensive manual coding practices. Here, we present an innovative framework that leverages a fine-tuned large language model to automatically infer DHAs from textual crash narratives, thereby improving the validity and interpretability of DHA classifications. Using five years of two-vehicle crash data from MTCF, we fine-tuned the Llama 3.2 1B model on detailed crash narratives and benchmarked its performance against conventional machine learning classifiers, including Random Forest, XGBoost, CatBoost, and a neural network. The fine-tuned LLM achieved an overall accuracy of 80%, surpassing all baseline models and demonstrating pronounced improvements in scenarios with imbalanced data. To increase interpretability, we developed a probabilistic reasoning approach, analyzing model output shifts across original test sets and three targeted counterfactual scenarios: variations in driver distraction and age. Our analysis revealed that introducing distraction for one driver substantially increased the likelihood of "General Unsafe Driving"; distraction for both drivers maximized the probability of "Both Drivers Took Hazardous Actions"; and assigning a teen driver markedly elevated the probability of "Speed and Stopping Violations." Our framework and analytical methods provide a robust and interpretable solution for large-scale automated DHA detection, offering new opportunities for traffic safety analysis and intervention.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑