[Paper Review] Guess the Instruction! Flipped Learning Makes Language Models Stronger Zero-Shot Learners
This paper proposes Flipped Learning, a meta-training method that trains language models to generate task instructions from input-label pairs, improving zero-shot generalization—especially for unseen labels. The 11B Flipped model outperforms T0-11B by 8.4% and 3-shot GPT-3 (175B) by 9.7% on average across 14 BIG-Bench tasks, with up to 20% higher F1 on novel label pairs.
Meta-training, which fine-tunes the language model (LM) on various downstream tasks by maximizing the likelihood of the target label given the task instruction and input instance, has improved the zero-shot task generalization performance. However, meta-trained LMs still struggle to generalize to challenging tasks containing novel labels unseen during meta-training. In this paper, we propose Flipped Learning, an alternative method of meta-training which trains the LM to generate the task instruction given the input instance and label. During inference, the LM trained with Flipped Learning, referred to as Flipped, selects the label option that is most likely to generate the task instruction. On 14 tasks of the BIG-bench benchmark, the 11B-sized Flipped outperforms zero-shot T0-11B and even a 16 times larger 3-shot GPT-3 (175B) on average by 8.4% and 9.7% points, respectively. Flipped gives particularly large improvements on tasks with unseen labels, outperforming T0-11B by up to +20% average F1 score. This indicates that the strong task generalization of Flipped comes from improved generalization to novel labels. We release our code at https://github.com/seonghyeonye/Flipped-Learning.
Motivation & Objective
- To address the poor zero-shot generalization of meta-trained language models on tasks with novel labels.
- To improve label generalization by rethinking the standard meta-training paradigm that generates labels from instructions.
- To develop a more efficient and effective zero-shot learning method that reduces overfitting to seen label forms.
- To demonstrate that conditioning on labels during training enhances generalization to unseen tasks and label variants.
Proposed method
- Flipped Learning trains a language model to predict the task instruction given the input instance and correct label, flipping the standard generation direction.
- The method uses a standard cross-likelihood loss to maximize the probability of the correct instruction given input-label pairs.
- An unlikelihood loss is applied to discourage the model from generating the correct instruction for incorrect label options, improving discrimination.
- During inference, the model selects the label that most likely generates the task instruction, enabling zero-shot prediction without demonstrations.
- The approach is applied to T5-based models using only ~5% of T0’s compute and half the number of datasets, making it efficient.
- The method is scaled to 52 datasets (Flipped+) and evaluated on MMLU, showing strong performance with minimal data.
Experimental results
Research questions
- RQ1Can training language models to generate instructions from inputs and labels improve zero-shot generalization on unseen tasks?
- RQ2Does Flipped Learning reduce overfitting to specific label forms, such as 'yes/no' versus 'agree/disagree'?
- RQ3How does Flipped Learning compare to standard meta-training (e.g., Direct) in terms of performance on novel label pairs?
- RQ4Can a smaller model trained with Flipped Learning outperform much larger models like GPT-3 (175B) in zero-shot settings?
- RQ5Does scaling the number of training datasets in Flipped Learning further improve performance on challenging benchmarks like MMLU?
Key findings
- The 11B Flipped model outperforms T0-11B by 8.4% on average across 14 BIG-Bench tasks, demonstrating superior zero-shot generalization.
- Flipped surpasses 3-shot GPT-3 (175B) by 9.7% on average, despite being a zero-shot model and significantly smaller.
- On tasks with novel label pairs (e.g., 'yes/no' vs 'agree/disagree'), Flipped improves F1 by up to 20% over T0-11B, confirming enhanced label generalization.
- Flipped+—trained on 52 datasets—achieves strong performance on MMLU, reducing the gap with FLAN-T5 (which uses 10x more datasets) by 10% in accuracy.
- The model achieves state-of-the-art zero-shot performance across 14 common NLP tasks, outperforming all baseline models on average.
- The method is efficient: Flipped uses only 5% of T0’s compute and half the number of datasets, yet achieves superior results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.