EMNLP 2022main18 citations

Prompting ELECTRA: Few-Shot Learning with Discriminative Pre-Trained Models

Mengzhou Xia, Mikel Artetxe, Jingfei Du, Danqi Chen, Veselin Stoyanov

Abstract

Pre-trained masked language models successfully perform few-shot learning by formulating downstream tasks as text infilling. How- ever, as a strong alternative in full-shot settings, discriminative pre-trained models like ELECTRA do not fit into the paradigm. In this work, we adapt prompt-based few-shot learning to ELECTRA and show that it outperforms masked language models in a wide range of tasks. ELECTRA is pre-trained to distinguish if a token is generated or original. We naturally extend that to prompt-based few-shot learning by training to score the originality of the target options without introducing new parameters. Our method can be easily adapted to tasks involving multi-token predictions without extra computation overhead. Analysis shows that ELECTRA learns distributions that align better with downstream tasks.

BibTeX
@inproceedings{xia-etal-2022-prompting,
    title = "Prompting {ELECTRA}: Few-Shot Learning with Discriminative Pre-Trained Models",
    author = "Xia, Mengzhou  and
      Artetxe, Mikel  and
      Du, Jingfei  and
      Chen, Danqi  and
      Stoyanov, Veselin",
    editor = "Goldberg, Yoav  and
      Kozareva, Zornitsa  and
      Zhang, Yue",
    booktitle = "Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing",
    month = dec,
    year = "2022",
    address = "Abu Dhabi, United Arab Emirates",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.emnlp-main.780/",
    doi = "10.18653/v1/2022.emnlp-main.780",
    pages = "11351--11361"
}
Prompting ELECTRA: Few-Shot Learning with Discriminative Pre-Trained Models · EMNLP 2022