Improving Distantly Supervised Relation Extraction by Natural Language Inference

Kang Zhou, Qiao Qiao, Yuepei Li, Qi Li

Introduction

Distant supervision (DS) for Relation Extraction (RE) is a powerful way to generate training data without manual labeling, but it suffers from significant "label noise." This paper introduces DSRE-NLI, a framework that uses pre-trained Natural Language Inference (NLI) models as an "indirect supervisor" to clean up these noisy labels. By combining mined textual patterns with NLI-based data consolidation, the authors achieved a new state-of-the-art, improving F1 scores by up to 7.73% on standard benchmarks.

The Challenge of Distant Supervision

Relation Extraction—identifying the relationship between entities in text (e.g., Akio Morita is the founder of Sony)—is a cornerstone of NLP. However, training these models usually requires expensive human-annotated data. To bypass this, researchers use Distant Supervision (DS): if a Knowledge Base (KB) says "Akio Morita founded Sony," we automatically label every sentence containing both "Akio Morita" and "Sony" as a "founder" relationship.

This introduces two types of noise:

  1. False Positives: A sentence like "Akio Morita visited Sony" doesn't actually express the "founder" relation, but DS labels it as one.
  2. False Negatives: If the KB is incomplete, a sentence that does express the relation might be labeled as "No Relation" (NA).

While zero-shot methods using NLI (checking if a sentence entails a prompt like "X founded Y") are precise, they often have low recall because they rely on a few rigid, human-written templates that don't capture the diversity of natural language.

Methodology: The DSRE-NLI Framework

The authors propose a three-stage framework to bridge the gap between noisy distant supervision and rigid zero-shot NLI:

  1. SARV (Semi-Automatic Relation Verbalization): Instead of relying on a single human-written template (e.g., "{subj} founded {obj}"), the system mines thousands of raw patterns from the corpus. It then uses an NLI model to group semantically similar patterns together. A human then performs a quick "sanity check" to select the best representative patterns, significantly increasing the diversity of the NLI "prompts."
  2. Indirect Supervision (IS): They use an off-the-shelf NLI engine (DeBERTa) to evaluate the training corpus. The NLI model treats the sentence as a "premise" and the relation patterns as "hypotheses," assigning a probability that the sentence actually expresses the relation.
  3. Data Consolidation: They introduce two strategies to merge the Distant Supervision (DS) labels with the NLI Indirect Supervision (IS) results: IPIN (only keep a positive label if both DS and IS agree) and NPIN (use NLI to identify positive instances and use the intersection of DS and IS to define the "No Relation" class).
Overview of the DSRE-NLI framework showing the integration of Distant Supervision and Indirect Supervision via mined patterns.

Experimental Results

The researchers evaluated their framework on standard benchmarks, including NYT10.1, NYT10.2, and TACREV. DSRE-NLI significantly outperformed previous state-of-the-art models like ARNOR and SENT. On the NYT10.2 test set, it achieved a 75.68% F1 score, a 7.73% absolute improvement over the best baseline.

Performance comparison of DSRE-NLI against various baselines on NYT10.1 and NYT10.2 datasets.

Key findings from the evaluation include:

  • Pattern Power: Ablation studies showed that adding mined patterns (SARV) boosted F1 scores by roughly 10-11% compared to using only a single general human template.
  • Noise Reduction: In the TACREV simulation, the IPIN strategy reduced the False Positive rate from 48.96% down to 15.50%, proving the framework's effectiveness at denoising.

Key Insights and Future Work

The core innovation is using pre-trained NLI models as logic filters to "audit" RE labels. They can tell if a sentence logically supports a relation, even if they weren't specifically trained for it. By mining patterns directly from the corpus (SARV), the model learns the specific "dialect" of the dataset, which makes the NLI entailment task much easier.

While SARV reduces effort, it still requires a human to select high-quality patterns from a candidate list. Additionally, the framework's success is tied to the underlying NLI model. Future research will focus on extending this to document-level RE, where entities might be several sentences apart.

Summary updated

BibTeX
@inproceedings{zhou2023improving,
  author = {Kang Zhou and Qiao Qiao and Yuepei Li and Qi Li},
  title = {{Improving Distantly Supervised Relation Extraction by Natural Language Inference}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i11.26644},
}
Figure