Less is More: One-shot Subgraph Reasoning on Large-scale Knowledge Graphs

Zhanke Zhou, Yongqi Zhang, Jiangchao Yao, Quanming Yao, Bo Han
3/15/2024
cs.LGcs.AIcs.SI

Official code: tmlr-group/one-shot-subgraph (10 stars, MIT, last commit 2024-03-21). 1 more implementation below.

Abstract

To deduce new facts on a knowledge graph (KG), a link predictor learns from the graph structure and collects local evidence to find the answer to a given query. However, existing methods suffer from a severe scalability problem due to the utilization of the whole KG for prediction, which hinders their promise on large scale KGs and cannot be directly addressed by vanilla sampling methods. In this work, we propose the one-shot-subgraph link prediction to achieve efficient and adaptive prediction. The design principle is that, instead of directly acting on the whole KG, the prediction procedure is decoupled into two steps, i.e., (i) extracting only one subgraph according to the query and (ii) predicting on this single, query dependent subgraph. We reveal that the non-parametric and computation-efficient heuristics Personalized PageRank (PPR) can effectively identify the potential answers and supporting evidence. With efficient subgraph-based prediction, we further introduce the automated searching of the optimal configurations in both data and model spaces. Empirically, we achieve promoted efficiency and leading performances on five large-scale benchmarks. The code is publicly available at: https://github.com/tmlr-group/one-shot-subgraph.

View on arXivView PDF

Code Implementations(2)

MIT

[ICLR 2024] "Less is More: One-shot Subgraph Reasoning on Large-scale Knowledge Graphs"

102PythonMar 13, 20242 years agoMIT
knowledge-graphpersonalized-pagerank
MIT

[ICLR 2024] "Less is More: One-shot Subgraph Reasoning on Large-scale Knowledge Graphs"

114PythonMar 12, 20242 years agoMIT
knowledge-graphpersonalized-pagerank

Similar Papers

Cite this paper

@article{zhou2024less,
  title  = {Less is More: One-shot Subgraph Reasoning on Large-scale Knowledge Graphs},
  author = {Zhanke Zhou and Yongqi Zhang and Jiangchao Yao and Quanming Yao and Bo Han},
  year   = {2024},
  eprint = {2403.10231},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.10231v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.10231.svg)](https://codeofpaper.com/paper/2403.10231)

Discussion