Better Few-Shot Relation Extraction with Label Prompt Dropout

Peiyuan Zhang, Wei Lu
10/25/2022
cs.CL

Official code: jzhang38/LPD (26 stars, Python, MIT, last commit 2024-11-08).

Abstract

Few-shot relation extraction aims to learn to identify the relation between two entities based on very limited training examples. Recent efforts found that textual labels (i.e., relation names and relation descriptions) could be extremely useful for learning class representations, which will benefit the few-shot learning task.

Show full abstract

However, what is the best way to leverage such label information in the learning process is an important research question. Existing works largely assume such textual labels are always present during both learning and prediction. In this work, we argue that such approaches may not always lead to optimal results. Instead, we present a novel approach called label prompt dropout, which randomly removes label descriptions in the learning process. Our experiments show that our approach is able to lead to improved class representations, yielding significantly better results on the few-shot relation extraction task.

View on arXivView PDF

Code Implementations(1)

jzhang38/LPDOfficial100%
MIT

code for EMNLP 2022 paper Better Few-Shot Relation Extraction with Label Prompt Dropout

260Python, Jupyter NotebookOct 9, 20222 years agoMIT

Similar Papers

Cite this paper

@article{zhang2022better,
  title  = {Better Few-Shot Relation Extraction with Label Prompt Dropout},
  author = {Peiyuan Zhang and Wei Lu},
  year   = {2022},
  eprint = {2210.13733},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.13733}
}

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

Discussion