NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Contextualised Graph Attention for Improved Relation Extraction

Angrosh Mandya, Danushka Bollegala, Frans CoenenarXiv 2020

Abstract

Relation Extraction (RE) involves identifying semantic relationships between entities in a sentence. While dependency trees provide crucial structural information, they often present a trade-off between insufficient context in small graphs and excessive noise in full sentence trees. This paper proposes a Contextualised Graph Attention Network (C-GAT) that addresses this "Goldilocks" problem through two key innovations: the use of multiple targeted sub-graphs and an edge-aware attention mechanism. Our approach achieves a new state-of-the-art F1-score of 86.3 on the SemEval 2010 Task 8 benchmark.

Introduction

Identifying relationships like "The configuration of the antenna" is a foundational task in NLP. Dependency-based models, particularly Graph Convolutional Networks (GCNs), have become standard for this task. However, performance is often limited by the graph structure used. Shortest Dependency Paths (SDP) may miss vital context, while full sentence trees introduce irrelevant "noise" that complicates learning. We aim to capture rich contextual information by segregating the dependency structure into high-value regions.

Methodology

The C-GAT model improves upon standard graph neural networks through structural segregation and enhanced attention.

Multiple Sub-graphs (MG)

Instead of a single graph, C-GAT processes three distinct sub-graphs derived from the dependency tree: the SDP between entities and the immediate neighborhoods of each target entity. This allows the model to focus on specific, high-value regions of the sentence.

Decomposition of a dependency tree into multiple sub-graphs, including the SDP and entity-specific neighborhoods.

Edge-Aware Attention and Architecture

The model architecture employs a BERT and BiLSTM backbone to generate contextualized node embeddings. These are fed into a Graph Attention Network (GAT) that incorporates two types of edge features: Dependency Relations (DREF), which weights edges by their corpus frequency, and Connection Type (CTEF), which prioritizes nodes adjacent to target entities.

The C-GAT architecture, showing the integration of contextualized embeddings with edge-aware graph attention layers.

Experimental Setup

We evaluated the model on the SemEval 2010 Task 8 dataset (10,717 sentences). The task is to classify the relationship between two nominals into one of nine directed types or "Other." Success is measured by the official macro F1-score.

Results and Discussion

The C-GAT model demonstrates superior performance across several dimensions:

  • State-of-the-Art Performance: The C+GAT+MG+DREF configuration achieved an F1-score of 86.3, surpassing previous benchmarks like C-AGGCN (85.7).
  • The Power of Segregation: Using multiple sub-graphs (MG) consistently outperformed single-graph (SG) models. This was most notable in "short span" sentences, where F1-scores rose from ~73 to ~80.
  • Edge Feature Utility: While DREF led to the highest overall F1 due to improved recall, CTEF produced the highest precision (87.24).
  • Contextualization: The combination of BiLSTM/BERT with graph structure proved essential, confirming that local structure and global context are complementary.

Conclusion

By segregating complex dependency trees into focused sub-graphs, C-GAT effectively balances context and noise. While combining different edge features showed some redundancy, the individual components contribute to a robust, state-of-the-art system for Relation Extraction. Future research may focus on dynamic graph pruning to further refine the selection of contextual nodes.

Summary updated

BibTeX
@misc{mandya2020contextualised,
  author = {Angrosh Mandya and Danushka Bollegala and Frans Coenen},
  title = {{Contextualised Graph Attention for Improved Relation Extraction}},
  year = {2020},
  eprint = {2004.10624},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.10624},
}
Figure