English

None Class Ranking Loss for Document-Level Relation Extraction

Computation and Language 2022-05-04 v2 Machine Learning

Abstract

Document-level relation extraction (RE) aims at extracting relations among entities expressed across multiple sentences, which can be viewed as a multi-label classification problem. In a typical document, most entity pairs do not express any pre-defined relation and are labeled as "none" or "no relation". For good document-level RE performance, it is crucial to distinguish such none class instances (entity pairs) from those of pre-defined classes (relations). However, most existing methods only estimate the probability of pre-defined relations independently without considering the probability of "no relation". This ignores the context of entity pairs and the label correlations between the none class and pre-defined classes, leading to sub-optimal predictions. To address this problem, we propose a new multi-label loss that encourages large margins of label confidence scores between each pre-defined class and the none class, which enables captured label correlations and context-dependent thresholding for label prediction. To gain further robustness against positive-negative imbalance and mislabeled data that could appear in real-world RE datasets, we propose a margin regularization and a margin shifting technique. Experimental results demonstrate that our method significantly outperforms existing multi-label losses for document-level RE and works well in other multi-label tasks such as emotion classification when none class instances are available for training.

Keywords

Cite

@article{arxiv.2205.00476,
  title  = {None Class Ranking Loss for Document-Level Relation Extraction},
  author = {Yang Zhou and Wee Sun Lee},
  journal= {arXiv preprint arXiv:2205.00476},
  year   = {2022}
}

Comments

Accepted by IJCAI 2022. Code available at https://github.com/yangzhou12/NCRL

R2 v1 2026-06-24T11:03:55.214Z