Skip to main content
QUICK REVIEW

[论文解读] Knowledge Base Question Answering by Case-based Reasoning over Subgraphs

Raj Das, Ameya Godbole|arXiv (Cornell University)|Feb 22, 2022
Topic ModelingComputer Science被引用 26
一句话总结

一种半参数化的 KBQA 模型(Cbr-subg)检索相似的训练查询以构建查询特定的子图,并使用基于 GNN 的推理模块来识别答案,从而实现子图级推理并扩展到大型知识库的可扩展性。

ABSTRACT

Question answering (QA) over knowledge bases (KBs) is challenging because of the diverse, essentially unbounded, types of reasoning patterns needed. However, we hypothesize in a large KB, reasoning patterns required to answer a query type reoccur for various entities in their respective subgraph neighborhoods. Leveraging this structural similarity between local neighborhoods of different subgraphs, we introduce a semiparametric model (CBR-SUBG) with (i) a nonparametric component that for each query, dynamically retrieves other similar $k$-nearest neighbor (KNN) training queries along with query-specific subgraphs and (ii) a parametric component that is trained to identify the (latent) reasoning patterns from the subgraphs of KNN queries and then apply them to the subgraph of the target query. We also propose an adaptive subgraph collection strategy to select a query-specific compact subgraph, allowing us to scale to full Freebase KB containing billions of facts. We show that CBR-SUBG can answer queries requiring subgraph reasoning patterns and performs competitively with the best models on several KBQA benchmarks. Our subgraph collection strategy also produces more compact subgraphs (e.g. 55\% reduction in size for WebQSP while increasing answer recall by 4.85\%)\footnote{Code, model, and subgraphs are available at \url{https://github.com/rajarshd/CBR-SUBG}}.

研究动机与目标

  • 激发需要比简单路径更复杂的子图推理模式的 KBQA。
  • 介绍一个基于半参数化 CBR 的模型,使用最近邻检索相似查询和查询特定的子图。
  • 开发一种自适应子图收集策略,以扩展到像 Freebase 这样拥有十亿条边的知识库。
  • 提出一种基于 GNN 的推理机制,将来自 KNN 子图的推理模式迁移到目标查询。

提出的方法

  • 使用掩码实体查询表征和 RoBERTa 基嵌入来检索 k 最近邻的训练查询。
  • 对每个查询,通过从检索到的案例跟随关系链来构建查询特定的子图,形成紧凑的子图。
  • 用关系图卷积网络对子图进行编码,以获得节点表征。
  • 通过目标查询子图的答案表征与来自 KNN 子图的答案表征之间的最近邻匹配来识别答案节点,使用对比损失训练。
  • 使用一种使目标子图中的答案节点与检索子图中的答案节点对齐的损失进行训练(NT-Xent 风格)。
  • 推理期间,对目标子图和 KNN 子图执行消息传递,并选择得分最高的节点作为答案。

实验结果

研究问题

  • RQ1Cbr-subg 是否能够在没有注释推理图的情况下学习并应用潜在的子图推理模式?
  • RQ2检索相似查询并构建查询特定子图是否提升在大型知识库上的 KBQA 性能?
  • RQ3非参数子图收集是否能够处理未见实体和新证据?
  • RQ4对 KNN 查询子图的推理是否优于基于路径或纯参数方法?

主要发现

  • Cbr-subg 在若干 KBQA 基准测试上取得具有竞争力的性能,特别是在报告的结果中显著优于 FreebaseQA 的许多基线。
  • 子图收集策略产生紧凑的子图并提高召回率(例如 WebQSP 规模减少了 55%,召回率提升 4.85%)。
  • 该模型展示出强大的潜在子图推理模式建模能力,并能处理新实体,原因是稀疏且以关系为中心的节点表征。
  • 与纯参数模型(如 GNN+TransE)相比,Cbr-subg 在所测试的模式类型上持续提升性能。
  • 对子图的推理(CBR-subg)在很大程度上优于基于路径的变体(CBR-path),尤其在需要组合与交集的复杂模式上。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。