Introduction
Large Language Models (LMs) like GPT-3 have demonstrated remarkable few-shot learning capabilities, yet their massive scale makes them inaccessible for many researchers. Smaller models can achieve competitive performance using Pattern Exploiting Training (PET), which reformulates tasks into cloze-style questions. However, standard PET typically requires thousands of unlabeled task-specific examples to reach peak performance. ADAPET (A Densely-supervised Approach to Pattern Exploiting Training) addresses this limitation, aiming to achieve state-of-the-art few-shot performance using only a tiny labeled dataset (e.g., 32 examples) without any unlabeled data.
Methods
ADAPET enhances the PET framework by introducing two novel objectives designed to extract denser supervision from limited labeled data:
- Decoupling Label Losses: Unlike standard PET, which only considers logits for specific label tokens, ADAPET employs a Binary Cross Entropy (BCE) objective. This forces the model to increase the probability of the correct label while specifically decreasing the probability of incorrect labels relative to the entire vocabulary, providing a stronger gradient signal.
- Label Conditioning: This inverse task requires the model to predict masked-out words in the input text given the correct label. By learning to reconstruct the context that justifies a specific label, the model develops a deeper understanding of the relationship between input text and task labels.
ADAPET simplifies the training pipeline by removing the complex multi-stage distillation and ensembling required by previous PET variants.
Datasets and Evaluation
The performance of ADAPET was evaluated on the SuperGLUE benchmark, covering diverse NLU tasks including BoolQ, CB, RTE, COPA, WiC, WSC, MultiRC, and ReCoRD. For each task, the model was restricted to a training set of only 32 labeled examples.
Key Results
ADAPET significantly outperforms larger models and previous semi-supervised methods. On the SuperGLUE dev set, ADAPET achieved an average score of 77.3, surpassing GPT-3 (73.2) and the previous state-of-the-art PET variant, iPET (76.8). Notably, ADAPET achieved these results using zero unlabeled examples, whereas iPET required approximately 9,000 unlabeled examples per task.
Ablation studies confirmed the importance of the new objectives; for instance, removing Label Conditioning led to a performance drop from 91.1 to 75.0 on the CB dataset.
Discussion and Insights
The success of ADAPET highlights several key insights:
- Efficiency over Scale: Clever training objectives can compensate for a 1,000x difference in model parameters (223M for ALBERT-xxlarge vs. 175B for GPT-3).
- Dense Supervision: Denser supervision on a small labeled set is a viable alternative to semi-supervised learning with large unlabeled datasets.
- Regularization via Inverse Tasks: Label conditioning acts as a powerful regularizer, preventing the model from overfitting to superficial statistical cues in the small training set.
- Training Duration: Unlike standard few-shot fine-tuning, ADAPET allows for longer training (up to 1,000 batches) without losing generalization.
Limitations
Future work may explore more sophisticated masking strategies for label conditioning, as the current random masking is simple. Additionally, while ADAPET improves handling of multi-token labels, simplifying the objective for long-form answers remains an open challenge. Interestingly, Task-Adaptive Pre-training (TAPT) was found to hinder ADAPET's performance, suggesting the need for pattern-aware pre-training methods.
Summary updated