Introduction
Relation classification is the task of identifying the semantic connection between two entities in a sentence. For example, in the sentence "The thief broke the ignition with a screwdriver," the relationship between "thief" and "screwdriver" is Instrument-Agency.
Previous research highlighted two critical pieces of information for this task: the Shortest Dependency Path (SDP), which provides the direct grammatical link between entities, and Dependency Subtrees, which offer essential local context. The challenge addressed in this paper is how to unify these two structures into a single, high-performance model.
Methods: The Augmented Dependency Path and DepNN
The authors proposed a novel structure called the Augmented Dependency Path (ADP). Instead of just looking at the words on the shortest path, they "augment" each word with its corresponding subtree from the dependency tree. To process this structure, they developed DepNN, a two-stage hybrid neural network:
- Recursive Neural Network (RNN): This component works bottom-up through the subtrees. It recursively combines word embeddings and dependency relation embeddings until it reaches the root word on the shortest path, creating a "semantic vector" that includes local context.
- Convolutional Neural Network (CNN): Once the RNN has enriched the words on the shortest path, the CNN takes over. It uses a sliding window (convolution) and max-pooling to identify the most salient features across the entire path, effectively summarizing the relationship into a final classification vector.
By using an RNN for the hierarchy and a CNN for the sequence, the model plays to the strengths of both architectures.
Results and Key Insights
Evaluated on the SemEval-2010 Task 8 dataset, DepNN achieved a state-of-the-art F1-score of 83.6, outperforming previous SVM-based and neural models.
Key insights from the study include:
- Subtrees are Semantic Anchors: Subtrees are vital for disambiguation. For instance, paths for "Instrument-Agency" and "Product-Producer" often look identical; subtrees provide the necessary "flavor" to distinguish them. Adding the subtree component consistently improved performance, with the most significant gains (over 3 points) seen in the "Instrument-Agency" category.
- Hybridization is Key: The paper demonstrates that CNNs and RNNs are complementary tools for different parts of a linguistic structure rather than competitors.
- Embedding Quality: Moving from 50-d SENNA embeddings to 200-d Gigaword embeddings provided a significant performance boost, highlighting the importance of large-scale pre-training.
Conclusion
DepNN represents a significant advancement in relation classification by effectively combining hierarchical and sequential neural architectures via the Augmented Dependency Path. While the model remains reliant on dependency parser quality and involves higher computational complexity, its ability to capture both local context and global relationships sets a new standard for the field.
Summary updated