Packed Levitated Marker for Entity and Relation Extraction
Deming Ye, Yankai Lin, Peng Li, Maosong Sun
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/thunlp/pl-markerOfficialIn paperpytorch★ 270
- github.com/tomaarsen/spanmarkernerpytorch★ 465
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.
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| CoNLL 2003 (English) | PL-Marker | F1 | 94 | — | Unverified |
| Few-NERD (SUP) | PL-Marker | F1-Measure | 70.9 | — | Unverified |
| Ontonotes v5 (English) | PL-Marker | F1 | 91.9 | — | Unverified |