Knowing False Negatives: An Adversarial Training Method for Distantly Supervised Relation Extraction

Kailong Hao, Botao Yu, Wei Hu

Abstract

Distantly supervised relation extraction (DS-RE) frequently encounters the "False Negative" (FN) problem, where sentences describing valid relationships are labeled as "N/A" due to incomplete Knowledge Bases (KBs). This paper proposes FAN (False negative Adversarial Networks), a novel two-stage framework. FAN first identifies potential hidden positives by leveraging the early-learning properties of neural networks and subsequently employs adversarial domain adaptation to align these mined samples into a unified feature space. Experimental results on the NYT10 and GIDS benchmarks demonstrate that FAN achieves state-of-the-art performance by effectively mitigating the bias introduced by false negatives.

Introduction

Relation Extraction (RE) is fundamental for transforming unstructured text into structured knowledge. To scale RE without the prohibitive cost of manual annotation, Distant Supervision (DS) is widely used. DS aligns external Knowledge Bases (e.g., Freebase) with text corpora, assuming that if a KB contains a triplet $(e_1, r, e_2)$, any sentence containing both entities expresses the relation $r$.

While previous research has focused heavily on "False Positives" (sentences containing entities but not the relation), the False Negative (FN) problem remains a significant hurdle. Because KBs are inherently incomplete—for instance, a large majority of entities in Freebase lack specific attributes like birthplace—thousands of informative sentences are incorrectly labeled as "N/A." Treating these as true negatives during training introduces substantial noise and bias, while their presence in test sets leads to unreliable evaluation metrics.

Methodology: The FAN Framework

The authors introduce FAN, a two-stage approach designed to mine and integrate false negatives into the training process.

Overview of the FAN framework showing Stage I (Mining) and Stage II (Aligning).

Stage I: Mining False Negatives

This stage exploits the "memory mechanism" of deep neural networks (DNNs), which tend to learn simple, clean semantic patterns before memorizing noisy labels. By training a "deep noise filter," the model identifies sentences in the "N/A" set that yield high confidence scores for specific relations. These high-confidence samples are flagged as potential FNs.

Stage II: Adversarial Alignment

Once mined, these FNs are treated as unlabeled data. To integrate them effectively, FAN utilizes Adversarial Domain Adaptation:

  1. Encoder: A hybrid architecture (often BERT or CNN-based) generates feature representations for both labeled and mined data.
  2. Discriminator: This component attempts to distinguish between the original labeled training set and the newly mined unlabeled set.
  3. Gradient Reversal Layer (GRL): During backpropagation, the GRL reverses the gradients from the discriminator, forcing the encoder to produce features that are indistinguishable across domains. This aligns the distributions of the labeled and mined sets.
  4. Contrastive Loss: To further refine the space, a contrastive loss ensures that sentence bags expressing the same relation are clustered together while pushing different relations apart.

Experimental Results

The model was evaluated on two standard benchmarks: NYT10 (a large-scale, noisy dataset from the New York Times) and GIDS (a more controlled dataset designed for the "at-least-one" assumption).

Precision-Recall curves for FAN and baseline models on (a) NYT10 and (b) GIDS datasets.

Performance Gains

FAN achieved new state-of-the-art (SOTA) results across both datasets:

  • NYT10: The model reached an AUC of 45.5, surpassing the previous best of 42.9 (DS-VAE). It also maintained a high Precision at N (P@N), achieving 85.8% precision for the top 100 predictions.
  • GIDS: FAN achieved an AUC of 90.3, outperforming the previous SOTA (RESIDE) at 89.1.

Impact of False Negatives on Evaluation

A critical insight from the study is that FNs significantly sabotage evaluation. When a model correctly identifies a relation missing from the KB, standard scripts penalize it as a mistake. By removing identified FNs from the test set, the authors observed AUC scores increase by approximately 20%, highlighting the need for cleaner evaluation benchmarks.

Conclusion

FAN addresses the long-overlooked False Negative problem in distant supervision through a robust mining and adversarial alignment strategy. By treating mined data as an unlabeled domain rather than simply assigning hard pseudo-labels, the model learns a more generalized and accurate representation of relations. Future work may involve streamlining the two-stage process into a single-stage "teacher-student" architecture to handle false positives and negatives simultaneously.

Summary updated

BibTeX
@inproceedings{hao2021knowing,
  author = {Kailong Hao and Botao Yu and Wei Hu},
  title = {{Knowing False Negatives: An Adversarial Training Method for Distantly Supervised Relation Extraction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.761},
}
Figure