arXiv:2503.12663cs.CVcs.CL2025-03ICRA被引 5

用逻辑知识增强大模型,提升自动驾驶场景的空间理解能力

Logic-RAG: Augmenting Large Multimodal Models with Visual-Spatial Knowledge for Road Scene Understanding

  • 构建基于一阶逻辑的动态知识库,描述物体间空间关系
  • 使大模型在真实驾驶场景中空间推理准确率从75%提升至90%
  • 支持专家以自然语言或逻辑形式添加新知识,可灵活替换组件

大型多模态模型(LMMs)正被越来越多地用于自动驾驶系统的用户交互,但其在细粒度空间推理上的局限性影响了系统可解释性和用户信任。本文提出Logic-RAG,一种新型检索增强生成框架,通过感知模块、查询转逻辑嵌入器和逻辑推理引擎,构建关于物体-物体关系的一阶逻辑(FOL)动态知识库,以增强LMMs在驾驶场景中的空间理解能力。在合成与真实驾驶视频上评估了视觉-空间查询任务。当使用GPT-4V、Claude 3.5等主流LMM作为代理时,其在合成场景中准确率仅55%,真实场景低于75%。引入Logic-RAG后,准确率分别提升至80%以上和90%以上。消融实验表明,即使不启用逻辑推理,仅基于事实构建的上下文也能使准确率提升15%。Logic-RAG具备可扩展性,支持组件替换,并允许领域专家以一阶逻辑或自然语言组合新知识。代码与数据已开源。

原文摘要 · Abstract (English)

Large multimodal models (LMMs) are increasingly integrated into autonomous driving systems for user interaction. However, their limitations in fine-grained spatial reasoning pose challenges for system interpretability and user trust. We introduce Logic-RAG, a novel Retrieval-Augmented Generation (RAG) framework that improves LMMs' spatial understanding in driving scenarios. Logic-RAG constructs a dynamic knowledge base (KB) about object-object relationships in first-order logic (FOL) using a perception module, a query-to-logic embedder, and a logical inference engine. We evaluated Logic-RAG on visual-spatial queries using both synthetic and real-world driving videos. When using popular LMMs (GPT-4V, Claude 3.5) as proxies for an autonomous driving system, these models achieved only 55% accuracy on synthetic driving scenes and under 75% on real-world driving scenes. Augmenting them with Logic-RAG increased their accuracies to over 80% and 90%, respectively. An ablation study showed that even without logical inference, the fact-based context constructed by Logic-RAG alone improved accuracy by 15%. Logic-RAG is extensible: it allows seamless replacement of individual components with improved versions and enables domain experts to compose new knowledge in both FOL and natural language. In sum, Logic-RAG addresses critical spatial reasoning deficiencies in LMMs for autonomous driving applications. Code and data are available at https://github.com/Imran2205/LogicRAG.

多模态模型空间推理自动驾驶知识增强

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。