Improving Named Entity Recognition by External Context Retrieving and Cooperative Learning

Xinyu Wang, Yong Jiang, Nguyen Bach, Tao Wang, Zhongqiang Huang +2 more
5/8/2021
184 citations
cs.CLcs.AIcs.LG

Official code: modelscope/AdaSeq (452 stars, Python, Apache-2.0, PyTorch, last commit 2023-11-15). 1 more implementation below.

Abstract

Recent advances in Named Entity Recognition (NER) show that document-level contexts can significantly improve model performance. In many application scenarios, however, such contexts are not available.

Show full abstract

In this paper, we propose to find external contexts of a sentence by retrieving and selecting a set of semantically relevant texts through a search engine, with the original sentence as the query. We find empirically that the contextual representations computed on the retrieval-based input view, constructed through the concatenation of a sentence and its external contexts, can achieve significantly improved performance compared to the original input view based only on the sentence. Furthermore, we can improve the model performance of both input views by Cooperative Learning, a training method that encourages the two input views to produce similar contextual representations or output label distributions. Experiments show that our approach can achieve new state-of-the-art performance on 8 NER data sets across 5 domains.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
modelscope/AdaSeqOfficial452PythonApache-2.02023-11-15
Alibaba-NLP/CLNERCommunity91Python–2022-11-20
modelscope/AdaSeqOfficial100%
PyTorchApache-2.0

AdaSeq: An All-in-One Library for Developing State-of-the-Art Sequence Understanding Models

45243Python, PerlDec 1, 20223 years agoApache-2.0
bertchinese-nlpcrfentity-typinginformation-extraction+11 more
Alibaba-NLP/CLNERCommunity100%

[ACL-IJCNLP 2021] Improving Named Entity Recognition by External Context Retrieving and Cooperative Learning

9115Python, PerlMay 27, 20214 years agoNOASSERTION
named-entity-recognition

Similar Papers

Cite this paper

@article{wang2021improving,
  title  = {Improving Named Entity Recognition by External Context Retrieving and Cooperative Learning},
  author = {Xinyu Wang and Yong Jiang and Nguyen Bach and Tao Wang and Zhongqiang Huang and Fei Huang and Kewei Tu},
  year   = {2021},
  eprint = {2105.03654},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.03654}
}

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

Discussion