arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2212.09567cs.LGcs.AIcs.DBcs.SI
收藏

通过查询计算树优化回答知识图谱上的复杂逻辑查询

Answering Complex Logical Queries on Knowledge Graphs via Query Computation Tree Optimization

Tsinghua University(清华大学);Institute for Artificial Intelligence(人工智能研究院)

Yushi Bai, Xin Lv, Juanzi Li, Lei Hou

AI总结:

针对不完整知识图谱上复杂逻辑查询的推理难题,提出 QTO,利用查询计算树上的前向-后向传播求得精确最优解,并在 3 个数据集上平均提升 22%。

摘要:

在不完整知识图谱上回答复杂逻辑查询是一项具有挑战性的任务,并已得到广泛研究。基于嵌入的方法需要在复杂查询上进行训练,并且不能很好地泛化到分布外查询结构。近期工作将该任务表述为一个端到端优化问题,并且只需要一个预训练的链接预测器。然而,由于组合搜索空间呈指数级增大,最优解只能被近似,从而限制了最终准确率。在本文中,我们提出 QTO(Query Computation Tree Optimization,查询计算树优化),它能够高效找到精确最优解。QTO 通过在树状计算图(即查询计算树)上进行前向-后向传播来找到最优解。具体而言,QTO 利用查询计算树中编码的独立性来缩小搜索空间,在优化过程中只涉及局部计算。在 3 个数据集上的实验表明,QTO 在复杂查询回答上取得了最先进性能,平均比此前最佳结果高出 22%。此外,QTO 能够以超过 90% 的准确率解释查询中每个一跳原子的中间解。本文代码位于 https://github.com/bys0318/QTO。

英文摘要:

Answering complex logical queries on incomplete knowledge graphs is a challenging task, and has been widely studied. Embedding-based methods require training on complex queries, and cannot generalize well to out-of-distribution query structures. Recent work frames this task as an end-to-end optimization problem, and it only requires a pretrained link predictor. However, due to the exponentially large combinatorial search space, the optimal solution can only be approximated, limiting the final accuracy. In this work, we propose QTO (Query Computation Tree Optimization) that can efficiently find the exact optimal solution. QTO finds the optimal solution by a forward-backward propagation on the tree-like computation graph, i.e., query computation tree. In particular, QTO utilizes the independence encoded in the query computation tree to reduce the search space, where only local computations are involved during the optimization procedure. Experiments on 3 datasets show that QTO obtains state-of-the-art performance on complex query answering, outperforming previous best results by an average of 22%. Moreover, QTO can interpret the intermediate solutions for each of the one-hop atoms in the query with over 90% accuracy. The code of our paper is at https://github.com/bys0318/QTO.

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

↑