RE-Matching: A Fine-Grained Semantic Matching Method for Zero-Shot Relation Extraction

Jun Zhao, Wenyu Zhan, Xin Zhao, Qi Zhang, Tao Gui +4 more
6/8/2023
cs.CL

No official code found. Best implementation: zweny/RE-Matching (6 stars, last commit 2023-07-09).

Abstract

Semantic matching is a mainstream paradigm of zero-shot relation extraction, which matches a given input with a corresponding label description. The entities in the input should exactly match their hypernyms in the description, while the irrelevant contexts should be ignored when matching. However, general matching methods lack explicit modeling of the above matching pattern. In this work, we propose a fine-grained semantic matching method tailored for zero-shot relation extraction. Following the above matching pattern, we decompose the sentence-level similarity score into entity and context matching scores. Due to the lack of explicit annotations of the redundant components, we design a feature distillation module to adaptively identify the relation-irrelevant features and reduce their negative impact on context matching. Experimental results show that our method achieves higher matching $F_1$ score and has an inference speed 10 times faster, when compared with the state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

zweny/RE-MatchingCommunity100%

This repository contains the offical code implementation of the ACL2023 paper "RE-Matching: A Fine-Grained Semantic Matching Method for Zero-Shot Relation Extraction"

61Shell, PythonMay 20, 20233 years ago

Similar Papers

Cite this paper

@article{zhao2023rematching,
  title  = {RE-Matching: A Fine-Grained Semantic Matching Method for Zero-Shot Relation Extraction},
  author = {Jun Zhao and Wenyu Zhan and Xin Zhao and Qi Zhang and Tao Gui and Zhongyu Wei and Junzhe Wang and Minlong Peng and Mingming Sun},
  year   = {2023},
  eprint = {2306.04954},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.04954v1}
}

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

Discussion