English

Template-free Prompt Tuning for Few-shot NER

Computation and Language 2022-11-24 v3 Artificial Intelligence

Abstract

Prompt-based methods have been successfully applied in sentence-level few-shot learning tasks, mostly owing to the sophisticated design of templates and label words. However, when applied to token-level labeling tasks such as NER, it would be time-consuming to enumerate the template queries over all potential entity spans. In this work, we propose a more elegant method to reformulate NER tasks as LM problems without any templates. Specifically, we discard the template construction process while maintaining the word prediction paradigm of pre-training models to predict a class-related pivot word (or label word) at the entity position. Meanwhile, we also explore principled ways to automatically search for appropriate label words that the pre-trained models can easily adapt to. While avoiding complicated template-based process, the proposed LM objective also reduces the gap between different objectives used in pre-training and fine-tuning, thus it can better benefit the few-shot performance. Experimental results demonstrate the effectiveness of the proposed method over bert-tagger and template-based method under few-shot setting. Moreover, the decoding speed of the proposed method is up to 1930.12 times faster than the template-based method.

Keywords

Cite

@article{arxiv.2109.13532,
  title  = {Template-free Prompt Tuning for Few-shot NER},
  author = {Ruotian Ma and Xin Zhou and Tao Gui and Yiding Tan and Linyang Li and Qi Zhang and Xuanjing Huang},
  journal= {arXiv preprint arXiv:2109.13532},
  year   = {2022}
}

Comments

Accepted by NAACL 2022 (Oral)

R2 v1 2026-06-24T06:25:17.855Z