基于知识图谱和大模型的车辆决策系统

Vehicle Decision-Making System Based on Knowledge Graph and Large Model

  • 摘要: 车辆在复杂环境中的决策是无人驾驶技术的关键环节. 针对传统决策方法泛化性差、环境适应能力不足等问题,本文构建了一种“知识图谱+大语言模型(LLM)”协同的智能决策框架. 系统首先借助 CARLA 仿真平台采集车辆及环境的动态数据,并与专家预定义的静态知识图谱融合,形成可持续更新的综合知识图谱,统一存储于图数据库 Neo4j中. 随后,通过 Cypher 规则推理快速生成先验决策候选;在此基础上,引入 LLM 进行知识增强检索与链式思维推理,实现对策略的优化与解释生成. 试验结果表明:在仿真城市环境下,知识图谱决策的综合决策准确率达 95% 以上,平均响应时延小于60 ms;在越野实车实验中,与仅使用知识图谱或仅使用LLM的基线相比,所提方法准确率有所提升. 验证了知识图谱结构化知识与LLM推理能力的互补优势,为无人车辆高可靠决策提供了一条可行路径.

     

    Abstract: The decision-making of vehicles in complex environments is a critical aspect of autonomous driving technology. To address issues such as poor generalization and insufficient adaptability to dynamic environments in traditional decision-making methods, an intelligent decision-making framework that integrates knowledge graph and large language model (LLM) was constructed. The system first collected dynamic data on vehicles and their environment using the CARLA simulation platform, which was then combined with pre-defined static knowledge graphs to form a continuously updated comprehensive knowledge graph, uniformly stored in the Neo4j database. Subsequently, Cypher rule inference quickly generated prior decision candidates; on this basis, LLM was introduced for knowledge-enhanced retrieval and chain-of-thought reasoning, achieving optimization and explanation of strategies. Experimental results show that in simulated urban environments, the comprehensive decision accuracy of knowledge graph-based decision-making was over 95%, with an average response time of less than 60 ms; in off-road vehicle experiments, compared to baselines using only knowledge graphs or only LLM, the proposed method showed improved accuracy. This validates the complementary advantages of structured knowledge from knowledge graphs and LLM inference capabilities, providing a viable path for highly reliable decision-making in autonomous vehicles.

     

/

返回文章
返回