基于因果推理和思维链推理的大型语言模型交通场景风险评估系统

IF 7.2 1区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Wuchang Zhong , Jinglin Huang , Maoqiang Wu , Weinan Luo , Rong Yu
{"title":"基于因果推理和思维链推理的大型语言模型交通场景风险评估系统","authors":"Wuchang Zhong ,&nbsp;Jinglin Huang ,&nbsp;Maoqiang Wu ,&nbsp;Weinan Luo ,&nbsp;Rong Yu","doi":"10.1016/j.knosys.2025.113630","DOIUrl":null,"url":null,"abstract":"<div><div>Evaluating potential traffic scene risks is crucial for the decision-making process in autonomous driving systems. Large Language Models (LLMs), due to their advanced scene understanding and reasoning capabilities, offer a new paradigm for decision-making in autonomous driving. However, when used to evaluate traffic scene risks, LLM faces challenges of model hallucination and slow inference speed. Therefore, we have developed a TrafficRiskGPT-based system. Initially, we designed the TrafficRiskGPT model, which is a large language model specifically used for traffic scene risk reasoning. Its core is based on the LLaMA3-8B model, and it incorporates a large amount of traffic risk datasets for LoRA (Low-Rank Adaptation) fine-tuning, enabling the model to deeply understand traffic scene risks. On this basis, we designed a system around the TrafficRiskGPT model. The system establishes a knowledge base based on traffic scene risks and incorporated HNSW (Hierarchical Navigable Small World graphs) method to improve the retrieval efficiency of the knowledge base, introduces vLLM technology to improve the system’s inference speed, and constructs a comprehensive risk evaluation metric to assess the system’s performance on traffic scene risks. Finally, we designed a CI-CoT (Causal Inference Chain-of-Thought) technique, allowing the system to gradually evaluate the traffic risks associated with each decision, thereby reducing model hallucinations and slow inference speed issues. Our experiments show that in the same scenarios, in terms of vehicle collision rates, our method reduces the rate by 7.3% compared to GPT4o-mini, significantly reduces outputs irrelevant to traffic scene risks, and improves model inference speed by a factor of 3.62.</div></div>","PeriodicalId":49939,"journal":{"name":"Knowledge-Based Systems","volume":"319 ","pages":"Article 113630"},"PeriodicalIF":7.2000,"publicationDate":"2025-05-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Large language model based system with causal inference and Chain-of-Thoughts reasoning for traffic scene risk assessment\",\"authors\":\"Wuchang Zhong ,&nbsp;Jinglin Huang ,&nbsp;Maoqiang Wu ,&nbsp;Weinan Luo ,&nbsp;Rong Yu\",\"doi\":\"10.1016/j.knosys.2025.113630\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Evaluating potential traffic scene risks is crucial for the decision-making process in autonomous driving systems. Large Language Models (LLMs), due to their advanced scene understanding and reasoning capabilities, offer a new paradigm for decision-making in autonomous driving. However, when used to evaluate traffic scene risks, LLM faces challenges of model hallucination and slow inference speed. Therefore, we have developed a TrafficRiskGPT-based system. Initially, we designed the TrafficRiskGPT model, which is a large language model specifically used for traffic scene risk reasoning. Its core is based on the LLaMA3-8B model, and it incorporates a large amount of traffic risk datasets for LoRA (Low-Rank Adaptation) fine-tuning, enabling the model to deeply understand traffic scene risks. On this basis, we designed a system around the TrafficRiskGPT model. The system establishes a knowledge base based on traffic scene risks and incorporated HNSW (Hierarchical Navigable Small World graphs) method to improve the retrieval efficiency of the knowledge base, introduces vLLM technology to improve the system’s inference speed, and constructs a comprehensive risk evaluation metric to assess the system’s performance on traffic scene risks. Finally, we designed a CI-CoT (Causal Inference Chain-of-Thought) technique, allowing the system to gradually evaluate the traffic risks associated with each decision, thereby reducing model hallucinations and slow inference speed issues. Our experiments show that in the same scenarios, in terms of vehicle collision rates, our method reduces the rate by 7.3% compared to GPT4o-mini, significantly reduces outputs irrelevant to traffic scene risks, and improves model inference speed by a factor of 3.62.</div></div>\",\"PeriodicalId\":49939,\"journal\":{\"name\":\"Knowledge-Based Systems\",\"volume\":\"319 \",\"pages\":\"Article 113630\"},\"PeriodicalIF\":7.2000,\"publicationDate\":\"2025-05-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Knowledge-Based Systems\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0950705125006768\",\"RegionNum\":1,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Knowledge-Based Systems","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950705125006768","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

摘要

评估潜在的交通场景风险对于自动驾驶系统的决策过程至关重要。大型语言模型(llm)由于其先进的场景理解和推理能力,为自动驾驶决策提供了新的范式。然而,在用于交通场景风险评估时,LLM面临着模型幻觉和推理速度慢的挑战。因此,我们开发了一个基于交通风险的gpt系统。首先,我们设计了TrafficRiskGPT模型,这是一个专门用于交通场景风险推理的大型语言模型。其核心以LLaMA3-8B模型为基础,结合大量交通风险数据集进行LoRA (Low-Rank Adaptation)微调,使模型能够深度理解交通场景风险。在此基础上,我们围绕TrafficRiskGPT模型设计了一个系统。系统建立了基于交通场景风险的知识库,并引入HNSW (Hierarchical Navigable Small World graphs)方法提高知识库的检索效率,引入vLLM技术提高系统的推理速度,构建了综合风险评价指标来评估系统对交通场景风险的性能。最后,我们设计了一个CI-CoT(因果推理思维链)技术,允许系统逐步评估与每个决策相关的交通风险,从而减少模型幻觉和推理速度慢的问题。我们的实验表明,在相同的场景下,与gpt40 -mini相比,我们的方法在车辆碰撞率方面降低了7.3%,显著减少了与交通场景风险无关的输出,将模型推理速度提高了3.62倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Large language model based system with causal inference and Chain-of-Thoughts reasoning for traffic scene risk assessment

Large language model based system with causal inference and Chain-of-Thoughts reasoning for traffic scene risk assessment
Evaluating potential traffic scene risks is crucial for the decision-making process in autonomous driving systems. Large Language Models (LLMs), due to their advanced scene understanding and reasoning capabilities, offer a new paradigm for decision-making in autonomous driving. However, when used to evaluate traffic scene risks, LLM faces challenges of model hallucination and slow inference speed. Therefore, we have developed a TrafficRiskGPT-based system. Initially, we designed the TrafficRiskGPT model, which is a large language model specifically used for traffic scene risk reasoning. Its core is based on the LLaMA3-8B model, and it incorporates a large amount of traffic risk datasets for LoRA (Low-Rank Adaptation) fine-tuning, enabling the model to deeply understand traffic scene risks. On this basis, we designed a system around the TrafficRiskGPT model. The system establishes a knowledge base based on traffic scene risks and incorporated HNSW (Hierarchical Navigable Small World graphs) method to improve the retrieval efficiency of the knowledge base, introduces vLLM technology to improve the system’s inference speed, and constructs a comprehensive risk evaluation metric to assess the system’s performance on traffic scene risks. Finally, we designed a CI-CoT (Causal Inference Chain-of-Thought) technique, allowing the system to gradually evaluate the traffic risks associated with each decision, thereby reducing model hallucinations and slow inference speed issues. Our experiments show that in the same scenarios, in terms of vehicle collision rates, our method reduces the rate by 7.3% compared to GPT4o-mini, significantly reduces outputs irrelevant to traffic scene risks, and improves model inference speed by a factor of 3.62.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Knowledge-Based Systems
Knowledge-Based Systems 工程技术-计算机:人工智能
CiteScore
14.80
自引率
12.50%
发文量
1245
审稿时长
7.8 months
期刊介绍: Knowledge-Based Systems, an international and interdisciplinary journal in artificial intelligence, publishes original, innovative, and creative research results in the field. It focuses on knowledge-based and other artificial intelligence techniques-based systems. The journal aims to support human prediction and decision-making through data science and computation techniques, provide a balanced coverage of theory and practical study, and encourage the development and implementation of knowledge-based intelligence models, methods, systems, and software tools. Applications in business, government, education, engineering, and healthcare are emphasized.
×
引用
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学术官方微信