Command Palette
Search for a command to run...
Ning Ding Guangwei Xu Yulin Chen Xiaobin Wang Xu Han Pengjun Xie Hai-Tao Zheng Zhiyuan Liu

Abstract
Recently, considerable literature has grown up around the theme of few-shot named entity recognition (NER), but little published benchmark data specifically focused on the practical and challenging task. Current approaches collect existing supervised NER datasets and re-organize them to the few-shot setting for empirical study. These strategies conventionally aim to recognize coarse-grained entity types with few examples, while in practice, most unseen entity types are fine-grained. In this paper, we present Few-NERD, a large-scale human-annotated few-shot NER dataset with a hierarchy of 8 coarse-grained and 66 fine-grained entity types. Few-NERD consists of 188,238 sentences from Wikipedia, 4,601,160 words are included and each is annotated as context or a part of a two-level entity type. To the best of our knowledge, this is the first few-shot NER dataset and the largest human-crafted NER dataset. We construct benchmark tasks with different emphases to comprehensively assess the generalization capability of models. Extensive empirical results and analysis show that Few-NERD is challenging and the problem requires further research. We make Few-NERD public at https://ningding97.github.io/fewnerd/.
Code Repositories
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| few-shot-ner-on-few-nerd-inter | NNShot | 10 way 1~2 shot: 38.87±0.21 10 way 5~10 shot: 49.57±2.73 5 way 1~2 shot: 47.24±1.00 5 way 5~10 shot: 55.64±0.63 |
| few-shot-ner-on-few-nerd-inter | ProtoBERT | 10 way 1~2 shot: 32.45±0.79 10 way 5~10 shot: 52.92±0.37 5 way 1~2 shot: 38.83±1.49 5 way 5~10 shot: 58.79±0.44 |
| few-shot-ner-on-few-nerd-inter | StructShot | 10 way 1~2 shot: 43.34±0.10 10 way 5~10 shot: 49.57±3.08 5 way 1~2 shot: 51.88±0.69 5 way 5~10 shot: 57.32±0.63 |
| few-shot-ner-on-few-nerd-intra | ProtoBERT | 10 way 1~2 shot: 15.05±0.44 10 way 5~10 shot: 35.40±0.13 5 way 1~2 shot: 20.76±0.84 5 way 5~10 shot: 42.54±0.94 |
| few-shot-ner-on-few-nerd-intra | NNShot | 10 way 1~2 shot: 18.27±0.41 10 way 5~10 shot: 27.38±0.53 5 way 1~2 shot: 25.78±0.91 5 way 5~10 shot: 36.18±0.79 |
| few-shot-ner-on-few-nerd-intra | StructShot | 10 way 1~2 shot: 21.03±1.13 10 way 5~10 shot: 26.42±0.60 5 way 1~2 shot: 30.21±0.90 5 way 5~10 shot: 38.00±1.29 |
| named-entity-recognition-on-few-nerd-sup | BERT-Tagger | F1-Measure: 67.13 Precision: 65.56 Recall: 68.78 |
Build AI with AI
From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.