ZS-BERT: Towards Zero-Shot Relation Extraction with Attribute Representation Learning

Chih-Yao Chen, Cheng-Te Li
4/10/2021
cs.CLcs.IRcs.LG

Official code: dinobby/ZS-BERT (54 stars, HTML, last commit 2023-06-12).

Abstract

While relation extraction is an essential task in knowledge acquisition and representation, and new-generated relations are common in the real world, less effort is made to predict unseen relations that cannot be observed at the training stage. In this paper, we formulate the zero-shot relation extraction problem by incorporating the text description of seen and unseen relations.

Show full abstract

We propose a novel multi-task learning model, zero-shot BERT (ZS-BERT), to directly predict unseen relations without hand-crafted attribute labeling and multiple pairwise classifications. Given training instances consisting of input sentences and the descriptions of their relations, ZS-BERT learns two functions that project sentences and relation descriptions into an embedding space by jointly minimizing the distances between them and classifying seen relations. By generating the embeddings of unseen relations and new-coming sentences based on such two functions, we use nearest neighbor search to obtain the prediction of unseen relations. Experiments conducted on two well-known datasets exhibit that ZS-BERT can outperform existing methods by at least 13.54\% improvement on F1 score.

View on arXivView PDF

Code Implementations(1)

dinobby/ZS-BERTOfficial100%

Official implementation of the paper "Towards Zero-Shot Relation Extraction with Attribute Representation Learning."

547HTML, PythonMar 29, 20203 years ago

Similar Papers

Cite this paper

@article{chen2021zsbert,
  title  = {ZS-BERT: Towards Zero-Shot Relation Extraction with Attribute Representation Learning},
  author = {Chih-Yao Chen and Cheng-Te Li},
  year   = {2021},
  eprint = {2104.04697},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.04697}
}

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

Discussion