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

Zheng Tang, Mihai Surdeanu


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 relations that explain the decisions of the relation classifier. 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 a great add-on to the manual rules and bring the rule-based system much closer to the neural models.
Anthology ID:
2023.cl-1.3
Volume:
Computational Linguistics, Volume 49, Issue 1 - March 2023
Month:
March
Year:
2023
Address:
Cambridge, MA
Venue:
CL
SIG:
Publisher:
MIT Press
Note:
Pages:
117–156
Language:
URL:
https://aclanthology.org/2023.cl-1.3
DOI:
10.1162/coli_a_00463
Bibkey:
Cite (ACL):
Zheng Tang and Mihai Surdeanu. 2023. It Takes Two Flints to Make a Fire: Multitask Learning of Neural Relation and Explanation Classifiers. Computational Linguistics, 49(1):117–156.
Cite (Informal):
It Takes Two Flints to Make a Fire: Multitask Learning of Neural Relation and Explanation Classifiers (Tang & Surdeanu, CL 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.cl-1.3.pdf