Unified Named Entity Recognition as Word-Word Relation Classification

Jingye Li, Hao Fei, Jiang Liu, Shengqiong Wu, Meishan Zhang +3 more
12/19/2021
cs.CL

Official code: ljynlp/W2NER (559 stars, Python, MIT, last commit 2022-07-14).

Abstract

So far, named entity recognition (NER) has been involved with three major types, including flat, overlapped (aka. nested), and discontinuous NER, which have mostly been studied individually. Recently, a growing interest has been built for unified NER, tackling the above three jobs concurrently with one single model.

Show full abstract

Current best-performing methods mainly include span-based and sequence-to-sequence models, where unfortunately the former merely focus on boundary identification and the latter may suffer from exposure bias. In this work, we present a novel alternative by modeling the unified NER as word-word relation classification, namely W^2NER. The architecture resolves the kernel bottleneck of unified NER by effectively modeling the neighboring relations between entity words with Next-Neighboring-Word (NNW) and Tail-Head-Word-* (THW-*) relations. Based on the W^2NER scheme we develop a neural framework, in which the unified NER is modeled as a 2D grid of word pairs. We then propose multi-granularity 2D convolutions for better refining the grid representations. Finally, a co-predictor is used to sufficiently reason the word-word relations. We perform extensive experiments on 14 widely-used benchmark datasets for flat, overlapped, and discontinuous NER (8 English and 6 Chinese datasets), where our model beats all the current top-performing baselines, pushing the state-of-the-art performances of unified NER.

View on arXivView PDF

Code Implementations(1)

ljynlp/W2NEROfficial100%
MIT

Source code for AAAI 2022 paper: Unified Named Entity Recognition as Word-Word Relation Classification

55988PythonDec 13, 20214 years agoMIT
named-entity-recognitionner

Similar Papers

Cite this paper

@article{li2021unified,
  title  = {Unified Named Entity Recognition as Word-Word Relation Classification},
  author = {Jingye Li and Hao Fei and Jiang Liu and Shengqiong Wu and Meishan Zhang and Chong Teng and Donghong Ji and Fei Li},
  year   = {2021},
  eprint = {2112.10070},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.10070}
}

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

Discussion