Skip to main content
QUICK REVIEW

[Paper Review] Generate, Annotate, and Learn: Generative Models Advance Self-Training and Knowledge Distillation.

Xuanli He, Islam Nassar|arXiv (Cornell University)|Jun 11, 2021
Domain Adaptation and Few-Shot LearningComputer Science96 references7 citations
TL;DR

This paper introduces GAL (Generate, Annotate, and Learn), a framework that uses fine-tuned GPT-2 to generate in-domain unlabeled data for self-training and knowledge distillation. By generating synthetic data and using soft pseudo-labels from classifiers, GAL improves performance on GLUE, CIFAR-10, and UCI tabular tasks, achieving state-of-the-art results on 6-layer transformers and outperforming RoBERTa-large on GLUE.

ABSTRACT

Semi-Supervised Learning (SSL) has seen success in many application domains, but this success often hinges on the availability of task-specific unlabeled data. Knowledge distillation (KD) has enabled compressing deep networks and ensembles, achieving the best results when distilling knowledge on fresh task-specific unlabeled examples. However, task-specific unlabeled data can be challenging to find. We present a general framework called generate, annotate, and learn (GAL) that uses unconditional generative models to synthesize in-domain unlabeled data, helping advance SSL and KD on different tasks. To obtain strong task-specific generative models, we adopt generic generative models, pretrained on open-domain data, and fine-tune them on inputs from specific tasks. Then, we use existing classifiers to annotate generated unlabeled examples with soft pseudo labels, which are used for additional training. When self-training is combined with samples generated from GPT2-large, fine-tuned on the inputs of each GLUE task, we outperform a strong RoBERTa-large baseline on the GLUE benchmark. Moreover, KD on GPT-2 samples yields a new state-of-the-art for 6-layer transformers on the GLUE leaderboard. Finally, self-training with GAL offers significant gains on image classification on CIFAR-10 and four tabular tasks from the UCI repository

Motivation & Objective

  • To address the challenge of limited access to task-specific unlabeled data in semi-supervised learning and knowledge distillation.
  • To improve model performance on downstream NLP, vision, and tabular tasks without relying on real unlabeled data.
  • To develop a generalizable framework that leverages pretrained generative models for data synthesis and pseudo-labeling.
  • To demonstrate that synthetic data from fine-tuned GPT-2 can enhance self-training and knowledge distillation across diverse tasks.

Proposed method

  • Fine-tune a generic pretrained generative model (GPT-2-large) on task-specific inputs to create task-specific generative models.
  • Use the fine-tuned generator to synthesize in-domain unlabeled examples for downstream tasks.
  • Apply existing classifiers to assign soft pseudo-labels to the generated samples.
  • Use the generated, pseudo-labeled data in self-training to further improve the student model.
  • Apply knowledge distillation using the generated data to train smaller models, improving performance and efficiency.
  • Train and evaluate on diverse benchmarks: GLUE for NLP, CIFAR-10 for vision, and UCI tabular datasets.

Experimental results

Research questions

  • RQ1Can unconditional generative models be fine-tuned to generate high-quality, in-domain unlabeled data for downstream tasks?
  • RQ2Does self-training with synthetic data generated via fine-tuned GPT-2 improve performance on GLUE and other benchmarks?
  • RQ3Can knowledge distillation on generated data achieve state-of-the-art results for smaller transformer models?
  • RQ4How effective is the GAL framework across diverse domains, including NLP, vision, and tabular data?
  • RQ5Does the use of soft pseudo-labels on generated data lead to consistent gains in model generalization?

Key findings

  • Self-training with GAL-generated data from fine-tuned GPT-2-large outperforms a strong RoBERTa-large baseline on the GLUE benchmark.
  • Knowledge distillation on GPT-2-generated samples achieves a new state-of-the-art result for 6-layer transformers on the GLUE leaderboard.
  • Self-training with GAL yields significant performance gains on CIFAR-10 image classification.
  • The framework improves performance across four tabular learning tasks from the UCI repository.
  • The use of soft pseudo-labels on generated data leads to consistent and measurable improvements across all evaluated tasks.

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.