DiffusionNER: Boundary Diffusion for Named Entity Recognition

Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu +1 more
5/22/2023
cs.CL

No official code found. Best implementation: tricktreat/DiffusionNER (114 stars, last commit 2023-08-29).

Abstract

In this paper, we propose DiffusionNER, which formulates the named entity recognition task as a boundary-denoising diffusion process and thus generates named entities from noisy spans. During training, DiffusionNER gradually adds noises to the golden entity boundaries by a fixed forward diffusion process and learns a reverse diffusion process to recover the entity boundaries. In inference, DiffusionNER first randomly samples some noisy spans from a standard Gaussian distribution and then generates the named entities by denoising them with the learned reverse diffusion process. The proposed boundary-denoising diffusion process allows progressive refinement and dynamic sampling of entities, empowering DiffusionNER with efficient and flexible entity generation capability. Experiments on multiple flat and nested NER datasets demonstrate that DiffusionNER achieves comparable or even better performance than previous state-of-the-art models.

View on arXivView PDF

Code Implementations(1)

Code for the paper "DiffusionNER: Boundary Diffusion for Named Entity Recognition", accepted at ACL 2023.

11420HTML, PythonMay 22, 20233 years ago

Cite this paper

@article{shen2023diffusionner,
  title  = {DiffusionNER: Boundary Diffusion for Named Entity Recognition},
  author = {Yongliang Shen and Kaitao Song and Xu Tan and Dongsheng Li and Weiming Lu and Yueting Zhuang},
  year   = {2023},
  eprint = {2305.13298},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.13298v1}
}

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

Discussion