Revisiting Self-Training for Few-Shot Learning of Language Model

Yiming Chen, Yan Zhang, Chen Zhang, Grandee Lee, Ran Cheng +1 more
10/4/2021
cs.CL

Official code: MatthewCYM/SFLM (17 stars, Python, MIT, last commit 2021-10-19).

Abstract

As unlabeled data carry rich task-relevant information, they are proven useful for few-shot learning of language model. The question is how to effectively make use of such data.

Show full abstract

In this work, we revisit the self-training technique for language model fine-tuning and present a state-of-the-art prompt-based few-shot learner, SFLM. Given two views of a text sample via weak and strong augmentation techniques, SFLM generates a pseudo label on the weakly augmented version. Then, the model predicts the same pseudo label when fine-tuned with the strongly augmented version. This simple approach is shown to outperform other state-of-the-art supervised and semi-supervised counterparts on six sentence classification and six sentence-pair classification benchmarking tasks. In addition, SFLM only relies on a few in-domain unlabeled data. We conduct a comprehensive analysis to demonstrate the robustness of our proposed approach under various settings, including augmentation techniques, model scale, and few-shot knowledge transfer across tasks.

View on arXivView PDF

Code Implementations(1)

MatthewCYM/SFLMOfficial100%
MIT
176PythonSep 6, 20215 years agoMIT

Similar Papers

Cite this paper

@article{chen2021revisiting,
  title  = {Revisiting Self-Training for Few-Shot Learning of Language Model},
  author = {Yiming Chen and Yan Zhang and Chen Zhang and Grandee Lee and Ran Cheng and Haizhou Li},
  year   = {2021},
  eprint = {2110.01256},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.01256}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.01256.svg)](https://codeofpaper.com/paper/2110.01256)

Discussion