Skip to main content
QUICK REVIEW

[Paper Review] Co-training Improves Prompt-based Learning for Large Language Models

Hunter Lang, Monica Agrawal|arXiv (Cornell University)|Feb 2, 2022
Topic ModelingComputer Science17 citations
TL;DR

This paper proposes co-training to improve prompt-based learning in large language models by jointly optimizing a large frozen prompt model and a smaller, finetunable model using unlabeled data. The method enhances performance on few-shot and zero-shot tasks, especially when the initial prompt signal is noisy or limited, and produces a smaller, high-performing task-specific model as a byproduct.

ABSTRACT

We demonstrate that co-training (Blum & Mitchell, 1998) can improve the performance of prompt-based learning by using unlabeled data. While prompting has emerged as a promising paradigm for few-shot and zero-shot learning, it is often brittle and requires much larger models compared to the standard supervised setup. We find that co-training makes it possible to improve the original prompt model and at the same time learn a smaller, downstream task-specific model. In the case where we only have partial access to a prompt model (e.g., output probabilities from GPT-3 (Brown et al., 2020)) we learn a calibration model over the prompt outputs. When we have full access to the prompt model's gradients but full finetuning remains prohibitively expensive (e.g., T0 (Sanh et al., 2021)), we learn a set of soft prompt continuous vectors to iteratively update the prompt model. We find that models trained in this manner can significantly improve performance on challenging datasets where there is currently a large gap between prompt-based learning and fully-supervised models.

Motivation & Objective

  • To address the brittleness and high resource demands of prompt-based learning in large language models.
  • To improve few-shot and zero-shot performance without relying on labeled data beyond the initial few-shot examples.
  • To distill knowledge from large prompt models into smaller, efficient, task-specific models through co-training.
  • To explore co-training in both partial-access (e.g., GPT-3) and full-access (e.g., T0) settings for prompt tuning.
  • To investigate the conditions under which co-training succeeds or fails in prompting scenarios.

Proposed method

  • Co-training is applied using two complementary views: (1) output probabilities from a large frozen prompt model (e.g., GPT-3 or T0) as φ₀(X), and (2) contextual representations from a smaller pre-trained model (e.g., DeBERTa) as φ₁(X).
  • In the partial-access setting, a 'label model' h₀ is trained to calibrate and ensemble multiple prompts using unlabeled data, initialized via Calibrate-Before-Use (Zhao et al., 2021).
  • In the full-access setting, soft prompt tuning is used: a learnable embedding matrix (soft prompt) is prepended to input tokens and jointly optimized with the smaller model h₁ (DeBERTa).
  • The two models h₀ and h₁ alternate: h₀ is trained on confident pseudo-labels from h₁, and h₁ is trained on confident pseudo-labels from h₀, using unlabeled data.
  • Confidence thresholds (β) control the coverage of pseudo-labeled data, and balanced accuracy is used to monitor pseudo-label quality during training.
  • Initialization for h₀ uses repeated [PAD] token embeddings for soft prompts or calibrated prompt ensembles for the label model.

Experimental results

Research questions

  • RQ1Can co-training with unlabeled data improve the performance of prompt-based learning in large language models?
  • RQ2Does co-training enable the learning of a smaller, high-performing task-specific model while refining the prompt model?
  • RQ3Under what conditions does co-training fail in prompting, and why?
  • RQ4How does the quality of the initial prompt signal affect co-training performance?
  • RQ5Can complementary views from different model types (e.g., GPT-3 and DeBERTa) improve generalization in co-training?

Key findings

  • Co-training consistently improves performance on challenging few-shot and zero-shot benchmarks, including RTE, TREC, and CB, when the initial prompt signal is strong and unlabeled data is sufficient.
  • On the CB dataset with only 250 training examples, co-training fails due to insufficient unlabeled data and overfitting, especially at low confidence thresholds (β=0.5).
  • On BoolQ, co-training degrades performance due to high noise in pseudo-labels (total noise η=0.98 at t=1), indicating that the initial soft prompt signal is too weak for effective co-training.
  • The method successfully reduces performance gaps between prompt-based and fully supervised models, particularly when the initial prompt model provides a reliable signal.
  • Co-training enables the distillation of knowledge from large models into smaller, efficient models, producing a smaller, high-performing classifier as a byproduct.
  • The performance of co-training is sensitive to the quality of the initial signal: poor initialization leads to high noise in pseudo-labels, which hinders learning.

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.