Elamur Research

Discovering Latent Knowledge in Language Models Without Supervision

Paper · 2022 · Collin Burns, Haotian Ye, Dan Klein et al.

Summary

A language model can give a wrong answer even when its internal computations contain information that would support the right one. Training to imitate human writing can reward familiar misconceptions, and training on human judgments can reward answers whose errors are hard to spot. This paper asks whether the information inside the system can be used directly. Its method, Contrast-Consistent Search, or CCS, learns to answer questions from hidden activations, the numerical patterns produced as an input passes through the network. It leaves the pretrained weights fixed and fits its classifier without being told which answers are correct.

For every question, CCS supplies both candidate answers and records the activations produced by each. A review can be presented once with a positive sentiment judgment and once with a negative one. CCS centers the two groups of activations separately to reduce the influence of the answer wording. It then searches for a direction along which the two candidates receive complementary scores, with one scored low enough to make the choice decisive. The direction can be learned in either orientation. The paper measures test accuracy under the better of the two possible label assignments and describes how additional logical relations could, in principle, determine the orientation without labeled examples.

The authors test the method on 6 systems and 10 datasets spanning tasks such as sentiment, inference, and question answering. In the headline comparison, CCS achieves 71.2% average test accuracy against 67.2% for calibrated zero-shot prompting. The average excludes T0 because its earlier training included some of the evaluation examples. CCS also halves the standard deviation of accuracy across prompt formulations. When a prefix of incorrectly answered examples is added to UnifiedQA prompts, its calibrated zero-shot accuracy falls from 80.4% to 70.9%, while the encoder-based CCS result stays high, moving from 82.1% to 83.8%. A prefix containing correct answers had qualitatively similar effects, so the study leaves open how much of the drop came from the errors in the demonstrations.

A direction fitted on one task often works on another, even when the tasks use different answer words. Intermediate layers sometimes provide better features than the last layer. Useful directions can also emerge from small unlabeled samples or from the principal component that explains the most variation in a space built from paired activation differences. Together, these findings show that useful answer information can be recovered separately from the system’s ordinary output scores in the settings tested. They give evidence for a feature shared across tasks while leaving open how broadly it applies and whether the same approach would uncover deliberate deception.

Deep dive: Discovering Latent Knowledge in Language Models Without Supervision

Contrast-Consistent Search reads hidden activations to answer binary questions, revealing information that a language model’s output can miss. · about 39 minutes to read

The problem and its context

Why an answer can give an incomplete picture

A system trained to predict text has reason to represent whether a statement is accurate. In many contexts, accuracy helps predict what people will write next. The same training can favor a mistaken answer when that answer is common in the texts being imitated. The paper uses this possibility to distinguish the information useful for generating text from the behavior that the training objective rewards in a particular context. The work on TruthfulQA provides a concrete motivation for studying the reproduction of human misconceptions.

Changing the training objective can improve answers, but the authors point out that each objective provides its own proxy for correctness. A reward for engagement can favor a compelling answer independent of its accuracy. A reward based on whether an answer looks correct depends on whether an evaluator can recognize errors. As tasks become harder to judge, whether a human approves of an answer can become a less reliable source of information about whether it is correct. The authors view this as a reason to study the training objective separately from the capabilities that training produces. A more capable system could still face the same incentives.

The paper poses an empirical question about what goes on between reading an input and scoring a response. Suppose a network is presented with a question together with a proposed answer. Its hidden activations might reflect how well the two fit, even when the network’s ordinary output behavior is a poor way to make the decision. A probe, a small classifier fitted to internal features, gives the authors a way to test this possibility. The challenge is to find a useful probe without first supplying the correct answers that the probe is intended to recover.

The setup makes “knowledge” concrete enough to measure. The target is a determinate choice between mutually exclusive answers. Sometimes the task concerns a fact. Sometimes it concerns what a passage entails or which option better satisfies a commonsense question. In each case, the benchmark provides a criterion for checking performance. The paper uses successful recovery on such tasks as evidence about what information is available in the network’s activations. Its motivation also reaches towards cases in which a person would struggle to assess a response, but benchmark questions with established answers are what allow the authors to test whether recovery worked.

What researchers could already do with prompts

The earlier work discussed in the paper commonly studies capabilities through zero-shot prompting. A researcher describes a task in the input, supplies a question or example, and uses the system’s output scores to choose an answer without fitting it on labeled examples from that task at the point of use. The paper connects this practice to work on GPT-3 and to research on how task wording affects the behavior of pretrained systems. The general approach depends on the fact that the text distribution seen during training includes material that resembles tasks people later wish to ask about. Language Models Are Few-Shot Learners. Pre-train, Prompt, and Predict.

The authors distinguish several ways to improve that interface. Calibration can adjust for an overall tendency to choose one answer label. Other prompting methods change how the system is asked to reason or how demonstrations are presented. The paper also points to approaches that use consistency across related formulations or explanations without direct supervision. Those methods share the intuition that agreement among related answers can help guide a decision. Their evidence comes from what the system outputs, so their conclusions depend on how informative that output channel is for the task. The paper’s proposal applies a consistency test to activations instead. Chain-of-Thought Prompting.

The difference matters in the authors’ example of agents trained to play Diplomacy. Within the game, an agent could have an incentive to mislead other players. If an agent had information about the situation and found it useful to give a false account, eliciting more statements from that agent would still rely on its communications. An internal representation could supply an independent source of evidence if the relevant information were present in a readable form. The paper uses this as a motivating scenario for looking inside the network. Its experimental test concerns misleading context, a much simpler situation than strategic play.

Truthfulness and the availability of supervision

The authors place the study within work on truthfulness, including research on factual verification and methods that retrieve sources to support answers. Retrieval can give a system evidence to cite. The question studied here also includes tasks such as inference, where the issue can be what follows from a premise already present in the input. For these tasks, the authors ask whether a classifier can recover the right judgment from the activations produced while processing that particular input. FEVER.

Another route is to improve behavior through fine-tuning on demonstrations or through reinforcement learning based on human feedback. The authors recognize the gains made by those approaches and ask what happens in cases where suitable supervision is difficult to obtain. If a human cannot reliably judge an answer, supplying that judgment throughout training is a difficult requirement. The paper discusses proposals to extend human supervision with AI assistance and treats the range of situations they can handle as an open question. Finetuned Language Models Are Zero-Shot Learners. Training Language Models to Follow Instructions with Human Feedback.

Eliciting Latent Knowledge, a theoretical research problem the authors cite, asks how to recover what a system knows in cases where people cannot check it directly. That work considers worst-case situations. CCS turns a portion of the problem into an empirical question about existing networks. Can the structure shared by complementary answers guide a search through representations toward a classifier that works on new questions? Withholding answer labels from probe training and using them afterward for assessment gives the authors a way to study that question in the laboratory.

The method, step by step

Give the network both candidate answers

For a clear yes-or-no question, answering yes and answering no express opposing judgments. The research team exploits that relation by supplying both question-and-answer strings. For the paper’s question about whether cats are mammals, the inputs would contain the same question and differ in their proposed answer. In a sentiment task, a candidate answer can be a word such as positive or negative. What matters is that the task defines exactly one correct choice in the pair. The procedure supplies the alternatives as input, so it has both strings available before any classifier has made a prediction.

One can see what this buys by considering a single review. A direct prompt asks for its sentiment and lets the output scores favor one response. CCS instead has the network process the review with each proposed sentiment judgment. It can then examine how the two representations differ. Across reviews, either answer word can happen to be correct. The method seeks a relationship between each candidate and its context, and it uses the fact that the two candidates for a given review have opposite correctness. Neither string arrives with a tag identifying its status.

Here is the sequence used to fit the probe and make predictions.

How Contrast-Consistent Search learns from paired answers

The steps in order.

How Contrast-Consistent Search learns from paired answersStep 1: Write a question with each candidate answer1. Write a question with each candidate answerStep 2: Extract hidden activations for both inputs2. Extract hidden activations for both inputsStep 3: Center and scale each answer group separately3. Center and scale each answer group separatelyStep 4: Score candidates with a shared linear probe4. Score candidates with a shared linear probeStep 5: Fit the probe for consistency and confidence5. Fit the probe for consistency and confidenceStep 6: Combine complementary scores for each question6. Combine complementary scores for each question

Read the internal vectors

A hidden state is a vector of numbers computed at a particular layer and token position. In a Transformer, each layer supplies representations that later computations can use. The experimental readout ordinarily takes the last token’s vector in the selected layer. The notation treats the reading operation as a fixed feature extractor, so CCS can change how it interprets the vector while leaving the network that produces it intact.

φ(x) ∈ ℝᵈ

Here x is a natural-language input containing a candidate judgment, φ is the fixed feature extractor, and φ(x) is the vector returned for that input. The symbol ∈ means that the vector belongs to the space ℝᵈ, the space of d real-valued coordinates.

Write qᵢ for the question at position i in a collection of n questions. The corresponding strings are xᵢ⁺ and xᵢ⁻. The superscripts name the two sides of the contrast, with the plus side used for yes in the generic formulation. They have no role as correctness labels. For a concrete sentiment prompt the first side can hold the negative candidate. The same notation still applies, with the final decision interpreted as a choice between the sides defined by that prompt.

Where the strings enter the network depends on which features are being studied. With an encoder-only or decoder-only architecture, the question and candidate are supplied together. When the features come from an encoder in an encoder–decoder architecture, the encoder receives the full question and candidate, and the decoder’s results are discarded. The encoder would encounter identical text for both sides if it received only the question. When reading the decoder, the authors put the question into the encoder and supply the candidate to the decoder. The two decoder states can consequently differ in how they represent alternative answers to the common question.

The authors use the Hugging Face Transformers library and the standard tokenizer for each system. Tokenization turns text into the units the network processes, and the way the question is joined to a candidate varies among architectures. In the regular encoder–decoder prompts, line breaks are replaced with spaces and a space is supplied at the boundary when needed. Autoregressive prompts can use a line break to mark that boundary. DeBERTa uses a separator token between question and candidate, and RoBERTa uses a pair of delimiters. These choices make the contrast precise at the input level. An appendix experiment deliberately moves the answer label away from the end while continuing to read the last token’s representation. Transformers.

Reduce the effect of answer wording

The raw activations can easily carry information about the literal answer word. If all prompts ending in yes have a feature in common, then a classifier could use that feature to assign opposite scores within every pair. Such a classifier would largely be recognizing the layout of the contrast. To reduce this shortcut, CCS subtracts the average activation for each answer side from every activation on that side. The following expression combines the paper’s two centering rules.

φ̃(xᵢˢ) = φ(xᵢˢ) − μˢ

Here s takes the plus or minus side of the pair, xᵢˢ is that side’s input for question i, and φ(xᵢˢ) is its raw vector. The symbol μˢ denotes the mean vector for side s over the relevant collection of questions. Subtracting it gives the centered representation φ̃(xᵢˢ). With both means removed, the centers of the two groups coincide.

Centering removes the average displacement associated with switching candidate sides. The residual vectors can still vary with the words used, the question, and other properties of the input. The operation makes separation by the position of the two group centers unavailable, while allowing differences among examples within each group to survive. In the experiments, the authors also divide by a scale factor computed separately for each group, using the average raw vector norm multiplied by the square root of d, the number of coordinates. The norm is the vector’s length. The authors regard this adjustment of scale as less central to the method than subtracting the means.

When a training set contains several prompts for one dataset, the representations are normalized separately for each prompt. Consider two templates that respectively request an answer in question form and as a continuation of a sentence. They can produce different activation distributions even though they ask for the same decision. Centering each separately limits the influence of those overall offsets on a probe fitted across all the prompts. The transfer experiments also normalize separately by dataset, a detail that matters when interpreting what is carried from one task to the next.

Learn a common scoring direction

CCS examines every normalized vector with the same probe. The probe takes a weighted sum of the vector’s coordinates, adds an offset, and uses a sigmoid to turn the result into a score between 0 and 1. Because the sigmoid increases as its input increases, the learned weight vector specifies a direction in the activation space along which the score rises. The offset shifts where the score switches from favoring false to favoring true.

pθ,b(φ̃) = σ(θᵀ φ̃ + b)

In this expression pθ,b is the probe, θ is its vector of weights, and b is its scalar offset or bias. The symbol φ̃ represents a normalized activation vector. The superscript T indicates a transpose, so θᵀ φ̃ is the dot product of weights and features. The function σ is the sigmoid that maps this scalar, after adding b, to the probability-like score.

This simple probe sets a demanding test for the representation. If the activation coordinates contain usable evidence in a form that a weighted sum can pick up, a small classifier can recover it. The authors note that a nonlinear mapping could also be used. The principal experiments ask how far the linear approach goes, making the same learned weights operate on both sides of each pair. In the formulas below, pθ,b applied to a string is shorthand for extracting its features, normalizing them, and then applying the probe.

Use complementarity and confidence together

A yes score and the complement of a no score are two estimates for the same proposition. If the positive candidate gets a high truth score, the negative candidate should get a low one. Measuring the squared disagreement between the estimates gives the first term of the objective.

L_consistency(θ, b; qᵢ) = [pθ,b(xᵢ⁺) − (1 − pθ,b(xᵢ⁻))]²

Here L_consistency is the loss for consistency on qᵢ, and θ and b are the parameters shared by both scores. The strings xᵢ⁺ and xᵢ⁻ are the two answered versions of that question. Subtracting the minus-side score from 1 puts it in the same orientation as the plus-side score. The exponent ² squares the discrepancy, giving a penalty whether the discrepancy is positive or negative.

A probe that assigns 0.5 to every candidate already satisfies complementarity. It expresses perfect agreement between the two estimates without ever deciding something about a question. The paper adds a confidence term that pushes the lower of the two scores towards 0. With complementarity also in force, this creates pressure for the other score to move toward 1.

L_confidence(θ, b; qᵢ) = min{pθ,b(xᵢ⁺), pθ,b(xᵢ⁻)}²

The quantity L_confidence is the confidence loss for question qᵢ. The min operation picks the smaller of the two candidate scores from the shared probe pθ,b, with parameters θ and b. The exponent ² squares that smaller score. The pair determines which candidate incurs the pressure, so computing the loss requires no answer key.

By itself, the confidence term could be driven down by assigning very small scores to both candidates. The consistency term penalizes this behavior because two low scores give sharply different estimates of whether the plus-side answer is right. The terms therefore play different roles. One ties the scores to a common judgment and the other pushes that judgment away from indifference. The intuition is the law of excluded middle applied to the experimental setup, where the task identifies a definite correct answer. Confidence here describes the shape encouraged by the objective. It does not establish that a score’s magnitude predicts the observed rate of correctness.

L_CCS(θ, b) = (1/n) ∑ᵢ₌₁ⁿ [L_consistency(θ, b; qᵢ) + L_confidence(θ, b; qᵢ)]

The symbol L_CCS denotes the full loss as a function of weights θ and offset b. There are n training pairs. The sum ∑ runs from the first question through question n, combining L_consistency and L_confidence for each qᵢ. The factor 1/n averages the combined penalty over the collection.

In the implementation, the bias is represented by adding a constant coordinate equal to 1 to each feature vector and giving that coordinate its own weight. The augmented vector has dimension d+1, with d the number of original coordinates. The weight vector starts with unit norm. The authors run AdamW 10 times, for 1000 epochs per run at learning rate 0.01. An epoch is a pass through the training data, and the learning rate controls the size of the optimizer’s updates. They keep the run that reaches the lowest unsupervised loss. This choice uses the structure of the pairs and makes no comparison with the ground-truth answers. The authors publish their implementation as discovering_latent_knowledge. Decoupled Weight Decay Regularization.

Turn paired scores into a decision

At inference, the probe scores the two candidate inputs for a new question. Since the consistency penalty is soft, the positive score and the complement of the negative score can disagree. The paper combines the two estimates by averaging them.

p̃(qᵢ) = (1/2) [p(xᵢ⁺) + (1 − p(xᵢ⁻))]

Here p̃(qᵢ) denotes the combined score for the plus-side answer to question qᵢ. The symbol p is the fitted probe with its parameters suppressed, and xᵢ⁺ and xᵢ⁻ are the two strings it scores. The expression 1 − p(xᵢ⁻) converts the negative candidate’s score into evidence for the positive one. The factor 1/2 gives the two estimates equal weight.

The decision boundary is 0.5. There is an important ambiguity in assigning meanings to the two sides of that boundary. Complementarity favors opposite judgments within a pair without specifying which direction in the activation space should count as truth. Swapping the orientation of a well-separated, complementary assignment can preserve those properties. In the reported evaluation, the authors compute accuracy for both mappings of the predictions to answer labels and retain the higher value. The classifier is fitted without known answers, but the evaluation can use the known answers to name its two groups.

The appendix proposes a separate way of naming those groups. Consider two statements that the classifier places in opposing groups. If the grouping reflects truth, their conjunction is false and their disjunction is true. Those composite statements could supply known logical relationships for the group assignment, without a person having to establish the truth of either original statement individually.

x ∧ x′

The symbols x and x′ refer to statements assigned to different groups, with the prime marking the second one. The operator ∧ means conjunction, so the composite statement holds only if both component statements hold.

x ∨ x′

Here x and x′ are again the two statements, and ∨ means inclusive disjunction, which holds if either component holds. The suggested orientation procedure would require the representation and readout to handle these composites reliably. The paper gives the logic of the procedure in principle and reports its main accuracies using the label assignment described above.

Experiments and results

The tasks, input formats, and held-out examples

The authors evaluate 6 pretrained systems. T5, UnifiedQA, and T0 have an encoder and a decoder, allowing the authors to examine representations from either side. GPT-J is autoregressive, so its output behavior is based on predicting what comes next. RoBERTa and DeBERTa are encoder-only systems. Their inclusion allows the authors to examine how an activation-based readout behaves across architectures with different ways of assigning output scores. Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer. RoBERTa. DeBERTa.

IMDB and Amazon ask for the sentiment of a review. AG News and DBpedia-14 ask for the topic of a text. In the original topic tasks the answer comes from a larger set of categories. To construct a binary item, the researchers take the correct category, draw an incorrect one, and assign their order randomly. The candidate pair thus contains the correct option by design, while its position is randomized. That preparation uses information about the benchmark example, even though the accuracy label for the completed pair is withheld when CCS is fitted. Learning Word Vectors for Sentiment Analysis. Character-level Convolutional Networks for Text Classification. DBpedia.

RTE and QNLI are treated as natural language inference tasks. In RTE, the choice concerns whether a premise implies a hypothesis. In QNLI, a question and candidate supporting text are paired so that the decision concerns whether the text supplies the information needed to answer. BoolQ provides questions already in yes-or-no form. In PIQA, the candidates are possible solutions to a problem involving physical commonsense. GLUE. SQuAD.

COPA and Story Cloze test judgments about how situations and events fit together. A COPA item asks for the more plausible cause or effect of a premise, depending on the question. In Story Cloze, the proposed endings compete as continuations of the same story. Together with the other datasets these tasks let the authors look for a common readout across substantially different kinds of question answering and reasoning. Under the binary construction, the experiment assesses which supplied answer is better according to the benchmark.

The authors balance the labels, randomly sample 1000 examples per dataset where available, and use 500 for COPA. They split the resulting examples at random into 60% for training and 40% for testing. The training partition is where CCS fits the probe without answers and where the supervised probe is given answers. The test partition is held back for measuring accuracy. The paper explains that it draws from the benchmarks’ validation or test sets when enough items are available and sometimes includes original training examples to reach the sample size. The paper’s own partition is therefore a split of the sampled pool.

Most prompt wording comes from an earlier collection, with some formulations adapted or written for this study. Different prompts can ask a direct question, leave a sentence for the system to complete, or name explicit choices. The paper reports 9 prompts per dataset on average. A single example appears under several formulations, so those runs help measure sensitivity to wording. They are repeated observations on the same underlying question rather than additional independently sampled questions.

What the baselines measure

Plain zero-shot prompting compares the scores assigned by the system to the candidate labels. If a label occupies several tokens, the baseline averages their log probabilities. A log probability is the logarithm of the assigned probability, so this averaging gives a per-token score for a label. The candidate with the higher score wins. This procedure gives the benchmark a direct way to measure answer information in the output channel, using the same basic task formats that supply the contrast pairs.

The principal comparator is calibrated zero-shot prompting. If a system favors a label for reasons that occur across examples, the direct comparison can choose it too often. Since the dataset labels were balanced, the calibrated baseline uses a threshold that yields a 50/50 prediction balance. The decision rule is the following.

l₊ > l₋ + γ

Here l₊ and l₋ are the effective output scores, or logits, for the positive and negative labels. The positive label is predicted when the inequality holds. The real-valued threshold γ shifts the boundary and is chosen so that the predictions are balanced. In the uncalibrated comparison the two label scores are compared directly.

The paper reports an average increase of about 5% in accuracy from this adjustment relative to plain zero-shot prompting. That gain makes calibration an important part of the comparison. The main question is how a probe using internal features fares against output scores whose overall preference for a label has already been addressed.

For RoBERTa and DeBERTa, the authors fine-tune on MNLI so the encoder-only systems can supply an effective zero-shot score. The difference between entailment and contradiction probabilities serves as the logit for the baseline. MNLI is outside the evaluation datasets in this experiment. CCS uses the same fine-tuned backbones for the main comparisons, while a separate DeBERTa experiment tests whether such fine-tuning is needed for an internal readout.

The supervised comparator is logistic regression. It fits a classifier to the normalized pair of vectors, using the training labels, and predicts on the same held-out examples. The authors treat it as a ceiling for this comparison because it has access to the supervision CCS is designed to avoid. The comparison gives a practical reference for how much answer information a small classifier can find in the feature set when told where to look. It does not establish an upper bound for every possible readout.

For the main run, the selected features normally come from the last token in the last layer. For the encoder–decoder systems, the authors inspect the last layer of both sides and use the side that generally attains the lower unsupervised loss. They use encoder states for T5 and UnifiedQA and decoder states for T0. CCS is usually trained on the prompts for a single dataset’s training partition and assessed on the corresponding test partition. Accuracy is the share of test examples classified correctly under the evaluation’s label assignment. Prompt sensitivity is measured by computing the standard deviation of accuracy across the formulations for each system and dataset, then averaging those standard deviations across datasets.

Accuracy and stability across formulations

CCS reaches 71.2% average test accuracy, compared with 67.2% for calibrated zero-shot prompting. Both figures average over prompts and datasets and omit T0 from the average over systems. T0’s prior training covered nine of the ten evaluation datasets and included some examples from the test splits used in the paper. The performance of both methods on T0 is still examined, but the exclusion avoids making the aggregate comparison depend on that degree of overlap.

Average held-out accuracy across the evaluation datasets, excluding T0

CCS recovers more correct answers on average than calibrated output scoring.

Average held-out accuracy across the evaluation datasets, excluding T0Calibrated zero-shot: 67.2Calibrated zero-shot67.2Contrast-Consistent Search (this paper): 71.2Contrast-Consistent Search (this paper)71.2
The numbers
System or settingaccuracy %
Calibrated zero-shot67.2
Contrast-Consistent Search (this paper)71.2

The aggregate improvement is reported as 4%. At the system level, RoBERTa is an exception to the general pattern, with CCS performing 2% worse than calibrated zero-shot in its average test accuracy. T0 is also an exception to the comparison in favor of CCS, in a setting where the paper flags inflated zero-shot performance. UnifiedQA had previously trained on BoolQ, which the authors disclose as another overlap. The comparisons therefore combine evidence across the systems while leaving several system-specific results important to their interpretation.

Pooling all training datasets for the unsupervised probe changes average test accuracy by a reported 0.3%, an improvement the authors describe as insignificant. T0 shows a larger change under the same comparison, from 77.6% average test accuracy in the usual setup to 84.8% when the probe is trained on all datasets. The aggregate and the T0 result answer different questions. A particular system can benefit appreciably from the pooled fit even when pooling changes little in the aggregate used for the headline comparison.

The average standard deviation of accuracy across prompts is cut in half under CCS. This means the accuracy achieved with one wording gives a better indication of what to expect under another, on average in these experiments. CCS still receives a prompt, and its activations still depend on the wording. The reported gain is a measured reduction in performance variability across the prompt collection. The extraction of two candidate states and the fitting of a common classifier across prompt-specific distributions provide the setting in which that reduction was observed.

What changes when extra context leads the output astray

The authors add a prefix containing questions with incorrect answers to the regular prompts. The demonstrations are meant to make subsequent answers less reliable by encouraging imitation of the surrounding text. Most of the systems are comparatively resistant to the prefix, but UnifiedQA’s calibrated zero-shot accuracy falls from 80.4% to 70.9%, averaged over its test datasets and prompts. The corresponding encoder-based CCS accuracy moves from 82.1% to 83.8%.

UnifiedQA average held-out accuracy with and without the misleading prefix

The prefix lowers calibrated zero-shot accuracy while encoder-based CCS stays accurate.

UnifiedQA average held-out accuracy with and without the misleading prefixCalibrated zero-shot, regular prompt: 80.4Calibrated zero-shot, regular prompt80.4Calibrated zero-shot, misleading prefix: 70.9Calibrated zero-shot, misleading prefix70.9Encoder CCS, regular prompt: 82.1Encoder CCS, regular prompt82.1Encoder CCS, misleading prefix (this paper): 83.8Encoder CCS, misleading prefix (thispaper)83.8
The numbers
System or settingaccuracy %
Calibrated zero-shot, regular prompt80.4
Calibrated zero-shot, misleading prefix70.9
Encoder CCS, regular prompt82.1
Encoder CCS, misleading prefix (this paper)83.8

The result separates the behavior of the output comparison from the behavior of the internal readout under a shared change to the input. The paper reports a 9.5% decrease in UnifiedQA’s calibrated zero-shot accuracy and a 1.7% increase in its encoder-based CCS accuracy in this experiment. The central observation is that the internal readout stays accurate in this condition. The study does not establish that adding the prefix generally improves it.

The authors also inspect the top 100 output tokens by average probability on UnifiedQA’s IMDB examples. With the regular prompt, the expected sentiment labels occupy the highest positions. With the added context, those labels fall relative to other tokens, and some high-scoring tokens are numbers similar to the kinds of answers appearing in the demonstrations. This supports the possibility that the prefix diverts the output toward the format or content of the demonstrations. The authors report qualitatively similar behavior when the demonstrations are answered correctly, which keeps the cause of the accuracy drop open.

A readout from masked-language pretraining

In another experiment, the authors use DeBERTa-v2 with only masked-language pretraining and no entailment fine-tuning. Masked-language pretraining teaches a system to predict tokens at positions selected for corruption. For the test the authors insert no mask, place the candidate sentiment label in the middle of the prompt, and use the final token’s vector. Under that arrangement, the final position contains no answer blank for the output to fill. Its hidden state can still carry information about the earlier text and the candidate label.

The authors draw 1000 new Amazon examples and describe a 60/40 split for fitting and testing. To establish a meaningful output comparison, they use the final position’s logits for the two sentiment words on both candidate inputs. The scoring rule can be written as follows.

(l_pos⁺ − l_neg⁺) − (l_pos⁻ − l_neg⁻)

Here l_pos and l_neg are the final-token logits for the positive and negative sentiment words. The plus superscript marks the input carrying the positive candidate in this comparison, and the minus superscript marks the input carrying the negative candidate. Each parenthesis measures the output’s preference for the positive word on one input. Subtracting the second preference from the first produces the effective score, which the baseline then calibrates to balance predictions.

CCS reaches 93.7% test accuracy. Adapted calibrated zero-shot reaches 71.6% on that test. The authors also report roughly 94% CCS accuracy on Amazon using the NLI-fine-tuned variant with the regular prompts, which gives a point of comparison across the two experimental configurations.

Amazon sentiment test accuracy with masked-pretrained DeBERTa-v2

The final hidden state supports more accurate decisions than the adapted output scores.

Amazon sentiment test accuracy with masked-pretrained DeBERTa-v2Adapted calibrated zero-shot: 71.6Adapted calibrated zero-shot71.6Contrast-Consistent Search (this paper): 93.7Contrast-Consistent Search (this paper)93.7
The numbers
System or settingaccuracy %
Adapted calibrated zero-shot71.6
Contrast-Consistent Search (this paper)93.7

The output baseline makes useful predictions even in this arrangement. The sizes of the results show how much more useful the activation readout can be under this particular test. The result is especially informative because both methods have access to the two proposed inputs, and the adapted baseline extracts evidence from both. The advantage concerns what can be read from the hidden vectors compared with what the selected output comparison recovers.

What the ablations show

Transferring the readout between tasks

A probe trained and assessed on one task might succeed by finding an activation feature peculiar to that dataset. To test how much CCS depends on such features, the authors fit a direction on one dataset and use it to predict on another. They examine each pairing of training and test datasets. The comparison condition fits on the destination dataset’s own training examples before testing there. Because the target representations are normalized separately by dataset, the transfer concerns the direction after centering and scaling, rather than every part of the input preparation.

In most datasets, accuracy with a transferred probe is competitive with accuracy from a fit on the target task. Transfer can work across answer vocabularies, as when a direction derived from sentiment is applied to a task with different labels. This weakens an explanation based on memorizing which answer word to prefer in the training task. It also shows that a useful source task can supply a direction without involving labeled examples from the destination in the fit.

Training on Amazon sentiment produces an average transfer accuracy of 71.8%, reported as 0.6% above CCS without transfer in that comparison. The authors speculate that easy sentiment examples provide especially distinct representations of correct and incorrect judgments. The study also observes similar transfer performance from training sources as different as IMDB and DBpedia. Two sources can therefore produce readouts of similar usefulness without sharing a task definition. That is evidence for some common structure across tasks. Accuracy alone cannot tell whether all such readouts point in the same geometric direction or use overlapping combinations of features.

Where in the network the readout is useful

The layer comparison changes the activation source while keeping the basic probing procedure in place. Across the architectures, the authors extract features every 2 layers and fit CCS and supervised logistic regression separately for each dataset and layer setting. The layer examination matters because the final layer is closely connected to the production of output scores. If effective activation-based classification required the final representation used for those scores, earlier states would be less promising places to look.

For T5 and UnifiedQA, some middle-layer states yield better CCS performance than states near the end. The prefix experiment gives a related comparison within UnifiedQA. The encoder-based readout stays accurate with the prefix, whereas CCS using decoder features falls from 81.0% without the prefix to 73.5% with it, averaged across the relevant test tasks and prompts. The decoder’s drop resembles the deterioration of the output baseline. The experiment shows that moving the readout to a different part of the same system can change how strongly it responds to a perturbation in the input context.

The masked-language experiment addresses a different dependency. It moves the candidate label away from the final position and uses a system with neither a mask in the input nor the entailment fine-tuning used for the main DeBERTa output comparison. A large advantage for the hidden-state readout under this joint change supports the claim that the useful information need not appear in the tested output scores. Because the conditions change together, this experiment gives evidence about the combined setup. It does not identify how much of the effect is due to label position and how much is due to the training or output readout.

How much data the search needs

For the data-size analysis, the authors replace the usual training setup with a small sample of pairs under a single prompt. For each system and dataset, the chosen prompt is the one with the highest zero-shot accuracy. CCS is then evaluated over all of that dataset’s prompts. This arrangement asks whether a readout discovered from one favorable formulation and a small set of examples can work more broadly across the formulations used for testing.

k = 1, 2, 4, …

Here k is the number of unlabeled contrast pairs supplied for a fit, and the ellipsis indicates the continuation of the tested sequence of sample sizes. The authors draw 32 samples for each size and average the resulting accuracies. The appendix also examines results by dataset at sample sizes of 1, 8, and 64, allowing the reader to see how much the aggregate conceals about individual benchmark conditions.

Performance generally rises with more data. Some results are already useful with a single pair, while individual datasets show high variability. This finding is about the amount of data supplied to the search under the experiment’s prompt choice. A result from one training pair does not imply that CCS has acquired the ability needed for the task from that pair. The system has been pretrained, and the search is trying to locate an existing regularity in its activation space. The small-sample success is consistent with a regularity that a few examples can expose.

Prompt selection also matters to the interpretation. To choose the single formulation for this analysis the researchers use its measured zero-shot accuracy, which depends on benchmark answers. The CCS fitting objective still has no labels. The whole data-size experiment therefore measures what the search can do given a prompt selected using an accuracy comparison. It does not test how reliably an equally good prompt would be found when benchmark answers are unavailable.

Searching for clusters instead of fitting truth scores

The paper introduces Contrastive Representation Clustering, or CRC, to test whether a useful distinction is visible through the geometry of the paired features. Each input to the clustering procedure is the difference between the normalized activation vectors for the two candidates. Taking a within-question difference can reduce the influence of features the candidates share, such as much of the question text. With the same order of subtraction throughout, the difference can make the identity of the correct side more prominent if the representation changes systematically with candidate correctness.

cᵢ = φ̃(xᵢ⁺) − φ̃(xᵢ⁻)

Here cᵢ is the contrast vector for question i. The function φ̃ returns the normalized activation for a string. The inputs xᵢ⁺ and xᵢ⁻ are the plus-side and minus-side candidates, so subtraction fixes the direction of comparison for each pair. The collection of vectors cᵢ, over all available questions, is the contrast space used for clustering.

One variant, Top Principal Component, uses principal component analysis. Its first component is the direction in which the contrast vectors have the greatest variance. The method projects the vectors onto that direction and puts projections below 0 on one side and projections above 0 on the other. Extracting a direction this way tests whether answer discrimination is associated with a prominent source of variation in the contrasts. It does not use the confidence and consistency loss that drives CCS. The sign of a principal component also leaves the assignment of answer names open.

Bimodal Salience Search looks for a direction that produces compact groups on either side of the boundary. The motivation is that large variance on its own can depend on how the coordinates are scaled. The authors describe how a representation can be rescaled while compensating in later layers, preserving output behavior. Their clustering objective uses relative variance so that multiplying the projections by a common positive scale does not change the ratio.

L(θ) = [Var{θᵀcᵢ | θᵀcᵢ < 0} + Var{θᵀcᵢ | θᵀcᵢ ≥ 0}] / Var{θᵀcᵢ}

Here L is the loss for a proposed direction θ, and θᵀcᵢ is the projection of the contrast vector for instance i. Var denotes variance, the dispersion of a collection of projected values. The vertical bar restricts each variance in the numerator to the projections satisfying the condition after it. The numerator adds the variances on the negative and non-negative sides of 0, and the denominator is the variance over the full set. A smaller ratio favors a direction whose two groups have small internal spread relative to the overall spread.

The optimizer starts from a random unit direction and projects the updated direction back onto the unit sphere after each update. This keeps the direction at unit length. The authors use 20 starting directions and 20 epochs, with Adam at a learning rate of 0.1, then select the direction reaching the lowest loss. When the search uses multiple datasets, it averages the loss across them. The resemblance to linear discriminant analysis is in the attention to within-group spread relative to separation. Here the groups come from the sign of the projection rather than from supplied labels. Adam.

Under the same general evaluation setup, CCS performs best overall, while both clustering variants are competitive with zero-shot. The methods ask related but distinct questions. Principal component analysis asks whether answer information is aligned with a high-variance direction in the paired differences. Bimodal Salience Search asks whether a direction forms relatively compact groups. Both can work with the paired inputs and their hidden states alone. Their success provides a second route to the paper’s conclusion about accessibility, because it shows that useful structure can be found even by procedures that never fit candidate-level truth probabilities.

Limitations

Limits the authors state

CCS assumes that a small classifier could separate correct and incorrect candidate judgments if given their labels. This requires the system to be capable of evaluating the input and to run computations that make the relevant information available in the selected states. A capability observed under one prompt or elsewhere in the network does not guarantee that the last token of a chosen layer contains a linearly accessible record of the judgment under study. The authors leave open when the necessary conditions hold. The supervised comparator helps estimate whether the chosen activations contain usable features, but interpreting a weak result still depends on the representation and the form of the probe.

The scope is binary and the experiments use tasks with a designated correct answer. The confidence loss is built to favor a decisive separation, which makes sense under that setup. The authors identify uncertain cases and tasks beyond yes or no as areas for extension. With several plausible answers, a researcher would need to specify what a contrast means, and with genuinely uncertain answers, pressure to put a score near an extreme can work against expressing the uncertainty. Those questions concern the objective itself, as well as the formatting of the input.

The authors also name probability calibration, reliability, richer consistency constraints, and the remaining gap to supervised logistic regression as open problems. The paper’s accuracy measure can show that a prediction falls on the correct side of a threshold without establishing that its numerical score captures the chance of correctness. A method can therefore work well as a classifier while its individual scores still need a separate interpretation. Likewise, success on average across prompts does not give the procedure a rule for recognizing when its reading of a particular task is unreliable.

The study leaves deliberate deception untested. A misleading prompt changes the context a system receives. Deception would require a setting in which the behavior being studied involves an active distinction between what the system represents and what it chooses to communicate. The authors present such a setting as a future stress test and acknowledge that CCS might need additional constraints to isolate the relevant internal information. Their experiments establish that a disagreement between internal readout and output performance is possible under simpler conditions.

What follows from the design of the experiments

The clearest qualification is the orientation of the classifier. Reported test accuracy uses the better of the two possible assignments from the fitted rule to the answer labels. An evaluator with an answer key can measure the quality of the split this way. In a setting where nobody can check any answers, the probe still needs some way to name the sides. The conjunction and disjunction proposal would supply that step if the system represented the composites appropriately and the same readout handled them. The experiments leave the reliability of that procedure open.

The balanced binary setup also supplies structure beyond what an arbitrary collection of questions would provide. Balance informs the calibration baseline, and preparing the binary topic tasks requires access to the original correct category to choose a suitable distractor. This is fully compatible with withholding answer labels when fitting CCS. It does mean that creating the benchmark pairs and learning from them are different operations with different information requirements. For a task where the possible answers are initially unknown, the paper’s readout would start only after an appropriate candidate pair had been formed.

The evidence for shared truth-related features is strongest as a behavioral claim about the probe. A transferred classifier can separate correct from incorrect candidates on a new benchmark. Several features could contribute to such success. For example, agreement between a proposed answer and the context could be reflected in general signals about how well the text fits together. The experiments do not isolate the computations that produce those signals. The linear probe reads correlations in the activations, leaving open whether the identified direction causes the system’s own output judgments, whether there are several such directions, and how they relate to each other.

The test of misleading prefixes supplies evidence under a particular kind of distribution change. Much of the demonstrated output deterioration occurs for UnifiedQA, and the favorable CCS result depends on using its encoder. Correctly answered demonstrations can also produce qualitatively similar effects, making it hard to identify the falsity of the examples as the cause. A useful conclusion is that one readout remained effective after a contextual change had impaired another. Separating imitation of false labels from changes in formatting, answer type, or unfamiliar context would require further controls.

The masked-pretraining experiment has a similarly specific scope. It studies Amazon sentiment in a configuration where the answer word sits away from the final token, the network is used without mask tokens, and the output comparison is adapted to suit that choice. The observed gap supports the authors’ argument about the availability of information in the hidden states. It leaves open how a different output extraction scheme would perform and how frequently comparable advantages appear on tasks unlike sentiment classification.

How to read the statistical claims

The statistical appendix distinguishes the repeated prompt and system evaluations from the originally sampled benchmark items. It counts 3800 independently sampled test examples when results are averaged across datasets and describes roughly 180k samples in the broader experimental accounting. The repeated evaluations of a question can be correlated. The paper therefore gives a coarse standard-error bound that leaves aside averaging across prompts and systems.

1/(2√3800) ≈ 0.8%

The quantity on the left is the stated bound based on the count of 3800 original test examples. The radical √ takes the square root of that count, the factor 2 multiplies the result in the denominator, and the approximation symbol ≈ connects the bound to the paper’s reported value of 0.8%. The bound concerns the uncertainty of the aggregate accuracy estimate under the appendix’s sampling treatment.

The authors report significance at the 0.00001 level for their main comparisons, including the overall accuracy difference and the comparison with the adapted masked-language output baseline. The appendix prints its Wald calculation as follows.

W = (μ₀ − μ̂)/se(μ̂)² ≥ (μ₀ − μ̂)/(0.008)²

Here W is the stated test statistic, μ₀ is the reference accuracy, μ̂ is the estimated accuracy being compared with it, and se(μ̂) is its standard error. The exponent ² squares the standard error in the denominator. The inequality ≥ relates the printed statistic to an expression using the fixed bound of 0.008. The appendix assigns W a χ² distribution with one degree of freedom, where χ² denotes the chi-squared distribution.

As printed, the numerator is a signed difference. In the appendix’s example, the reference is the lower zero-shot accuracy and the estimate is the higher CCS accuracy, making that difference negative. A negative statistic cannot have the stated chi-squared distribution. The printed calculation therefore does not by itself justify the quoted significance level. The measured accuracy comparisons and their experimental conditions remain the direct evidence to interpret, with the paper itself distinguishing its main comparisons from the much smaller change obtained by pooling training datasets.

What came after

Truth as a feature of representations

The Geometry of Truth takes up the linear structure of representations for true and false data. CCS gives this question a concrete starting point. It searches for a useful projection by requiring two logically related inputs to receive compatible scores. A geometric study can put the form of the separation at the center of the investigation. The distinction matters because finding a direction that predicts held-out labels and characterizing the arrangement of true and false examples are related empirical goals. Either can inform how to interpret linear prediction from activations.

The Internal State of an LLM Knows When It’s Lying places the relationship between a statement and the internal state directly at the center of its question. CCS motivates that relationship through supplied answer pairs and shows how a readout can disagree in accuracy with an ordinary output comparison. The later study’s framing brings the judged statement itself into focus. Read alongside the original paper’s stated limits, it also makes the difference between assessing statement correctness and detecting strategic intent important. Evidence that an internal state supports a judgment about a claim has to be interpreted in light of what the experimental task asks the system to do.

LLMs Know More Than They Show carries the distinction between internal evidence and external behavior into the study of hallucinations. In CCS, that distinction is tested by comparing paired activation readouts with label probabilities and perturbing the context in which the labels are scored. The later work frames hallucination in terms of intrinsic representation. This application puts pressure on the form of the prediction target. Detecting that an answer is unreliable and selecting the correct answer from a supplied pair both concern access to internal evidence, while using that evidence to resolve an open question would require additional information about the alternatives.

From reading activations to intervening on them

Inference-Time Intervention takes the problem of eliciting truthful answers into intervention during inference. CCS adds an external decision rule to activations from a fixed network. A method aimed at intervention asks whether changing the computation during answer production can change the answers the system gives. This puts behavior following the intervention at the center of the test. A direction can be valuable for classification, while any proposed intervention using internal features has to be evaluated through the outputs it actually changes.

Representation Engineering places the study of internal representations within a broader top-down approach to interpretability. CCS begins with a property of a concept outside the network, the opposition between competing truth judgments, and searches inside the network for a readout that respects it. The later work’s framing broadens the question of how high-level properties can guide the study of representations. The link is the use of a defined behavior or concept to decide what to investigate in activations, with CCS providing a concrete case in which that definition also supplies an unlabeled fitting objective.

Steering Language Models With Activation Engineering also makes activations the point of contact, with steering as the objective. Refusal in Language Models Is Mediated by a Single Direction concerns a specific behavior other than truth judgment and frames it in terms of mediation by a direction. These papers connect the geometric language used in CCS to questions about behavioral control. They also illustrate why the verb used to describe a result matters. A direction that reads out a distinction, one used to steer behavior, and one presented as mediating a behavior are subjects of different tests.

Checking what the outward answer reveals

Language Models Don’t Always Say What They Think studies unfaithful explanations in chain-of-thought prompting. This line of work asks how much a verbal explanation reveals about the process responsible for an answer. CCS asks how much ordinary answer scores reveal about the information available for making the underlying judgment. Both questions arise when outward text is treated as evidence about internal processing. In the explanation setting, the additional issue is whether a rationale accurately accounts for the answer. Correctness of the selected answer would by itself leave that issue unresolved.

Lookback Lens connects internal signals to contextual hallucination through attention maps. The choice of representation is the point of contact with CCS. A hidden-state probe takes the token vector as its evidence, while an attention-based approach asks what can be read from patterns of attention. These choices matter because different internal quantities are available for different tasks and can support different types of prediction or mitigation. CCS’s layer and architecture comparisons show how changing the source of an internal measurement can alter what it recovers, even before changing the target task.

Alignment for Honesty places honesty itself at the center of the alignment question. The original paper supplies a reason to distinguish good outward answers from reliable access to the information a system has. Work on honesty brings the terms of that distinction into sharper focus. A correctness label on a binary benchmark gives an external standard for the answer. Honesty also raises a question about the relationship between the answer and the state from which it was produced. Read together with the work on readouts, interventions, and explanations, this distinction helps explain the continuing interest in CCS’s original experiment, which made it possible to compare ordinary answers with evidence from inside the same network.

Cite

Cite as Collin Burns, Haotian Ye, Dan Klein and Jacob Steinhardt. 2022. Discovering Latent Knowledge in Language Models Without Supervision. arXiv:2212.03827.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2212.03827 · arXiv 2212.03827

@misc{burns2022discovering,
  title = {{Discovering Latent Knowledge in Language Models Without Supervision}},
  author = {Collin Burns, Haotian Ye, Dan Klein and Jacob Steinhardt},
  year = {2022},
  doi = {10.48550/arxiv.2212.03827},
  eprint = {2212.03827},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2212.03827}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/burns-2022-discovering-latent-knowledge-language-models/

References

58 references, from the paper's own bibliography.

  1. Amanda Askell, Yushi Bai, Anna Chen, Dawn Drain, Deep Ganguli, T. J. Henighan, Andy Jones, Nicholas Joseph, Benjamin Mann, Nova DasSarma, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, John Kernion, Kamal Ndousse, Catherine Olsson, Dario Amodei, Tom B. Brown, Jack Clark, Sam McCandlish, Christopher Olah, and Jared Kaplan. A general language assistant as a laboratory for alignment. ArXiv, abs/2112.00861, 2021. OpenAlex ↗ · Scholar ↗
  2. Yushi Bai, Andy Jones, Kamal Ndousse, Amanda Askell, Anna Chen, Nova DasSarma, Dawn Drain, Stanislav Fort, Deep Ganguli, T. J. Henighan, Nicholas Joseph, Saurav Kadavath, John Kernion, Tom Conerly, Sheer El-Showk, Nelson Elhage, Zac Hatfield-Dodds, Danny Hernandez, Tristan Hume, Scott Johnston, Shauna Kravec, Liane Lovitt, Neel Nanda, Catherine Olsson, Dario Amodei, Tom B. Brown, Jack Clark, Sam McCandlish, Christopher Olah, Benjamin Mann, and Jared Kaplan. Training a helpful and harmless assistant with reinforcement learning from human feedback. ArXiv, abs/2204.05862, 2022. OpenAlex ↗ · Scholar ↗
  3. Iz Beltagy, Arman Cohan, Robert Logan IV, Sewon Min, and Sameer Singh. Zero- and few-shot nlp with pretrained language models. In ACL, 2022. OpenAlex ↗ · Scholar ↗
  4. Emily M. Bender, Timnit Gebru, Angelina McMillan-Major, and Shmargaret Shmitchell. On the dangers of stochastic parrots: Can language models be too big? Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency, 2021. OpenAlex ↗ · Scholar ↗
  5. Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, et al. Piqa: Reasoning about physical commonsense in natural language. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 7432–7439, 2020. our card
  6. Tolga Bolukbasi, Kai-Wei Chang, James Y. Zou, Venkatesh Saligrama, and Adam Tauman Kalai. Man is to computer programmer as woman is to homemaker? debiasing word embeddings. In NIPS, 2016. our card
  7. Rishi Bommasani, Drew A. Hudson, Ehsan Adeli, Russ Altman, Simran Arora, Sydney von Arx, Michael S. Bernstein, Jeannette Bohg, Antoine Bosselut, Emma Brunskill, Erik Brynjolfsson, S. Buch, Dallas Card, Rodrigo Castellon, Niladri S. Chatterji, Annie S. Chen, Kathleen A. Creel, Jared Davis, Dora Demszky, Chris Donahue, Moussa Doumbouya, Esin Durmus, Stefano Ermon, John Etchemendy, Kawin Ethayarajh, Li Fei-Fei, Chelsea Finn, Trevor Gale, Lauren E. Gillespie, Karan Goel, Noah D. Goodman, Shelby Grossman, Neel Guha, Tatsunori Hashimoto, Peter Henderson, John Hewitt, Daniel E. Ho, Jenny Hong, Kyle Hsu, Jing Huang, Thomas F. Icard, Saahil Jain, Dan Jurafsky, Pratyusha Kalluri, Siddharth Karamcheti, Geoff Keeling, Fereshte Khani, O. Khattab, Pang Wei Koh, Mark S. Krass, Ranjay Krishna, Rohith Kuditipudi, Ananya Kumar, Faisal Ladhak, Mina Lee, Tony Lee, Jure Leskovec, Isabelle Levent, Xiang Lisa Li, Xuechen Li, Tengyu Ma, Ali Malik, Christopher D. Manning, Suvir P. Mirchandani, Eric Mitchell, Zanele Munyikwa, Suraj Nair, Avanika Narayan, Deepak Narayanan, Benjamin Newman, Allen Nie, Juan Carlos Niebles, Hamed Nilforoshan, J. F. Nyarko, Giray Ogut, Laurel Orr, Isabel Papadimitriou, Joon Sung Park, Chris Piech, Eva Portelance, Christopher Potts, Aditi Raghunathan, Robert Reich, Hongyu Ren, Frieda Rong, Yusuf H. Roohani, Camilo Ruiz, Jack Ryan, Christopher R'e, Dorsa Sadigh, Shiori Sagawa, Keshav Santhanam, Andy Shih, Krishna Parasuram Srinivasan, Alex Tamkin, Rohan Taori, Armin W. Thomas, Florian Tramèr, Rose E. Wang, William Wang, Bohan Wu, Jiajun Wu, Yuhuai Wu, Sang Michael Xie, Michihiro Yasunaga, Jiaxuan You, Matei A. Zaharia, Michael Zhang, Tianyi Zhang, Xikun Zhang, Yuhui Zhang, Lucia Zheng, Kaitlyn Zhou, and Percy Liang. On the opportunities and risks of foundation models. ArXiv, abs/2108.07258, 2021. our card
  8. Tom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, T. J. Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeff Wu, Clemens Winter, Christopher Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. ArXiv, abs/2005.14165, 2020. our card
  9. Paul Christiano, Ajeya Cotra, and Mark Xu. Eliciting latent knowledge. Technical report, ARC, 2022. URL https://docs.google.com/document/d/1WwsnJQstPq91_Yh-Ch2XRL8H_EpsnjrC1dwZXR37PC8/edit. OpenAlex ↗ · Scholar ↗
  10. Paul Francis Christiano, Jan Leike, Tom B. Brown, Miljan Martic, Shane Legg, and Dario Amodei. Deep reinforcement learning from human preferences. ArXiv, abs/1706.03741, 2017. our card
  11. Paul Francis Christiano, Buck Shlegeris, and Dario Amodei. Supervising strong learners by amplifying weak experts. ArXiv, abs/1810.08575, 2018. our card
  12. Christopher Clark, Kenton Lee, Ming-Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. Boolq: Exploring the surprising difficulty of natural yes/no questions. arXiv preprint arXiv:1905.10044, 2019. our card
  13. Owain Evans, Owen Cotton-Barratt, Lukas Finnveden, Adam Bales, Avital Balwit, Peter Wills, Luca Righetti, and William Saunders. Truthful ai: Developing and governing ai that does not lie. ArXiv, abs/2110.06674, 2021. OpenAlex ↗ · Scholar ↗
  14. Meta FAIR, Anton Bakhtin, Noam Brown, Emily Dinan, Gabriele Farina, Colin Flaherty, Daniel Fried, Andrew Goff, Jonathan Gray, Hengyuan Hu, Athul Paul Jacob, Mojtaba Komeili, Karthik Konath, Minae Kwon, Adam Lerer, Mike Lewis, Alexander H. Miller, Sasha Mitts, Adithya Renduchintala, Stephen Roller, Dirk Rowe, Weiyan Shi, Joe Spisak, Alexander Wei, David Wu, Hugh Zhang, and Markus Zijlstra. Human-level play in the game of diplomacy by combining language models with strategic reasoning. Science, pp. eade9097, 2022. OpenAlex ↗ · Scholar ↗
  15. Rory A. Fisher. The use of multiple measurements in taxonomic problems. Annals of Human Genetics, 7:0 179–188, 1936. OpenAlex ↗ · Scholar ↗
  16. Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. Deberta: Decoding-enhanced bert with disentangled attention. ArXiv, abs/2006.03654, 2021. our card
  17. Dan Hendrycks, Nicholas Carlini, John Schulman, and Jacob Steinhardt. Unsolved problems in ml safety. ArXiv, abs/2109.13916, 2021. our card
  18. Geoffrey Irving, Paul Francis Christiano, and Dario Amodei. Ai safety via debate. ArXiv, abs/1805.00899, 2018. our card
  19. Jaehun Jung, Lianhui Qin, Sean Welleck, Faeze Brahman, Chandra Bhagavatula, Ronan Le Bras, and Yejin Choi. Maieutic prompting: Logically consistent reasoning with recursive explanations. ArXiv, abs/2205.11822, 2022. our card
  20. Zachary Kenton, Tom Everitt, Laura Weidinger, Iason Gabriel, Vladimir Mikulik, and Geoffrey Irving. Alignment of language agents. ArXiv, abs/2103.14659, 2021. our card
  21. Daniel Khashabi, Sewon Min, Tushar Khot, Ashish Sabharwal, Oyvind Tafjord, Peter Clark, and Hannaneh Hajishirzi. Unifiedqa: Crossing format boundaries with a single qa system. In FINDINGS, 2020. our card
  22. Junyeob Kim, Hyuhng Joon Kim, Hyunsoo Cho, Hwiyeol Jo, Sang-Woo Lee, Sang goo Lee, Kang Min Yoo, and Taeuk Kim. Ground-truth labels matter: A deeper look into input-label demonstrations. ArXiv, abs/2205.12685, 2022. our card
  23. Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
  24. 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. Dbpedia–a large-scale, multilingual knowledge base extracted from wikipedia. Semantic web, 60 (2):0 167–195, 2015. our card
  25. Jan Leike, David Krueger, Tom Everitt, Miljan Martic, Vishal Maini, and Shane Legg. Scalable agent alignment via reward modeling: a research direction. ArXiv, abs/1811.07871, 2018. our card
  26. Stephanie C. Lin, Jacob Hilton, and Owain Evans. Truthfulqa: Measuring how models mimic human falsehoods. In ACL, 2022. our card
  27. Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Computing Surveys (CSUR), 2022. our card
  28. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. ArXiv, abs/1907.11692, 2019. our card
  29. Ilya Loshchilov and Frank Hutter. Fixing weight decay regularization in adam. ArXiv, abs/1711.05101, 2017. OpenAlex ↗ · Scholar ↗
  30. Yao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel, and Pontus Stenetorp. Fantastically ordered prompts and where to find them: Overcoming few-shot prompt order sensitivity. In ACL, 2022. our card
  31. Andrew Maas, Raymond E Daly, Peter T Pham, Dan Huang, Andrew Y Ng, and Christopher Potts. Learning word vectors for sentiment analysis. In Proceedings of the 49th annual meeting of the association for computational linguistics: Human language technologies, pp. 142–150, 2011. our card
  32. Joshua Maynez, Shashi Narayan, Bernd Bohnet, and Ryan T. McDonald. On faithfulness and factuality in abstractive summarization. ArXiv, abs/2005.00661, 2020. our card
  33. Julian McAuley and Jure Leskovec. Hidden factors and hidden topics: understanding rating dimensions with review text. In Proceedings of the 7th ACM conference on Recommender systems, pp. 165–172, 2013. OpenAlex ↗ · Scholar ↗
  34. Jacob Menick, Maja Trebacz, Vladimir Mikulik, John Aslanides, Francis Song, Martin Chadwick, Mia Glaese, Susannah Young, Lucy Campbell-Gillingham, Geoffrey Irving, and Nathan McAleese. Teaching language models to support answers with verified quotes. ArXiv, abs/2203.11147, 2022. our card
  35. Sewon Min, Mike Lewis, Luke Zettlemoyer, and Hannaneh Hajishirzi. Metaicl: Learning to learn in context. ArXiv, abs/2110.15943, 2022a. our card
  36. Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. Rethinking the role of demonstrations: What makes in-context learning work? ArXiv, abs/2202.12837, 2022b. our card
  37. Nasrin Mostafazadeh, Michael Roth, Annie Louis, Nathanael Chambers, and James Allen. Lsdsem 2017 shared task: The story cloze test. In Proceedings of the 2nd Workshop on Linking Models of Lexical, Sentential and Discourse-level Semantics, pp. 46–51, 2017. OpenAlex ↗ · Scholar ↗
  38. Reiichiro Nakano, Jacob Hilton, S. Arun Balaji, Jeff Wu, Long Ouyang, Christina Kim, Christopher Hesse, Shantanu Jain, Vineet Kosaraju, William Saunders, Xu Jiang, Karl Cobbe, Tyna Eloundou, Gretchen Krueger, Kevin Button, Matthew Knight, Benjamin Chess, and John Schulman. Webgpt: Browser-assisted question-answering with human feedback. ArXiv, abs/2112.09332, 2021. our card
  39. Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, Carroll L. Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Ray, John Schulman, Jacob Hilton, Fraser Kelton, Luke E. Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Francis Christiano, Jan Leike, and Ryan J. Lowe. Training language models to follow instructions with human feedback. ArXiv, abs/2203.02155, 2022. our card
  40. Ethan Perez, Saffron Huang, Francis Song, Trevor Cai, Roman Ring, John Aslanides, Amelia Glaese, Nathan McAleese, and Geoffrey Irving. Red teaming language models with language models. ArXiv, abs/2202.03286, 2022. our card
  41. Colin Raffel, Noam M. Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. ArXiv, abs/1910.10683, 2020. our card
  42. Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. Squad: 100,000+ questions for machine comprehension of text. arXiv preprint arXiv:1606.05250, 2016. our card
  43. Melissa Roemmele, Cosmin Adrian Bejan, and Andrew S Gordon. Choice of plausible alternatives: An evaluation of commonsense causal reasoning. In 2011 AAAI Spring Symposium Series, 2011. OpenAlex ↗ · Scholar ↗
  44. Stephen Roller, Emily Dinan, Naman Goyal, Da Ju, Mary Williamson, Yinhan Liu, Jing Xu, Myle Ott, Kurt Shuster, Eric Michael Smith, Y.-Lan Boureau, and Jason Weston. Recipes for building an open-domain chatbot. In EACL, 2021. our card
  45. Victor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach, Lintang A. Sutawika, Zaid Alyafeai, Antoine Chaffin, Arnaud Stiegler, Teven Le Scao, Arun Raja, Manan Dey, M SAIFUL BARI, Canwen Xu, Urmish Thakker, Shanya Sharma, Eliza Szczechla, Taewoon Kim, Gunjan Chhablani, Nihal V. Nayak, Debajyoti Datta, Jonathan Chang, Mike Tian-Jian Jiang, Han Wang, Matteo Manica, Sheng Shen, Zheng Xin Yong, Harshit Pandey, Rachel Bawden, Thomas Wang, Trishala Neeraj, Jos Rozen, Abheesht Sharma, Andrea Santilli, Thibault Févry, Jason Alan Fries, Ryan Teehan, Stella Rose Biderman, Leo Gao, T. G. Owe Bers, Thomas Wolf, and Alexander M. Rush. Multitask prompted training enables zero-shot task generalization. ArXiv, abs/2110.08207, 2021. our card
  46. Nisan Stiennon, Long Ouyang, Jeff Wu, Daniel M. Ziegler, Ryan J. Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul Christiano. Learning to summarize from human feedback. ArXiv, abs/2009.01325, 2020. OpenAlex ↗ · Scholar ↗
  47. James Thorne, Andreas Vlachos, Christos Christodoulopoulos, and Arpit Mittal. Fever: a large-scale dataset for fact extraction and verification. ArXiv, abs/1803.05355, 2018. our card
  48. Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel R Bowman. Glue: A multi-task benchmark and analysis platform for natural language understanding. arXiv preprint arXiv:1804.07461, 2018. our card
  49. Ben Wang and Aran Komatsuzaki. GPT-J-6B: A 6 Billion Parameter Autoregressive Language Model. https://github.com/kingoflolz/mesh-transformer-jax, May 2021. OpenAlex ↗ · Scholar ↗
  50. Jason Wei, Maarten Bosma, Vincent Zhao, Kelvin Guu, Adams Wei Yu, Brian Lester, Nan Du, Andrew M. Dai, and Quoc V. Le. Finetuned language models are zero-shot learners. ArXiv, abs/2109.01652, 2022a. our card
  51. Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Ed Chi, Quoc Le, and Denny Zhou. Chain of thought prompting elicits reasoning in large language models. ArXiv, abs/2201.11903, 2022b. our card
  52. Laura Weidinger, John F. J. Mellor, Maribeth Rauh, Conor Griffin, Jonathan Uesato, Po-Sen Huang, Myra Cheng, Mia Glaese, Borja Balle, Atoosa Kasirzadeh, Zachary Kenton, Sande Minnich Brown, William T. Hawkins, Tom Stepleton, Courtney Biles, Abeba Birhane, Julia Haas, Laura Rimell, Lisa Anne Hendricks, William S. Isaac, Sean Legassick, Geoffrey Irving, and Iason Gabriel. Ethical and social risks of harm from language models. ArXiv, abs/2112.04359, 2021. our card
  53. Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Rémi Louf, Morgan Funtowicz, and Jamie Brew. Huggingface's transformers: State-of-the-art natural language processing. ArXiv, abs/1910.03771, 2019. our card
  54. Wenpeng Yin, Nazneen Rajani, Dragomir Radev, Richard Socher, and Caiming Xiong. Universal natural language processing with limited annotations: Try few-shot textual entailment as a start. In EMNLP, 2020. OpenAlex ↗ · Scholar ↗
  55. Xiang Zhang, Junbo Zhao, and Yann LeCun. Character-level convolutional networks for text classification. Advances in neural information processing systems, 28:0 649–657, 2015. our card
  56. Tony Zhao, Eric Wallace, Shi Feng, Dan Klein, and Sameer Singh. Calibrate before use: Improving few-shot performance of language models. ArXiv, abs/2102.09690, 2021. our card
  57. Ruiqi Zhong, Kristy Lee, Zheng Zhang, and Dan Klein. Adapting language models for zero-shot learning by meta-tuning on dataset and prompt collections. In EMNLP, 2021. our card
  58. Chunting Zhou, Junxian He, Xuezhe Ma, Taylor Berg-Kirkpatrick, and Graham Neubig. Prompt consistency for zero-shot task generalization. ArXiv, abs/2205.00049, 2022. OpenAlex ↗ · Scholar ↗