Skip to main content
QUICK REVIEW

[Paper Review] Variational Knowledge Graph Reasoning

Wenhu Chen, Wenhan Xiong|arXiv (Cornell University)|Mar 17, 2018
Advanced Graph Neural NetworksComputer Science22 references20 citations
TL;DR

This paper proposes Diva, a variational inference framework that unifies path-finding and path-reasoning in knowledge graphs by modeling paths as latent variables. By jointly optimizing a posterior approximator, prior (path finder), and likelihood (path reasoner) through variational inference, Diva achieves state-of-the-art performance on link prediction tasks while improving robustness to noise and complex reasoning scenarios.

ABSTRACT

Inferring missing links in knowledge graphs (KG) has attracted a lot of attention from the research community. In this paper, we tackle a practical query answering task involving predicting the relation of a given entity pair. We frame this prediction problem as an inference problem in a probabilistic graphical model and aim at resolving it from a variational inference perspective. In order to model the relation between the query entity pair, we assume that there exists an underlying latent variable (paths connecting two nodes) in the KG, which carries the equivalent semantics of their relations. However, due to the intractability of connections in large KGs, we propose to use variation inference to maximize the evidence lower bound. More specifically, our framework ( extsc{Diva}) is composed of three modules, i.e. a posterior approximator, a prior (path finder), and a likelihood (path reasoner). By using variational inference, we are able to incorporate them closely into a unified architecture and jointly optimize them to perform KG reasoning. With active interactions among these sub-modules, extsc{Diva} is better at handling noise and coping with more complex reasoning scenarios. In order to evaluate our method, we conduct the experiment of the link prediction task on multiple datasets and achieve state-of-the-art performances on both datasets.

Motivation & Objective

  • To address the limitations of existing knowledge graph reasoning methods that treat path-finding and path-reasoning as separate, non-interactive processes.
  • To improve robustness against noise and adversarial samples by enabling active interaction between path-finding and path-reasoning modules.
  • To develop a unified probabilistic framework that models paths as latent variables and performs joint optimization via variational inference.
  • To incorporate negative samples into training to enhance model generalization and performance on unseen reasoning scenarios.
  • To scale the method to large knowledge graphs while maintaining high accuracy in multi-hop link prediction.

Proposed method

  • The framework models the relation between an entity pair as a latent variable (path) in a probabilistic graphical model, with the path-finding module acting as a prior distribution.
  • The path-reasoning module acts as a likelihood distribution, classifying paths into relation classes based on learned representations.
  • A posterior approximator is introduced to estimate the true posterior over latent paths, enabling end-to-end training via variational inference.
  • The model maximizes the evidence lower bound (ELBO) to jointly optimize the prior, likelihood, and posterior approximator using neural network-based components.
  • The path-finder uses beam search with a fixed beam size to explore multiple candidate paths, while the path-reasoner scores each path using learned representations.
  • Negative samples are explicitly incorporated during training to improve robustness and prevent overfitting to positive path patterns.

Experimental results

Research questions

  • RQ1How can path-finding and path-reasoning be jointly optimized in a unified framework to improve reasoning performance?
  • RQ2Can modeling paths as latent variables in a variational inference framework enhance robustness to noisy or incomplete knowledge graphs?
  • RQ3To what extent does incorporating negative samples during training improve generalization in multi-hop knowledge graph reasoning?
  • RQ4How does the interaction between the path-finder and path-reasoner modules affect performance on complex reasoning tasks?
  • RQ5What is the optimal beam size for balancing path diversity and noise in the path-finding process?

Key findings

  • Diva achieves state-of-the-art performance on two popular knowledge graph benchmark datasets for link prediction, outperforming prior methods.
  • The model demonstrates improved robustness to noise and adversarial samples due to the active interaction between the path-finding and path-reasoning modules.
  • Using a beam size of 5 provides the optimal trade-off between path diversity and noise, as shown by MAP and error ratio curves in the ablation study.
  • Error analysis reveals that the majority of failures stem from knowledge graph noise (e.g., missing or duplicate entities), while 'wrong reasoning' errors are primarily due to the path-reasoner and can be improved with better algorithms.
  • The framework successfully scales to large knowledge graphs and generalizes well to unseen reasoning scenarios through joint training and negative sample utilization.
  • Failure cases in Table 5 illustrate that 'duplicate entity' and 'missing entity' issues are largely due to KG quality, while 'wrong reasoning' errors are model-specific and amenable to improvement.

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.