SEE-Few: Seed, Expand and Entail for Few-shot Named Entity Recognition

Zeng Yang, Linhai Zhang, Deyu Zhou
10/11/2022
cs.CL

Official code: unveiled-the-red-hat/SEE-Few (12 stars, Python, PyTorch, last commit 2022-11-25).

Abstract

Few-shot named entity recognition (NER) aims at identifying named entities based on only few labeled instances. Current few-shot NER methods focus on leveraging existing datasets in the rich-resource domains which might fail in a training-from-scratch setting where no source-domain data is used.

Show full abstract

To tackle training-from-scratch setting, it is crucial to make full use of the annotation information (the boundaries and entity types). Therefore, in this paper, we propose a novel multi-task (Seed, Expand and Entail) learning framework, SEE-Few, for Few-shot NER without using source domain data. The seeding and expanding modules are responsible for providing as accurate candidate spans as possible for the entailing module. The entailing module reformulates span classification as a textual entailment task, leveraging both the contextual clues and entity type information. All the three modules share the same text encoder and are jointly learned. Experimental results on four benchmark datasets under the training-from-scratch setting show that the proposed method outperformed state-of-the-art few-shot NER methods with a large margin. Our code is available at https://github.com/unveiled-the-red-hat/SEE-Few.

View on arXivView PDF

Code Implementations(1)

PyTorch

Code for "SEE-Few: Seed, Expand and Entail for Few-shot Named Entity Recognition", accepted at COLING 2022.

123Python, ShellSep 15, 20224 years ago
few-shot-learningnamed-entity-recognitionnernlppytorch

Similar Papers

Cite this paper

@article{yang2022seefew,
  title  = {SEE-Few: Seed, Expand and Entail for Few-shot Named Entity Recognition},
  author = {Zeng Yang and Linhai Zhang and Deyu Zhou},
  year   = {2022},
  eprint = {2210.05632},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.05632}
}

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

Discussion