[Paper Review] Generating Training Data with Language Models: Towards Zero-Shot Language Understanding
The paper proposes SuperGen, a zero-shot learning approach that uses a unidirectional language model to generate class-conditioned training data for a bidirectional classifier, achieving strong GLUE results without task-specific data.
Pretrained language models (PLMs) have demonstrated remarkable performance in various natural language processing tasks: Unidirectional PLMs (e.g., GPT) are well known for their superior text generation capabilities; bidirectional PLMs (e.g., BERT) have been the prominent choice for natural language understanding (NLU) tasks. While both types of models have achieved promising few-shot learning performance, their potential for zero-shot learning has been underexplored. In this paper, we present a simple approach that uses both types of PLMs for fully zero-shot learning of NLU tasks without requiring any task-specific data: A unidirectional PLM generates class-conditioned texts guided by prompts, which are used as the training data for fine-tuning a bidirectional PLM. With quality training data selected based on the generation probability and regularization techniques (label smoothing and temporal ensembling) applied to the fine-tuning stage for better generalization and stability, our approach demonstrates strong performance across seven classification tasks of the GLUE benchmark (e.g., 72.3/73.8 on MNLI-m/mm and 92.8 on SST-2), significantly outperforming zero-shot prompting methods and achieving even comparable results to strong few-shot approaches using 32 training samples per class.
Motivation & Objective
- Demonstrate zero-shot NLU performance without any task-specific data.
- Leverage unidirectional PLMs to generate labeled training data guided by label-descriptive prompts.
- Fine-tune a bidirectional classifier on generated data with stability and generalization tricks.
- Analyze data quality selection and regularization techniques that improve robustness across tasks.
Proposed method
- Use a generator G_theta (unidirectional) to produce class-conditioned texts via label prompts.
- Generate single-sequence and sequence-pair data examples for GLUE tasks using prompts and sampling strategies.
- Rank generated samples by their average generation probability to select high-quality data.
- Fine-tune a classifier C_phi (bidirectional) on selected data with label smoothing and temporal ensembling as regularizers.
- Optionally extend to few-shot settings by combining real few-shot data with generated data.
- Provide ablations to show the impact of data selection, label smoothing, and temporal ensembling.
Experimental results
Research questions
- RQ1Can a zero-shot framework generate sufficiently high-quality labeled data to train NLU classifiers without any task-specific data?
- RQ2Do data selection and regularization techniques improve stability and generalization when training on synthetic data?
- RQ3How do different prompts, generator/classifier sizes, and data quantities affect zero-shot and few-shot performance on GLUE tasks?
- RQ4Is generation-based data creation more effective than prompting alone for zero-shot NLU?
- RQ5What is the effect of combining generated data with few-shot data on performance and stability?
Key findings
- SuperGen achieves strong zero-shot performance on seven GLUE tasks, outperforming prompt-based zero-shot methods.
- Data quality selection based on average generation probability greatly improves results over random sampling.
- Label smoothing and temporal ensembling improve generalization and stability during fine-tuning on generated data.
- With sufficient generated data, SuperGen can reach or exceed some few-shot results, showing competitive performance with as few as 32 samples per class in some settings.
- Ablations show each component (data selection, label smoothing, temporal ensembling) contributes to performance, especially on challenging tasks like MNLI.
- Using generators of larger size and appropriate control prompts yields better results; generation approach consistently outperforms CTRL prompting and other baselines in zero-shot and few-shot regimes.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.