Introduction
Relation Extraction (RE) is a fundamental task in Natural Language Processing, aimed at identifying semantic relationships between entities within text. For instance, in a biomedical context, a system might need to determine that a specific mutation like "L858R" is associated with the "EGFR" gene. Researchers from the University of Liverpool have introduced C-GCN-MG, a novel model that enhances RE by performing graph convolutions over multiple, targeted sub-graphs rather than a single, often noisy, dependency tree.
The "Goldilocks" Problem in Relation Extraction
Traditional RE models often utilize Graph Convolutional Networks (GCNs) over full dependency trees to capture linguistic structure. However, this approach frequently encounters a "Goldilocks" problem:
- Full Dependency Trees are often too noisy, containing irrelevant words that obscure the core relationship.
- Pruned Trees, such as the Shortest Dependency Path (SDP), can be overly restrictive, potentially discarding vital contextual information.
- Cross-sentence (n-ary) Relations present a unique challenge as entities are distributed across multiple sentences, making it difficult to construct a single, coherent dependency path.
C-GCN-MG addresses these issues by capturing sufficient context without the computational overhead and noise associated with full sentence graphs.
The C-GCN-MG Architecture
The core innovation of C-GCN-MG (Contextualized GCN over Multiple sub-Graphs) is its "multi-view" approach. Instead of relying on a single graph, the model constructs three distinct sub-graphs for each instance:
- Sub-graph 1: Nodes within the Shortest Dependency Path (SDP) between entities.
- Sub-graphs 2 & 3: Words directly linked to each specific entity in the dependency graph.
For cross-sentence n-ary relations, the model employs a two-fold strategy: it derives graphs connecting each entity to the root term of its sentence and adds edges between the entities themselves to create a fully connected structure across sentence boundaries.
The Processing Pipeline
The model processes these graphs through a multi-stage pipeline:
- Encoding: Words are converted into vectors using BERT and refined by a BiLSTM layer to capture local sequence context.
- Convolution: GCN layers operate on the multiple sub-graphs simultaneously. A novel edge-weighting scheme based on Part-of-Speech (POS) tags and dependency types prioritizes important connections.
- Aggregation: An Attention Layer assigns weights to different nodes, and representations from all sub-graphs are summed to create a final feature vector for classification.
Experimental Results
The model was evaluated on three major benchmarks: the PubMed n-ary dataset, SemEval-2010 Task 8, and TACRED.
- State-of-the-Art on n-ary RE: On the PubMed dataset, C-GCN-MG achieved 88.1% accuracy for ternary relations, outperforming previous GCN and LSTM-based baselines.
- SemEval Success: The model reached an F1-score of 85.9, setting a new state-of-the-art for the benchmark at the time of publication.
- Efficiency and Long-Distance Spans: By limiting the graph to essential nodes (SDP-based pruning), the model achieved its best performance. Notably, C-GCN-MG significantly outperformed single-graph models on "Long Span" sentences where entities are far apart, proving that multiple sub-graphs provide a necessary "bridge" that a single path lacks.
- TACRED Performance: The model achieved a competitive 66.1 F1-score, outperforming standard GCNs.
Conclusion
C-GCN-MG demonstrates that using multiple smaller, entity-centric graphs is more effective than using one large, dense graph. This approach reduces parameter count and filters out linguistic noise while maintaining critical context. While models with global self-attention (like AGGCN) remain competitive on very large datasets like TACRED, C-GCN-MG provides a robust and efficient framework for targeted relation extraction, particularly in complex cross-sentence scenarios.
Summary updated