HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Packed Levitated Marker for Entity and Relation Extraction

Deming Ye Yankai Lin Peng Li Maosong Sun

Packed Levitated Marker for Entity and Relation Extraction

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). 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.

Code Repositories

tomaarsen/spanmarkerner
pytorch
Mentioned in GitHub
thunlp/pl-marker
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
joint-entity-and-relation-extraction-onPL-Marker
Cross Sentence: Yes
Entity F1: 69.9
RE+ Micro F1: 41.6
Relation F1: 53.2
named-entity-recognition-ner-on-conll-2003PL-Marker
F1: 94.0
named-entity-recognition-ner-on-ontonotes-v5PL-Marker
F1: 91.9
Precision: 92.0
Recall: 91.7
named-entity-recognition-on-few-nerd-supPL-Marker
F1-Measure: 70.9
Precision: 71.2
Recall: 70.6
relation-extraction-on-ace-2004PL-Marker
Cross Sentence: Yes
NER Micro F1: 90.4
RE Micro F1: 69.7
RE+ Micro F1: 66.5
relation-extraction-on-ace-2005PL-Marker
Cross Sentence: Yes
NER Micro F1: 91.1
RE Micro F1: 73.0
RE+ Micro F1: 71.1
Sentence Encoder: ALBERT

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Packed Levitated Marker for Entity and Relation Extraction | Papers | HyperAI