Introduction
Knowledge Graph Completion (KGC) is a fundamental task in artificial intelligence, aimed at expanding existing knowledge bases by predicting missing facts. Traditionally, this has been approached through link prediction, which assumes partial knowledge of a missing triple. However, real-world scenarios often lack these "hints." This paper introduces Triple Set Prediction (TSP), a paradigm shift that aims to predict missing triples "from zero."
The Triple Set Prediction Task
In standard KGC tasks like link prediction or instance completion, the model is provided with some elements of a missing triple (e.g., the head entity and the relation) and asked to find the missing piece. As illustrated in Figure 1, these tasks rely on prior information that is often hard to obtain in practice.
Triple Set Prediction (TSP) removes these constraints. Given an existing Knowledge Graph (KG), the goal is to output a set of entirely new, valid triples $(h, r, t)$. This "start from zero" approach makes KGC truly autonomous but introduces a massive search space. For a graph with $N$ entities and $R$ relations, there are $N \times R \times N$ possible candidates, leading to a combinatorial explosion that traditional methods cannot handle efficiently.
The GPHT Framework
To address the computational challenges of TSP, the authors propose GPHT (Graph Partition and Head-tail entity pair prediction). This multi-stage framework is designed to prune the search space effectively while maintaining high prediction accuracy.
The GPHT pipeline consists of three primary stages:
- Graph Partitioning: The model leverages a "Space Assumption," which posits that entities far apart in the graph are unlikely to be directly related. By dividing the KG into overlapping subgraphs, the model drastically narrows the initial search space.
- Head-Tail Entity Modeling (HTEM): Within the identified subgraphs, a Relational Graph Neural Network (CompGCN) learns structural representations. An attention-based decoder then identifies entity pairs $(h, t)$ with a high probability of having a missing relationship.
- Relationship Modeling: Finally, Knowledge Graph Embedding (KGE) techniques, such as HAKE or PairRE, are applied to the candidate pairs to predict the specific relation $r$ that completes the triple.
Evaluation and Metrics
The authors also address the inadequacy of traditional metrics like Mean Reciprocal Rank (MRR) for set-based prediction. They introduce four new metrics, including Joint Precision and Squared Test Recall, to evaluate performance under both Open-World and Closed-World assumptions.
Experiments were conducted on three datasets: Wiki79k, Wiki143k (newly created subsets from Wikidata), and CFamily (a complete family tree dataset). GPHT demonstrated superior performance over adapted baselines, achieving significant speedups. For instance, on the Wiki143k dataset, GPHT was able to process the massive candidate pool in a fraction of the time required by standard KGE-based approaches. On the CFamily dataset, the model successfully pruned the candidate space down to just 1.3% of the original triples while still capturing the majority of missing facts.
Conclusion
By moving from triple-level completion to graph-level set prediction, this work makes Knowledge Graph Completion more autonomous and applicable to real-world scenarios. The GPHT framework proves that graph partitioning is a powerful heuristic for managing combinatorial complexity, allowing for efficient and accurate "from zero" prediction. Future work will focus on scaling this approach to industrial-sized knowledge graphs and further refining the underlying embedding models.
Summary updated