arXiv:2503.14957cs.CV2025-03被引 2

用神经符号框架让AI理解操作视频中的步骤逻辑并可解释推理过程。

Neuro Symbolic Knowledge Reasoning for Procedural Video Question Answering

  • 将知识图谱关系建模为可组合的神经模块,结合大模型生成推理程序。
  • 在新构建的PKR-QA基准上,比纯大模型和黑箱模型提升推理准确率。
  • 适合需要可解释性、结构化推理的任务,如教学视频问答。

本文提出知识模块学习(KML)框架,用于理解需结构化与组合式知识的流程任务。KML是一种神经符号方法,将知识图谱中的关系类别建模为神经知识模块,并由大语言模型(LLM)组合生成可执行的推理程序。每个模块编码特定流程关系,如工具与步骤、工具用途、任务步骤之间的关联。给定视频中任务的问题,KML可进行多步推理,具备透明可追踪的中间状态。理论分析表明,KML满足对知识图谱关系建模的强最优条件,且在多步推理中误差有理论上限。我们基于COIN视频数据集、COIN本体、ConceptNet常识关系及大模型结构化抽取,构建了涵盖多领域的大规模流程知识图谱(PKG),并通过图遍历模板生成问题答案对,构建了PKR-QA基准。实验显示,KML在结构化推理性能上优于仅使用LLM和黑箱神经基线,同时提供可解释的逐步推理轨迹。代码已开源:https://github.com/LUNAProject22/KML。

原文摘要 · Abstract (English)

In this work we present Knowledge Module Learning (KML) to understand and reason over procedural tasks that requires models to learn structured and compositional procedural knowledge. KML is a neurosymbolic framework that learns relation categories within a knowledge graph as neural knowledge modules and composes them into executable reasoning programs generated by large language models (LLMs). Each module encodes a specific procedural relation capturing how each entity type such as tools are related to steps, purpose of each tool, and steps of each task. Given a question conditioned on a task shown in a video, then KML performs multistep reasoning with transparent, traceable intermediate states. Our theoretical analysis demonstrated two desired properties of KML. KML satisfy strong optimal conditions for modelling KG relations as neural mappings, providing strong foundations for generalizable procedural reasoning. It also shows a bound on the expected error when it performs multistep reasoning. To evaluate this model, we construct a large procedural knowledge graph (PKG) consisting of diverse instructional domains by integrating the COIN instructional video dataset, and COIN ontology, commonsense relations from ConceptNet, and structured extractions from LLMs, followed by expert verification. We then generate question and answer pairs by applying graph traversal templates over the PKG, constructing the PKR-QA benchmark for procedural knowledge reasoning. Experiments show that KML improves structured reasoning performance while providing interpretable step-by-step traces, outperforming LLM-only and black-box neural baselines. Code is publicly available at https://github.com/LUNAProject22/KML.

知识图谱可解释推理视频问答神经符号

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