Relation Extraction with Explanation

Hamed Shahbazi, Xiaoli Z. Fern, Reza Ghaeini, Prasad Tadepalli

Abstract

Relation Extraction (RE) models trained via distant supervision often rely on entity names as "shortcuts," leading to high performance but poor explainability. This paper introduces two techniques to address this: Fine-Grained Entity Types (FGET), which replaces specific entity names with their types, and Learning from Distractors (LD), which trains the model to ignore irrelevant sentences. Evaluation on the FB-NYT dataset demonstrates that these methods achieve a new state-of-the-art AUC of 34.1 and significantly improve the correlation between model internal explanations and human judgment.

Introduction

Relation Extraction (RE) is the task of identifying relationships between entities (e.g., born_in or headquartered_in) from text. To handle large-scale data, researchers typically use distant supervision, assuming that any sentence containing a known entity pair from a database expresses their relationship. However, this assumption is inherently noisy. While modern neural models use attention mechanisms to weight sentences, they often act as "black boxes," potentially memorizing entity pairs rather than understanding linguistic context. This study aims to improve both the accuracy and the transparency of these models.

Methodology

The authors propose two primary innovations to improve model robustness and explainability:

  1. Fine-Grained Entity Types (FGET): Raw entity mentions (e.g., "Elon Musk") are replaced with their types (e.g., "Person/Entrepreneur"). This prevents the model from relying on specific entity pairs and forces it to focus on the surrounding linguistic context to deduce relationships.
  2. Learning from Distractors (LD): The authors automatically generate "distractor" sentences—sentences containing the correct entity types but not supporting the relation. A new loss function penalizes the model for assigning high importance to these distractors, effectively teaching the model what "noise" looks like.

To evaluate "explanation quality," the authors manually annotated a test set (expl-eval) of 1,950 bags, marking sentences that actually support the labeled relation. They then used Kendall Tau correlation to compare model importance scores (Attention, Saliency, etc.) against human ground truth.

Key Results

The proposed methods significantly improved both predictive performance and explainability. The best-performing model, DirectSup +F +LD, achieved a state-of-the-art AUC of 34.1, representing a substantial improvement over baseline models.

Table 1: AUC performance of various models on the FB-NYT dataset. The combination of FGET (+F) and Learning from Distractors (+LD) yields the highest performance.

Beyond raw performance, the models became more "honest." As shown in the table below, replacing entity names with types (FGET) and training with distractors (LD) led to much higher correlations with human logic across various explanation mechanisms. For instance, in the DirectSup model, FGET increased the saliency correlation ($S_{x_{n,k}}$) from 0.08 to 0.31.

Table 2: Kendall Tau correlation between model explanations and human annotations. Higher values indicate better alignment with human logic.

Discussion and Conclusion

The findings highlight a critical tension: while entity names provide rich information that can boost accuracy, they often serve as shortcuts that degrade explainability. By using FGET and LD, the authors demonstrate that it is possible to achieve state-of-the-art results while ensuring the model is "right for the right reasons." Future work will explore more advanced adversarial methods for generating distractors and testing these techniques in specialized domains like medical or legal texts.

Summary updated

BibTeX
@inproceedings{shahbazi2020relation,
  author = {Hamed Shahbazi and Xiaoli Z. Fern and Reza Ghaeini and Prasad Tadepalli},
  title = {{Relation Extraction with Explanation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.579},
}
Figure