Introduction
Relation Extraction (RE) is a fundamental task in natural language processing, aimed at identifying semantic relationships between entities in text. While supervised learning has shown great promise, it relies heavily on large-scale, high-quality labeled datasets, which are expensive and time-consuming to create. Distant Supervision (DS) emerged as a solution, automatically labeling data by aligning knowledge bases (KBs) with text. However, the strong assumption of DS—that any sentence containing two entities with a known relation must express that relation—introduces significant noise. This paper proposes a novel multi-level attention mechanism to mitigate this noise by considering both intra-bag and inter-bag information.
The Challenge of Noisy Labels
Previous research addressed noise using Multi-Instance Learning (MIL), where sentences are grouped into "bags" based on entity pairs. Attention mechanisms were then used to select the most representative sentence within a bag. Despite improvements, two major issues remained:
- Inflexible Attention: Most models used only the target relation as a query for attention, limiting their ability to capture nuanced linguistic patterns.
- Noisy Bags: Some bags contain no sentences that actually express the target relation. Standard MIL approaches struggle to filter out these entirely mislabeled groups.
Proposed Methodology: Multi-Level Attention
The authors introduce a neural architecture designed to handle noise at both the sentence and bag levels.
Sentence Encoding
The model first converts raw sentences into vector representations using standard encoders like Convolutional Neural Networks (CNN) or Piecewise Convolutional Neural Networks (PCNN). PCNNs are particularly effective as they split the convolutional output into three parts based on the positions of the two entities, capturing structural information more effectively.
Relation-Aware Intra-Bag Attention
Unlike prior models that focus solely on the target relation, this model employs a relation-aware attention mechanism. It uses all possible relation embeddings as queries to calculate weights for sentences within a bag. This provides a more flexible representation that can better distinguish between different types of relations during both training and inference.
Similarity-Based Inter-Bag Attention
The core innovation of this work is the inter-bag attention module. By grouping multiple bags that share the same relation label, the model calculates weights based on the similarity between bag representations. The underlying intuition is that "clean" bags (those correctly expressing the relation) will share similar semantic features in vector space, while "noisy" bags will appear as outliers.
The training process involves a pre-training phase with only intra-bag attention, followed by fine-tuning with the inter-bag module to refine the model's ability to ignore noisy entity pairs.
Experimental Evaluation
The model was evaluated on the New York Times (NYT) dataset, a benchmark created by aligning Freebase relations with NYT articles. The dataset includes 52 relations plus a "NA" category for no relation.
Performance Metrics
The researchers used Precision-Recall (PR) curves, Area Under Curve (AUC), and Precision@N (P@N) to assess performance. The proposed model, PCNN+ATT_RA+BAG_ATT, demonstrated a clear advantage over existing methods.
Key Results
- State-of-the-Art AUC: The best configuration achieved an AUC of 0.422, significantly higher than the baseline PCNN+ATT_BL (0.388) and recent reinforcement learning-based filtering methods.
- High Precision: In the P@100 metric, the model reached 86.8% precision, a substantial improvement over the 73.3% reported in previous landmark studies.
- Effective De-noising: Qualitative analysis confirmed that the inter-bag attention successfully identifies noisy bags. For instance, in a case study for the relation /location/location/contains, a noisy bag was assigned a very low weight (0.13), effectively suppressing its negative impact on the model.
Discussion and Future Directions
The study highlights that entity pairs mentioned more frequently tend to receive higher inter-bag attention weights, supporting the idea that redundancy in distant supervision can be leveraged to identify reliable signals.
However, some challenges remain. The current inter-bag attention is not applied to "NA" bags because their diversity makes similarity-based weighting ineffective. Future work could explore ways to de-noise the "NA" category or integrate external knowledge, such as entity hierarchies or descriptions, to further enhance the attention mechanism's precision.
Conclusion
By introducing a multi-level attention framework that looks both within and across bags of sentences, this paper provides a robust solution to the noise problem in distant supervision. The combination of relation-aware intra-bag attention and similarity-based inter-bag attention sets a new standard for relation extraction performance on the NYT dataset.
Summary updated