Introduction
Relation Extraction (RE) is a fundamental task in natural language processing, aimed at identifying semantic relationships between entities within a sentence. Traditional high-performance models have historically relied on external dependency parsers to construct graph structures for Graph Convolutional Networks (GCNs). However, these parsers introduce computational overhead and potential error propagation. This paper introduces the Self-determined Graph Convolutional Network (SGCN), an end-to-end framework that learns to construct its own internal graph structure, bypassing the need for external linguistic tools.
Problem Statement
Existing RE models generally fall into two categories: sequence-based models (LSTMs/CNNs) and graph-based models (GCNs). While sequence models are efficient, they often fail to capture long-distance dependencies. Conversely, GCNs excel at modeling structural relationships but are typically tethered to dependency parsers. These parsers are not only computationally expensive but also prone to errors that can degrade downstream performance, especially in low-resource language settings. The SGCN aims to retain the structural advantages of GCNs while eliminating the dependency on external parsing.
Methodology
The SGCN model determines the sentence's graph structure dynamically through a multi-head self-attention mechanism.
Model Components
- Initial Encoding: A standard BiLSTM captures local word context.
- Self-Attention with ReLU: To build the graph, the model calculates connection strengths between word pairs. Crucially, it uses a ReLU activation instead of Softmax. This allows the model to assign zero weights to irrelevant connections, effectively pruning the graph into a sparse, task-specific structure.
- GCN Layer: Weighted adjacency matrices (the "self-determined graphs") are processed by GCN layers to propagate information across nodes.
- Layer Aggregation: The model concatenates outputs from all SGCN and BiLSTM layers to integrate both local and global structural features for final classification.
Experimental Setup and Results
The model was evaluated on the TACRED (TAC Relation Extraction Dataset), the largest publicly available sentence-level RE dataset with over 106,000 instances across 41 relation types.
Performance Comparison
The SGCN variant, C-SGCN, achieved an F1 score of 67.8% on the TACRED test set. As shown in the comparison table below, it outperformed traditional GCN models that rely on human-engineered dependency trees, such as C-GCN (66.4%).
Ablation Study
Ablation tests confirmed the importance of the self-determined graph. Removing the SGCN component resulted in a 1.5-point drop in F1 score, demonstrating that the learned internal structure provides significant value beyond simple parameter scaling.
Key Insights and Discussion
- Sparsity and Asymmetry: The use of ReLU enforces sparsity, ensuring the model focuses on critical semantic paths rather than dense noise. Furthermore, the learned graphs are asymmetric, reflecting the directional nature of linguistic relationships (e.g., the relationship from a subject to an object).
- End-to-End Efficiency: By internalizing graph construction, the model becomes fully differentiable and more computationally lean than systems requiring a separate parsing step.
Conclusion
SGCN demonstrates that neural networks can successfully discover the "hidden geometry" of language without external linguistic guidance. By outperforming models based on rigid grammatical rules, SGCN paves the way for more flexible and efficient relation extraction systems.
Summary updated