Summary
### Summary
This paper presents a method to quantify the confidence of predictions from an LLM. Unlike some previous work, the authors propose a training-based approach to teach a model to generate reliable confidence scores. The experiments report Expected Calibration Error (ECE) and AUROC, commonly used in calibration literature, to ensure that the model's predicted confidence aligns with actual likelihood. Typically, papers in this area either tune the model or do some post-processing on the model to obtain calibrated confidence scores.
However, this paper is slightly different in its setup, and I found the title somewhat misleading. The main difference here is that there is an auxiliary model to emit the confidence scores, entirely independent of the primary model, as stated in Line 327 of the paper, "Currently, finetuning relies on two separate models for question answering and uncertainty estimation." In this sense, this auxiliary model serves better as a potential guardrail to filter out less confident predictions, and framing the paper in this light would make it easier to convey its message.
I also dislike using the terms "uncertainty estimation" and "confidence estimation" interchangeably. Please refer to Section 3.2 of the paper "Generating with Confidence: Uncertainty Quantification for Black-box Large Language Models," which does a good job of eliciting the difference between uncertainty and confidence.
#### Main Contribution of the Paper:
The central contributions of the paper are
- Assembling a finetuning dataset to calibrate the model on.
- LoRA finetuning of the auxiliary model for reliable uncertainty estimate.
- Testing the robustness of this model to distribution shifts.
The paper also contradicts findings from previous papers, such as
- Frozen features are insufficient for uncertainty estimates (The internal state of an LLM knows when it's lying)
- Transferability of uncertainty estimates across models, which is different from the findings in Kadavnath et al. (Language Models (Mostly) Know what they know)
While I haven't read the previous works in detail, my understanding is that they attempt to predict the uncertainty from the model that generates it. There is no auxiliary model involved.
#### Experiments and Results
- Figure 1 shows that perplexity is not indicative of model uncertainty.
- However, the open-ended generation setting seems slightly contrived and is not truly open-ended. **What is the average length of the answer in the MMLU dataset?** Since a Multiple Choice Dataset was converted to open-ended generation, the answers might comprise only a few tokens.
- The paper proposes three approaches to emit the confidence score.
- "Probe," which trains a small feedforward neural network on the last layer
- LoRA (same as Probe with LoRA weights)
- LoRA + Prompt (same as LoRA with prompt posing it as a multiple choice question (i) and (ii)
The dataset used for finetuning was assembled from a diverse collection of benchmark datasets, such as AI2 Reasoning Challenge, Boolean Questions, CosmosQA, etc. I looked at the MMLU paper and found no evidence of any data contamination, i.e., test data accidentally leaking into the training data. I suggest calling this out explicitly in the paper.
- Table 1 shows regularization improves calibration.
- Figure 2 shows that the three proposed approaches improve calibration and selective prediction. However, since the open-ended generation setting is not truly open-ended (see my comment above), I suggest conducting additional experiments to predict the uncertainties of longer sequences. This could be one reason why the findings are contradictory to previous papers.
- Regarding my comment about training an auxiliary model, the confidence generation model is entirely detached from the primary model, which generates the answer. Based on the result of the transferability of these scores, you can arbitrarily mix and match any open-weight model with any other model to get reliable uncertainty estimates. This suggests that this auxiliary model has learned a notion of "correctness" independent of the original model from the training data. It's unlikely that this technique would work on niche domains like finance and medicine since the training data is unlikely to contain such examples.
- Line 253: Humanities and social sciences overlap, so this claim is not compelling.
- Question Figure 3(b): I see that a tuned model leads to a more uniform distribution of probability scores in the first figure compared to the zero-shot which has a mode around 70%. Why is this calibrated? (Line 279) Shouldn't you use a calibration curve to claim if scores are calibrated?
- The experiment presented in section 6.1 is convincing in showing that learned uncertainty estimates depend both on the intrinsic difficulty of the question and the learned correspondence between the question and the correct answer. This also corroborates my earlier skepticism about using this technique to niche unseen domains.
I like Section 7 a lot. Thank you for this study on how uncertainty estimates correlate with user decision-making.
### Nits and suggested improvements:
- Calling out contributions of the paper more explicitly towards the beginning of the paper.
- Line 39-40: "In particular, we consider whether it's possible to have good uncertainties over correctness (rather than tokens) out of the box." - consider rephrasing this; this sentence is unclear.
- Line 218: "The probability of each cluster becomes the probability assigned to each sequence in that," this sentence is unclear.
- Line 959 in appendix is incomplete sentence
Strengths
### Strengths
The paper is concise yet comprehensive, with clear and accessible writing. The appendix offers thorough explanations of hyperparameter selections, auxiliary techniques, and evaluation metrics. While the results align with expectations, they don't break significant new ground. The literature review provides a solid contextual foundation for the work.