English

Noisy Channel Language Model Prompting for Few-Shot Text Classification

Computation and Language 2022-03-16 v3 Artificial Intelligence

Abstract

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.

Keywords

Cite

@article{arxiv.2108.04106,
  title  = {Noisy Channel Language Model Prompting for Few-Shot Text Classification},
  author = {Sewon Min and Mike Lewis and Hannaneh Hajishirzi and Luke Zettlemoyer},
  journal= {arXiv preprint arXiv:2108.04106},
  year   = {2022}
}

Comments

15 pages, 6 figures. Published as a conference paper at ACL 2022 (long). Code available at https://github.com/shmsw25/Channel-LM-Prompting

R2 v1 2026-06-24T04:57:17.415Z