arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2402.13213cs.CLcs.AIcs.LG
收藏

聊天大语言模型的概率校准不佳但仍能预测多项选择题问答的正确性

Probabilities of Chat LLMs Are Miscalibrated but Still Predict Correctness on Multiple-Choice Q&A

Center for Human-Compatible AI(兼容人类的人工智能中心);UC Berkeley(伯克利大学)

Benjamin Plaut, Nguyen X. Khanh, Tu Trinh

AI总结:

本研究针对15个聊天大语言模型,发现其最大softmax概率虽校准不佳,但能有效预测多项选择题答案的正确性,且可通过基于MSP的弃权策略提升性能。

摘要:

我们研究了15个为聊天而微调的大语言模型(LLMs),发现它们在多项选择题问答中的最大softmax概率(MSPs)始终存在校准不佳的问题。然而,这些MSPs可能仍然编码了有用的不确定性信息。具体而言,我们假设错误答案对应的MSPs通常小于正确答案的MSPs。通过严格的统计检验,我们证明这一假设对于在底层问答任务上表现良好的模型成立。我们还发现问答准确率与MSP正确性预测之间存在强方向相关性,而问答准确率与校准误差之间没有相关性。这表明在当前微调范式下,随着LLM能力的提升,我们可以预期正确性预测会改善,但校准不会。为了展示正确性预测的实用性,我们表明当模型可以选择弃权(不执行)时,通过基于初始模型响应的MSP选择性弃权(不执行),仅使用少量标记数据来选择MSP阈值,可以提升性能。

英文摘要:

We study 15 large language models (LLMs) fine-tuned for chat and find that their maximum softmax probabilities (MSPs) are consistently miscalibrated on multiple-choice Q&A. However, those MSPs might still encode useful uncertainty information. Specifically, we hypothesized that wrong answers would be associated with smaller MSPs compared to correct answers. Via rigorous statistical testing, we show that this hypothesis holds for models which perform well on the underlying Q&A task. We also find a strong direction correlation between Q&A accuracy and MSP correctness prediction, while finding no correlation between Q&A accuracy and calibration error. This suggests that within the current fine-tuning paradigm, we can expect correctness prediction but not calibration to improve as LLM capabilities progress. To demonstrate the utility of correctness prediction, we show that when models have the option to abstain, performance can be improved by selectively abstaining based on the MSP of the initial model response, using only a small amount of labeled data to choose the MSP threshold.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑