[Paper Review] Noisy Channel Language Model Prompting for Few-Shot Text Classification
The paper introduces noisy channel prompting for few-shot text classification, showing channel models outperform direct models in stability, worst-case accuracy, and generalization, across multiple datasets and tuning methods.
We introduce a noisy channel approach for language model prompting in few-shot text classification. Instead of computing the likelihood of the label given the input (referred as direct models), channel models compute the conditional probability of the input given the label, and are thereby required to explain every word in the input. We use channel models for recently proposed few-shot learning methods with no or very limited updates to the language model parameters, via either in-context demonstration or prompt tuning. Our experiments show that, for both methods, channel models significantly outperform their direct counterparts, which we attribute to their stability, i.e., lower variance and higher worst-case accuracy. We also present extensive ablations that provide recommendations for when to use channel prompt tuning instead of other competitive methods (e.g., direct head tuning): channel prompt tuning is preferred when the number of training examples is small, labels in the training data are imbalanced, or generalization to unseen labels is required.
Motivation & Objective
- Motivate and formalize a noisy channel alternative to direct label-predicting prompts for few-shot text classification.
- Show that channel-based prompting yields lower variance and higher worst-case accuracy across verbalizers and seeds.
- Compare channel prompting to direct prompting under zero-shot, few-shot, and various tuning regimes.
- Provide practical guidelines on when to use channel prompting versus direct heads or full finetuning based on data size, label balance, and unseen labels.
Proposed method
- Define direct and channel prompting formulations for text classification with a pre-defined verbalizer mapping labels to natural language expressions.
- Present three demonstration methods: zero-shot, concat-based demonstrations, and ensemble-based demonstrations, for channel and direct models.
- Adopt Bayes rule P(x|c)P(c) for channel models and P(c|x) (or calibrated variants) for direct models; assume uniform class priors P(c).
- Investigate tuning methods with limited learnable parameters: head tuning, transformation tuning, and prompt tuning, for both direct and channel models.
- Use GPT-2 Large as the backbone LM and evaluate with multiple datasets, verbalizers, data seeds, and K-shot settings; report accuracy (average and worst-case).
- Conduct extensive ablations on training size K, label imbalance, and unseen-label generalization to derive practical recommendations.
Experimental results
Research questions
- RQ1Do channel models improve few-shot text classification accuracy and stability compared with direct models across multiple datasets?
- RQ2How do demonstration methods (zero-shot, concat-based, ensemble-based) compare between channel and direct models under few-shot settings?
- RQ3What is the impact of various limited-parameter tuning approaches (head, transformation, prompt tuning) on channel versus direct models?
- RQ4Under what data conditions (small K, imbalanced labels, large label space, unseen labels) is channel prompting most beneficial?
- RQ5Can channel prompting generalize to unseen labels or across tasks better than direct prompting?
Key findings
- Channel models outperform direct models across most datasets and setup variants, with notably higher worst-case accuracy.
- Ensemble-based demonstrations generally beat concat-based demonstrations for direct models, but channel models show strong gains especially with small data or imbalanced labels.
- Channel prompting with tuning (channel prompt tuning) yields large gains over direct baselines, with average improvements around 13.3% and worst-case improvements around 23.5% in their reported setting.
- Direct head tuning is unexpectedly competitive and, on some datasets, can surpass channel prompt tuning, but channel prompt tuning often remains superior, especially with imbalanced data or unseen labels.
- Channel prompting demonstrates robustness to label imbalance and ability to generalize to unseen labels, whereas direct models struggle when labels are underrepresented or novel.
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.