Reinforcement Learning Based Query Vertex Ordering Model for Subgraph Matching
Zhejiang Gongshang University(浙江工商大学);University of New South Wales(新南威尔士大学);University of Technology Sydney(悉尼科技大学);Hong Kong University of Science and Technology(香港科技大学)
Hanchen Wang, Ying Zhang, Lu Qin, Wei Wang, Wenjie Zhang, Xuemin Lin
Subgraph matching is a fundamental problem in various fields that use graph structured data. Subgraph matching algorithms enumerate all isomorphic embeddings of a query graph q in a data graph G. An important branch of matching algorithms exploit the backtracking search approach which recursively extends intermediate results following a matching order of query vertices. It has been shown that the matching order plays a critical role in time efficiency of these backtracking based subgraph matching algorithms. In recent years, many advanced techniques for query vertex ordering (i.e., matching order generation) have been proposed to reduce the unpromising intermediate results according to the preset heuristic rules. In this paper, for the first time we apply the Reinforcement Learning (RL) and Graph Neural Networks (GNNs) techniques to generate the high-quality matching order for subgraph matching algorithms. Instead of using the fixed heuristics to generate the matching order, our model could capture and make full use of the graph information, and thus determine the query vertex order with the adaptive learning-based rule that could significantly reduces the number of redundant enumerations. With the help of the reinforcement learning framework, our model is able to consider the long-term benefits rather than only consider the local information at current ordering step.Extensive experiments on six real-life data graphs demonstrate that our proposed matching order generation technique could reduce up to two orders of magnitude of query processing time compared to the state-of-the-art algorithms.
Knowledge Base Question Answering by Case-based Reasoning over Subgraphs
UMass Amherst(马萨诸塞大学阿默斯特分校);University of Southern California(南加州大学);Google DeepMind(谷歌DeepMind);University of Washington(华盛顿大学)
知识库上的问答(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}}。
Less is More: One-shot Subgraph Reasoning on Large-scale Knowledge Graphs
Hong Kong Baptist University(香港浸会大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Shanghai Jiao Tong University(上海交通大学);Tsinghua University(清华大学)
xERTE: Explainable Reasoning on Temporal Knowledge Graphs for Forecasting Future Links
Institute of Informatics, LMU Munich(慕尼黑大学信息学研究所);Corporate Technology, Siemens AG(西门子股份公司中央研究院);Department of Informatics, Technical University of Munich(慕尼黑工业大学信息学系)