TL;DR: FewGen is a novel framework that boosts few-shot learning by using a generative language model to synthesize massive amounts of high-quality training data. By using a "meta-weighted" objective, the system learns to prioritize label-indicative words, outperforming existing few-shot methods on the GLUE benchmark by over 5 points on average.
The Challenge: Data Scarcity and Generation Quality
Pretrained Language Models (PLMs) are surprisingly adept at "few-shot" learning—adapting to a new task with only a handful of examples (e.g., 16 per label). However, there remains a massive performance gap between these few-shot models and those trained on thousands of human-annotated samples.
The core challenge is data scarcity. While we can use PLMs to generate more data, standard generation often fails because the model focuses on general language patterns rather than the specific nuances that distinguish one label from another. For example, in sentiment analysis, a generator might produce many sentences containing the phrase "the movie," which is common to both positive and negative reviews but provides zero signal for a classifier.
The FewGen Methodology
To address this, the authors propose FewGen, a two-stage pipeline designed to synthesize high-quality, label-discriminative training data.
1. Generator Tuning The first stage takes an autoregressive PLM (like CTRL, 1.6B parameters) and uses prefix-tuning to adapt it to the few-shot examples. Crucially, the authors discard standard Maximum Likelihood Estimation (MLE) in favor of a Meta-Weighted Generator Tuning objective. A small "weighting network" learns to assign higher importance to tokens that are "label-discriminative" (e.g., words like "breathtaking" versus "boring"). This is optimized via a bi-level meta-learning setup where the weights are adjusted based on how well they help a discriminative objective.
2. Classifier Fine-Tuning Once the generator is tuned, it synthesizes thousands of new samples. A classification model (such as RoBERTa-Large) is then trained on a mix of the original few-shot data and this new synthetic data. To handle the inevitable "noise"—synthetic samples that might have the wrong label—the authors employ temporal ensembling and label smoothing to ensure the classifier remains robust and does not overfit to incorrect patterns.
Evaluation and Key Results
The researchers evaluated FewGen on seven classification tasks from the GLUE (General Language Understanding Evaluation) benchmark, including sentiment analysis (SST-2), linguistic acceptability (CoLA), natural language inference (MNLI, QNLI, RTE), and paraphrase detection (QQP, MRPC). They followed a "strict few-shot" protocol, using only 16 labeled samples per label for training and development.
FewGen achieved state-of-the-art results for augmentation-based few-shot learning:
- Average Performance: FewGen reached an average score of 72.8 across the GLUE tasks.
- Versus No Augmentation: It outperformed the previous best non-augmentation method (LM-BFF) by 5.5 points.
- Versus Other Augmentation: It beat GPT3Mix by 3.6 points and standard back-translation by over 12 points.
Key Insights
- Not All Tokens are Equal: Standard training treats every word in a training sentence as equally important for generation. FewGen proves that for data augmentation, the model should "over-learn" the words that define the class. Qualitative visualizations of the learned weights showed the model successfully "highlighted" words like "hates" or "weak" when generating for negative or contradictory classes.
- Small Generators Can Beat Giants: FewGen (using a 1.6B parameter model) outperformed GPT3Mix, which uses the massive 175B parameter GPT-3. This suggests that how you tune a model on few-shot data is more important than the raw size of the model.
- Noise Robustness is Mandatory: Even with meta-weighting, generators aren't perfect. Using temporal ensembling (averaging model predictions over time to filter out "confused" synthetic samples) is critical for preventing the classifier from learning incorrect patterns.
Limitations and Future Work
While highly effective, FewGen introduces computational overhead. It is more expensive than simple prompt-tuning because it requires training a generator, synthesizing a large dataset, and then training a final classifier. Additionally, like all methods relying on PLMs, there is a risk that the generator might amplify social biases present in its pretraining data when creating synthetic samples.
Future directions suggested by the authors include exploring even larger PLMs as generators and investigating "closed-loop" systems where the classifier provides direct feedback to the generator to further improve data quality.
Summary updated