HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Canonical Tensor Decomposition for Knowledge Base Completion

Timothée Lacroix; Nicolas Usunier; Guillaume Obozinski

Canonical Tensor Decomposition for Knowledge Base Completion

Abstract

The problem of Knowledge Base Completion can be framed as a 3rd-order binary tensor completion problem. In this light, the Canonical Tensor Decomposition (CP) (Hitchcock, 1927) seems like a natural solution; however, current implementations of CP on standard Knowledge Base Completion benchmarks are lagging behind their competitors. In this work, we attempt to understand the limits of CP for knowledge base completion. First, we motivate and test a novel regularizer, based on tensor nuclear $p$-norms. Then, we present a reformulation of the problem that makes it invariant to arbitrary choices in the inclusion of predicates or their reciprocals in the dataset. These two methods combined allow us to beat the current state of the art on several datasets with a CP decomposition, and obtain even better results using the more advanced ComplEx model.

Code Repositories

facebookresearch/kbc
Official
pytorch
Mentioned in GitHub
twktheainur/kbc
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
dynamic-link-prediction-on-wn18-filteredComplEx-N3 (reciprocal)
Mrr@2: 0.9
link-prediction-on-fb15k-1ComplEx-N3 (reciprocal)
Hits@10: 0.91
MRR: 0.86
link-prediction-on-wn18ComplEx-N3 (reciprocal)
Hits@10: 0.96
link-prediction-on-wn18rrComplEx-N3 (reciprocal)
Hits@10: 0.57
MRR: 0.48
link-prediction-on-yago3-10ComplEx-N3 (reciprocal)
MRR: 0.58
link-prediction-on-yago3-10ComplEx-N3 (large model, reciprocal)
Hits@10: 0.71

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.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Canonical Tensor Decomposition for Knowledge Base Completion | Papers | HyperAI