ZeroGen: Efficient Zero-shot Learning via Dataset Generation

Jiacheng Ye, Jiahui Gao, Qintong Li, Hang Xu, Jiangtao Feng +3 more
2/16/2022
cs.CLcs.AI

Official code: HKUNLP/ZeroGen (16 stars, last commit 2022-02-18).

Abstract

There is a growing interest in dataset generation recently due to the superior generative capacity of large pre-trained language models (PLMs). In this paper, we study a flexible and efficient zero-short learning method, \textsc{ZeroGen}. Given a zero-shot task, we first generate a dataset from scratch using PLMs in an unsupervised manner. Then, we train a tiny task model (e.g., LSTM) under the supervision of the synthesized dataset. This approach allows highly efficient inference as the final task model only has orders of magnitude fewer parameters comparing to PLMs (e.g., GPT2-XL). Apart from being annotation-free and efficient, we argue that \textsc{ZeroGen} can also provide useful insights from the perspective of data-free model-agnostic knowledge distillation, and unreferenced text generation evaluation. Experiments and analysis on different NLP tasks, namely, text classification, question answering, and natural language inference, show the effectiveness of \textsc{ZeroGen}.

View on arXivView PDF

Code Implementations(1)

HKUNLP/ZeroGenOfficial100%

[EMNLP 2022] Code for our paper “ZeroGen: Efficient Zero-shot Learning via Dataset Generation”.

162Shell, PythonMar 16, 20224 years ago

Similar Papers

Cite this paper

@article{ye2022zerogen,
  title  = {ZeroGen: Efficient Zero-shot Learning via Dataset Generation},
  author = {Jiacheng Ye and Jiahui Gao and Qintong Li and Hang Xu and Jiangtao Feng and Zhiyong Wu and Tao Yu and Lingpeng Kong},
  year   = {2022},
  eprint = {2202.07922},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.07922}
}

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/2202.07922.svg)](https://codeofpaper.com/paper/2202.07922)

Discussion