Simple and Effective Few-Shot Named Entity Recognition with Structured Nearest Neighbor Learning
About
We present a simple few-shot named entity recognition (NER) system based on nearest neighbor learning and structured inference. Our system uses a supervised NER model trained on the source domain, as a feature extractor. Across several test domains, we show that a nearest neighbor classifier in this feature-space is far more effective than the standard meta-learning approaches. We further propose a cheap but effective method to capture the label dependencies between entity tags without expensive CRF training. We show that our method of combining structured decoding with nearest neighbor learning achieves state-of-the-art performance on standard few-shot NER evaluation tasks, improving F1 scores by $6\%$ to $16\%$ absolute points over prior meta-learning based systems.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Named Entity Recognition | CoNLL 2003 (test) | -- | 539 | |
| Named Entity Recognition | CoNLL 03 | -- | 102 | |
| Named Entity Recognition | OntoNotes 5.0 (test) | F1 Score46.67 | 90 | |
| Named Entity Recognition | Wnut 2017 | -- | 79 | |
| Named Entity Recognition | WNUT 2017 (test) | -- | 63 | |
| Named Entity Recognition | Few-NERD INTER 1.0 (test) | Average F157.33 | 62 | |
| Named Entity Recognition | FewNERD INTRA | F1 Score38 | 47 | |
| Few-shot Named Entity Recognition | Few-NERD Intra (test) | F1 Score38.83 | 40 | |
| Named Entity Recognition | NCBI-disease (test) | -- | 40 | |
| Named Entity Recognition | GUM | Micro F119.67 | 36 |