Exploiting Cloze-Questions for Few-Shot Text Classification and Natural Language Inference

Timo Schick, Hinrich Schütze

2021 · 74 citations · 34 references

DOIFull text

Open access

Concepts

TL;DR

Some NLP tasks can be solved in a fully unsupervised manner by providing a pretrained language model with natural‑language task descriptions, as demonstrated by Radford et al. (2019). This work introduces Pattern‑Exploiting Training (PET), a semi‑supervised method that combines unsupervised cloze‑style reformulation with supervised fine‑tuning to improve task understanding. PET reformulates input examples as cloze phrases, assigns soft labels to a large unlabeled set, and then trains a model on the resulting labeled data.

Abstract

Some NLP tasks can be solved in a fully unsupervised fashion by providing a pretrained language model with “task descriptions” in natural language (e.g., Radford et al., 2019). While this approach underperforms its supervised counterpart, we show in this work that the two ideas can be combined: We introduce Pattern-Exploiting Training (PET), a semi-supervised training procedure that reformulates input examples as cloze-style phrases to help language models understand a given task. These phrases are then used to assign soft labels to a large set of unlabeled examples. Finally, standard supervised training is performed on the resulting training set. For several tasks and languages, PET outperforms supervised training and strong semi-supervised approaches in low-resource settings by a large margin.

References

34