Skip to main content
QUICK REVIEW

[Paper Review] Knowledge Graph Embedding with Iterative Guidance from Soft Rules

Shu Guo, Quan Wang|arXiv (Cornell University)|Nov 30, 2017
Advanced Graph Neural NetworksComputer Science39 references23 citations
TL;DR

This paper proposes RUGE, a knowledge graph embedding framework that iteratively refines entity and relation representations by jointly learning from observed triples, predicted labels for unlabeled triples, and automatically extracted soft rules with varying confidence levels. The method achieves state-of-the-art performance in link prediction on Freebase and YAGO by leveraging iterative feedback between embedding learning and rule-guided inference.

ABSTRACT

Embedding knowledge graphs (KGs) into continuous vector spaces is a focus of current research. Combining such an embedding model with logic rules has recently attracted increasing attention. Most previous attempts made a one-time injection of logic rules, ignoring the interactive nature between embedding learning and logical inference. And they focused only on hard rules, which always hold with no exception and usually require extensive manual effort to create or validate. In this paper, we propose Rule-Guided Embedding (RUGE), a novel paradigm of KG embedding with iterative guidance from soft rules. RUGE enables an embedding model to learn simultaneously from 1) labeled triples that have been directly observed in a given KG, 2) unlabeled triples whose labels are going to be predicted iteratively, and 3) soft rules with various confidence levels extracted automatically from the KG. In the learning process, RUGE iteratively queries rules to obtain soft labels for unlabeled triples, and integrates such newly labeled triples to update the embedding model. Through this iterative procedure, knowledge embodied in logic rules may be better transferred into the learned embeddings. We evaluate RUGE in link prediction on Freebase and YAGO. Experimental results show that: 1) with rule knowledge injected iteratively, RUGE achieves significant and consistent improvements over state-of-the-art baselines; and 2) despite their uncertainties, automatically extracted soft rules are highly beneficial to KG embedding, even those with moderate confidence levels. The code and data used for this paper can be obtained from https://github.com/iieir-km/RUGE.

Motivation & Objective

  • To address the limitations of one-time rule injection in knowledge graph embedding, which fails to exploit the interactive feedback between embedding models and logical rules.
  • To explore the utility of soft rules—rules with uncertainty or confidence levels—rather than relying solely on hard, exceptionless rules that require extensive manual curation.
  • To design a joint learning framework that alternately predicts soft labels for unlabeled triples and updates embeddings using both labeled and rule-informed predictions.
  • To empirically validate that even moderately confident soft rules can significantly improve embedding quality when used iteratively.
  • To demonstrate that iterative integration of rule knowledge leads to consistent and substantial improvements over state-of-the-art baselines in link prediction tasks.

Proposed method

  • RUGE alternates between two stages per iteration: (1) soft label prediction using current embeddings and extracted soft rules, and (2) embedding rectification by jointly optimizing over labeled triples and rule-predicted unlabeled triples.
  • Soft rules are automatically extracted from the knowledge graph using rule mining techniques and assigned confidence scores reflecting their reliability.
  • The model integrates soft labels into the training objective by treating them as probabilistic supervision, allowing uncertainty in rule-based predictions to be preserved during optimization.
  • Embedding learning is performed via a differentiable loss function that combines supervision from observed triples and rule-inferred labels, enabling end-to-end training with gradient descent.
  • The framework is compatible with existing knowledge graph embedding models such as ComplEx, PTransE, and KALE, allowing it to be plugged into various architectures.
  • Rule confidence thresholds are tuned to balance the inclusion of informative but uncertain rules versus noisy ones, with optimal performance observed at 0.8 on FB15K.

Experimental results

Research questions

  • RQ1Can iterative integration of soft rules improve knowledge graph embedding performance beyond one-time rule injection?
  • RQ2How effective are automatically extracted soft rules—especially those with moderate confidence levels—compared to hard rules in enhancing embedding quality?
  • RQ3Does the feedback loop between embedding prediction and rule-based label refinement lead to consistent performance gains across different knowledge graphs?
  • RQ4What is the impact of rule confidence thresholds on the final embedding quality and model robustness?
  • RQ5How does the computational cost of RUGE compare to existing rule-injected and baseline embedding models?

Key findings

  • RUGE achieves a 11% relative improvement in MRR and an 18% improvement in HITS@1 on FB15K compared to the best baseline, ComplEx.
  • On YAGO37, RUGE improves MRR by 3% and HITS@1 by 6% over ComplEx, demonstrating consistent gains across datasets.
  • Even soft rules with confidence levels as low as 0.35 still provide significant performance gains, indicating that uncertainty in rules does not preclude their usefulness.
  • The optimal rule confidence threshold is 0.8 on FB15K, where performance peaks; lower thresholds introduce noise, and higher thresholds reduce rule coverage.
  • RUGE's training time per iteration increases only moderately—from 11.4s to 14.1s on FB15K and from 49.5s to 55.2s on YAGO37—despite integrating rule-based supervision.
  • The preprocessing steps (rule/path extraction and propositionalization) are efficient, requiring significantly less time than PTransE’s approach, especially on YAGO37.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.