Sentence-Level Relation Extraction via Contrastive Learning with Descriptive Relation Prompts

Jiewen Zheng, Ze Chen
4/11/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Sentence-level relation extraction aims to identify the relation between two entities for a given sentence. The existing works mostly focus on obtaining a better entity representation and adopting a multi-label classifier for relation extraction. A major limitation of these works is that they ignore background relational knowledge and the interrelation between entity types and candidate relations. In this work, we propose a new paradigm, Contrastive Learning with Descriptive Relation Prompts(CTL-DRP), to jointly consider entity information, relational knowledge and entity type restrictions. In particular, we introduce an improved entity marker and descriptive relation prompts when generating contextual embedding, and utilize contrastive learning to rank the restricted candidate relations. The CTL-DRP obtains a competitive F1-score of 76.7% on TACRED. Furthermore, the new presented paradigm achieves F1-scores of 85.8% and 91.6% on TACREV and Re-TACRED respectively, which are both the state-of-the-art performance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zheng2023sentencelevel,
  title  = {Sentence-Level Relation Extraction via Contrastive Learning with Descriptive Relation Prompts},
  author = {Jiewen Zheng and Ze Chen},
  year   = {2023},
  eprint = {2304.04935},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.04935v1}
}

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

Discussion