Noisy Channel Language Model Prompting for Few-Shot Text Classification
Paper · 2021 · Sewon Min, Mike Lewis, Hannaneh Hajishirzi et al.
Summary
Give a classifier a handful of labeled reviews and its accuracy can depend on how you phrase the possible answers. In ordinary prompted text classification, a language model sees a review and scores expressions that stand for its possible ratings. An expression can score well partly because it is a familiar continuation. The authors investigate what happens when the review and the rating switch places. They put a candidate rating first and score the review that follows it. Each rating has to account for the same observed text, token by token. This is a noisy channel decision with equal prior weight for every class, adapted from an approach used in machine translation.
The experiments cover eleven datasets and use GPT-2 Large in the main comparisons. The authors test scoring without examples, scoring with examples in the context, and scoring with a learned prompt made of trainable vectors. With examples in the context, they compare putting all the examples together with evaluating each example separately and multiplying the scores. They also compare channel scoring with Direct++, a correction that measures how readily a label expression is predicted when the input is uninformative. These comparisons ask whether the scoring direction matters even when the direct approach has a way to adjust for its background preferences.
In the main few-shot demonstration experiment, the strongest channel approach leads the strongest direct approach by 3.1% absolute in average accuracy across datasets and by 7.2% absolute in the average of their worst-run accuracies. With prompt tuning, the comparable gains over direct prompt tuning are 13.3% and 23.5% absolute. Individual direct runs can be excellent. The channel methods have a more consistent advantage across the tested label expressions and random choices, particularly at the low end of the accuracy range.
Direct head tuning, which updates the matrix that assigns scores to possible next tokens, is a stronger competitor than direct prompt tuning. It beats channel prompt tuning on TREC question classification and on Subj subjectivity classification. The case for channel prompt tuning is strongest when labeled examples are scarce, one class is poorly represented, or an allowed class has no examples in task training. In the last setting, the authors observe that channel prompt tuning can select the omitted class, while the tested direct methods never do. For few-shot learning, the choice of what to score can therefore affect both the reliability of a run and which classes the classifier can use after adaptation.
Deep dive: Noisy Channel Language Model Prompting for Few-Shot Text Classification
Noisy channel prompting improves few-shot text classification by scoring the input under each candidate label and reducing the risk of a weak run. · about 38 minutes to read
The problem and its context
A class name becomes part of the classifier
A review can be labeled favorable by writing a category word or by writing a sentence that expresses approval. Either can represent the same annotation. In a prompted classifier, however, those choices are part of the calculation. The system takes ordinary text as context and assigns probabilities to possible continuations. A class identifier has to be rendered in a form that fits this interface. The authors call the mapping from classes to expressions a verbalizer. Changing the verbalizer can preserve the task while changing the answer the system favors.
This matters because a continuation has to compete in a vocabulary designed for predicting text in general. A phrase may be common in a given context, or its meaning may also be expressed by alternatives that share the probability assigned to that meaning. A classifier restricted to a particular expression for each label sees only the probabilities of those chosen strings. If its score favors one expression, some of that preference may be present even when the input supplies little evidence about the class. Previous work discussed by the authors treats this as a reason to correct the scores before using them to make decisions.
A second source of instability comes from the examples used to present the task. In-context demonstrations put labeled examples in the same sequence as the text to be classified. When the training sample is tiny, another draw can supply different language, show different classes, or put a familiar class in a more prominent position. Earlier studies cited by the authors report large swings across prompt arrangements and verbalizers, with some outcomes near chance. One study specifically examines the order of examples. Even if two prompts contain the same demonstrations, their resulting sequences differ, and the continuation calculation can distinguish them. Fantastically Ordered Prompts
The practical difficulty is choosing a reliable procedure with very little labeled data. One could compare expressions and example orders on a separate set of labeled items, but such a set consumes some of the supervision the few-shot experiment is meant to conserve. If evaluation mainly draws attention to the strongest configuration, it also leaves a reader with little sense of what happens under ordinary variations. The paper asks whether the classifier can become less sensitive to those choices by changing what its probability actually measures.
The alternatives already available
The authors situate prompting alongside earlier approaches that tried to get more from a small labeled set. They cite semisupervised learning with data augmentation and consistency training, as well as meta-learning. Augmentation creates variations of available examples. Consistency training uses an objective that encourages compatible predictions across related versions of an input. Meta-learning treats adaptation itself as something that can be learned. Prompting opens another route by using the abilities of a pretrained system through its existing text interface. Unsupervised Data Augmentation for Consistency Training · Model-Agnostic Meta-Learning
The demonstration procedure associated with Brown and colleagues gives the pretrained system a sequence of examples whose format it can continue. For a classifier, the input in each example can be followed by the textual form of its label. After seeing the same arrangement repeatedly, the system scores a label after the new input. Task examples can influence this procedure at prediction time without any weight updates. That property matters when updating and storing a separate set of weights for each application would be expensive. Language Models are Few-Shot Learners
The paper describes two broad lines of work that followed this use of prompting. One looked for better prompts, either by choosing discrete text or by learning continuous vectors. Discrete prompts are sequences of tokens. Continuous prompts occupy positions in the sequence but are represented by trainable vectors, which need not correspond to the vocabulary entries from which they might have been initialized. The other line of work changed how scores were used. It sought to correct problems such as the competition between different strings that express the same answer. Both lines could retain the usual direction of the decision, with the observation supplied first and the candidate answer scored after it. AutoPrompt · Making Pre-trained Language Models Better Few-shot Learners · The Power of Scale for Parameter-Efficient Prompt Tuning
Why a noisy channel is a plausible alternative
The channel approach treats each candidate answer as a possible source of the observation. It asks how likely that source would be to produce what was actually observed. A separate prior gives each candidate a weight before the evidence is considered. The paper draws this way of arranging the decision from earlier translation research. It also cites applications to classification and question answering, including empirical work on changes in the distribution of examples and work on learning from scarce data. The authors describe earlier theoretical work as suggesting that channel classifiers can approach their eventual error levels sooner as training data accumulates. Those precedents motivate an experiment with prompted classification, where the way a class is expressed in text introduces its own difficulties. A Syntax-based Statistical Translation Model · Statistical Phrase-Based Translation
Two closely related approaches help define the paper's question. One earlier method trains a masked language model with an objective that uses label information as context. Its test-time decision still predicts the label in the direct direction. Another line of work explores a reverse conditional in zero-shot scoring based on pointwise mutual information, a measure of how much an association changes probabilities relative to their baselines. The authors describe that setup as requiring input and output to be interchangeable. Here the two sides have distinct jobs. A label expression conditions the scoring of the input, which can be a much longer piece of text. The paper applies that arrangement to demonstrations and to learned prompts for few-shot classification.
The authors use “channel” for a particular direction of conditioning. The word “generative” can cover a wider range of probability factorizations, including a joint probability constructed from a marginal for the input and a direct conditional for the output. The direction matters here because it determines which part of the text the system must predict. Under a channel prompt, a class label changes the conditions under which the observed text is scored. This creates a specific alternative to controlling an output preference through calibration or searching for a better wording of the label.
The method, step by step
Turn each class into something that can precede the input
The paper illustrates the method with a short appraisal of a film that calls it a master class. Imagine the possible labels expressed by brief sentences, one praising the film and the other condemning it. In ordinary direct scoring, the appraisal comes first. The two evaluative sentences compete to be the more probable continuation. The channel version starts with each evaluative sentence in turn. For each one, it calculates the likelihood of seeing the original appraisal next. A favorable label wins if its expression makes that appraisal a more probable continuation than the unfavorable expression does.
The appraisal is already present at prediction time. To obtain its score, the classifier can pass its actual tokens through the causal system and read the probability assigned to each successive token. It then compares scores for complete copies of the same appraisal under different conditions. The classification procedure returns a class from the task's inventory. The possible continuations in the channel likelihood calculation are text sequences, but the search for a class is confined to the supplied candidates.
How channel prompting scores a candidate class
The steps in order.
The demonstrations and the learned vectors are alternative ways of supplying task information in the main experiments. Zero-shot scoring supplies the candidate expression alone as its task-specific context. In the concatenated demonstration setting, a sequence of labeled examples precedes the candidate expression. In the ensemble setting, there are several contexts, each containing a separate example. Prompt tuning learns a prefix from labeled data before classification begins.
Define the task and the label expressions
The classification task can be written as a mapping.
f: 𝒳 → 𝒞
Here, f is the classifier, 𝒳 is the space of natural-language texts and 𝒞 is the set of labels prescribed for the task. The arrow indicates that the classifier maps a text to a member of that set. The paper writes the individual input as x and a candidate label as cᵢ, with i identifying the candidate. The set runs from c₁ through cₘ, where m is its size.
The verbalizer is another mapping with its own purpose.
v: 𝒞 → 𝒳
Here, v is a pre-defined function from the class inventory 𝒞 to the text space 𝒳. Its value v(cᵢ) is the expression associated with class cᵢ. The classifier returns the class, while the probability calculation works with that expression. In the sentiment example, positive and negative are abstract categories, and the short sentences communicating approval and disapproval provide their respective textual forms.
For the few-shot conditions, the training data have the following structure.
𝒟 = {(xʲ, cʲ) : j = 1, …, K}
The symbol 𝒟 denotes the sample used to adapt the classifier. Each pair contains the input text xʲ and its label cʲ. The superscript j is an example index, running from 1 to K, and K is the sample size. The indexed training labels need not cover every candidate in 𝒞. The candidate inventory comes from the task definition, while the labels appearing in 𝒟 depend on which examples are supplied.
Derive the score for a class
The direct formulation ranks candidates by the conditional class probability.
S_D(cᵢ, x) = P(cᵢ | x)
S_D denotes the direct score for class cᵢ on input x. P denotes probability, and the bar separates the event being scored from the information given to the calculation. With x held fixed, each value is a score for a different class. The prompted implementation reads this score from the probability of the verbalizer's text.
The calibrated direct formulation used for demonstrations divides that score by a baseline.
S_D++(cᵢ, x) = P(cᵢ | x) / P(cᵢ | NULL)
S_D++ is the paper's Direct++ score. The numerator uses the observed text x. NULL stands for the null-input condition used to estimate the baseline preference for cᵢ. The slash denotes division. A label expression favored in the null condition needs correspondingly more support from the actual input to obtain a high ratio. The calculation compares relative support across labels. Its output serves as a ranking score and does not require interpreting the ratio itself as the probability that a class is correct.
The channel formulation begins with Bayes' rule.
P(cᵢ | x) = P(x | cᵢ) P(cᵢ) / P(x)
P(cᵢ | x) is the probability of the class after taking the input into account. The reversed conditional P(x | cᵢ) represents the likelihood of the observed text under that class. P(cᵢ) is the class prior, which gives a weight before observing the text. The adjacent terms in the numerator are multiplied. The denominator P(x) is the marginal probability of the observed input.
At decision time the denominator is common to every candidate. The class prior would still affect the ranking if it gave some labels more weight than others. Here the authors assign a uniform prior.
P(cᵢ) = 1 / |𝒞|
The number 1 is divided by |𝒞|, the count of labels in the inventory. Because this value is shared by all candidates, ranking them under the channel formulation depends only on P(x | cᵢ).
ĉ = argmax[cᵢ ∈ 𝒞] P(x | cᵢ)
The prediction is ĉ. The operation argmax returns the candidate that attains the greatest score, and cᵢ ∈ 𝒞 restricts the choice to classes in the inventory. The quantity maximized is the conditional likelihood of the same observed text under each candidate. The derivation describes a probabilistic decision rule. The experiment then asks how well two different ways of obtaining scores from a pretrained system approximate a useful classification decision.
Score a continuation in its actual order
The method uses a causal language model, which assigns a distribution over the next token using the preceding tokens. A token is a unit from the system's vocabulary, so the units in the likelihood calculation are those supplied by tokenization. The system can score an entire continuation by breaking it into successive next-token predictions.
P_LM(y | x) = ∏[t = 1 … tᵧ] P_LM(yₜ | x₁ … xₜₓ, y₁ … y₍ₜ₋₁₎)
P_LM denotes a conditional probability supplied by the language model. In this generic expression, x is the prefix, with tₓ tokens, and y is the continuation, with tᵧ tokens. The indexing symbol t identifies a position in the continuation. The term yₜ is the token being scored at that position. The context includes the tokens from x₁ through the end of the prefix and the continuation tokens from y₁ through y₍ₜ₋₁₎, the token just before the current one. The ellipses run through intervening tokens, and ∏ multiplies the successive conditional probabilities. Each token belongs to the system's vocabulary, denoted by 𝒱.
In the channel classifier the fixed observation takes the role of y in this generic sequence formula. Each token is scored in light of the label expression and the portion of the observation that precedes it. In the direct classifier, the roles of the text and the expression are reversed, so only the expression supplies target tokens for the score. The input still affects the direct calculation through the context. The structural difference is which tokens contribute likelihood terms.
The authors use length normalization in practice, following earlier work on scoring textual alternatives. This matters because a product accumulates a factor for every token, and the direct classifier can be comparing expressions of different lengths. In the channel classifier, the text being compared is the same across candidates, so its number of scored tokens is fixed for a given example. The token-by-token calculation also explains the training intuition. With a learned prompt in front, a channel training example supplies prediction targets throughout the observation. Direct prompt tuning gets its prediction targets from the label expression. Whether the extra targets improve classification is an experimental question.
Use no demonstrations, one combined context, or an ensemble
In zero-shot scoring, the only material needed for the classification interface is the new input and the expression associated with each candidate. The direct and channel scores are the following.
S_D,zero(cᵢ, x) = P_LM(v(cᵢ) | x)
S_D,zero denotes the direct score with no labeled examples in context. The task text x serves as the prefix. The likelihood of the candidate expression v(cᵢ) is the quantity used for ranking.
S_C,zero(cᵢ, x) = P_LM(x | v(cᵢ))
S_C,zero denotes the corresponding channel score. The verbalizer text v(cᵢ) is the prefix, and x is the continuation whose probability is measured. Each candidate gets its own conditional score for the observed text.
With concatenated demonstrations, the authors put all the training pairs in one sequence. The order inside each pair follows the direction of scoring. In the direct version an example text precedes its label expression. The sequence ends with the test text, leaving the candidate expression to be evaluated.
S_D,concat(cᵢ, x) = P_LM(v(cᵢ) | x¹, v(c¹), …, xᴷ, v(cᴷ), x)
S_D,concat is the direct concatenation score. x¹ through xᴷ are the demonstration texts and v(c¹) through v(cᴷ) are the expressions corresponding to their observed labels. The commas indicate pieces placed in sequence, and the ellipsis stands for intervening training pairs in the same format. The final x after the demonstrations is the text to classify, and v(cᵢ) is the candidate continuation.
The channel version puts every demonstration's class expression before its example text. Then the expression for the candidate test label supplies the last piece of context.
S_C,concat(cᵢ, x) = P_LM(x | v(c¹), x¹, …, v(cᴷ), xᴷ, v(cᵢ))
S_C,concat is the channel concatenation score. Each displayed pair has the same label-first format, while v(cᵢ) precedes the input x being scored. This arrangement presents the examples and prediction in a consistent direction. It gives the next-token calculation a single context that contains all the demonstrations together.
The paper also proposes an ensemble of demonstration-conditioned scores. It constructs a context for each example separately and combines the resulting scores by multiplication. For Direct, the product has the following form.
S_D,ens(cᵢ, x) = ∏[j = 1 … K] P_LM(v(cᵢ) | xʲ, v(cʲ), x)
S_D,ens is the direct ensemble score. j runs through the K labeled examples in 𝒟. Each term conditions on the text and class expression of example j and then on the new input x. The candidate expression v(cᵢ) is held fixed across the terms in the product. The process is repeated to get a score for each candidate.
S_C,ens(cᵢ, x) = ∏[j = 1 … K] P_LM(x | v(cʲ), xʲ, v(cᵢ))
S_C,ens is the channel ensemble score. Each factor measures the probability of the new input x after one label-first example and the candidate expression v(cᵢ). Each demonstration contributes its own likelihood, and all of those likelihoods enter the product.
A product is insensitive to the order of its factors, so the order of the examples no longer changes what is scored. The internal order of the tokens within each example still matters. Another consequence is that any one conditional score sees only one example. A concatenated context can use relationships among examples within the same sequence. The ensemble lets their scores interact only at the aggregation stage. Its product is a procedure for combining scores, with no need to assume that the examples supply independent probabilistic evidence about the input.
The paper gives different memory scaling for the two ways of presenting examples.
M_concat = O(K²), M_ens = O(K)
M_concat and M_ens denote memory use for concatenation and the ensemble, respectively. The O notation refers to how it grows with the demonstration count K. K² is quadratic growth, while K is linear growth. In the authors' comparison, the longer combined sequence is responsible for the higher memory requirement. The ensemble uses multiple separately conditioned evaluations, so a smaller memory requirement and fewer evaluations are distinct properties.
Learn a prefix or adapt the route to vocabulary scores
The tuning experiments give the labeled task data a different role. The examples determine updates to trainable quantities before inference. At prediction time the interface follows the zero-shot layouts, with a learned prefix added for prompt tuning. Direct head tuning and direct transformation tuning instead modify how the representation of the context becomes an output score. Complete fine-tuning provides a reference with updates throughout the pretrained network. The restricted methods are intended to keep the number of trainable parameters very small, typically below 0.01% of the total.
In head tuning, the pretrained output matrix converts the final hidden representation into raw vocabulary scores. A hidden representation is the vector that the last transformer layer supplies for the next-token prediction. The computation for a vocabulary item is written as follows.
P_LM(vᵢ | x) = [Softmax(O hₓ)]ᵢ
In this equation vᵢ is vocabulary token i, distinct from the class-to-text function v. hₓ is the final hidden vector for the prefix x. O is the output matrix, whose product with hₓ yields logits, or raw scores, for the vocabulary. Softmax converts them to probabilities across the vocabulary, and the subscript on the brackets selects entry i. If h is the length of the hidden vector and |𝒱| is the vocabulary size, the full head is described as a real-valued matrix with |𝒱| rows and h columns.
During pretraining, the vocabulary head shares weights with the matrix that maps input tokens to their embeddings. This training procedure separates the two. The head can then change how likely output tokens are after a context while the input embeddings and the rest of the pretrained system stay fixed. The starting point is the pretrained head itself. That detail matters when interpreting the result, because the experiment is about adapting the existing prediction interface.
Transformation tuning adds a trainable matrix between the hidden state and the fixed head.
P_LM(vᵢ | x) = [Softmax(O U hₓ)]ᵢ
The additional matrix is U, a real-valued transformation with h rows and h columns. It acts on hₓ before the vector reaches O. It begins as an identity matrix, which initially passes the representation through unchanged. The experiment learns U while keeping O and the other existing parameters fixed. The probability of vᵢ still comes from the ith entry of the softmax. The difference is where the adaptation acts. The head update changes the route from features to vocabulary scores directly, while the transformation changes the features that reach the original head.
Prompt tuning puts the trainable quantities at the beginning of the sequence. Each prompt position supplies an embedding, a continuous vector of the kind the system ordinarily uses to represent a token. The direct and channel versions share this arrangement and differ in what comes after the prompt and what is scored.
S_D,prompt(cᵢ, x) = P_LM(v(cᵢ) | u₁ … uₙ, x)
S_D,prompt denotes the direct prompt-tuned score. The symbols u₁ through uₙ mark the learned prompt positions, and n is their count. The prompt precedes the new text x, which in turn precedes the candidate expression. The likelihood being measured is that of v(cᵢ).
S_C,prompt(cᵢ, x) = P_LM(x | u₁ … uₙ, v(cᵢ))
S_C,prompt denotes the channel prompt-tuned score. The same type of prefix is learned, but the words immediately after it represent the proposed class. The conditional target is the actual text x. During training the true label supplies the conditioning expression for each example. At test time the method evaluates the candidate expressions separately. This is how the learned prefix can be used with a label that had no training examples, provided the task supplies an expression for it.
The authors use n=20 prompt positions. They initialize their embeddings using a random subset of the top 5000 vocabulary entries, following Lester and colleagues. Once training begins, the prompt vectors themselves can change. The pretrained parameters used to process those vectors and the text are held fixed. Thus the direct and channel prompt experiments can use the same form of adaptation while putting their prediction signal on different text.
Choose examples and train without a separate validation sample
The main few-shot sample size is K=16 examples from the task's training data. The authors draw the examples uniformly from those data without assigning a quota to each label. Uniform sampling here concerns which examples are drawn. Equal weights in the channel prior concern which candidate is favored before scoring a test input. The training sample can have uneven label counts under the sampling rule even though the class prior is uniform.
For tuning, the authors train for 100 global steps and divide the loss by the number of tokens in the batch. The optimization uses Adam, with no warmup steps or weight decay. For restricted tuning the learning-rate candidates are 0.1, 0.01, and 0.001. The authors choose by the lowest training loss on average. Their learning rate for complete fine-tuning is 10⁻⁵. Most settings follow prior work, and the study reserves no separate validation set from the small labeled sample. Adam
The training data are scarce at the level of the particular task. The starting GPT-2 weights already encode the result of pretraining. Demonstration methods use those weights without updates. The tuning experiments ask how much additional task information can be captured by the chosen trainable component, given the same kind of limited supervision. The distinction becomes important when the paper changes the amount of training data and compares the restricted methods with full-network updates.
Experiments and results
Datasets and the meaning of a weak run
The main experiments use GPT-2 Large across eleven benchmarks. The datasets include the two sentiment inventories SST-2 and SST-5, along with CR and MR. The MR implementation uses version 1.0 of the sentence polarity dataset. Amazon and Yelp add review data. In TREC the class specifies the type of answer a question asks for, while Subj asks whether a statement is subjective. AGNews, Yahoo, and DBPedia complete the collection. The tasks span 2 to 14 allowed classes. That range lets the same experimental protocol encounter very different demands on label coverage. Recursive Deep Models for Semantic Compositionality · Seeing Stars · A Sentimental Education
The implementation groups inputs by length. SST-2, SST-5, MR, and TREC are in the short-input group, with batch size 32 and sequence length 128. The appendix specifies a batch size of 16 and sequence length of 256 for its long-input group, which includes AGNews, Amazon, and Yahoo as well as Yelp, DBPedia, and Subj. Concatenation increases the sequence allowance in proportion to the demonstration count, with 1024 as GPT-2's upper limit. The paper names PyTorch and Huggingface Transformers as the implementation libraries and releases the experimental code as Channel-LM-Prompting. PyTorch · Transformers
Accuracy is the share of evaluation items assigned their recorded class. The authors repeat the measurements because the classification procedure includes choices with several plausible settings. They use 4 verbalizers per dataset, chiefly taken from earlier prompting work and the label words in the datasets. The few-shot conditions use 5 data seeds for drawing training samples. In the main tuning experiment they also use 4 training seeds. Those seeds vary choices made during optimization, separately from the choice of which examples are available. The main tuning table describes 80 runs for each method. The zero-shot comparison varies the label expressions, while the demonstration comparison with labeled examples also varies the data draw.
For each dataset the paper reports an average across runs and a worst-case accuracy, meaning the lowest accuracy observed for that dataset under the tested conditions. It then reports macro-averages across datasets. Each dataset thus contributes equally to the headline value, even if their test sets have different sizes. A macro-average of the worst-case accuracies combines a separate minimum for each dataset. It answers a different question from taking the accuracy of a single shared experimental configuration and finding the lowest such overall average. The appendices also report best-case accuracy and standard deviation, which describe the other end of the observed range and how dispersed runs are.
These statistics matter when deciding how to interpret a comparison. A high best-case result shows that a method and a favorable configuration can work together. The minimum gives an indication of how far performance can fall among the configurations actually tried. The mean describes what happens over all those tested choices. Since the paper is concerned with sensitivity to choices a practitioner may have little data to settle, the low end of the observed range is especially informative.
Demonstrations benefit from both calibration and a change of direction
The first comparison holds the direct direction fixed and changes the scoring rule. Direct++ improves on raw Direct in all the demonstration settings reported. The result supports giving the direct approach a strong baseline: variation in the background likelihood of verbalizers is consequential enough that correcting for it substantially changes performance. The channel comparison therefore has to account for the gains already available from calibration.
Changing how examples are presented also helps the direct method. Compared with concatenation, the ensemble improves the macro-averaged direct demonstration accuracy by 7% absolute. The paper reports this value for both the average-accuracy and worst-case-accuracy comparisons across the eleven datasets. The ensemble removes the influence of the ordering of examples by construction. The accuracy comparison changes other things too, since it replaces a joint context with individual contexts and a score product. An improvement in direct results is evidence for the combined change.
The same architecture choice has a different pattern with channel scoring. The authors find the ensemble ahead of concatenation on datasets with long inputs. They suggest that an uneven set of demonstration labels may hurt the channel ensemble in other cases, while Direct++ has an explicit correction relevant to label preferences. A long joint context and a lopsided set of examples are different potential difficulties. The result identifies an association with input length and motivates the authors' conjecture about balance.
Within the few-shot demonstration results, the best channel method exceeds the best direct method by 3.1% absolute in macro-averaged mean accuracy and by 7.2% absolute in the macro-average of worst-case accuracy. The appendix helps explain why the usual run and the weak run improve. On most datasets, Direct++ has the highest best-case accuracy. Its stronger individual outcomes are accompanied by greater dispersion, and the channel results have higher averages and higher minima. The evidence for channel scoring is therefore especially strong if the conditions for obtaining the strongest direct run are hard to choose in advance.
The zero-shot comparisons reveal another aspect of the same instability. Giving Direct a small labeled context can sometimes make classification worse than using the verbalizer without examples. The authors connect this to preferences induced by the particular demonstrations. Channel few-shot scoring improves on its zero-shot counterpart for every dataset in the comparison. Under this protocol the order of the conditional has consequences for whether additional task information consistently helps, even when the information comes from the same kind of small sample.
Prompt tuning gains the most from the reversal
Using a learned prefix makes the two scoring directions easy to compare under the same adaptation mechanism. The direct method learns vectors that help predict class expressions after an input. The channel method learns vectors that help predict the input under its known class during training. Channel prompt tuning leads direct prompt tuning on every dataset. Across the eleven datasets, the paper reports a gain of 13.3% absolute in average accuracy and 23.5% absolute in worst-case accuracy.
The chart shows the reported change in average evaluation accuracy across datasets for each adaptation family. Each row is an advantage over the direct comparator named in that row. The metrics share a scale, while the demonstration and tuning comparisons have different baselines.
Gains in macro-averaged test accuracy across the eleven datasets
The channel advantage over the direct comparator is larger for learned prompts than for demonstrations.
The numbers
| System or setting | absolute accuracy percentage points gained |
|---|---|
| Strongest channel versus strongest direct demonstrations | 3.1 |
| Channel versus direct prompt tuning (this paper) | 13.3 |
The best-case statistics again show why comparisons of selected runs can give a different picture. Direct prompt tuning often reaches a higher maximum, but its accuracy changes more across settings. The minimum improves especially strongly when both methods learn the same kind of prefix and the channel method changes the target from the expression to the text. Lower variation is the observed pattern. The authors' explanation that token-level targets give more useful supervision is a proposed reason for that pattern.
Head tuning sets a harder benchmark for limited updates
The controlled prompt comparison answers what happens when the prediction direction changes at a fixed adaptation interface. A different comparison asks where task learning should take place. Under direct scoring, the pretrained vocabulary head proves a particularly effective place to make updates. Head tuning beats direct prompt tuning across the datasets, and the authors include transformation tuning as another restricted direct alternative. The head's strength matters because leaving the pretrained head entirely fixed is a choice, even when updates through the rest of the network are undesirable.
On most datasets channel prompt tuning still comes out ahead of direct head tuning. TREC and Subj are substantial exceptions. For TREC, a candidate has to represent the kind of answer a question seeks. For Subj, the distinction concerns the subjectivity of the statement. The authors argue that these judgments fit the continuation scoring interface less readily than some of the other tasks. Updating the matrix that turns a hidden representation into vocabulary scores offers a more direct way to adapt the output decision on those datasets.
The largest reported advantages for channel prompt tuning over head tuning occur on Yahoo and DBPedia. The authors also report a lead over full-network fine-tuning on both datasets. For Yahoo, the full-network reference has average test accuracy 48.9 and worst-case test accuracy 43.8. On DBPedia the respective reference values are 66.3 and 50.4. With K=16 examples drawn from the natural training distributions and 10 classes on Yahoo or 14 on DBPedia, some categories can have little or no representation in the sample. The authors connect the result to that possibility. The next experiments examine missing labels and uneven training counts directly.
What the ablations show
The advantage changes with the amount of supervision
For the main training-size comparisons the authors use SST-2, MR, TREC, and AGNews. They retain 4 verbalizers and 5 seeds for drawing few-shot training data, with a single training seed in the ablation. They compare K=4, K=16, and K=64 examples with the full training set, which the paper denotes by Full. The figure reports average test accuracy using GPT-2 Large. It draws the demonstration comparisons from the better of concatenation and the ensemble for each scoring formulation. The caption specifies 20 runs at each few-shot size and 4 runs, varying the verbalizer, when all training examples are used.
Increasing the amount of training data improves accuracy for the methods in this study. The relative ranking changes. The authors describe channel prompt tuning as especially competitive at K ≤ 16 and report a stronger showing for head tuning as the sample grows. At K=64, the prose names head tuning as the stronger method but calls the channel comparator “head tuning” there, whereas the tuning setup defines the channel alternative as prompt tuning. The full-data comparison is explicit: both direct head tuning and direct prompt tuning come out ahead of channel prompt tuning.
With the full training set, direct prompt tuning also matches full-network fine-tuning in this comparison despite using much fewer trainable parameters. Under few-shot conditions the full-network reference can have a substantial lead over the restricted methods. The Yahoo and DBPedia results in the main comparison illustrate how specific tasks can favor channel prompt tuning even when the broader few-shot comparison favors updating the whole network. The paper thus distinguishes a result about economical adaptation with plenty of task labels from one about accuracy when task examples are scarce.
The authors give two explanations for the size effect. First, each channel training example provides targets throughout the input, which could matter more when there are very few examples. Second, small random samples are more exposed to uneven class representation. Raising the sample size changes both how much text is available for training and how well the available examples may cover the classes. A comparison across training sizes captures the joint consequence of those changes. It does not measure the separate contribution of each explanation. The next experiment makes label counts the object of the manipulation.
Vary label imbalance while holding sample size fixed
The controlled imbalance test uses the binary sentiment datasets SST-2 and MR. At each training size, K=16 or K=64, the authors set the share of negative examples in the training sample.
p⁻ = |{(x, c) ∈ 𝒟 : c = c⁻}| / |𝒟|
p⁻ is the fraction of training examples labeled negative. x and c are the text and label of a training pair, and c⁻ is the negative class. ∈ 𝒟 indicates that the pair belongs to the training sample. The condition after the colon selects only pairs with that label. The vertical bars count the selected examples in the numerator and all training examples in the denominator.
The tested training fractions are 0, 0.125, 0.250, 0.375, and 0.5. At 0 the task training includes only positive labels. At 0.5 the sample is balanced between the two classes. Moving among the proportions changes the supply of positive and negative examples without increasing the total number available at that training size. The outcome plotted for SST-2 and MR is average evaluation accuracy.
The authors also test upsampling, in which examples of the less frequent class are presented more frequently during training. Where the sample contains rare negative examples, they can be reused to give the two classes equal exposure. This changes the training frequency without collecting additional distinct examples. The comparison allows a direct method to address imbalance through data presentation, separately from a channel method's change in conditioning.
The direct methods are sensitive to the proportion of negative examples. Upsampling helps when the negative share is small, but channel prompt tuning is much less affected as the proportion changes. For p⁻<0.25, the paper reports that channel prompt tuning beats even full-network fine-tuning on this test. Near the balanced setting of 0.5, direct head tuning matches or exceeds channel prompt tuning. The strength of head tuning therefore depends partly on what supervision is available at the output interface.
The upsampling comparisons also qualify how the direct baselines should be read. When p⁻ is small, direct prompt tuning with upsampling can match or beat direct head tuning and full-network fine-tuning. Some of the gap among the direct methods can shrink when the training exposure changes. The continued advantage of channel prompt tuning at pronounced imbalance is consistent with the authors' explanation that label strings are used as conditions, so task training is less directly rewarded for assigning higher output probability to the frequently observed label. The experiment measures the change in accuracy under the altered training distribution. It gives behavioral evidence for that sensitivity without measuring a separate contribution from each vocabulary preference.
Deliberately leave a class out
In the main sampling procedure a class can be missed by chance. The unseen-label experiment makes the omission deliberate. The authors randomly choose a label, exclude its examples from the pool used to draw the few-shot training sample, and evaluate against the task's label inventory. The absent class still has a pre-defined expression. It can participate in the score comparison at inference. The experiment uses 20 runs per method, from 4 verbalizers and 5 data seeds, and reports average and worst-case accuracy.
Every tested direct method fails to select the withheld label. Channel prompt tuning can select it and also achieves substantially better overall accuracy than the zero-shot approach. On the 2-way tasks, the paper reports an advantage over full-network fine-tuning. It also reports better results than head tuning on five datasets, with TREC again the exception. The authors attribute the TREC head-tuning result to strong performance on classes represented during training. In this experiment overall accuracy and successful recognition of the missing class answer different questions. Strong recognition of the seen labels can raise aggregate accuracy even if the classifier never chooses the withheld one.
This setting shows why the verbalizer is part of the method's ability to transfer. A candidate expression can still provide a meaningful prefix for the pretrained system even if the learned prompt has never been trained on an example with that label. The channel rule can compare the resulting likelihood against the likelihoods for familiar labels. The direct rule also has access to the held-out label's expression, but its task objective has only rewarded predictions of expressions for the classes it has seen. The authors take the experiment as evidence of overfitting to observed labels under direct adaptation. Having a defined expression for the missing class is part of the setting in which channel adaptation succeeds.
Move the learned adaptation to a different dataset
The transfer experiment changes the source of task supervision. The authors train using one dataset and evaluate on another with no labeled target examples for adaptation. This leaves the target class expressions available at inference, but it can change the kinds of inputs, the labels, or both. The direct head comparison is available where the label spaces are shared. For target settings with unshared labels in the figure, including TREC, AGNews, and Subj, the authors mark the head-tuning baseline as inapplicable.
Channel prompt tuning leads the applicable direct methods, including full-network fine-tuning, on the tested targets apart from TREC. The benefit is strongest between related sentiment tasks. In transfer between 2-way and 5-way sentiment classification, the authors report performance close to that obtained with in-domain training. A learned prefix can therefore improve scoring on a related sentiment task even when the target inventory divides the judgments differently.
For substantially different source and target tasks, the gains over zero-shot classification are relatively small. This provides a boundary for the result. The transfer experiment shows where a prefix learned under one task can still improve classification under another, and the strongest evidence comes from tasks with similar judgments. It also shows why withholding a class and changing the dataset are worth testing separately. In the former, the remaining training examples still demonstrate the target task. In the latter, the examples used for adaptation may demonstrate a different kind of decision.
Check the pattern across GPT-2 sizes
The appendix compares GPT-2 Small, Medium, Large, and X-Large. For each size it reports mean and worst-case accuracy, with 20 runs based on 4 verbalizers and 5 data seeds. The authors find that the broad ranking pattern persists: tasks where channel prompt tuning is strong and those where direct head tuning is strong give similar conclusions as size changes. This check makes a peculiarity of GPT-2 Large a less plausible explanation for the main result. The comparison varies size within the same pretrained family, so it addresses a narrower question than changing the architecture or the pretraining objective.
The additional statistics also put the ablations in perspective. The authors find lower variation and higher observed minima for channel scoring across both forms of demonstrations and the tuning comparison. The interventions on sample size, imbalance, and label availability show where that behavior matters most for accuracy. Direct head tuning remains competitive because changing the output matrix can help when training represents the relevant labels well or the desired distinction is difficult to elicit by likelihood alone.
Limitations
Boundaries the authors identify
The first explicit boundary is the finite class inventory. The channel rule is convenient for classification because the candidates are already specified, each can be scored, and the paper can give each the same prior weight. A task that produces unrestricted text has to assign priors to a much larger set of outputs and find promising candidates without enumerating them. The authors suggest using a separate system to estimate the prior, combining it with conditional text likelihood, and considering beam search, which retains a limited set of promising partial outputs during decoding. Those are proposed extensions based on earlier work. The reported results test the decision among fixed labels.
The authors also single out masked language models as an open case. The causal scoring procedure uses probabilities of successive tokens after a prefix. Masked pretraining typically asks the system to recover obscured tokens from their surrounding text, so that objective gives a different interface for assigning likelihood to a long continuation. The authors point to existing label-conditioned training for masked architectures as a related direction. A test of such an adaptation would need to establish how the resulting scores support channel inference with a frozen or lightly updated network.
The paper acknowledges that the method fits some tasks better than others. The success of direct head tuning on TREC and Subj leads the authors to question whether the existing continuation interface is adequate for every classification problem, even with thoughtfully chosen verbalizers. They also identify cross-task transfer as an open problem. Related sentiment tasks give the clearest positive result. For less similar tasks, finding a source whose adaptation will improve over zero-shot scoring remains harder.
Boundaries that follow from the measurements
The worst-case statistic is an empirical minimum over the verbalizers and random choices the authors test. Its meaning is tied to that set. A different collection of reasonable expressions, another training-sampling scheme, or a different test distribution could reveal new weak cases. The paper's results show a difference in susceptibility to the variations it measures. They supply no lower bound for use outside those conditions. The sizes in the appendix also all belong to GPT-2, so the evidence on variation across sizes is strongest for that family.
The uniform prior is another consequential choice. It ensures that an uneven training sample is not explicitly copied into the class weights of the channel decision. It also means the study leaves open how to choose priors when a deployment population has known unequal prevalence or when errors have different consequences across classes. The controlled imbalance study varies the training proportions on two sentiment datasets and measures evaluation accuracy. It has a different purpose from studying changing test prevalence or comparing methods for estimating priors.
The unseen-label result depends on knowing which class to consider and how to express it. This follows from the decision rule itself: the channel scorer receives a candidate expression as its context. The study tests recognition of a defined class without labeled task examples for it. Discovering what new categories ought to exist and obtaining suitable expressions for them would require additional machinery. Similarly, a full accuracy score can leave important differences among classes hidden. The paper's observation that the direct approaches never predict the omitted label reveals a failure that overall accuracy alone could understate.
Scoring every token is a property of the likelihood computation. Establishing why a specific class received the higher score would require other evidence. The classifier may benefit from sentiment-bearing words, from characteristic phrasing, or from a combination of many small differences in likelihood. The experiments do not isolate the contribution of each. In particular, the observed improvements in stability support the authors' account of when the method is effective, while the explanation based on richer prediction targets remains a hypothesis about why. Reversal changes the prediction targets and their position relative to the class expression together.
Finally, the resource claims refer to several different quantities. The tuning study concerns trainable parameters. The demonstration analysis compares how memory grows with the number of examples. Actual inference involves scoring a continuation for each candidate, and the ensemble repeats that operation with separate demonstrations. The paper gives no comprehensive runtime comparison that covers these costs alongside memory, input length, and accuracy. Likewise, using training loss to select the learning rate saves scarce labels for fitting, but it leaves open whether another selection rule would improve the relative performance when more validation data are available.
What came after
What an example contributes to a prompt
The later citation record includes work that looks more closely at the demonstrations themselves. Rethinking the Role of Demonstrations asks what makes learning from demonstrations work. That question is closely related to the earlier comparison of concatenation and ensembling. In the noisy channel paper, a concatenated demonstration is part of a shared context, while an ensemble demonstration changes an individual likelihood term. The later work's focus is the contribution of the demonstrations to in-context behavior. Its citation establishes a relationship between the investigations, without specifying a reuse of the probability product or the channel objective. Rethinking the Role of Demonstrations
Ground-Truth Labels Matter focuses on the labels in input-label demonstrations. The nearby question in the channel experiments is what happens when the training sample provides examples unevenly across classes or omits a label altogether. Both lines of work give the labels in the example context a central place, but the questions differ. One concerns the role of correct labels in demonstrations. The channel experiment changes availability and balance and examines where each prediction procedure puts the label in its conditional calculation. Ground-Truth Labels Matter
Other work in the citation record treats the selection of example context as a problem in its own right. Learning To Retrieve Prompts for In-Context Learning concerns learning to retrieve prompt material. Unified Demonstration Retriever and Finding Support Examples put the choice of demonstrations or support examples in the foreground. The noisy channel paper mostly starts with a sampled set and asks how to use it. Retrieval changes which examples are available to the scoring procedure. The citation connections establish that these questions sit in the same line of research. They leave the precise scoring rule used in each retrieval study unspecified. Learning To Retrieve Prompts for In-Context Learning · Unified Demonstration Retriever · Finding Support Examples
Where to put task adaptation
The comparison between in-context examples and parameter updates also became a subject of later work. Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning puts adaptation accuracy and cost in the same comparative question. The channel paper provides an earlier comparison in which all parameters can stay fixed during demonstrations, a small learned prefix can carry task adaptation, or the vocabulary head can receive updates. The later title makes a claim about the efficiency and performance comparison in its own setting. The citation alone leaves open how that study handles the reversed conditional. Few-Shot Parameter-Efficient Fine-Tuning
The P-Tuning papers examine the relationship between prompt tuning and fine-tuning across scales and tasks. That question links directly to one comparison in the channel paper: under the full-data ablation, direct prompt tuning matches the full-network reference, while the few-shot comparison can give the reference a substantial advantage. The cited P-Tuning work takes up the broader comparison across scales and tasks. Its inclusion in the citation record gives a connection through continuous adaptation, with no basis there for attributing channel scoring or the same supervision conditions to it. P-Tuning · P-Tuning v2
MetaICL puts learning to use context at the center of its inquiry. That is a different place to intervene from the channel paper's change at the classification interface. The earlier demonstration experiments change the context and the quantity read from a pretrained system. A study of learning to learn in context asks how in-context behavior itself can be acquired. The citation links those approaches without establishing that the later training method incorporates the channel likelihood. MetaICL
How information moves through the context
Label Words are Anchors studies label words from an information-flow perspective. It addresses an object that the channel paper shows is consequential: the expression standing for a class. In Direct, a label word can be part of what is predicted after the input. In Channel, the expression helps set the conditions for each prediction in the input. A study of information flow asks how label words participate in using context, whereas the noisy channel experiments measure how changing their placement and probabilistic role affects accuracy. The citation gives grounds for connecting those questions, without assigning the earlier stability result a later mechanistic explanation. Label Words are Anchors
Parallel Context Windows takes up how context is organized. It is related to the earlier paper's decision to give each example its own context during ensemble scoring. The earlier method combines per-example scores after the separate evaluations. The later work's title identifies parallel context windows as its subject. The citation establishes the connection at the level of organizing context, while a common implementation or a shared memory result would require more evidence. Parallel Context Windows
Together these citations trace continued work on the roles of examples, label expressions, and adaptation in prompted classification. The result that can be carried forward from the noisy channel experiments is specific: with scarce task supervision, changing a class expression from the continuation being predicted into the condition for scoring the observed text improved average accuracy and especially the weakest observed runs. Later research in the citation record takes up related questions about which examples enter the context, how the system uses class words, and when a learned adaptation is worth its cost.
Institutions
Fields, topics and concepts
Shelves 4The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 worksArts and Humanities · 17,959 worksLanguage and Linguistics · 17,789 works
Topics 1Research subjects and languages the work is about.Language models & pretraining · 4,145 works
Cite
Cite as Sewon Min, Mike Lewis, Hannaneh Hajishirzi and Luke Zettlemoyer. 2021. Noisy Channel Language Model Prompting for Few-Shot Text Classification. arXiv:2108.04106.
@misc{min2021noisy,
title = {{Noisy Channel Language Model Prompting for Few-Shot Text Classification}},
author = {Sewon Min, Mike Lewis, Hannaneh Hajishirzi and Luke Zettlemoyer},
year = {2021},
doi = {10.48550/arxiv.2108.04106},
eprint = {2108.04106},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.2108.04106}
}References
- Hiba Asri, H. Mousannif, H. A. Moatassime, and Thomas Noël. 2016. Using machine learning algorithms for breast cancer risk prediction and diagnosis. In ANT/SEIT. OpenAlex ↗ · Scholar ↗
- Trapit Bansal, Rishikesh Jha, Tsendsuren Munkhdalai, and Andrew McCallum. 2020. Self-supervised meta-learning for few-shot natural language classification tasks. In EMNLP. OpenAlex ↗ · Scholar ↗
- Peter F Brown, Stephen A Della Pietra, Vincent J Della Pietra, and Robert L Mercer. 1993. The mathematics of statistical machine translation: Parameter estimation. Computational linguistics. OpenAlex ↗ · Scholar ↗
- Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In NeurIPS. our card
- Jiaao Chen, Zichao Yang, and Diyi Yang. 2020. MixText: Linguistically-informed interpolation of hidden space for semi-supervised text classification. In ACL. our card
- Kevin Clark, Minh-Thang Luong, Christopher D Manning, and Quoc V Le. 2018. Semi-supervised sequence modeling with cross-view training. In EMNLP. our card
- Xiaoan Ding and Kevin Gimpel. 2019. Latent-variable generative models for data-efficient text classification. In EMNLP. OpenAlex ↗ · Scholar ↗
- Chelsea Finn, Pieter Abbeel, and Sergey Levine. 2017. Model-agnostic meta-learning for fast adaptation of deep networks. In ICML. our card
- Tianyu Gao, Adam Fisch, and Danqi Chen. 2021. Making pre-trained language models better few-shot learners. In ACL. our card
- Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. 2017. On calibration of modern neural networks. In ICML. OpenAlex ↗ · Scholar ↗
- Ari Holtzman, Peter West, Vered Schwartz, Yejin Choi, and Luke Zettlemoyer. 2021. Surface form competition: Why the highest probability answer isn't always right. In EMNLP. our card
- Neil Houlsby, Andrei Giurgiu, Stanislaw Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. 2019. Parameter-efficient transfer learning for nlp. In ICML. our card
- Minqing Hu and Bing Liu. 2004. Mining and summarizing customer reviews. In Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. OpenAlex ↗ · Scholar ↗
- Po-Sen Huang, Chenglong Wang, Rishabh Singh, Wen-tau Yih, and Xiaodong He. 2018. Natural language to structured query generation via meta-learning. In NAACL. OpenAlex ↗ · Scholar ↗
- Zhengbao Jiang, Frank F Xu, Jun Araki, and Graham Neubig. 2020. How can we know what language models know? TACL. our card
- Diederik P Kingma and Jimmy Ba. 2015. Adam: A method for stochastic optimization. In ICLR. our card
- Philipp Koehn, Franz J Och, and Daniel Marcu. 2003. Statistical phrase-based translation. In NAACL-HLT. our card
- Teven Le Scao and Alexander Rush. 2021. How many data points is a prompt worth? In NAACL-HLT. our card
- Jens Lehmann, Robert Isele, Max Jakob, Anja Jentzsch, Dimitris Kontokostas, Pablo N Mendes, Sebastian Hellmann, Mohamed Morsey, Patrick Van Kleef, Sören Auer, et al. 2015. Dbpedia–a large-scale, multilingual knowledge base extracted from wikipedia. Semantic web. our card
- Brian Lester, Rami Al-Rfou, and Noah Constant. 2021. The power of scale for parameter-efficient prompt tuning. In EMNLP. our card
- Mike Lewis and Angela Fan. 2018. Generative question answering: Learning to answer the whole question. In ICLR. OpenAlex ↗ · Scholar ↗
- Xiang Lisa Li and Percy Liang. 2021. Prefix-tuning: Optimizing continuous prompts for generation. In ACL. OpenAlex ↗ · Scholar ↗
- Xiao Liu, Yanan Zheng, Zhengxiao Du, Ming Ding, Yujie Qian, Zhilin Yang, and Jie Tang. 2021. Gpt understands, too. arXiv preprint arXiv:2103.10385. OpenAlex ↗ · Scholar ↗
- Robert L Logan IV, Ivana Balaževic, Eric Wallace, Fabio Petroni, Sameer Singh, and Sebastian Riedel. 2021. Cutting down on prompts and parameters: Simple few-shot learning with language models. arXiv preprint arXiv:2106.13353. our card
- Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. 2021. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. arXiv preprint arXiv:2104.08786. our card
- Julian McAuley and Jure Leskovec. 2013. Hidden factors and hidden topics: understanding rating dimensions with review text. In Proceedings of the 7th ACM conference on Recommender systems, pages 165–172. OpenAlex ↗ · Scholar ↗
- Takeru Miyato, Andrew M Dai, and Ian Goodfellow. 2017. Adversarial training methods for semi-supervised text classification. In ICLR. our card
- Andrew Y Ng and Michael I Jordan. 2002. On discriminative vs. generative classifiers: A comparison of logistic regression and naive bayes. In NeurIPS. OpenAlex ↗ · Scholar ↗
- Bo Pang and Lillian Lee. 2004. A sentimental education: Sentiment analysis using subjectivity summarization based on minimum cuts. In ACL. our card
- Bo Pang and Lillian Lee. 2005. Seeing stars: Exploiting class relationships for sentiment categorization with respect to rating scales. In ACL. our card
- Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. 2019. Pytorch: An imperative style, high-performance deep learning library. In NeurIPS. our card
- Ethan Perez, Douwe Kiela, and Kyunghyun Cho. 2021. True few-shot learning with language models. In NeurIPS. our card
- Guanghui Qin and Jason Eisner. 2021. Learning how to ask: Querying lms with mixtures of soft prompts. In NAACL-HLT. our card
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners. OpenAI blog. OpenAlex ↗ · Scholar ↗
- Sylvestre-Alvise Rebuffi, Hakan Bilen, and Andrea Vedaldi. 2017. Learning multiple visual domains with residual adapters. In NeurIPS. our card
- Claude Elwood Shannon. 1948. A mathematical theory of communication. The Bell system technical journal. OpenAlex ↗ · Scholar ↗
- Taylor Shin, Yasaman Razeghi, Robert L Logan IV, Eric Wallace, and Sameer Singh. 2020. Autoprompt: Eliciting knowledge from language models with automatically generated prompts. In EMNLP. our card
- Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In EMNLP. our card
- Derek Tam, Rakesh R Menon, Mohit Bansal, Shashank Srivastava, and Colin Raffel. 2021. Improving and simplifying pattern exploiting training. In EMNLP. our card
- Ellen M Voorhees and Dawn M Tice. 2000. Building a question answering test collection. In SIGIR. OpenAlex ↗ · Scholar ↗
- Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, and Alexander M. Rush. 2020. Transformers: State-of-the-art natural language processing. In EMNLP: System Demonstrations. our card
- Qizhe Xie, Zihang Dai, Eduard Hovy, Minh-Thang Luong, and Quoc V Le. 2020. Unsupervised data augmentation for consistency training. In NeurIPS. our card
- Kenji Yamada and Kevin Knight. 2001. A syntax-based statistical translation model. In ACL. our card
- Kyra Yee, Nathan Ng, Yann N Dauphin, and Michael Auli. 2019. Simple and effective noisy channel modeling for neural machine translation. In EMNLP. our card
- Dani Yogatama, Chris Dyer, Wang Ling, and Phil Blunsom. 2017. Generative and discriminative text classification with recurrent neural networks. arXiv preprint arXiv:1703.01898. OpenAlex ↗ · Scholar ↗
- Lei Yu, Phil Blunsom, Chris Dyer, Edward Grefenstette, and Tomas Kocisky. 2017. The neural noisy channel. In ICLR. OpenAlex ↗ · Scholar ↗
- Xiang Zhang, Junbo Zhao, and Yann LeCun. 2015. Character-level convolutional networks for text classification. In NeurIPS. our card
- Tony Z Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. 2021. Calibrate before use: Improving few-shot performance of language models. In ICML. our card
- Zexuan Zhong, Dan Friedman, and Danqi Chen. 2021. Factual probing is [mask]: Learning vs. learning to recall. In NAACL-HLT. our card
This page in Markdown https://md.research.elamur.ai/free/en/papers/min-2021-noisy-channel-language-model-prompting/