Packed Levitated Marker for Entity and Relation Extraction

Deming Ye, Yankai Lin, Peng Li, Maosong Sun
9/13/2021
159 citations
cs.CL

Official code: thunlp/PL-Marker (273 stars, Python, MIT, last commit 2023-05-03).

Abstract

Recent entity and relation extraction works focus on investigating how to obtain a better span representation from the pre-trained encoder. However, a major limitation of existing works is that they ignore the interrelation between spans (pairs).

Show full abstract

In this work, we propose a novel span representation approach, named Packed Levitated Markers (PL-Marker), to consider the interrelation between the spans (pairs) by strategically packing the markers in the encoder. In particular, we propose a neighborhood-oriented packing strategy, which considers the neighbor spans integrally to better model the entity boundary information. Furthermore, for those more complicated span pair classification tasks, we design a subject-oriented packing strategy, which packs each subject and all its objects to model the interrelation between the same-subject span pairs. The experimental results show that, with the enhanced marker feature, our model advances baselines on six NER benchmarks, and obtains a 4.1%-4.3% strict relation F1 improvement with higher speed over previous state-of-the-art models on ACE04 and ACE05.

View on arXivView PDF

Code Implementations(1)

thunlp/PL-MarkerOfficial100%
MIT

Source code for "Packed Levitated Marker for Entity and Relation Extraction"

27337Python, Jupyter NotebookSep 11, 20213 years agoMIT

Similar Papers

Cite this paper

@article{ye2021packed,
  title  = {Packed Levitated Marker for Entity and Relation Extraction},
  author = {Deming Ye and Yankai Lin and Peng Li and Maosong Sun},
  year   = {2021},
  eprint = {2109.06067},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.06067}
}

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

Discussion