Open Set Relation Extraction via Unknown-Aware Training

Jun Zhao, Xin Zhao, Wenyu Zhan, Qi Zhang, Tao Gui +4 more
6/8/2023
6 citations
cs.CL

Official code: XinZhao0211/OpenSetRE (6 stars, Python, last commit 2023-07-07).

Abstract

The existing supervised relation extraction methods have achieved impressive performance in a closed-set setting, where the relations during both training and testing remain the same. In a more realistic open-set setting, unknown relations may appear in the test set.

Show full abstract

Due to the lack of supervision signals from unknown relations, a well-performing closed-set relation extractor can still confidently misclassify them into known relations. In this paper, we propose an unknown-aware training method, regularizing the model by dynamically synthesizing negative instances. To facilitate a compact decision boundary, ``difficult'' negative instances are necessary. Inspired by text adversarial attacks, we adaptively apply small but critical perturbations to original training instances and thus synthesizing negative instances that are more likely to be mistaken by the model as known relations. Experimental results show that this method achieves SOTA unknown relation detection without compromising the classification of known relations.

View on arXivView PDF

Code Implementations(1)

This is the code for ACL2023 "Open Set Relation Extraction via Unknown-Aware Training".

60Python, ShellMay 20, 20233 years ago

Similar Papers

Cite this paper

@article{zhao2023open,
  title  = {Open Set Relation Extraction via Unknown-Aware Training},
  author = {Jun Zhao and Xin Zhao and Wenyu Zhan and Qi Zhang and Tao Gui and Zhongyu Wei and Yunwen Chen and Xiang Gao and Xuanjing Huang},
  year   = {2023},
  eprint = {2306.04950},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.04950v1}
}

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/2306.04950.svg)](https://codeofpaper.com/paper/2306.04950)

Discussion