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

Dependency-driven Relation Extraction with Attentive Graph Convolutional Networks

Yuanhe Tian, Guimin Chen, Yan Song, Xiang Wan2021

Introduction

Relation Extraction (RE) is a fundamental task in Natural Language Processing that involves identifying the semantic relationship between two target entities in a sentence. For example, in the sentence "The milk is in the bowl," an RE system should identify the content-container relationship between "milk" and "bowl." Syntactic dependency trees are a powerful tool for this task because they provide structural "shortcuts" between words that may be linearly distant but syntactically related.

The Challenge of Syntactic Noise

While dependency trees are useful, they present two major challenges for machine learning models:

  1. Noise: Automatically generated dependency trees are often imperfect. Even accurate trees contain many branches that are irrelevant to the specific relation being extracted, which can distract the model.
  2. Rigid Pruning: Previous attempts to solve the noise problem involved "hard pruning" the tree, such as only keeping the Shortest Dependency Path (SDP). However, this often deletes vital contextual clues necessary for correct classification.

The A-GCN Framework

To overcome these limitations, the authors introduce Attentive Graph Convolutional Networks (A-GCN). This framework improves upon standard GCNs by making the utilization of syntactic information dynamic and context-aware. The model is built on three key innovations:

  • Attention-Guided Edges: Instead of treating all dependency connections as binary (0 or 1), A-GCN uses an attention mechanism to assign weights to every edge. This allows the model to "soft-prune" the graph, focusing on the most informative paths while ignoring noisy or irrelevant ones.
  • Dependency Type Integration: Most models only consider if two words are connected. A-GCN incorporates the type of connection (e.g., nsubj or obj). These types are converted into embeddings that help calculate attention weights and enrich word representations.
  • Hybrid Graph Construction (L+G): The model uses a specific graph construction strategy called "L+G," which combines Local Connections (dependencies directly connected to the entities) and Global Connections (dependencies along the SDP).
The A-GCN architecture, illustrating the flow from input dependency trees through BERT encoding to the attentive GCN layers incorporating dependency types.

As shown in the architecture diagram, the system uses BERT as an initial encoder. The resulting hidden states are then processed by A-GCN layers, where the attention and dependency type matrices dynamically modulate the information flow between nodes.

Hybrid Graph Construction

The "L+G" approach provides a balanced middle ground between using a full, noisy tree and an overly-pruned one. By focusing on the most relevant structural components, the model maintains high accuracy while reducing computational complexity.

Illustration of Local (L) and Global (G) connections and their representation in the adjacency matrix used by the A-GCN.

Key Results and Insights

The A-GCN model was evaluated on two standard benchmarks, ACE2005 and SemEval 2010 Task 8, achieving state-of-the-art (SOTA) performance on both at the time of publication. Key findings include:

  • Distance Resilience: A-GCN significantly outperforms baselines as the distance between entities increases. When entities are more than 10 words apart, the attentive "shortcuts" provided by the graph become crucial.
  • The Power of Soft Pruning: Ablation studies showed that the attention mechanism is the most critical component. Weighting the connections allows the model to be more flexible and robust than models using fixed, human-defined pruning rules.
  • The L+G Sweet Spot: Starting with a cleaner graph (L+G) consistently outperformed using the full dependency tree, confirming that even with attention, reducing initial noise is beneficial.

Conclusion

A-GCN represents a significant advancement in dependency-driven relation extraction. By replacing rigid pruning with a learnable attention mechanism and integrating rich syntactic labels, the model effectively navigates the trade-off between structural guidance and syntactic noise. This approach sets a new standard for extracting relations from complex, long-form text.

Summary updated

BibTeX
@misc{tian2021dependency,
  author = {Yuanhe Tian and Guimin Chen and Yan Song and Xiang Wan},
  title = {{Dependency-driven Relation Extraction with Attentive Graph Convolutional Networks}},
  year = {2021},
  doi = {10.18653/v1/2021.acl-long.344},
}
Figure