English

Pre-trained Token-replaced Detection Model as Few-shot Learner

Computation and Language 2023-03-22 v2 Artificial Intelligence

Abstract

Pre-trained masked language models have demonstrated remarkable ability as few-shot learners. In this paper, as an alternative, we propose a novel approach to few-shot learning with pre-trained token-replaced detection models like ELECTRA. In this approach, we reformulate a classification or a regression task as a token-replaced detection problem. Specifically, we first define a template and label description words for each task and put them into the input to form a natural language prompt. Then, we employ the pre-trained token-replaced detection model to predict which label description word is the most original (i.e., least replaced) among all label description words in the prompt. A systematic evaluation on 16 datasets demonstrates that our approach outperforms few-shot learners with pre-trained masked language models in both one-sentence and two-sentence learning tasks.

Keywords

Cite

@article{arxiv.2203.03235,
  title  = {Pre-trained Token-replaced Detection Model as Few-shot Learner},
  author = {Zicheng Li and Shoushan Li and Guodong Zhou},
  journal= {arXiv preprint arXiv:2203.03235},
  year   = {2023}
}

Comments

Accepted to COLING 2022. The code is publicly available at https://github.com/cjfarmer/TRD_FSL

R2 v1 2026-06-24T10:04:14.204Z