Deep Span Representations for Named Entity Recognition
About
Span-based models are one of the most straightforward methods for named entity recognition (NER). Existing span-based NER systems shallowly aggregate the token representations to span representations. However, this typically results in significant ineffectiveness for long-span entities, a coupling between the representations of overlapping spans, and ultimately a performance degradation. In this study, we propose DSpERT (Deep Span Encoder Representations from Transformers), which comprises a standard Transformer and a span Transformer. The latter uses low-layered span representations as queries, and aggregates the token representations as keys and values, layer by layer from bottom to top. Thus, DSpERT produces span representations of deep semantics. With weight initialization from pretrained language models, DSpERT achieves performance higher than or competitive with recent state-of-the-art systems on eight NER benchmarks. Experimental results verify the importance of the depth for span representations, and show that DSpERT performs particularly well on long-span entities and nested structures. Further, the deep span representations are well structured and easily separable in the feature space.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Named Entity Recognition | CoNLL 2003 (test) | F1 Score93.7 | 539 | |
| Nested Named Entity Recognition | ACE 2004 (test) | F1 Score88.31 | 166 | |
| Nested Named Entity Recognition | ACE 2005 (test) | F1 Score87.42 | 153 | |
| Nested Named Entity Recognition | GENIA (test) | F1 Score81.9 | 140 | |
| Named Entity Recognition | RESUME | F1 Score96.72 | 52 | |
| Nested Named Entity Recognition | KBP English 2017 (test) | Precision87.37 | 28 | |
| Named Entity Recognition | WeiboNER | F1 Score72.64 | 27 | |
| Flat Named Entity Recognition | OntoNotes 5.0 (test) | Micro F191.76 | 17 |