Propose-and-Refine: A Two-Stage Set Prediction Network for Nested Named Entity Recognition

Shuhui Wu, Yongliang Shen, Zeqi Tan, Weiming Lu
4/27/2022
cs.CL

Official code: XiPotatonium/pnr (11 stars, Python, last commit 2022-09-03).

Abstract

Nested named entity recognition (nested NER) is a fundamental task in natural language processing. Various span-based methods have been proposed to detect nested entities with span representations.

Show full abstract

However, span-based methods do not consider the relationship between a span and other entities or phrases, which is helpful in the NER task. Besides, span-based methods have trouble predicting long entities due to limited span enumeration length. To mitigate these issues, we present the Propose-and-Refine Network (PnRNet), a two-stage set prediction network for nested NER. In the propose stage, we use a span-based predictor to generate some coarse entity predictions as entity proposals. In the refine stage, proposals interact with each other, and richer contextual information is incorporated into the proposal representations. The refined proposal representations are used to re-predict entity boundaries and classes. In this way, errors in coarse proposals can be eliminated, and the boundary prediction is no longer constrained by the span enumeration length limitation. Additionally, we build multi-scale sentence representations, which better model the hierarchical structure of sentences and provide richer contextual information than token-level representations. Experiments show that PnRNet achieves state-of-the-art performance on four nested NER datasets and one flat NER dataset.

View on arXivView PDF

Code Implementations(1)

XiPotatonium/pnrOfficial100%

Accepted at IJCAI-2022

110Python, HTMLApr 27, 20224 years ago

Similar Papers

Cite this paper

@article{wu2022proposeandrefine,
  title  = {Propose-and-Refine: A Two-Stage Set Prediction Network for Nested Named Entity Recognition},
  author = {Shuhui Wu and Yongliang Shen and Zeqi Tan and Weiming Lu},
  year   = {2022},
  eprint = {2204.12732},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.12732}
}

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

Discussion