TL;DR
SKG-KGC is a new framework that boosts Knowledge Graph Completion (KGC) by leveraging "shared knowledge" at two levels: expanding datasets with summarized descriptions of similar entities and using a dynamic multi-task learning strategy that automatically prioritizes the hardest subtasks. It achieves a significant performance leap on the WN18RR benchmark, moving MRR from 66.6% to 72.2%.
What Problem Does This Paper Address?
Knowledge Graphs (KGs) are the backbone of modern AI, powering everything from search engines to recommendation systems by storing facts as triples: $(head\ entity, relation, tail\ entity)$. However, KGs are notoriously incomplete. Knowledge Graph Completion (KGC) aims to predict these missing links.
The authors identify a major oversight in current KGC research: Shared Knowledge.
- Dataset Level: Many entities share common features. For example, in the triples (Kirsten Dunst, film actor, Spider-Man) and (Willem Dafoe, film actor, Spider-Man), both heads share the same relation and tail. Current models often treat these as isolated facts rather than learning from the "set" of actors associated with that film.
- Task Level: KGC involves three subtasks: predicting the head, the tail, or the relation. These tasks aren't equally difficult. Because of how data is distributed (e.g., one-to-many relations), predicting a head entity might be much harder than predicting a tail. Most models treat these tasks with equal weight, leading to imbalanced performance.
Methods
The authors propose SKG-KGC (Shared Knowledge Guided KGC), which operates on two tiers:
1. Dataset Expansion via Text Summarization
To capture shared features, the model groups entities that appear in similar contexts (sharing the same $h,r$ or $r,t$). To prevent the input text from becoming a bloated "word salad," they use the TextRank algorithm to summarize these entity sets. This provides the model with a condensed, "essential" description of the shared knowledge surrounding a triple.
2. Bi-Encoder Architecture
Unlike slow "cross-encoders" that compare every possible pair, SKG-KGC uses a bi-encoder setup. One encoder processes the "known" elements (e.g., head and relation), and the other processes the "candidate" missing element. This allows for massive speedups during inference because candidate embeddings can be pre-computed.
3. Balanced Multi-Task Learning (MTL)
The model simultaneously learns to predict heads, tails, and relations. The "secret sauce" is a dynamic loss weight allocation scheme inspired by focal loss. If the model is struggling with head prediction but acing relation prediction, the system automatically cranks up the "importance" (loss weight) of the head prediction task in the next training epoch.
Datasets
The model was evaluated on three standard benchmarks:
- WN18RR: A subset of WordNet (lexical database).
- FB15k-237: A subset of Freebase (general facts).
- Wikidata5M: A massive-scale dataset with nearly 5 million entities, used for both transductive (all entities seen during training) and inductive (predicting links for totally new entities) settings.
Key Insights and Ideas
- The Power of Neighbors: In WN18RR, a staggering 66.9% of triples share the same $(r, t)$ with at least one other triple. Ignoring this overlap is leaving performance on the table.
- Summarization is Key: Simply concatenating descriptions of similar entities leads to "information overload." Using TextRank to pick the top 3 most relevant sentences provides the "Goldilocks" amount of context.
- Task Disparity: The authors found that head entity prediction is significantly harder than tail prediction in many KGs. By dynamically adjusting loss weights, the model stops "over-learning" the easy tasks and focuses its parameters on the hard ones.
Key Results
- State-of-the-Art (SOTA) on WN18RR: The model achieved an MRR (Mean Reciprocal Rank) of 72.2%, a massive improvement over the previous best text-based model (SimKGC at 66.6%).
- Hit@1 Improvements: On WN18RR, the probability of the correct answer being the model's #1 choice jumped from 58.7% to 67.0%.
- Efficiency: Despite being a multi-task model, it is remarkably fast. Training on WN18RR takes about 2.5 hours compared to the 7.8 hours required by previous MTL-KGC models, and inference is over 20x faster.
- Inductive Success: On Wikidata5M, the model proved it could generalize to unseen entities, outperforming specialized inductive models like KEPLER.
Limitations and Future Work
- Structural vs. Semantic: While the model is excellent at understanding text, it can still be "fooled" by semantic similarity. In a case study, the model struggled to identify the profession of the artist "Flo Rida" because his description contained words like "song," leading the model to guess "Record Producer" instead of "Artist."
- FB15k-237 Performance: While competitive, the model still trails some structure-based methods on this specific dataset. The authors attribute this to the dataset having fewer entities and more complex relational rules that text alone struggles to capture.
- Future Direction: The authors plan to explore integrating graph embeddings (structural info) with their text-based approach to get the best of both worlds.
Summary updated