Skip to main content
QUICK REVIEW

[Paper Review] ZeroGen: Efficient Zero-shot Learning via Dataset Generation

Jiacheng Ye, Jiahui Gao|arXiv (Cornell University)|Feb 16, 2022
Topic ModelingComputer Science6 citations
TL;DR

ZeroGen proposes a novel, annotation-free framework for efficient zero-shot learning in NLP by generating synthetic training data via large pre-trained language models (PLMs) using task-specific prompts. A tiny task-specific model (e.g., LSTM) is then trained on this synthetic data, achieving superior performance with orders-of-magnitude fewer parameters than PLMs—demonstrating state-of-the-art zero-shot results and enabling efficient inference without human annotations.

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, extsc{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 extsc{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 extsc{ZeroGen}.

Motivation & Objective

  • To develop a flexible, annotation-free zero-shot learning framework that bypasses human-annotated data.
  • To explore the potential of synthetic data generation as a form of data-free, model-agnostic knowledge distillation.
  • To evaluate the quality of text generation models indirectly through downstream task performance.
  • To investigate the impact of prompt engineering on the effectiveness of generated data in zero-shot learning.
  • To enable efficient and deployable inference via small, task-optimized models trained on synthetic data.

Proposed method

  • Use a large pre-trained language model (PLM) to generate a full training dataset in an unsupervised, prompt-driven manner.
  • Design task-specific prompts that guide the PLM to generate input-output pairs aligned with the downstream task (e.g., text classification, question answering).
  • Apply simple filtering heuristics to remove low-quality or out-of-distribution samples from the generated dataset.
  • Train a small, task-specific model (e.g., LSTM) on the synthetic dataset using standard supervised learning.
  • Use the final tiny model for inference, enabling low-latency and low-cost deployment.
  • Leverage downstream task performance as an indirect, reference-free evaluation metric for the quality of the PLM’s text generation.

Experimental results

Research questions

  • RQ1Can synthetic data generated by a PLM via prompt engineering enable a tiny model to outperform the PLM itself in zero-shot settings?
  • RQ2To what extent does the quality of the generated data correlate with downstream task performance, serving as an evaluation metric for text generation?
  • RQ3How do different prompt designs (e.g., natural language vs. control code) affect the performance of the final task model?
  • RQ4Can a model trained on synthetic data surpass a model trained on human-annotated data in low-resource settings?
  • RQ5Does the absence of human annotations in the training pipeline enable more flexible and efficient deployment of NLP models?

Key findings

  • The tiny task model (TAM) in ZeroGen outperforms its PLM teacher in zero-shot text classification, despite having only ~0.4% of the parameters.
  • In low-resource settings, the TAM trained on synthetic data surpasses the same model trained on human-annotated data in a fully supervised setting.
  • Performance on downstream tasks strongly reflects the quality of the text generation: more diverse decoding strategies led to noisier data and degraded performance.
  • Prompt engineering significantly impacts performance—natural language-style prompts and structured prompts yielded varying results across tasks, with no single best format.
  • The framework enables data-free, model-agnostic knowledge distillation, where the student model can incorporate task-specific inductive biases freely.
  • The method provides a viable, efficient, and effective alternative to traditional zero-shot learning, especially for deployment-constrained environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.