Skip to main content
QUICK REVIEW

[Paper Review] Efficient Probabilistic Logic Reasoning with Graph Neural Networks

Yuyu Zhang, Xinshi Chen|arXiv (Cornell University)|Jan 29, 2020
Advanced Graph Neural NetworksComputer Science34 references36 citations
TL;DR

ExpressGNN combines Markov Logic Networks with graph neural networks to perform scalable variational inference, achieving efficient and effective probabilistic logic reasoning on large knowledge graphs.

ABSTRACT

Markov Logic Networks (MLNs), which elegantly combine logic rules and probabilistic graphical models, can be used to address many knowledge graph problems. However, inference in MLN is computationally intensive, making the industrial-scale application of MLN very difficult. In recent years, graph neural networks (GNNs) have emerged as efficient and effective tools for large-scale graph problems. Nevertheless, GNNs do not explicitly incorporate prior logic rules into the models, and may require many labeled examples for a target task. In this paper, we explore the combination of MLNs and GNNs, and use graph neural networks for variational inference in MLN. We propose a GNN variant, named ExpressGNN, which strikes a nice balance between the representation power and the simplicity of the model. Our extensive experiments on several benchmark datasets demonstrate that ExpressGNN leads to effective and efficient probabilistic logic reasoning.

Motivation & Objective

  • Motivate combining logic-based prior knowledge with data-driven graph representations to enable scalable probabilistic reasoning on knowledge graphs.
  • Develop an efficient variational EM framework where ExpressGNN serves as the inference network for MLNs.
  • Enable leveraging logic rules while also handling data-scarce, long-tail relations and zero-shot scenarios.
  • Provide a compact, expressive model that scales to industrial-scale knowledge graphs and supports generalization to new entities.

Proposed method

  • Propose ExpressGNN, a two-level embedding scheme that combines a vanilla GNN over the knowledge graph with tunable entity embeddings.
  • Use ExpressGNN as the variational posterior Q_theta(H|O) in a mean-field approximation within a variational EM framework for MLNs.
  • In the E-step, perform tractable approximate inference by sampling ground formulas and leveraging local expectations; optionally add supervised signals via a label loss to guide the inference network.
  • In the M-step, optimize MLN formula weights using pseudo-log-likelihood and gradients computed from Markov blankets, with a compact, partly sampled gradient strategy.
  • The inference network computes Q_theta(r(c1,c2)) as a logistic MLP over augmented embeddings, enabling end-to-end differentiable learning.
  • Provide theoretical justification for the expressive power of GNNs in this setting and justify the need for tunable embeddings to distinguish non-isomorphic entities.

Experimental results

Research questions

  • RQ1Can a graph neural network-based inference network efficiently approximate the posterior of latent MLN variables while leveraging prior logic rules?
  • RQ2Does the combination of logic-rule priors and data-driven graph representations improve probabilistic reasoning on large, sparse knowledge graphs?
  • RQ3Can the proposed ExpressGNN framework scale to industrial-size knowledge bases and support zero-shot or few-shot reasoning for unseen predicates?
  • RQ4What is the trade-off between model compactness and expressiveness when using a GNN plus tunable embeddings for MLN inference?

Key findings

  • ExpressGNN enables scalable inference for MLNs by operating on the knowledge graph rather than the dense MLN grounding graph.
  • Combining GNN embeddings with tunable entity embeddings yields a compact yet expressive posterior, improving accuracy and scalability over baselines.
  • ExpressGNN-E (E-step only) achieves competitive or superior inference accuracy on benchmark datasets compared with strong MLN baselines, and maintains favorable inference times as dataset size grows.
  • A tunable-embedding plus GNN configuration provides a favorable trade-off between parameter efficiency and representational power, enabling good performance with fewer parameters than a full large embedding table.

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.