HiCLRE: A Hierarchical Contrastive Learning Framework for Distantly Supervised Relation Extraction

Dongyang Li, Taolin Zhang, Nan Hu, Chengyu Wang, Xiaofeng He
2/27/2022
cs.CLcs.AI
contrastive-ssl

Official code: MatNLP/HiCLRE (12 stars, Python, Apache-2.0, last commit 2022-03-14).

Abstract

Distant supervision assumes that any sentence containing the same entity pairs reflects identical relationships. Previous works of distantly supervised relation extraction (DSRE) task generally focus on sentence-level or bag-level de-noising techniques independently, neglecting the explicit interaction with cross levels.

Show full abstract

In this paper, we propose a hierarchical contrastive learning Framework for Distantly Supervised relation extraction (HiCLRE) to reduce noisy sentences, which integrate the global structural information and local fine-grained interaction. Specifically, we propose a three-level hierarchical learning framework to interact with cross levels, generating the de-noising context-aware representations via adapting the existing multi-head self-attention, named Multi-Granularity Recontextualization. Meanwhile, pseudo positive samples are also provided in the specific level for contrastive learning via a dynamic gradient-based data augmentation strategy, named Dynamic Gradient Adversarial Perturbation. Experiments demonstrate that HiCLRE significantly outperforms strong baselines in various mainstream DSRE datasets.

View on arXivView PDF

Code Implementations(1)

MatNLP/HiCLREOfficial100%
Apache-2.0
123PythonFeb 24, 20224 years agoApache-2.0

Similar Papers

Cite this paper

@article{li2022hiclre,
  title  = {HiCLRE: A Hierarchical Contrastive Learning Framework for Distantly Supervised Relation Extraction},
  author = {Dongyang Li and Taolin Zhang and Nan Hu and Chengyu Wang and Xiaofeng He},
  year   = {2022},
  eprint = {2202.13352},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.13352}
}

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

Discussion