Boundary Smoothing for Named Entity Recognition

Enwei Zhu, Jinpeng Li
4/26/2022
cs.CLcs.LG

Official code: syuoni/eznlp (145 stars, Python, Apache-2.0, PyTorch, last commit 2025-04-05).

Abstract

Neural named entity recognition (NER) models may easily encounter the over-confidence issue, which degrades the performance and calibration. Inspired by label smoothing and driven by the ambiguity of boundary annotation in NER engineering, we propose boundary smoothing as a regularization technique for span-based neural NER models.

Show full abstract

It re-assigns entity probabilities from annotated spans to the surrounding ones. Built on a simple but strong baseline, our model achieves results better than or competitive with previous state-of-the-art systems on eight well-known NER benchmarks. Further empirical analysis suggests that boundary smoothing effectively mitigates over-confidence, improves model calibration, and brings flatter neural minima and more smoothed loss landscapes.

View on arXivView PDF

Code Implementations(1)

syuoni/eznlpOfficial100%
PyTorchApache-2.0

Easy Natural Language Processing

14523Python, SchemeOct 12, 20201 years agoApache-2.0
information-extractionnamed-entity-recognitionnatural-language-processingnlppytorch

Similar Papers

Cite this paper

@article{zhu2022boundary,
  title  = {Boundary Smoothing for Named Entity Recognition},
  author = {Enwei Zhu and Jinpeng Li},
  year   = {2022},
  eprint = {2204.12031},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.12031}
}

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

Discussion