Command Palette
Search for a command to run...
Friendly Neighbors: Contextualized Sequence-to-Sequence Link Prediction
Adrian Kochsiek Apoorv Saxena Inderjeet Nair Rainer Gemulla

Abstract
We propose KGT5-context, a simple sequence-to-sequence model for link prediction (LP) in knowledge graphs (KG). Our work expands on KGT5, a recent LP model that exploits textual features of the KG, has small model size, and is scalable. To reach good predictive performance, however, KGT5 relies on an ensemble with a knowledge graph embedding model, which itself is excessively large and costly to use. In this short paper, we show empirically that adding contextual information - i.e., information about the direct neighborhood of the query entity - alleviates the need for a separate KGE model to obtain good performance. The resulting KGT5-context model is simple, reduces model size significantly, and obtains state-of-the-art performance in our experimental study.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| link-prediction-on-wikidata5m | KGT5-context + Description | Hits@1: 0.406 Hits@10: 0.46 Hits@3: 0.44 MRR: 0.426 |
| link-prediction-on-wikidata5m | KGT5 + Description | Hits@1: 0.357 Hits@10: 0.422 Hits@3: 0.397 MRR: 0.381 |
| link-prediction-on-wikidata5m | KGT5-context | Hits@1: 0.35 Hits@10: 0.427 Hits@3: 0.396 MRR: 0.378 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.