Skip to main content
QUICK REVIEW

[Paper Review] Dynamically Pruned Message Passing Networks for Large-Scale Knowledge Graph Reasoning

Xiaoran Xu, Wei Feng|arXiv (Cornell University)|Sep 25, 2019
Advanced Graph Neural NetworksComputer Science21 citations
TL;DR

This paper proposes Dynamically Pruned Message Passing Networks (DPMPN), a two-GNN framework that learns input-dependent subgraphs via a graphical attention mechanism to enable scalable, interpretable knowledge graph reasoning. By dynamically pruning the graph based on query-specific attention and combining full-graph representations with localized message passing, DPMPN achieves state-of-the-art performance in knowledge base completion while providing clear, graph-structured explanations.

ABSTRACT

We propose Dynamically Pruned Message Passing Networks (DPMPN) for large-scale knowledge graph reasoning. In contrast to existing models, embedding-based or path-based, we learn an input-dependent subgraph to explicitly model reasoning process. Subgraphs are dynamically constructed and expanded by applying graphical attention mechanism conditioned on input queries. In this way, we not only construct graph-structured explanations but also enable message passing designed in Graph Neural Networks (GNNs) to scale with graph sizes. We take the inspiration from the consciousness prior proposed by and develop a two-GNN framework to simultaneously encode input-agnostic full graph representation and learn input-dependent local one coordinated by an attention module. Experiments demonstrate the reasoning capability of our model that is to provide clear graphical explanations as well as deliver accurate predictions, outperforming most state-of-the-art methods in knowledge base completion tasks.

Motivation & Objective

  • To address the lack of interpretability in embedding-based knowledge graph reasoning models.
  • To overcome the scalability limitations of traditional Graph Neural Networks on large-scale knowledge graphs.
  • To develop a reasoning framework that generates structured, graph-organized explanations rather than just paths.
  • To integrate cognitive principles of attention and awareness into deep learning for knowledge reasoning.
  • To enable efficient message passing by dynamically pruning the graph based on input queries.

Proposed method

  • The model uses two GNNs: an Inattentive GNN (IGNN) that computes full-graph representations and an Attentive GNN (AGNN) that operates on dynamically induced subgraphs.
  • A graphical attention mechanism selects relevant nodes and edges at each reasoning step, conditioned on the input query.
  • Subgraphs are expanded iteratively by attending to neighborhood nodes, with attention scores propagated across steps to model long-term dependencies.
  • The attention mechanism is decoupled from representation learning, forming a disentangled, cascading pipeline for explicit reasoning modeling.
  • Input-dependent pruning reduces computational cost by limiting message passing to only relevant subgraphs, improving scalability.
  • The framework draws inspiration from Bengio’s consciousness prior, using attention to extract a low-dimensional, conscious reasoning path from a high-dimensional, unconscious full-graph representation.

Experimental results

Research questions

  • RQ1Can we learn a dynamic, input-specific subgraph that serves as a structured explanation for knowledge graph reasoning?
  • RQ2How can we scale message passing in GNNs for large knowledge graphs without sacrificing reasoning interpretability?
  • RQ3Can a two-GNN architecture with attention-based subgraph selection improve both accuracy and explainability in knowledge base completion?
  • RQ4To what extent can attention mechanisms model the step-by-step reasoning process in a graph-structured context?
  • RQ5Does dynamically pruning the graph based on query-dependent attention lead to better performance and efficiency compared to full-graph GNNs?

Key findings

  • DPMPN achieves competitive performance on knowledge base completion benchmarks, with state-of-the-art results in HITS@1, HITS@3, and mean reciprocal rank (MRR).
  • The model provides clear, graph-structured explanations by visualizing attention scores across reasoning steps, showing which nodes and edges are most relevant to the prediction.
  • The attention mechanism effectively captures long-term dependencies by propagating attention scores through multiple reasoning steps.
  • Dynamic subgraph construction significantly reduces computational cost compared to full-graph message passing, enabling scalability on large knowledge graphs.
  • The two-GNN framework successfully decouples global representation learning from local reasoning, improving both interpretability and performance.
  • Experiments on NELL-995 demonstrate that DPMPN outperforms most existing state-of-the-art methods while delivering transparent, human-readable reasoning paths.

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.