arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.10610cs.CLcs.AIcs.LG
收藏

基于子图案例推理的知识库问答

Knowledge Base Question Answering by Case-based Reasoning over Subgraphs

UMass Amherst(马萨诸塞大学阿默斯特分校);University of Southern California(南加州大学);Google DeepMind(谷歌DeepMind);University of Washington(华盛顿大学)

Rajarshi Das, Ameya Godbole, Ankita Naik, Elliot Tower, Robin Jia, Manzil Zaheer, Hannaneh Hajishirzi, Andrew McCallum

摘要:

知识库上的问答(QA)是一个具有挑战性的问题,因为它需要各种各样的推理模式。然而,我们假设在一个大的KB,推理模式需要回答的查询类型重新出现在各自的子图邻域中的各种实体。利用不同子图的局部邻域之间的这种结构相似性,我们引入了半参数模型(CBR-SUBG)具有(i)非参数分量,对于每个查询,动态检索其他类似的$k$ -最近邻(KNN)训练查询以及查询特定的子图,以及(ii)被训练以识别(潜在)从KNN查询的子图中推理模式,然后将它们应用于目标查询的子图。我们还提出了一个自适应的子图收集策略来选择一个查询特定的紧凑子图,使我们能够扩展到包含数十亿事实的完整Freebase KB。我们表明,CBR-SUBG可以回答需要子图推理模式的查询,并在几个KBQA基准测试中与最佳模型竞争。我们的子图收集策略还产生更紧凑的子图(例如,WebQSP的大小减少了55\%,而答案召回率增加了4.85\%)\footnote{Code, model, and subgraphs are available at \url{https://github.com/rajarshd/CBR-SUBG}}。

英文摘要:

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}}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑