TL;DR
Researchers have developed LSTK (Learning from Structural and Textual Knowledge), a framework that boosts Knowledge Graph Completion by reading between the lines of raw text. By combining traditional graph triples with "soft triples" extracted from text via a neural entailment model, LSTK learns interpretable, text-enhanced rules that significantly outperform existing methods in predicting relationships between previously unseen entities.
What Problem Does This Paper Address?
Knowledge Graphs (KGs) like Wikidata or GeneOntology are vital for AI, but they are notoriously incomplete. Knowledge Graph Completion (KGC) aims to predict these missing links.
Current approaches generally fall into two camps:
- Embedding-based: These turn entities into vectors. They are powerful but act as "black boxes" and struggle with inductive reasoning—predicting links for entities the model hasn't seen during training.
- Rule-based: These learn logical rules (e.g., If X is the father of Y, and Y is the father of Z, then X is the grandfather of Z). These are interpretable and great for inductive tasks, but they usually only look at the existing graph structure.
The authors identify a major bottleneck: if a crucial "stepping stone" fact is missing from the graph, a rule-based system cannot complete the chain. However, that missing fact might be sitting right there in a news article or a scientific paper. The challenge is how to reliably extract that noisy textual information and integrate it into a formal logical framework.
Methods
The authors propose the LSTK framework, which operates in two distinct stages to bridge the gap between structured graphs and unstructured text.
Stage 1: Distant Supervision & Soft Triples
The model scans a text corpus for sentences mentioning pairs of entities. Using a BERT-based Textual Entailment model with Multi-Instance Learning (MIL), it estimates the probability that a specific relation exists between those entities based on the text. Instead of a simple "yes/no," it produces a "soft triple"—a fact with a confidence score (e.g., Barack Obama is the husband of Michelle Obama with 0.95 confidence).
Stage 2: Learning TE-rules with TELM
To handle the inherent noise in text, the authors introduced Text Enhanced rules (TE-rules). Unlike standard rules, a TE-rule can include a disjunction: it can satisfy a condition using either a "hard" fact from the graph or a "soft" fact from the text.
They developed the TE-rule Learning Model (TELM), a neural network designed to simulate logical inference. Crucially, they proved a "faithfulness" theorem: any set of TE-rules can be represented by specific parameters in their neural model. This allows them to train the model using gradient descent and then "back out" human-readable logical rules from the weights.
Datasets
The researchers evaluated their work on three benchmarks adapted from the field of relation extraction:
- HacRED: A large-scale dataset focused on hard cases in relation extraction.
- DocRED: A document-level relation extraction dataset.
- BioRel: A large-scale biomedical dataset.
They specifically processed these into inductive settings, ensuring that the entities in the test set were not present during the training of the rule-learning phase.
Key Insights and Ideas
- The "Either-Or" Logic: The most clever part of the TE-rule formalism is allowing the model to choose between structural and textual evidence. If the graph is missing a "spouse" link, the model can look for a "spouse_text" link derived from a sentence.
- Distant Supervision as a Bridge: By using textual entailment rather than simple classification, the model can handle "open" relations and exploit the rich semantics of natural language more effectively than traditional relation extraction.
- Differentiable Logic: TELM bridges the gap between the high performance of neural networks and the interpretability of symbolic logic. You get the accuracy of a deep model with the "why" of a logical rule.
Key Results
LSTK-TELM achieved state-of-the-art results across all three datasets, particularly in the Hit@1 metric (the percentage of times the correct answer is the model's top choice):
- HacRED: Outperformed the strongest baseline (LSTK-DRUM) by an absolute gain of 24.8%.
- BioRel: Saw an absolute gain of 22.4%.
- DocRED: Improved by 4.2%.
Ablation studies confirmed that the "soft triples" were the primary driver of these gains. Without the textual knowledge, the model's ability to reason through incomplete graphs plummeted.
Limitations and Future Work
- Error Propagation: Because LSTK is a two-stage pipeline, errors made by the BERT model in Stage 1 (misinterpreting a sentence) can mislead the rule-learner in Stage 2. The authors suggest moving toward a fully end-to-end framework in the future.
- Alignment Dependency: The method currently relies on having a text corpus that is somewhat aligned with the entities in the Knowledge Graph.
- Computational Cost: Extracting soft triples from massive text corpora via BERT is computationally expensive, though the authors mitigated this using graph partitioning (METIS).
Overall, this paper provides a robust blueprint for making Knowledge Graphs "smarter" by allowing them to learn from the vast, unstructured world of human language.
Summary updated