Towards Zero-Label Language Learning

Zirui Wang, Adams Wei Yu, Orhan Firat, Yuan CaoarXiv 2021

Abstract

This paper explores zero-label learning in Natural Language Processing (NLP), whereby no human-annotated data is used anywhere during training and models are trained purely on synthetic data. At the core of our framework is a novel approach for better leveraging the powerful pretrained language models. Specifically, inspired by the recent success of few-shot inference on GPT-3, we present a training data creation procedure named Unsupervised Data Generation (UDG), which leverages few-shot prompts to synthesize high-quality training data without real human annotations. Our method enables zero-label learning as we train task-specific models solely on the synthetic data, yet we achieve better or comparable results from strong baseline models trained on human-labeled data. Furthermore, when mixed with labeled data, our approach serves as a highly effective data augmentation procedure, achieving new state-of-the-art results on the SuperGLUE benchmark.

Introduction

Deep learning models traditionally require vast amounts of human-annotated data to achieve high performance. While large language models (LLMs) like GPT-3 have introduced "few-shot inference"—predicting labels from a handful of examples without weight updates—this approach often lags behind specialized, fine-tuned models.

A core issue identified in this work is the misalignment between few-shot inference and the pre-training objectives of LLMs. In natural text, labels or summaries often precede the context (e.g., a star rating before a review). Forcing a model to generate a label after the text can be suboptimal. This paper proposes a paradigm shift: using LLMs as high-quality data generators rather than simple inferencers, thereby decoupling knowledge extraction from computational constraints.

Methodology: Unsupervised Data Generation (UDG)

The proposed framework, Unsupervised Data Generation (UDG), reconfigures the LLM's role. Instead of predicting a label $Y$ given input $X$, the model is prompted with a target pseudo-label $Y$ and asked to generate the corresponding input text $X$.

Overview of the UDG framework and the NLA fine-tuning loop.

Zero-Label Prompting and Synthesis

To guide the generation without human labels, the prompt includes a task description and a few unlabeled examples to establish the desired style. The LLM then uses top-k sampling to produce a diverse synthetic dataset of $(X, Y)$ pairs. This process allows the transfer of knowledge from a massive LLM into a smaller, deployable model (like BERT or T5) through standard supervised fine-tuning on the synthetic data.

Noisy Label Annealing (NLA)

To handle potential hallucinations or misaligned labels in the synthetic data, the authors introduce Noisy Label Annealing (NLA). During fine-tuning, NLA filters out training examples where the downstream model's prediction strongly disagrees with the synthetic label. The confidence threshold for this filtering is dynamically adjusted as the model's accuracy improves, allowing the system to self-correct.

Experimental Results

The framework was evaluated across text classification tasks (sentiment analysis, topic classification) and the rigorous SuperGLUE benchmark.

SuperGLUE Performance

UDG demonstrates remarkable efficacy in zero-label settings. As shown in the results, the unsupervised UDG approach significantly outperforms GPT-3's few-shot inference.

Comparison of SuperGLUE performance across human baselines, previous SOTA, and UDG-based models.

When UDG is utilized as a data augmentation technique alongside existing human-labeled data, the resulting T5+UDG model achieves a SuperGLUE score of 90.4, surpassing the previous state-of-the-art (89.3) and, for the first time, exceeding human performance (89.8).

Text Classification

In standard classification tasks, the zero-label UDG + NLA approach proved competitive with fully supervised models. Notably, it outperformed a supervised BERT-Large baseline on the IMDb (96.29% vs 95.49%) and Yelp-2 (98.38% vs 98.11%) datasets, demonstrating that synthetic data can sometimes provide a stronger training signal than limited human labels.

Conclusion

This work demonstrates that LLMs are highly effective as unsupervised data generators. By aligning the task with the model's generative strengths and employing self-correcting mechanisms like NLA, it is possible to train high-performing, task-specific models without any human annotation. While synthetic noise remains a challenge, UDG opens new avenues for low-resource domains and sets a new bar for performance on complex NLU benchmarks.

Summary updated

BibTeX
@misc{wang2021towards,
  author = {Zirui Wang and Adams Wei Yu and Orhan Firat and Yuan Cao},
  title = {{Towards Zero-Label Language Learning}},
  year = {2021},
  eprint = {2109.09193},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.09193},
}
Figure