Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Entailment as Few-Shot Learner

About

Large pre-trained language models (LMs) have demonstrated remarkable ability as few-shot learners. However, their success hinges largely on scaling model parameters to a degree that makes it challenging to train and serve. In this paper, we propose a new approach, named as EFL, that can turn small LMs into better few-shot learners. The key idea of this approach is to reformulate potential NLP task into an entailment one, and then fine-tune the model with as little as 8 examples. We further demonstrate our proposed method can be: (i) naturally combined with an unsupervised contrastive learning-based data augmentation method; (ii) easily extended to multilingual few-shot learning. A systematic evaluation on 18 standard NLP tasks demonstrates that this approach improves the various existing SOTA few-shot learning methods by 12\%, and yields competitive few-shot performance with 500 times larger models, such as GPT-3.

Sinong Wang, Han Fang, Madian Khabsa, Hanzi Mao, Hao Ma• 2021

Related benchmarks

TaskDatasetResultRank
Natural Language InferenceSNLI (test)
Accuracy93.1
681
Text ClassificationSST-2 (test)
Accuracy96.9
185
Natural Language InferenceSNLI
Accuracy93.1
174
Natural Language InferenceSNLI (dev)
Accuracy93.1
71
Binary ClassificationGLUE (test)
QNLI Accuracy68
25
Sentiment AnalysisSST5
F1 Score50.8
16
Sentiment AnalysisAmazon Reviews
F1 Score58.6
16
Sentence ClassificationMPQA (test)
Accuracy90.8
15
Natural Language InferenceRTE (dev)
Accuracy90.5
12
Sentence ClassificationMR full (test)
Accuracy92.5
9
Showing 10 of 25 rows

Other info

Follow for update