Document-Level Relation Extraction with Adaptive Focal Loss and Knowledge Distillation

Qingyu Tan, Ruidan He, Lidong Bing, Hwee Tou Ng
3/21/2022
cs.CL
distillation

Official code: tonytan48/KD-DocRE (115 stars, Python, last commit 2022-11-12).

Abstract

Document-level Relation Extraction (DocRE) is a more challenging task compared to its sentence-level counterpart. It aims to extract relations from multiple sentences at once.

Show full abstract

In this paper, we propose a semi-supervised framework for DocRE with three novel components. Firstly, we use an axial attention module for learning the interdependency among entity-pairs, which improves the performance on two-hop relations. Secondly, we propose an adaptive focal loss to tackle the class imbalance problem of DocRE. Lastly, we use knowledge distillation to overcome the differences between human annotated data and distantly supervised data. We conducted experiments on two DocRE datasets. Our model consistently outperforms strong baselines and its performance exceeds the previous SOTA by 1.36 F1 and 1.46 Ign_F1 score on the DocRED leaderboard. Our code and data will be released at https://github.com/tonytan48/KD-DocRE.

View on arXivView PDF

Code Implementations(1)

tonytan48/KD-DocREOfficial100%

Implementation of Document-level Relation Extraction with Knowledge Distillation and Adaptive Focal Loss

11522Python, ShellMar 14, 20224 years ago

Similar Papers

Cite this paper

@article{tan2022documentlevel,
  title  = {Document-Level Relation Extraction with Adaptive Focal Loss and Knowledge Distillation},
  author = {Qingyu Tan and Ruidan He and Lidong Bing and Hwee Tou Ng},
  year   = {2022},
  eprint = {2203.10900},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.10900}
}

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

Discussion