kNN-NER: Named Entity Recognition with Nearest Neighbor Search

03/31/2022
by   Shuhe Wang, et al.
0

Inspired by recent advances in retrieval augmented methods in NLP <cit.>, in this paper, we introduce a k nearest neighbor NER (kNN-NER) framework, which augments the distribution of entity labels by assigning k nearest neighbors retrieved from the training set. This strategy makes the model more capable of handling long-tail cases, along with better few-shot learning abilities. kNN-NER requires no additional operation during the training phase, and by interpolating k nearest neighbors search into the vanilla NER model, kNN-NER consistently outperforms its vanilla counterparts: we achieve a new state-of-the-art F1-score of 72.03 (+1.25) on the Chinese Weibo dataset and improved results on a variety of widely used NER benchmarks. Additionally, we show that kNN-NER can achieve comparable results to the vanilla NER model with 40% less amount of training data. Code available at <https://github.com/ShannonAI/KNN-NER>.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/06/2020

Simple and Effective Few-Shot Named Entity Recognition with Structured Nearest Neighbor Learning

We present a simple few-shot named entity recognition (NER) system based...
research
09/03/2019

CrossWeigh: Training Named Entity Tagger from Imperfect Annotations

Everyone makes mistakes. So do human annotators when curating labels for...
research
05/20/2023

PromptNER: A Prompting Method for Few-shot Named Entity Recognition via k Nearest Neighbor Search

Few-shot Named Entity Recognition (NER) is a task aiming to identify nam...
research
10/21/2022

Rescue Implicit and Long-tail Cases: Nearest Neighbor Relation Extraction

Relation extraction (RE) has achieved remarkable progress with the help ...
research
10/24/2022

Enhancing Label Consistency on Document-level Named Entity Recognition

Named entity recognition (NER) is a fundamental part of extracting infor...
research
12/05/2022

GNN-SL: Sequence Labeling Based on Nearest Examples via GNN

To better handle long-tail cases in the sequence labeling (SL) task, in ...
research
11/08/2022

Prompt-Based Metric Learning for Few-Shot NER

Few-shot named entity recognition (NER) targets generalizing to unseen l...

Please sign up or login with your details

Forgot password? Click here to reset