Skip to main content
QUICK REVIEW

[Paper Review] Graph Neural Networks with Generated Parameters for Relation Extraction

Hao Zhu, Yankai Lin|arXiv (Cornell University)|Feb 2, 2019
Topic ModelingComputer Science29 references26 citations
TL;DR

This paper proposes Graph Neural Networks with Generated Parameters (GP-GNNs), which dynamically generate GNN weights from natural language inputs to enable multi-hop relational reasoning on unstructured text. By encoding textual context into edge parameters and performing iterative message passing, GP-GNNs significantly outperform baselines on relation extraction, achieving state-of-the-art performance on human-annotated and distantly supervised datasets through improved reasoning over multiple hops.

ABSTRACT

Recently, progress has been made towards improving relational reasoning in machine learning field. Among existing models, graph neural networks (GNNs) is one of the most effective approaches for multi-hop relational reasoning. In fact, multi-hop relational reasoning is indispensable in many natural language processing tasks such as relation extraction. In this paper, we propose to generate the parameters of graph neural networks (GP-GNNs) according to natural language sentences, which enables GNNs to process relational reasoning on unstructured text inputs. We verify GP-GNNs in relation extraction from text. Experimental results on a human-annotated dataset and two distantly supervised datasets show that our model achieves significant improvements compared to baselines. We also perform a qualitative analysis to demonstrate that our model could discover more accurate relations by multi-hop relational reasoning.

Motivation & Objective

  • To enable graph neural networks to perform multi-hop relational reasoning on unstructured natural language inputs, which existing GNNs cannot do directly.
  • To address the limitation of pre-defined graphs and fixed edge types in standard GNNs when applied to open-domain text.
  • To develop a framework that generates GNN parameters (weights) directly from textual context, allowing richer, context-aware message passing.
  • To verify the model’s effectiveness in relation extraction tasks, especially in discovering indirect or inferred relationships through reasoning.
  • To provide three new datasets—two distantly supervised and one human-annotated—for benchmarking multi-hop relation extraction models.

Proposed method

  • Constructs a fully connected graph from entities in a natural language sentence, treating each entity as a node.
  • Employs a parameter generation module that encodes textual context into edge weights (parameters) of the GNN, enabling context-sensitive message passing.
  • Uses a message-passing mechanism across multiple layers to propagate relational information, with each layer capturing increasing hop distances.
  • Applies a classification head on node representations to predict relations between target entity pairs.
  • Integrates attention mechanisms to weight the importance of different relations during message passing.
  • Trains end-to-end using cross-entropy loss on relation prediction, with parameters updated via backpropagation.

Experimental results

Research questions

  • RQ1Can GNNs be adapted to perform multi-hop relational reasoning directly on unstructured natural language text, rather than on predefined graphs?
  • RQ2How does generating GNN parameters from textual context improve reasoning performance compared to fixed or co-occurrence-based models?
  • RQ3To what extent does increasing the number of message-passing layers enhance relation extraction accuracy, especially for indirect or long-horizon relations?
  • RQ4Can the model discover relations not explicitly stated in knowledge bases by reasoning through intermediate entities?
  • RQ5How does the model compare to co-occurrence-based baselines in terms of robustness and noise resistance?

Key findings

  • The 3-layer GP-GNN achieves the best performance across all datasets, demonstrating that deeper reasoning improves relation extraction accuracy.
  • GP-GNN outperforms strong baselines, including Context-Aware RE, on both human-annotated and distantly supervised datasets, with significant gains on complex sentences.
  • The model successfully infers previously unseen relations—such as 'Luc Besson speaks English'—by reasoning through intermediate facts like 'directed' and 'original language'.
  • Qualitative analysis confirms that GP-GNN learns logical reasoning patterns, such as transitive inference (e.g., 'owned-by' and 'located in' imply 'located in'), which co-occurrence models fail to capture.
  • The model avoids spurious predictions by not relying on relation co-occurrence; for example, it correctly omits 'share border with' when 'located in' is the relevant relation.
  • On the dense distantly labeled set, the 3-layer model shows a larger performance gain than on the overall distantly supervised set, indicating stronger benefits in high-entity-density contexts.

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.