It Takes Two Flints to Make a Fire: Multitask Learning of Neural Relation and Explanation Classifiers

Zheng Tang, Mihai Surdeanu
4/25/2022
cs.CL

Official code: clulab/releases (30 stars, TeX, last commit 2026-09-08).

Abstract

We propose an explainable approach for relation extraction that mitigates the tension between generalization and explainability by jointly training for the two goals. Our approach uses a multi-task learning architecture, which jointly trains a classifier for relation extraction, and a sequence model that labels words in the context of the relation that explain the decisions of the relation classifier.

Show full abstract

We also convert the model outputs to rules to bring global explanations to this approach. This sequence model is trained using a hybrid strategy: supervised, when supervision from pre-existing patterns is available, and semi-supervised otherwise. In the latter situation, we treat the sequence model's labels as latent variables, and learn the best assignment that maximizes the performance of the relation classifier. We evaluate the proposed approach on the two datasets and show that the sequence model provides labels that serve as accurate explanations for the relation classifier's decisions, and, importantly, that the joint training generally improves the performance of the relation classifier. We also evaluate the performance of the generated rules and show that the new rules are great add-on to the manual rules and bring the rule-based system much closer to the neural models.

View on arXivView PDF

Code Implementations(1)

clulab/releasesOfficial100%
3015TeX, Jupyter NotebookOct 7, 20162 months ago

Similar Papers

Cite this paper

@article{tang2022takes,
  title  = {It Takes Two Flints to Make a Fire: Multitask Learning of Neural Relation and Explanation Classifiers},
  author = {Zheng Tang and Mihai Surdeanu},
  year   = {2022},
  eprint = {2204.11424},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.11424}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.11424.svg)](https://codeofpaper.com/paper/2204.11424)

Discussion