How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answering
Paper · 2021 · Zhengbao Jiang, Jun Araki, Haibo Ding et al.
Summary
A system can pick the right answer more frequently than its competitors and still give poor advice about when to trust it. This paper examines that problem in question answering. It asks whether the probability assigned to an answer agrees with how frequently answers at that confidence level are correct, a property called calibration. The authors test T5, BART, GPT-2, and the T5-based UnifiedQA system. They put multiple-choice and passage-based extraction tasks into a common format in which the system scores each possible answer as a continuation of the input. The resulting confidence scores often cluster near 0 or 1, including cases where an incorrect answer receives high confidence.
The authors intervene at several points. They use fine-tuning to teach the generator to compare the correct answer with plausible alternatives. They also test two ways to adjust confidence with the generator held fixed. Temperature scaling changes how far apart the probabilities are while preserving their order for a given set of scores. Boosted decision trees learn to estimate correctness from the original confidence and other signals, including how broadly the generator distributes probability across the choices. Two further methods change the text being scored. One combines the probability of several paraphrases of each answer. The other adds material from a retrieved Wikipedia article to the question input.
On multiple-choice tasks, these interventions can improve calibration while maintaining answer accuracy. The best combination on MC-test uses margin-based fine-tuning, temperature scaling, paraphrasing, and retrieval. It lowers expected calibration error, or ECE, from 0.095 to 0.044 in the main UnifiedQA experiments. With UnifiedQA-11B, calibration lowers ECE from 0.067 to 0.032 on MC-test and from 0.175 to 0.085 on the harder MT-test benchmark. The gains are smaller on the extractive tasks, where the alternatives are passages’ text spans selected by the generator itself. The authors release the experimental code as jzbjyb/lm-calibration.
The comparisons also show what those improvements depend on. The larger T5 and UnifiedQA variants are usually both more accurate and better calibrated in the paper’s size comparison. Adding paraphrases generally helps, with more modest gains beyond 10, and the wording changes help especially on shorter questions in the authors’ analysis. The methods also work on question collections set aside for evaluation, although the MC-test gain is smaller than the gain measured on MC-train. A temperature fitted using the evaluation data yields better alignment there, illustrating how much the interpretation of a confidence score can depend on the questions used to learn it. That dependence matters when a score may inform a decision in a setting such as healthcare or finance.
Deep dive: How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answering
The paper tests whether confidence scores predict correct answers and compares ways to improve calibration across question-answering datasets. · about 40 minutes to read
The problem and its context
What an answer probability is supposed to tell us
A language model learns to assign probabilities to text. Give a generator a question in a suitable format and it can assign a score to the text of each proposed answer. The paper asks how those scores should be interpreted once the system is used to answer questions. A user may want the highest-scoring answer, and may also want to know whether answers with similar scores have typically been right. Those are two properties of the same predictions. The first concerns the ranking of alternatives within a question. The second concerns how the numerical scores relate to observed outcomes across questions.
A multiple-choice item makes the distinction concrete. The winning answer may receive nearly all the probability assigned to the listed choices. That tells us how strongly the generator favors its wording over the available alternatives under this particular input. To interpret the normalized score as a probability of correctness, we need a further empirical check. Among other answers assigned similar confidence, the proportion judged correct should be close to the scores they received. The paper’s use of knowledge is tied to this operational question. A particular answer has a correctness label, while the interpretation of its confidence comes from the behavior of a group of predictions.
The distinction matters when a prediction is part of a decision. A score that tracks observed correctness could help someone decide how much weight to give an answer. A score that regularly exaggerates reliability can encourage the same degree of trust in cases with different histories of success. Overall accuracy provides a starting point, but it averages across the questions on which a system is especially dependable and the questions on which it commonly fails. The paper takes healthcare and finance as examples of settings where the consequences of an error make that distinction worth investigating.
The two lines of work the paper brings together
Earlier studies examined what could be elicited from systems trained to predict text. Researchers used missing-word queries or prompted the generator to continue an input. Some studies probed facts about entities, others investigated commonsense knowledge or simple numerical operations. The paper cites examples of large pretrained generators responding to prompts with useful answers on knowledge-intensive tasks. It also cites weaknesses on uncommon facts and more involved reasoning. Its discussion raises the possibility that some success on a benchmark reflects recurring cues that fail to generalize to unfamiliar instances. The relevant line of research includes Language Models as Knowledge Bases? and Language Models are Few-Shot Learners.
These earlier probes supplied a way to pose a knowledge question to a text predictor and judge its answer. They left room for a related question about the predictor’s own scores. A system might answer familiar and unfamiliar questions with similarly decisive numerical preferences. A test of factual or commonsense accuracy would record the difference in their outcomes. A calibration test asks whether any difference is visible in the scores before the outcome is revealed. It therefore changes what researchers measure, even when they use the same input and check the same reference answer.
Calibration itself was an established research problem. The authors point to earlier applications in medical diagnosis and image recognition, as well as natural language tasks such as entailment, tagging, text classification, and span prediction. In much of the earlier language work they discuss, a pretrained system supplies representations to a predictor. That predictor chooses a class or identifies a span. For example, representations from BERT can support decisions made from an encoded input. Such decisions already provide a structured prediction to score. The present paper starts with the probability of generating the answer string itself.
This change matters because an answer string has an internal structure. Its score depends on each successive token and on the prefix preceding that token. The question, evidence, and choices can all appear as part of the input text. At the output, several distinct strings may express a single answer. Confidence can therefore depend on the generator’s preferences over phrasing, length, and vocabulary as well as on evidence that bears on the question. The authors can test some of these effects by changing the text while keeping the underlying task recognizable.
Why constrain the answer space?
A score for a string is a natural output of a generator, but a calibration study also needs a rule for judging that string and a tractable group of alternatives against which to interpret its probability. Multiple-choice tasks supply both. The benchmark specifies the alternatives and identifies the correct one. Extractive tasks provide a passage containing potential answers and designate a reference answer. A search procedure is still needed because a passage offers many possible spans.
The common text-to-text format lets the paper ask the same broad question of both task types. In each case, the input is text, and the target is answer text. The distinction between benchmark-supplied choices and automatically shortlisted spans remains central. In one setting, the alternative answers have been written or selected as part of the task. In the other, the generator’s initial preferences help determine which spans will eventually compete. The format makes the scoring procedures comparable while leaving that difference in how the candidates arise visible.
Both formats also give the authors a concrete event against which to check a confidence score. The evaluator can ask whether a candidate is the benchmark’s correct answer. This makes calibration measurable over a collection of judgments. It also locates the paper’s claim precisely. The authors study confidence under a particular definition of an answer and of correctness, using known outcomes to see how well a score would have anticipated them.
The method, step by step
Turn questions and answers into text sequences
The experiments follow UnifiedQA’s approach to putting different question formats into a shared sequence-to-sequence representation. A sequence is an ordered list of tokens, the units a generator processes. Its tokenizer determines how text is divided into those units, so a whole word and a piece of a word can both function as tokens. The question and any accompanying material form the input sequence, and the answer forms the output sequence. The generator assigns the probability of the whole output by multiplying its successive next-token probabilities. This is where tokenization enters the score.
Pᴸᴹ(Y ∣ X) = ∏ᵢ₌₁^|Y| Pᴸᴹ(yᵢ ∣ X, y₍₍ᵢ₎)
Here Pᴸᴹ is the probability assigned by the generator, X is the serialized input, and Y is the answer sequence. The vertical bar means “conditional on,” and the comma joins pieces of the conditioning information. The product sign ∏ tells us to multiply over token positions i, starting at 1 and ending at the sequence length |Y|. The symbol yᵢ is the token at position i, and y₍₍ᵢ₎ denotes all answer tokens before that position. At the start of the answer, that prefix is empty.
The initial token receives a probability given the input. Every subsequent token receives a probability given both the input and the preceding answer tokens. A candidate can therefore lose probability at a token that the generator finds unexpected even if the full string expresses the intended answer. Each additional token also contributes another factor. The paper connects this scoring issue to earlier work on a preference for shorter outputs and biases toward frequent vocabulary in generators trained by maximum likelihood. Candidate-based calibration gives the authors a way to work with those string scores in the context of a particular question.
For multiple-choice questions, the input includes the question, the lettered answer options, and a passage when one is supplied. The candidate outputs are the texts of the answer choices. An option’s text thus has two roles. It appears among the choices the generator can read, and it is also evaluated as a possible output. Scoring the answer text lets choices of different lengths and wording pass through the same generation procedure.
For extractive questions, the input pairs a question with the relevant passage. Every contiguous span in that passage is a potential answer in principle. The authors make the search manageable by first calculating the distribution for the initial output token and masking tokens absent from the passage. They retain the top R starting tokens by score, find their occurrences in the passage, and consider the spans that start there up to a length limit. The methods discussion gives 20 tokens as an example of that limit. They score those spans and retain the top K for calibration. The experiments use R equal to 10 first-token types and K equal to 5 candidate spans.
The shortlist can be understood as a gate on what will later receive confidence. A span whose opening token falls outside the retained group does not reach the full scoring stage. Among the spans that do reach it, only the highest scoring enter the final comparison. This saves work, and it makes the confidence conditional on a search process as well as on a passage. The same shortlist supplies both the alternatives the system can choose from and the denominator against which its scores are interpreted.
From a question to an evaluated confidence score
The steps in order.
The flow describes the shared stages. Candidate-aware fine-tuning changes the generator before scoring at evaluation time. Retrieval modifies the input that reaches the generator, while paraphrasing changes which output strings contribute to a candidate’s score. Temperature scaling and the decision-tree method act on information from those scores. Each intervention can then be judged against the same benchmark labels.
Rank the candidates and normalize their scores
In the basic system the candidate set can be written as follows.
ℐ(X) = {Y⁽ⁱ⁾}ᵢ
The symbol ℐ names the candidate set for input X. Braces indicate a set, Y⁽ⁱ⁾ is the answer sequence indexed by i, and the trailing i indicates that the set ranges over those indexed choices. Here i indexes whole answers. Its role is separate from its use for token positions in the sequence probability.
The system then chooses the answer with the largest sequence probability among the members of that set.
Ŷ = arg max [Y′ ∈ ℐ(X)] Pᴸᴹ(Y′ ∣ X)
The symbol Ŷ denotes the answer the system selects. The expression arg max returns the candidate at which the score is largest. The symbol Y′ ranges over possible answer sequences, and ∈ denotes membership in ℐ(X), the set associated with X. The score being maximized is Pᴸᴹ, the generator’s conditional probability of the candidate string.
The raw probability measures how likely the generator is to produce that string given the input. Its distribution also allows for strings outside the candidate set. To express how much support the winner has among the available candidates, the authors divide its string probability by the total string probability of those candidates.
Pᴺ(Ŷ ∣ X) = Pᴸᴹ(Ŷ ∣ X) / ∑[Y′ ∈ ℐ(X)] Pᴸᴹ(Y′ ∣ X)
The symbol Pᴺ is the candidate-normalized probability. In the numerator, Pᴸᴹ assigns a probability to the chosen answer Ŷ given input X. In the denominator, ∑ adds the generator probabilities for all answer sequences Y′ belonging to ℐ(X). The division expresses the winner’s share of the total probability assigned to the candidate strings. The same operation can be applied to any candidate by using its score in the numerator.
This operation preserves the ranking within the set. Its effect is to produce a distribution across the alternatives the experiment considers. The denominator also gives the score its scope. When a plausible string falls outside the set, it contributes no probability to that denominator. A confidence score can be large because the chosen string receives strong support, because the other available strings receive little support, or because both conditions hold. Calibration checks what a given value of this score has meant for observed correctness.
Define and measure calibration
The paper first states the ideal for the chosen answer. If a system attaches a particular probability to its predictions, the fraction of those predictions that turn out to be correct should match that probability.
P(Ŷ = Y ∣ Pᴺ(Ŷ ∣ X) = p) = p, for all p ∈ [0, 1]
The outer P denotes the probability of an event in the evaluated population. The event Ŷ = Y means that the selected sequence Ŷ equals the true answer Y. The conditioning clause restricts attention to predictions whose normalized probability Pᴺ, given input X, is p. The interval [0, 1] gives the allowable range of p, including its endpoints. In a finite evaluation, exact confidence values may have very few observations, so the authors estimate the relationship using intervals.
For that estimate, they divide the probability scale into M equally wide bins. The interval for a bin is written as follows.
((m − 1) / M, m / M]
Here m is the index of the bin, M is the number of bins, and the expressions on either side of the comma are the lower and upper confidence boundaries. The opening parenthesis marks an excluded lower endpoint, and the closing square bracket marks an included upper endpoint. Predictions with confidences in an interval form that bin’s group.
Within a group, the authors compare the average reported confidence with the fraction of evaluated items that are correct. Taking the absolute value of the gap lets overconfidence and underconfidence both count as errors. They then weight each group by how many evaluated items it contains. This gives expected calibration error.
ECE = ∑ₘ₌₁ᴹ (|Bₘ| / n) · |acc(Bₘ) − conf(Bₘ)|
ECE is the resulting weighted error. The summation ∑ runs over bin indices m from 1 through M. Bₘ is the group of items whose confidence falls in bin m, and |Bₘ| counts its members. The symbol n is the total number of items being bucketed, so the fraction outside the absolute value is the bin’s share of the evaluation. The multiplication dot combines this weight with the gap. The term acc(Bₘ) is the observed proportion correct in that bin, and conf(Bₘ) is its mean reported confidence. The outer pair of bars around their difference takes its magnitude.
The distinction between the definition and the reported experiment is important. The ideal condition is stated for the selected answer. In the experiments, the authors describe computing ECE by binning all candidate answers. Correct candidates supply positive outcomes and incorrect candidates supply negative ones. Accuracy still concerns the winner for each question. As a consequence, a move in candidate probabilities can affect the calibration measure even when the same option remains at the top.
The paper also uses reliability diagrams. A bin’s observed correctness is shown by the height of its bar, and the diagonal represents agreement between observed correctness and reported confidence. Bars below the diagonal indicate confidence that exceeds the observed rate. Bars above it indicate that the observed rate is higher. The diagram shows the direction and location of the discrepancies that the ECE statistic combines. A separate confidence histogram shows where the predictions lie on the probability scale, irrespective of correctness.
Fine-tune on the competition between answers
The starting UnifiedQA system already has training on question answering. Its original objective rewards increasing the probability of the reference answer given the input. The added fine-tuning uses the other candidate answers explicitly. Each training example carries a correct answer and a set of alternatives, so it can provide information about the score of the correct answer relative to competitors. The authors test a softmax loss and a margin loss.
Both use a candidate score derived from the generator’s probability. Taking a logarithm converts the sequence’s product of token probabilities into a sum on the log scale.
s(Y) = log Pᴸᴹ(Y ∣ X)
Here s is the score function, Y is the candidate sequence being scored, and log is the logarithm. Pᴸᴹ(Y ∣ X) is the probability assigned to that sequence given input X. The notation s(Y) leaves X implicit because the candidate comparisons for a training item all use the same input. The score is used as a logit, meaning an unnormalized value on which the candidate-level loss operates.
The softmax objective turns the candidate scores into a distribution and gives a loss based on the probability assigned to the correct choice.
L(X, Y) = −log ( exp(s(Y)) / ∑[Y′ ∈ ℐ(X)] exp(s(Y′)) )
The symbol L is the loss for the training input X and its reference answer Y, which belongs to ℐ(X). The exponential function exp maps each log score s back to a positive weight. The numerator is the reference answer’s weight, and the sum in the denominator includes all the candidate weights, indexed by Y′. Their ratio is the normalized probability of the correct answer. The leading minus sign in front of log makes the loss smaller as that probability grows.
The denominator is what makes this objective sensitive to promising wrong answers. If a wrong candidate gains weight while the reference weight stays fixed, the reference receives a smaller fraction of the total. Training can respond by moving the correct answer up, moving competitors down, or doing both. The candidate list defines what the system is trained to distinguish for that particular question.
The margin objective applies a different rule. It compares the correct candidate with each incorrect one and penalizes a separation smaller than the requested margin.
L(X, Y) = ∑[Y′ ∈ ℐ(X), Y′ ≠ Y] max(0, τ + s(Y′) − s(Y))
Here L again denotes the training loss, X is the input, and Y is the correct answer. The summation ranges over candidates Y′ from ℐ(X) subject to Y′ ≠ Y, which excludes the reference. The score function s is the same log sequence score as before. The symbol τ is the requested margin. The max function chooses the larger of 0 and the expression after the comma. Thus an incorrect answer contributes zero once its score lies sufficiently far below the correct one.
Where softmax measures the correct candidate’s share of total probability, the margin loss asks whether each rival is far enough behind the correct answer. A candidate pair that meets the required separation has no further effect on this loss. The margin objective itself gives a rule for training the scores. The normalized probabilities and later calibration procedures give those scores a probability interpretation for evaluation. The authors motivate the objective in part by earlier work on obtaining usable probability estimates from margin-trained classifiers through further adjustment.
Recalibrate a fixed generator
Temperature scaling fits a single positive number to the candidate logits. It uses the vector of log sequence probabilities for the question and applies a softmax after dividing by the temperature.
p⃗ = softmax(z⃗ / τ)
The vector p⃗ contains the recalculated candidate probabilities. The vector z⃗ contains one log sequence probability per candidate. The symbol τ here means the positive temperature, a separate quantity from the margin used in training. Division scales every entry of z⃗ by the same value. The softmax function exponentiates the resulting entries and normalizes them by their sum.
A temperature near 0 gives most of the mass to the largest logit. As the temperature grows, the distribution moves toward a uniform one. Scaling by a positive value preserves the order of the logits, so the selected answer stays the same when this operation is applied to a fixed candidate score vector. The confidence of the selected answer and those of its rivals can still move substantially. The authors choose the temperature by minimizing negative log likelihood on development examples, rewarding a fit that assigns more probability to their correct answers. They evaluate the fitted result with ECE, a separate measure of agreement between scores and observed correctness.
A single temperature treats the score vector the same way across questions. The decision-tree approach can use additional characteristics of a question and its predicted answers. The authors train boosted trees to estimate correctness from raw confidence, candidate-distribution entropy, input perplexity, and input and output lengths. Entropy summarizes how spread out the probability is among the candidates. Perplexity reflects how surprising the input is under the generator. The paper suggests that an unusually surprising input may come from a different distribution from the texts the generator learned on. Length provides a separate clue about how much text the system had to interpret and how much it had to generate.
A tree can learn a different adjustment for combinations of these features. For instance, the method has enough information to distinguish cases with the same candidate confidence but different input lengths. Whether such a distinction helps is determined by the labeled development data. The experiments use a binary logistic objective, a maximum tree depth of 4, 5 parallel trees, and a subsample ratio of 0.8. This is a second fitted predictor built on features from a fixed text generator. The implementation is XGBoost.
Score the meaning through several wordings
One candidate’s written wording can receive very different support from another wording that expresses the same answer. The paper illustrates this with the correct answer written as devoted and as dedicated. Its reported probability is 0.04 with the former expression and 0.94 with the latter. This is an example for a particular question. It shows why the authors test a score that considers several expressions of each candidate.
They obtain those expressions by translating a candidate from English into German, then translating the output back into English with WMT-19 translation systems. The intermediate language gives the return translation an opportunity to produce alternatives to the original phrasing. They use a beam size of 10 in each direction. A beam keeps several promising translation hypotheses during decoding. The paper reports 100 back-translated outputs from this procedure before accounting for duplicates. The authors count how often each distinct wording occurs and keep the top 5 unique paraphrases in the main experiments. This procedure uses machine translation to build the candidate’s alternative expressions.
To score a candidate, the authors add the generator probabilities of the strings in its paraphrase set. They then normalize across answer candidates as in the basic procedure, with each candidate now represented by its aggregate score.
P(Y′) = ∑[Q ∈ para(Y′)] Pᴸᴹ(Q ∣ X)
On the left, P(Y′) denotes the aggregate score of candidate answer Y′ for the fixed input. The function para(Y′) gives that candidate’s paraphrase set. The variable Q ranges over the member strings, and the summation adds their generator probabilities Pᴸᴹ under input X. The calculation gives a candidate credit through all retained wordings. Normalizing the resulting scores then expresses each candidate’s share of support relative to the other candidates.
This procedure can affect ranking as well as confidence. A choice whose original wording scored poorly may gain enough support from alternative expressions to overtake a competitor. An already strong choice can also gain support. What matters is the evidence collected for all choices together. The method proposes that a small group of expressions is a better basis for that comparison than any particular form in isolation.
Supply more context before scoring
The retrieval intervention changes the input. According to prior research cited in the paper, giving generators additional context can help them produce factual predictions. The authors extend that idea to confidence. A relevant passage might help a generator distinguish alternatives whose relative plausibility was hard to judge from the question and its original context. They test this by appending text from an article retrieved from Wikipedia. Related earlier work includes Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks.
The retrieval method follows DrQA’s term-weighting approach. TF-IDF weights a term using both its occurrence in a document and its distribution across the collection. It gives the retriever a way to favor articles whose shared terms help distinguish them from many other articles. In the experiments, the authors use the KILT toolkit to select the most relevant Wikipedia article and append the first three sentences of its opening paragraph. The augmented question and passage then condition the sequence probabilities. The relevant background is TF-IDF and Reading Wikipedia to Answer Open-Domain Questions.
The retrieval method and paraphrase method act on different pieces of the same probability calculation. Retrieval changes the information available before the answer starts. Paraphrasing changes which continuations count toward an answer candidate’s score. A score correction such as temperature scaling can then operate on the candidate distribution produced by the resulting inputs and outputs. This is the basis of the combined setting tested in the paper.
Experiments and results
Which questions train the calibration methods?
The authors divide the benchmarks both by question format and by whether the calibration methods can learn from them. This makes transfer across datasets part of the evaluation. MC-train and Ext-train are collections used to fit the methods. MC-test and Ext-test contain the respective remaining multiple-choice and extractive datasets for evaluation. MT-test is an additional and harder multiple-choice benchmark across genres. These names describe a dataset’s role in the paper’s calibration design. The train and development splits inside those collections serve further distinct purposes.
MC-train includes the easy portion of ARC, elementary AI2 Science Question, OpenbookQA, and QASC. It also includes CommonsenseQA, PhysicalIQA, and Winogrande. The mix gives the methods questions with different kinds of content while retaining the same basic procedure for comparing answer options. Among the benchmarks are ARC, PIQA, and WinoGrande.
Ext-train consists of NewsQA and SQuAD 1.1. The reference answer in this format is drawn from the supplied passage, and the experiment constructs alternatives using the span search. The additional MT-test benchmark uses a multiple-choice format, so it can reuse candidate scoring and normalization even though its questions are more difficult for UnifiedQA and GPT-3. The two task settings draw on SQuAD and Measuring Massive Multitask Language Understanding, respectively.
The train splits of MC-train and Ext-train supply examples for candidate-aware fine-tuning. The development splits of those same collections are used to fit the temperature and decision trees. For MC-test and Ext-test, the reported evaluation uses development splits because test splits are unavailable for some of the datasets in those groups. The held-out nature of MC-test and Ext-test concerns dataset membership relative to the calibration fitting collections. The important experimental question is whether a correction learned with one group of datasets still improves scores measured using a different group.
Which systems supply the original scores?
The main experiments use the 3-billion versions of T5 and UnifiedQA for efficiency. Original T5 has a text-to-text encoder and decoder based on attention. It was pretrained on web text with a denoising task in which it predicts missing material from a partially masked input. UnifiedQA starts with T5 and adds training on several question-answering datasets in the shared text-to-text format. The original UnifiedQA baseline therefore already has QA training. The paper’s softmax and margin treatments add candidate-aware training to that starting point. The architecture and pretraining background come from Transformer and attention and T5.
For the size comparison, the authors also use the 11-billion versions of T5 and UnifiedQA. The UnifiedQA-3B calibration fine-tuning uses batches of 16 for 3k steps. UnifiedQA-11B uses batches of 3 for 15k steps. These runs use a v3-8 TPU. The input and output length ceilings are 512 and 128 respectively, following the UnifiedQA setup. These settings specify the scale and training schedule of the comparison. In particular, the size experiments compare systems run with their respective schedules.
The authors include a 0.4-billion BART system and a 0.7-billion GPT-2 large system for comparison. BART uses an encoder and decoder, while GPT-2 is a conventional continuation predictor. The authors also train both with the UnifiedQA recipe, so they can examine the effects of the calibration methods beyond the T5 family. These comparisons vary both architecture and pretraining background. The authors use the sequence-to-sequence generator described in BART.
The starting point for post-hoc comparison depends on the task. For multiple-choice questions, the authors use margin-tuned UnifiedQA. For extractive questions, they use original UnifiedQA. The shorthand Combo refers to applying temperature scaling, paraphrasing, and input augmentation together. In the principal multiple-choice comparison these operate on the margin-trained starting system, so the complete treatment also includes the earlier fine-tuning. The trees are evaluated as another method. This distinction matters when interpreting a comparison between original UnifiedQA and the full combined result, because the baseline for an individual post-hoc comparison is already a different state of the system.
How the paper compares success and confidence
Accuracy measures how often the correct answer comes first in the candidate ranking. ECE measures the weighted confidence gap across buckets of candidate answers. Neither statistic is used as a proxy for the other. When interpreting improved ECE, the authors check that the system still selects answers accurately. This is especially important for treatments such as paraphrasing and retrieval, which change the scores used to rank the candidates in the first place.
For MC-test and Ext-test, the authors first compute accuracy and ECE for each dataset, then average the resulting values across datasets. A large dataset therefore does not dominate the reported mean simply by supplying more questions. The reported MC-test ECE is an average over the calibration evaluations of the component datasets. That aggregation differs from putting every candidate from the entire collection in the same set of bins. It gives comparable influence to the contributing benchmarks, with the resulting number summarizing the group.
The paper reports strong baseline accuracy for T5 and UnifiedQA across the range of tasks. On MT-test, it reports that UnifiedQA exceeds the accuracy of the GPT-3 version with 175 billion parameters. Yet MT-test baseline ECE exceeds 0.2 in the main experiments. The relative accuracy comparison and the calibration error address different questions. One ranks systems by how well they answer the benchmark. The other tracks whether a system’s probabilities describe how its candidate predictions perform. The generator can rank first among alternatives in the accuracy comparison while making its own preferences look more decisive than its record warrants.
The largest gains are on multiple-choice questions
In the main UnifiedQA comparison, both candidate-aware fine-tuning and post-hoc processing can lower ECE on MC-test and MT-test while maintaining accuracy. On MC-test, the full combined treatment reduces ECE from 0.095 to 0.044. The paper reports an improvement of over 53% for this comparison. The starting score comes from original UnifiedQA, so the comparison includes the improvement associated with moving to a margin-trained generator as well as the effects of the combined post-hoc methods.
Original and combined UnifiedQA-3B on MC-test by expected calibration error
Candidate-aware training and the combined post-hoc methods bring confidence closer to observed correctness.
The numbers
| System or setting | ECE |
|---|---|
| Original UnifiedQA | 0.095 |
| Margin-trained UnifiedQA with Combo (this paper) | 0.044 |
The reliability diagrams help explain what changes. Original UnifiedQA shows overestimation among high-confidence predictions. The combined method brings the diagram into closer agreement with the diagonal overall, with some bins moving across it. In particular, some groups formerly assigned too much confidence end up with too little. The ECE improvement describes the smaller aggregate discrepancy. It can coexist with a change in the direction of error for particular confidence ranges.
The larger UnifiedQA system also benefits. On MC-test, the reported ECE for UnifiedQA-11B goes from 0.067 to 0.032. On MT-test it goes from 0.175 to 0.085. In each comparison the two values refer to the same evaluation collection before and after the paper’s calibration treatment. The harder benchmark retains a higher ECE even after calibration, which is one reason to keep the benchmark identity attached to every score.
Original and calibrated UnifiedQA-11B on MC-test by expected calibration error
Calibration improves agreement between confidence and correctness even for the larger UnifiedQA variant.
The numbers
| System or setting | ECE |
|---|---|
| Original UnifiedQA-11B | 0.067 |
| Calibrated UnifiedQA-11B (this paper) | 0.032 |
Original and calibrated UnifiedQA-11B on MT-test by expected calibration error
Calibration lowers the confidence error on the harder multiple-choice benchmark.
The numbers
| System or setting | ECE |
|---|---|
| Original UnifiedQA-11B | 0.175 |
| Calibrated UnifiedQA-11B (this paper) | 0.085 |
The authors report more modest improvements on extractive QA. They investigate the possibility that the competing spans are harder to calibrate than options composed for a multiple-choice task. UnifiedQA’s mean entropy over the candidate distribution is 0.40 on Ext-test and 0.13 on MC-test. In the extractive setting, probability is more dispersed across the shortlisted answers on this measure. The comparison is consistent with a difference in the nature of the candidate sets. Entropy describes the allocation of the probability, while ECE reflects its relation to correctness. The two measures answer separate parts of the authors’ question about the extractive results.
What the ablations show
Training against alternatives changes the confidence estimates
The original UnifiedQA objective rewards higher probability for the reference answer as text. Each of the paper’s fine-tuning objectives also takes account of the available wrong answers. The comparison supports the authors’ argument that the candidate set contains useful supervision on multiple-choice questions. Both candidate-aware objectives improve ECE in that setting. The softmax version treats all competitors as part of the reference’s normalization, while the margin version imposes a separation from each competitor. The shared result makes the explicit comparison with alternatives an important feature of both objectives.
The treatment used for the main multiple-choice post-hoc experiments is the margin-trained system. For the extractive experiments, the authors instead start the corresponding comparisons from original UnifiedQA. This empirical choice is informative about the scope of the training result. Both formats can be written as text-to-text tasks, but they do not present the same kind of negative example. A benchmark-written distractor competes through its meaning and wording. A generated span can be present chiefly because the passage contains a promising opening token. Candidate-aware supervision can therefore pose a different learning problem in the two formats.
The benefit of the joint multiple-choice treatment is evidence that subsequent operations can still improve a candidate-aware starting point. Training changes how the system assigns likelihoods to alternatives, while later transformations have access to the distribution that results. The combined experiment shows that the gains can accumulate under the tested conditions. It leaves open how much of the final result each component would contribute in a different starting system or with different companion methods.
A better confidence scale can help on its own
The paper examines the distribution of scores on MC-test before and after adjusting confidence. T5 and original UnifiedQA produce many candidate probabilities close to the extremes. The researchers find that temperature scaling and tree-based recalibration both move confidence towards more moderate values and improve ECE. The histogram illustrates the redistribution of predictions along the confidence scale. The calibration measurements show why the redistribution matters, by relating those probabilities to which candidates were correct.
Temperature scaling is a particularly direct test of whether the scale itself is part of the problem. At a fixed question and set of scores, positive rescaling keeps the leading option in place. An improvement after this step therefore comes from changing the interpretation of the candidate scores even though the answer that wins that comparison remains the same. The tree-based result shows that a learned mapping informed by additional features can help as well. The evidence for the tree method concerns the effectiveness of the estimator as a whole. The paper gives the motivation for the features, and its reported comparison does not assign a separate gain to each feature.
The authors find these score adjustments helpful across the datasets they examine. A histogram with many extreme values is a clue to inspect how the predictor expresses its confidence. Reliability still depends on the outcomes attached to those values. Extreme scores can be appropriate in groups whose observed correctness is correspondingly extreme. The problem shown here is the combination of decisive scores and substantial disagreement with the correctness frequencies.
The source of the questions affects the fitted temperature
The paper compares calibration performance on the source collection, MC-train, with the held-out MC-test collection. Its comparison reports ECE moving from 0.133 to 0.042 on MC-train and from 0.095 to 0.044 on MC-test. Individual methods improve calibration on both collections. The larger decrease on MC-train suggests that learning or choosing corrections with one set of benchmarks provides a more favorable test on related questions from that same collection than on the separate evaluation group. The authors attribute the difference to a likely shift in the distribution of examples.
The reliability plots expose a more specific transfer problem. With the temperature fitted on MC-train, some of the high-confidence cases on MC-test move from overestimation to underestimation. The authors suspect that the fitted temperature has made the distribution too flat for the evaluation datasets. They investigate by fitting a temperature directly on MC-test using its labels, an oracle experiment. The MC-train temperature of 1.35 gives way to a fitted MC-test temperature of 1.13, and the reliability bars in the latter case align much more closely with the diagonal.
The oracle estimate answers a diagnostic question. If the fitted distribution looks too flat, can the very same type of calibrator do better when its parameter is chosen using data from the group being evaluated? Here the answer is yes. The close alignment uses information about correctness from MC-test itself. Its significance is the gap between a transferred parameter and one fitted to the target collection, where target labels are available for the analysis.
Those two tests of transfer make different details visible. The comparison of ECE on MC-train and MC-test establishes that gains survive a change of datasets, but can become smaller. The oracle plot shows the direction of part of that discrepancy. A post-hoc correction can fix the broad tendency towards overconfidence while introducing underconfidence in some of the target’s score ranges. Reporting the diagram alongside the smaller aggregate error makes this visible.
Wording matters most in some questions
The authors vary the number of paraphrases used with UnifiedQA on MC-test. The overall trend favors giving each candidate more ways to be expressed. ECE generally improves as additional paraphrases are included, and the gains become subtle beyond 10. The authors suggest that 5-10 paraphrases may balance calibration with computation. In this setup, each extra wording requires another sequence score. The comparison is about the returns to expanding that collection of wordings on the same benchmark group.
The paper also asks which candidates benefit. For this analysis, a candidate counts as improved if the wording treatment increases confidence by 20% for a correct answer or decreases it by 20% for an incorrect one. The authors compare this group with candidates whose confidence stays the same. The mean question length is 187 for the improved group and 320 for the unchanged group. On their measure, the candidates helped by paraphrasing tend to come from shorter questions.
To examine how varied the paraphrases are, the authors divide the count of distinct words by the total length of the paraphrases. The resulting diversity measure is 0.35 in the group with improved confidence and 0.32 in the comparison group. This small difference points in the direction the authors expected. Expressions with a wider vocabulary may collect kinds of support that near-duplicates miss. The measure captures a vocabulary property of the proposed alternatives, so the finding concerns an association between that property and the confidence changes observed in the analysis.
The length comparison also has an observational interpretation. The experiment classifies candidates according to whether changing the output wording helped, then describes the questions they came from. A shorter question could leave the answer wording with a greater role in how the generator assigns probability. Other properties of those questions could also matter. The paper’s result gives the reader a way to locate the gains in the evaluation, and a reason to test a more controlled relationship between question length and phrasing sensitivity.
Added evidence and reworded answers work together
Augmenting questions with retrieved text improves confidence estimation on the multiple-choice benchmarks. The authors’ explanation is that the retrieved passage can provide useful evidence for distinguishing candidates. The intervention leaves the task’s question in place and gives the generator more text to consult when it assigns continuation probabilities. Since it changes the conditioning information, any effect on confidence can come with a change in the answer ranking.
Candidate paraphrasing can also change ranking, but its source of variation is the output text. Temperature scaling subsequently addresses the spread of the scores, while margin-based fine-tuning has already adjusted how the generator compares likely answers. Their combination gives the lowest reported ECE on MC-test. The controlled comparisons show that several interventions can improve the same aggregate measurement while acting through different parts of the calculation. The combined result establishes that those improvements can coexist on the tested collection.
The extractive comparison adds a qualification about candidate construction. Its higher measured entropy indicates that the shortlist’s probability tends to be distributed across spans more broadly. The spans come from a shared passage and from the predictor’s own search, properties that can make their competition different from the competition among written choices. The authors treat the entropy contrast as partial evidence for their explanation of the smaller extractive gains. The comparison joins a difference in candidate construction with a difference in benchmark content, so it characterizes the two settings as tested.
The gains extend beyond one size and architecture
On MC-test, the comparisons with BART and GPT-2 show that candidate-aware training and post-hoc methods can improve ECE for systems with different architectures and training backgrounds. Both comparison systems are smaller than the T5 system discussed alongside them, and the paper reports weaker overall accuracy and calibration for them. The evidence for generality is that confidence can improve within those alternative systems. Their baseline gaps reflect several varying properties, including their size and training.
The T5 and UnifiedQA size comparison is closer to a within-family test. Their 11B versions typically have higher accuracy and better calibration than the smaller versions in the study. The authors juxtapose this result with earlier image classification findings in which a larger ResNet was less well calibrated than a smaller LeNet. They propose an explanation based on the scale of pretraining and larger generators’ ability to represent text distributions and memorize facts. That explanation is a hypothesis about why the results differ, grounded in the authors’ discussion of Deep Residual Learning for Image Recognition and Scaling Laws for Neural Language Models.
The post-hoc improvements for the 11B variant are smaller than those for the 3B variant in the authors’ comparison. The larger system starts with better calibration, and the authors suggest that its optimization and knowledge may give the post-hoc methods less to correct. Even with that stronger starting point, the 11B results show gains on both MC-test and MT-test. Size and calibration treatment are therefore useful observations at different levels of the experiment. The size comparison describes the available starting systems, and the calibration comparison asks how their confidence scores respond to a particular intervention.
Limitations
Limits identified by the authors
Free-form answers remain outside the reported evaluations. The authors considered questions for which the response could be any text, then encountered the difficulty of deciding whether a generated expression equivalent to the reference was correct. This matters to the calibration estimate because correctness is the outcome against which probabilities are judged. If a valid paraphrase receives an incorrect label, the apparent mismatch between confidence and correctness may partly be a mismatch in the evaluator’s treatment of language. The paper leaves this problem open for abstractive QA.
The results also expose a limit to transferring a fitted correction. MC-test benefits from methods learned on MC-train, while the oracle temperature shows that more accurate alignment is available when the evaluation collection itself supplies the labels for fitting. The authors point out that a transferred temperature can flatten a distribution too much. A score correction is part of the predictor’s behavior on a specified population of questions, and a different population may require a different fit. The source-to-target experiment gives an empirical example of that dependency within the tested benchmarks.
In their conclusion, the authors call for more fine-grained study across subsets of the data, including investigation of how confidence interacts with dataset biases. Their primary reports summarize calibration over whole datasets or groups of datasets. A question about reliability within a particular subset requires its own outcome counts and confidence comparison. The paper identifies this as a subject for future work because a single whole-dataset result leaves the behavior of individual slices unresolved.
The authors also identify downstream decisions and user behavior as open questions. Someone using an answer generator might choose a confidence threshold appropriate to their situation, and displaying confidence may affect the decisions they make. The experiments establish benchmark-level associations between probabilities and correctness. They leave the effect of displaying those probabilities, or acting on a particular threshold, to separate evaluation. The healthcare and finance examples in the introduction motivate the importance of confidence without supplying deployment results in those domains.
Limits that follow from the experimental design
The event being predicted is correctness under a benchmark’s candidate set and answer labels. In multiple-choice questions, the same underlying query could come with a different group of distractors. Their string probabilities enter the denominator, so changing them can change the normalized score attached to the winning answer. A well-calibrated score under one set of options is evidence about decisions made with those options. Its meaning under a new option construction would have to be measured there.
In extractive QA, the search procedure limits the support of the confidence distribution. A particular text span enters the final comparison only if its opening token and its full-span score meet the respective selection rules. A reference answer missed by the search and a reference answer outscored inside the shortlist are different failures of the pipeline. Calibration over retained candidates says how to interpret scores assigned within that group. The experiment’s design leaves the confidence associated with missed possibilities outside that estimate. Shortlist quality is therefore relevant when interpreting the smaller extractive gains.
Candidate-level calibration and the reliability of returned answers also concern different populations. The reported ECE gives a role to both winners and losing alternatives. Many losing alternatives can sit in low-confidence bins, while a user of the resulting QA system might see just the winning answer and its score. The paper states the ideal condition for a selected answer and reports candidate-level ECE in the experiments. A separate evaluation restricted to winners would answer more directly how confidence should be interpreted at the point where a user sees a response.
ECE itself depends on grouping. Averaging confidences and correctness within a bin can conceal differences between the items in it. The measure weights bins by their number of items, so a sparsely populated range contributes less to the aggregate. A threshold intended for a high-confidence use case may fall in such a range even if overall ECE is low. The reliability diagrams give some detail about where overestimation and underestimation occur. They still summarize outcomes within bins, and the dataset-level averages introduce another layer of aggregation.
The paraphrase intervention depends on the quality and coverage of a finite set produced by back-translation. It treats the chosen strings as expressions of the same candidate, and the total candidate score reflects the wording choices admitted by that process. Phrase frequencies and the retained set may favor certain alternatives. The improvement observed on MC-test supports the particular approximation tested. Its semantic coverage, including how well the strings preserve or exhaust an answer’s meaning, remains a separate question. Free-form generation would require confronting that question at the stage of judging the output as well as at the stage of scoring it.
The retrieval experiment likewise tests a particular way of adding context. It selects an article and uses the beginning of its first paragraph. The described method gives the generator material intended to be relevant, and the measured outcome is the change in predicted answers and confidence. An ECE improvement by itself gives limited information about which sentences supported a particular answer or how their relevance was used. The effects of irrelevant retrieval and the reliability of evidence for individual answers would require evaluation focused on the retrieved material.
Finally, the comparisons across architectures and sizes are bounded by the tested systems and training conditions. The results show improvements for several generators and a favorable size trend in the T5 family under the paper’s setup. They give room for the authors’ explanations about pretraining and capacity, while several properties vary across the systems. Confidence depends on what the generator has learned, which questions it sees, and how candidate probabilities are constructed. A repeated direction of change within these experiments supports a pattern for those conditions. A general relationship between scale and calibration would require isolating that relationship across a broader set of conditions.
What came after
Confidence over strings, meanings, and expressed judgments
Several of the citing works pursue the paper’s question by changing what the confidence signal refers to. Surface Form Competition: Why the Highest Probability Answer Isn't Always Right studies the competition between different expressions at the output. Its subject connects directly to the calibration paper’s example in which two wordings of a correct answer receive very different probabilities. The calibration experiment gives a candidate credit for several expressions through back-translation. Surface form competition makes the underlying ranking problem explicit. If a correct answer has multiple possible expressions, the probability of a single expression can give a different ordering from the support available for the answer considered more broadly.
Semantic Uncertainty carries that distinction into uncertainty estimation for natural language generation. It puts linguistic invariance at the center of the task. Two expressions can vary in words while preserving an answer’s meaning, so diversity of output strings can exaggerate the diversity of possible answers. The earlier calibration paper approaches this issue with a finite group of wordings generated for each known candidate. Semantic uncertainty frames meaning-preserving variation as a property an uncertainty estimate for generated language should account for.
Can LLMs Express Their Uncertainty? evaluates eliciting confidence from a generator. That puts the emphasis on a confidence judgment the system can express in response to a request. The 2021 paper begins with probabilities derived from scoring answer strings and asks how to interpret or adjust them. Elicitation changes the source of the reported judgment while retaining the empirical problem. An expressed confidence has practical meaning insofar as its values can be related to the correctness of the answers they describe. This line of work makes how a user obtains a confidence report part of the object of study.
A Survey of Confidence Estimation and Calibration in Large Language Models places work on obtaining confidence estimates and evaluating their calibration within one survey. The pairing reflects a distinction already present in the paper’s experiments. A candidate probability provides a score, while calibration tests what the score means about outcomes. A fitted temperature, an estimate based on additional features, and an expressed judgment can all provide a number whose interpretation depends on an evaluation against correctness. The survey takes that shared problem as a subject across the broader literature.
Confidence as part of a decision
Selectively Answering Ambiguous Questions studies the decision to answer when a question is ambiguous. It connects the calibration paper’s interest in when to trust an answer with a source of difficulty that comes from interpreting the question. A confidence estimate attached to a selected option can tell us about performance under a benchmark’s interpretation of correctness. A selective system also has to decide whether the question affords a sufficiently clear answer. Ambiguity consequently changes what the decision procedure must account for, even when both investigations are concerned with withholding weakly supported responses.
Active Retrieval Augmented Generation examines retrieval as an active part of generation. The calibration paper’s input-augmentation experiment retrieves evidence and supplies it with the question before candidate answers are scored. Active retrieval asks how obtaining evidence can be part of what happens during generation. This makes retrieval a decision as well as a source of input text. The connection is the role of additional evidence in a system whose own output preferences can be unreliable. Context can affect what the system generates, and a decision about when to obtain context determines which evidence it has available.
Can Multiple-choice Questions Really Be Useful in Detecting the Abilities of LLMs? revisits the assessment format that makes much of the calibration paper’s evaluation possible. A multiple-choice item determines a comparison set, gives the evaluator an answer label, and constrains what can count as the selected response. Those properties make score interpretation tractable. They also give the construction of the options a direct role in what the task measures. The citing work’s question about detecting abilities continues the inquiry at the level of the instrument. Performance on an item includes the generator’s response to the way the alternatives have been presented.
Calibrate Before Use: Improving Few-Shot Performance of Language Models applies calibration to performance in a few-shot setting. That objective highlights a distinction between two reasons to adjust scores. The central outcome in the QA calibration paper is agreement between numerical confidence and observed correctness, with accuracy tracked alongside it. In the few-shot work, improving predictive performance is itself the stated purpose of calibration. The shared idea is to examine the behavior of the scores before treating them as a reliable basis for a decision. The intended outcome determines whether success is measured by better choices, better probabilities, or both.
Cite
Cite as Zhengbao Jiang, Jun Araki, Haibo Ding and Graham Neubig. 2021. How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answering. Transactions of the Association for Computational Linguistics.
@article{jiang2021how,
title = {{How Can We Know When Language Models Know? On the Calibration of Language Models for Question Answering}},
author = {Zhengbao Jiang, Jun Araki, Haibo Ding and Graham Neubig},
journal = {Transactions of the Association for Computational Linguistics},
year = {2021},
doi = {10.1162/tacl\_a\_00407},
eprint = {2012.00955},
archivePrefix = {arXiv},
url = {https://doi.org/10.1162/tacl_a_00407}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/jiang-2021-how-can-we-know-when/
References
- Yoshua Bengio, Réjean Ducharme, Pascal Vincent, and Christian Jauvin. 2003. A neural probabilistic language model (http://www.jmlr.org/papers/volume3/bengio03a/bengio03a.pdf). Journal of machine learning research, 3(Feb):1137–1155. our card
- Yonatan Bisk, Rowan Zellers, Ronan LeBras, Jianfeng Gao, and Yejin Choi. 2020. PIQA: reasoning about physical commonsense in natural language (https://aaai.org/ojs/index.php/AAAI/article/view/6239). In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 7432–7439. AAAI Press. our card
- Antoine Bosselut, Hannah Rashkin, Maarten Sap, Chaitanya Malaviya, Asli Çelikyilmaz, and Yejin Choi. 2019. COMET: commonsense transformers for automatic knowledge graph construction (https://doi.org/10.18653/v1/p19-1470). In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 4762–4779. Association for Computational Linguistics. our card
- Zied Bouraoui, Jose Camacho-Collados, and Steven Schockaert. 2020. Inducing relational knowledge from BERT (https://arxiv.org/pdf/1911.12753.pdf). In Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI), New York, USA. our card
- 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, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel M. Ziegler, Jeffrey 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. 2020. Language models are few-shot learners (http://arxiv.org/abs/2005.14165). CoRR, abs/2005.14165. our card
- Danqi Chen, Adam Fisch, Jason Weston, and Antoine Bordes. 2017. Reading wikipedia to answer open-domain questions (https://doi.org/10.18653/v1/P17-1171). In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics, ACL 2017, Vancouver, Canada, July 30 - August 4, Volume 1: Long Papers, pages 1870–1879. Association for Computational Linguistics. our card
- Tianqi Chen and Carlos Guestrin. 2016. Xgboost: A scalable tree boosting system (https://doi.org/10.1145/2939672.2939785). In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA, August 13-17, 2016, pages 785–794. ACM. our card
- Kenneth Ward Church. 1988. A stochastic parts program and noun phrase parser for unrestricted text (https://doi.org/10.3115/974235.974260). In Second Conference on Applied Natural Language Processing, pages 136–143, Austin, Texas, USA. Association for Computational Linguistics. our card
- Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. 2018. Think you have solved question answering? try arc, the AI2 reasoning challenge (http://arxiv.org/abs/1803.05457). CoRR, abs/1803.05457. our card
- Pradeep Dasigi, Nelson F. Liu, Ana Marasovic, Noah A. Smith, and Matt Gardner. 2019. Quoref: A reading comprehension dataset with questions requiring coreferential reasoning (https://doi.org/10.18653/v1/D19-1606). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, Hong Kong, China, November 3-7, 2019, pages 5924–5931. Association for Computational Linguistics. our card
- Shrey Desai and Greg Durrett. 2020. Calibration of pre-trained transformers (http://arxiv.org/abs/2003.07892). CoRR, abs/2003.07892. OpenAlex ↗ · Scholar ↗
- Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding (https://doi.org/10.18653/v1/N19-1423). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota. Association for Computational Linguistics. our card
- Li Dong, Chris Quirk, and Mirella Lapata. 2018. Confidence modeling for neural semantic parsing (https://doi.org/10.18653/v1/P18-1069). In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia, July 15-20, 2018, Volume 1: Long Papers, pages 743–753. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Mor Geva, Ankit Gupta, and Jonathan Berant. 2020. Injecting numerical reasoning skills into language models (https://www.aclweb.org/anthology/2020.acl-main.89/). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 946–958. Association for Computational Linguistics. our card
- Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. 2017. On calibration of modern neural networks (http://proceedings.mlr.press/v70/guo17a.html). In Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, volume 70 of Proceedings of Machine Learning Research, pages 1321–1330. PMLR. OpenAlex ↗ · Scholar ↗
- Kelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat, and Ming-Wei Chang. 2020. REALM: retrieval-augmented language model pre-training (http://arxiv.org/abs/2002.08909). CoRR, abs/2002.08909. our card
- Tatsunori B. Hashimoto, Megha Srivastava, Hongseok Namkoong, and Percy Liang. 2018. Fairness without demographics in repeated loss minimization (http://proceedings.mlr.press/v80/hashimoto18a.html). In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholmsmässan, Stockholm, Sweden, July 10-15, 2018, volume 80 of Proceedings of Machine Learning Research, pages 1934–1943. PMLR. our card
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition (https://doi.org/10.1109/CVPR.2016.90). In 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016, pages 770–778. IEEE Computer Society. our card
- Dan Hendrycks, Collin Burns, Steven Basart, Andy Zou, Mantas Mazeika, Dawn Song, and Jacob Steinhardt. 2020. Measuring massive multitask language understanding (http://arxiv.org/abs/2009.03300). CoRR, abs/2009.03300. our card
- John Hewitt and Christopher D. Manning. 2019. A structural probe for finding syntax in word representations (https://www.aclweb.org/anthology/N19-1419/). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4129–4138. our card
- Abhyuday Jagannatha and Hong Yu. 2020. Calibrating structured output predictors for natural language processing (https://www.aclweb.org/anthology/2020.acl-main.188/). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 2078–2092. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Xiaoqian Jiang, Melanie Osl, Jihoon Kim, and Lucila Ohno-Machado. 2012. Calibrating predictive model estimates to support personalized medicine (https://doi.org/10.1136/amiajnl-2011-000291). J. Am. Medical Informatics Assoc., 19(2):263–274. OpenAlex ↗ · Scholar ↗
- Zhengbao Jiang, Antonios Anastasopoulos, Jun Araki, Haibo Ding, and Graham Neubig. 2020a. X-factr: Multilingual factual knowledge retrievalfrom pretrained language models. OpenAlex ↗ · Scholar ↗
- Zhengbao Jiang, Frank F. Xu, Jun Araki, and Graham Neubig. 2020b. How can we know what language models know? (https://arxiv.org/abs/1911.12543) Transactions of the Association for Computational Linguistics (TACL). our card
- Amita Kamath, Robin Jia, and Percy Liang. 2020. Selective question answering under domain shift (https://www.aclweb.org/anthology/2020.acl-main.503/). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 5684–5696. Association for Computational Linguistics. our card
- Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B. Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling laws for neural language models (http://arxiv.org/abs/2001.08361). CoRR, abs/2001.08361. our card
- Daniel Khashabi, Tushar Khot, Ashish Sabharwal, Oyvind Tafjord, Peter Clark, and Hannaneh Hajishirzi. 2020. Unifiedqa: Crossing format boundaries with a single QA system (http://arxiv.org/abs/2005.00700). CoRR, abs/2005.00700. our card
- Tushar Khot, Peter Clark, Michal Guerquin, Peter Jansen, and Ashish Sabharwal. 2020. QASC: A dataset for question answering via sentence composition (https://aaai.org/ojs/index.php/AAAI/article/view/6319). In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 8082–8090. AAAI Press. OpenAlex ↗ · Scholar ↗
- Vid Kocijan, Ana-Maria Cretu, Oana-Maria Camburu, Yordan Yordanov, and Thomas Lukasiewicz. 2019. A surprisingly robust trick for the winograd schema challenge (https://doi.org/10.18653/v1/p19-1478). In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 4837–4842. Association for Computational Linguistics. our card
- Lingkai Kong, Haoming Jiang, Yuchen Zhuang, Jie Lyu, Tuo Zhao, and Chao Zhang. 2020. Calibrated language model fine-tuning for in- and out-of-distribution data (https://www.aclweb.org/anthology/2020.emnlp-main.102/). In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing, EMNLP 2020, Online, November 16-20, 2020, pages 1326–1340. Association for Computational Linguistics. our card
- Guokun Lai, Qizhe Xie, Hanxiao Liu, Yiming Yang, and Eduard H. Hovy. 2017. RACE: large-scale reading comprehension dataset from examinations (https://doi.org/10.18653/v1/d17-1082). In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing, EMNLP 2017, Copenhagen, Denmark, September 9-11, 2017, pages 785–794. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Y. Lecun, L. Bottou, Y. Bengio, and P. Haffner. 1998. Gradient-based learning applied to document recognition (https://doi.org/10.1109/5.726791). Proceedings of the IEEE, 86(11):2278–2324. OpenAlex ↗ · Scholar ↗
- Kimin Lee, Honglak Lee, Kibok Lee, and Jinwoo Shin. 2018. Training confidence-calibrated classifiers for detecting out-of-distribution samples (https://openreview.net/forum?id=ryiAv2xAZ). In 6th International Conference on Learning Representations, ICLR 2018, Vancouver, BC, Canada, April 30 - May 3, 2018, Conference Track Proceedings. OpenReview.net. OpenAlex ↗ · Scholar ↗
- Mike Lewis, Marjan Ghazvininejad, Gargi Ghosh, Armen Aghajanyan, Sida Wang, and Luke Zettlemoyer. 2020a. Pre-training via paraphrasing (http://arxiv.org/abs/2006.15020). CoRR, abs/2006.15020. our card
- Mike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. 2020b. BART: denoising sequence-to-sequence pre-training for natural language generation, translation, and comprehension (https://www.aclweb.org/anthology/2020.acl-main.703/). In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, ACL 2020, Online, July 5-10, 2020, pages 7871–7880. Association for Computational Linguistics. our card
- Patrick S. H. Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. 2020c. Retrieval-augmented generation for knowledge-intensive NLP tasks (http://arxiv.org/abs/2005.11401). CoRR, abs/2005.11401. our card
- Kevin Lin, Oyvind Tafjord, Peter Clark, and Matt Gardner. 2019. Reasoning over paragraph effects in situations (https://doi.org/10.18653/v1/D19-5808). In Proceedings of the 2nd Workshop on Machine Reading for Question Answering, MRQA@EMNLP 2019, Hong Kong, China, November 4, 2019, pages 58–62. Association for Computational Linguistics. our card
- Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. 2018. Can a suit of armor conduct electricity? A new dataset for open book question answering (https://doi.org/10.18653/v1/d18-1260). In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, Brussels, Belgium, October 31 - November 4, 2018, pages 2381–2391. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Kenton Murray and David Chiang. 2018. Correcting length bias in neural machine translation (https://doi.org/10.18653/v1/W18-6322). In Proceedings of the Third Conference on Machine Translation: Research Papers, pages 212–223, Brussels, Belgium. Association for Computational Linguistics. our card
- Nathan Ng, Kyra Yee, Alexei Baevski, Myle Ott, Michael Auli, and Sergey Edunov. 2019. Facebook fair's WMT19 news translation task submission (https://doi.org/10.18653/v1/w19-5333). In Proceedings of the Fourth Conference on Machine Translation, WMT 2019, Florence, Italy, August 1-2, 2019 - Volume 2: Shared Task Papers, Day 1, pages 314–319. Association for Computational Linguistics. our card
- Myle Ott, Michael Auli, David Grangier, and Marc'Aurelio Ranzato. 2018. Analyzing uncertainty in neural machine translation. arXiv preprint arXiv:1803.00047. our card
- Fabio Petroni, Patrick S. H. Lewis, Aleksandra Piktus, Tim Rocktäschel, Yuxiang Wu, Alexander H. Miller, and Sebastian Riedel. 2020a. How context affects language models' factual predictions (http://arxiv.org/abs/2005.04611). CoRR, abs/2005.04611. our card
- Fabio Petroni, Aleksandra Piktus, Angela Fan, Patrick Lewis, Majid Yazdani, Nicola De Cao, James Thorne, Yacine Jernite, Vassilis Plachouras, Tim Rocktäschel, and Sebastian Riedel. 2020b. Kilt: a benchmark for knowledge intensive language tasks. In arXiv:2009.02252. our card
- Fabio Petroni, Tim Rocktäschel, Sebastian Riedel, Patrick Lewis, Anton Bakhtin, Yuxiang Wu, and Alexander Miller. 2019. Language models as knowledge bases? (https://doi.org/10.18653/v1/D19-1250) In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 2463–2473, Hong Kong, China. Association for Computational Linguistics. our card
- John Platt et al. 1999. Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. Advances in large margin classifiers, 10(3):61–74. OpenAlex ↗ · Scholar ↗
- Nina Poerner, Ulli Waltinger, and Hinrich Schütze. 2019. E-bert: Efficient-yet-effective entity embeddings for bert (http://arxiv.org/abs/1911.03681). CoRR, abs/1911.03681. our card
- Katyanna Quach. 2020. Researchers made an OpenAI GPT-3 medical chatbot as an experiment. it told a mock patient to kill themselves (https://www.theregister.com/2020/10/28/gpt3_medical_chatbot_experiment/). The Register. OpenAlex ↗ · Scholar ↗
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, and Ilya Sutskever. 2019. Language models are unsupervised multitask learners (https://d4mucfpksywv.cloudfront.net/better-language-models/language-models.pdf). OpenAI Blog, 1(8). OpenAlex ↗ · Scholar ↗
- Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2019. Exploring the limits of transfer learning with a unified text-to-text transformer (http://arxiv.org/abs/1910.10683). CoRR, abs/1910.10683. our card
- Pranav Rajpurkar, Robin Jia, and Percy Liang. 2018. Know what you don't know: Unanswerable questions for squad (https://doi.org/10.18653/v1/P18-2124). In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics, ACL 2018, Melbourne, Australia, July 15-20, 2018, Volume 2: Short Papers, pages 784–789. Association for Computational Linguistics. our card
- Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100, 000+ questions for machine comprehension of text (https://doi.org/10.18653/v1/d16-1264). In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, EMNLP 2016, Austin, Texas, USA, November 1-4, 2016, pages 2383–2392. The Association for Computational Linguistics. our card
- Matthew Richardson, Christopher J. C. Burges, and Erin Renshaw. 2013. Mctest: A challenge dataset for the open-domain machine comprehension of text (https://www.aclweb.org/anthology/D13-1020/). In Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, EMNLP 2013, 18-21 October 2013, Grand Hyatt Seattle, Seattle, Washington, USA, A meeting of SIGDAT, a Special Interest Group of the ACL, pages 193–203. ACL. our card
- Adam Roberts, Colin Raffel, and Noam Shazeer. 2020. How much knowledge can you pack into the parameters of a language model? (http://arxiv.org/abs/2002.08910) CoRR, abs/2002.08910. our card
- Rachel Rudinger, Jason Naradowsky, Brian Leonard, and Benjamin Van Durme. 2018. Gender bias in coreference resolution (https://doi.org/10.18653/v1/n18-2002). In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT, New Orleans, Louisiana, USA, June 1-6, 2018, Volume 2 (Short Papers), pages 8–14. Association for Computational Linguistics. our card
- Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2020. Winogrande: An adversarial winograd schema challenge at scale (https://aaai.org/ojs/index.php/AAAI/article/view/6399). In The Thirty-Fourth AAAI Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New York, NY, USA, February 7-12, 2020, pages 8732–8740. AAAI Press. our card
- Maarten Sap, Hannah Rashkin, Derek Chen, Ronan Le Bras, and Yejin Choi. 2019. Social iqa: Commonsense reasoning about social interactions (https://doi.org/10.18653/v1/D19-1454). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, Hong Kong, China, November 3-7, 2019, pages 4462–4472. Association for Computational Linguistics. OpenAlex ↗ · Scholar ↗
- Alon Talmor, Yanai Elazar, Yoav Goldberg, and Jonathan Berant. 2019a. olmpics - on what language model pre-training captures (http://arxiv.org/abs/1912.13283). CoRR, abs/1912.13283. our card
- Alon Talmor, Jonathan Herzig, Nicholas Lourie, and Jonathan Berant. 2019b. Commonsenseqa: A question answering challenge targeting commonsense knowledge (https://doi.org/10.18653/v1/n19-1421). In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, NAACL-HLT 2019, Minneapolis, MN, USA, June 2-7, 2019, Volume 1 (Long and Short Papers), pages 4149–4158. Association for Computational Linguistics. our card
- Ian Tenney, Dipanjan Das, and Ellie Pavlick. 2019. BERT rediscovers the classical NLP pipeline (https://www.aclweb.org/anthology/P19-1452/). In Proceedings of the 57th Conference of the Association for Computational Linguistics, ACL 2019, Florence, Italy, July 28- August 2, 2019, Volume 1: Long Papers, pages 4593–4601. our card
- Trieu H. Trinh and Quoc V. Le. 2018. A simple method for commonsense reasoning (http://arxiv.org/abs/1806.02847). CoRR, abs/1806.02847. our card
- Adam Trischler, Tong Wang, Xingdi Yuan, Justin Harris, Alessandro Sordoni, Philip Bachman, and Kaheer Suleman. 2017. Newsqa: A machine comprehension dataset (https://doi.org/10.18653/v1/w17-2623). In Proceedings of the 2nd Workshop on Representation Learning for NLP, Rep4NLP@ACL 2017, Vancouver, Canada, August 3, 2017, pages 191–200. Association for Computational Linguistics. our card
- Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. 2017. Attention is all you need (http://papers.nips.cc/paper/7181-attention-is-all-you-need). In Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, 4-9 December 2017, Long Beach, CA, USA, pages 5998–6008. our card
- Eric Wallace, Yizhong Wang, Sujian Li, Sameer Singh, and Matt Gardner. 2019. Do NLP models know numbers? probing numeracy in embeddings (https://doi.org/10.18653/v1/D19-1534). In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, EMNLP-IJCNLP 2019, Hong Kong, China, November 3-7, 2019, pages 5306–5314. Association for Computational Linguistics. our card
- Yunfeng Zhang, Q. Vera Liao, and Rachel K. E. Bellamy. 2020. Effect of confidence and explanation on accuracy and trust calibration in ai-assisted decision making (https://doi.org/10.1145/3351095.3372852). In FAT* '20: Conference on Fairness, Accountability, and Transparency, Barcelona, Spain, January 27-30, 2020, pages 295–305. ACM. OpenAlex ↗ · Scholar ↗
- Pei Zhou, Rahul Khanna, Bill Yuchen Lin, Daniel Ho, Xiang Ren, and Jay Pujara. 2020. Can BERT reason? logically equivalent probes for evaluating the inference capabilities of language models (http://arxiv.org/abs/2005.00782). CoRR, abs/2005.00782. OpenAlex ↗ · Scholar ↗