[Paper Review] Distant Supervision Relation Extraction with Intra-Bag and Inter-Bag Attentions
This paper proposes a neural relation extraction model using dual attention mechanisms—inter-bag and intra-bag—to address noise in distant supervision. By computing relation-aware sentence weights within bags and dynamically weighting entire bag groups based on similarity, the model improves accuracy on the NYT dataset, outperforming state-of-the-art methods by learning more robust representations despite noisy training data.
This paper presents a neural relation extraction method to deal with the noisy training data generated by distant supervision. Previous studies mainly focus on sentence-level de-noising by designing neural networks with intra-bag attentions. In this paper, both intra-bag and inter-bag attentions are considered in order to deal with the noise at sentence-level and bag-level respectively. First, relation-aware bag representations are calculated by weighting sentence embeddings using intra-bag attentions. Here, each possible relation is utilized as the query for attention calculation instead of only using the target relation in conventional methods. Furthermore, the representation of a group of bags in the training set which share the same relation label is calculated by weighting bag representations using a similarity-based inter-bag attention module. Finally, a bag group is utilized as a training sample when building our relation extractor. Experimental results on the New York Times dataset demonstrate the effectiveness of our proposed intra-bag and inter-bag attention modules. Our method also achieves better relation extraction accuracy than state-of-the-art methods on this dataset.
Motivation & Objective
- To address the issue of noisy training data generated by distant supervision in relation extraction.
- To improve model robustness by modeling noise at both sentence-level (intra-bag) and bag-level (inter-bag).
- To overcome the limitation of prior methods that use only the target relation as a query for attention, by employing all possible relations as queries.
- To mitigate the noisy bag problem—where all sentences in a bag are incorrectly labeled—by modeling bag groups instead of individual bags.
- To achieve higher relation extraction accuracy than existing state-of-the-art models on the New York Times dataset.
Proposed method
- Uses relation-aware intra-bag attention where each possible relation acts as a query to compute attention weights over sentences in a bag, enabling dynamic weighting based on relevance to the relation.
- Constructs bag representations as weighted sums of sentence embeddings, with higher weights assigned to sentences that are more relevant to the target relation.
- Introduces an inter-bag attention module that computes attention weights across multiple bags sharing the same relation label, using similarity-based scoring to identify and downweight noisy bags.
- Treats a group of bags with the same relation label as a single training sample (bag group), improving generalization and robustness to bag-level noise.
- Employs a PCNN (Path-Consistent Neural Network) architecture combined with the proposed attention modules to extract contextual features from sentences.
- Leverages both sentence-level and bag-level attention in a joint training framework, allowing the model to learn hierarchical representations that are resilient to noise.
Experimental results
Research questions
- RQ1Can modeling all possible relations as queries in intra-bag attention improve the quality of bag representations compared to using only the target relation?
- RQ2Does treating bag groups instead of individual bags as training samples reduce the impact of noisy bags on model performance?
- RQ3Can similarity-based inter-bag attention effectively identify and downweight noisy bags in the training set?
- RQ4To what extent does the proposed dual-attention mechanism improve relation extraction accuracy on the NYT dataset compared to state-of-the-art models?
- RQ5How do attention weights distribute across bags with varying numbers of sentences, and does this correlate with label quality?
Key findings
- The proposed method achieved higher P@N scores (P@100, P@200, P@300) than prior models, including Lin et al. (2016) and Liu et al. (2017), across all test sets with one, two, or all sentences per entity pair.
- The ATT_RA model (relation-aware intra-bag attention) outperformed ATT_BL (baseline) even when only one sentence was available per bag, proving the benefit of relation-aware attention at training time.
- Inter-bag attention weights were lower for bags with fewer sentences, supporting the hypothesis that such bags are more likely to be noisy, and the model successfully downweighted them.
- In a case study, the inter-bag attention mechanism significantly reduced the weight of a noisy bag containing a sentence that did not express the target relation, demonstrating effective noise filtering.
- The PCNN+ATT_RA+BAG_ATT model achieved state-of-the-art performance on the NYT dataset, confirming the effectiveness of combining intra-bag and inter-bag attention mechanisms.
- The model's performance was consistent across different test settings, indicating robustness to variations in training data composition.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.