Introduction
Relation Extraction (RE) is a fundamental task in Information Extraction, aimed at identifying semantic relationships between entities in text. While modern deep learning models have achieved significant success, they often struggle with the "long-tail" problem. In datasets like the New York Times (NYT) corpus, a small number of "head" relations (e.g., place_of_birth) have thousands of training examples, while the vast majority of relations are "long-tail," appearing very infrequently.
Standard models typically treat relation labels as independent, discrete indices. This approach fails for rare relations because the model cannot learn robust representations from just a handful of examples. This paper proposes KATT (Knowledge-aware ATtention), a framework designed to alleviate data scarcity by transferring knowledge from data-rich head relations to data-poor tail relations.
The KATT Framework
The core idea behind KATT is that relation labels are not just arbitrary IDs; they possess inherent semantic and structural information. For instance, place_of_burial is semantically related to place_of_death. By leveraging Knowledge Graph (KG) embeddings and hierarchical structures, KATT "teaches" the model about rare relations through their proximity to common ones.
The framework consists of three main components:
- Instance Encoder: A CNN or Piecewise CNN (PCNN) transforms input sentences into vector representations.
- Relational Knowledge Learning: This module captures two types of knowledge:
- Implicit Knowledge: Pretrained KG embeddings (e.g., TransE) capture latent semantic similarities between relations.
- Explicit Knowledge: A Graph Convolutional Network (GCN) is applied over a predefined label hierarchy. This allows information to flow from "parent" and "sibling" nodes to "tail" nodes, effectively regularizing the embeddings of rare relations.
- Coarse-to-Fine Knowledge-aware Attention: Instead of standard attention, KATT uses the learned relational embeddings as queries. It employs a hierarchical attention mechanism that first identifies a coarse category and then refines the prediction to a specific relation, reducing noise and improving robustness.
Experimental Results
The authors evaluated KATT on the NYT dataset, focusing specifically on performance in long-tail scenarios (relations with <100 or <200 training instances).
KATT significantly outperformed existing baselines. For relations with fewer than 100 training instances, KATT achieved a Hits@10 of 35.3%, a dramatic improvement over standard attention-based models which often scored below 5%. Ablation studies demonstrated that both the GCN-based hierarchical modeling and the KG embeddings were critical to this success. Visual analysis via t-SNE plots further confirmed that KATT produces more distinct and semantically meaningful clusters for long-tail relations compared to previous methods like HATT.
Conclusion
KATT demonstrates that the long-tail problem in RE can be effectively addressed by incorporating external relational knowledge. By treating labels as structured entities rather than independent indices, the model can leverage the rich information present in Knowledge Graphs to generalize from common relations to rare ones. Future work may involve exploring more complex graph structures or integrating natural language descriptions of relations to further enhance the quality of the learned embeddings.
Summary updated