2025-03-04 · 进阶 · 机器学习 · 自然语言处理

When an LLM is apprehensive about its answers -- and when its uncertainty is justified

本文研究了不同不确定性估计方法在多选题问答任务中的表现,并提出了改进建议,以提高大型语言模型(LLM)的不确定性估计能力。

更新于 2025-03-04。作者:Petr Sychev、Andrey Goncharov、Daniil Vyazhev、Edvard Khalafyan、Alexey Zaytsev。

中文摘要

不确定性估计对于评估大型语言模型(LLMs)至关重要,尤其是在错误答案会导致重大后果的高风险领域。众多方法考虑了这个问题,但往往专注于特定类型的不确定性,而忽略了其他类型。我们研究了哪些估计,特别是基于标记的熵和作为裁判的模型(MASJ),适用于不同主题的多选题问答任务。我们的实验考虑了三种不同大小(从15亿到720亿)和14个主题的LLMs:Phi-4、Mistral和Qwen。尽管MASJ的表现与随机错误预测器相似,但响应熵在知识依赖领域预测模型错误,并作为问题难度的有效指标:生物学领域的ROC AUC为0.73。这种相关性在推理依赖领域消失:数学问题的ROC-AUC为0.55。更根本的是,我们发现熵度量需要推理量。因此,数据不确定性相关的熵应该整合到不确定性估计框架中,而MASJ则需要改进。此外,现有的MMLU-Pro样本存在偏差,应该平衡不同子领域所需的推理量,以提供对LLMs性能的更公平评估。

英文摘要

Uncertainty estimation is crucial for evaluating Large Language Models (LLMs), particularly in high-stakes domains where incorrect answers result in significant consequences. Numerous approaches consider this problem, while focusing on a specific type of uncertainty, ignoring others. We investigate what estimates, specifically token-wise entropy and model-as-judge (MASJ), would work for multiple-choice question-answering tasks for different question topics. Our experiments consider three LLMs: Phi-4, Mistral, and Qwen of different sizes from 1.5B to 72B and 14 topics. While MASJ performs similarly to a random error predictor, the response entropy predicts model error in knowledge-dependent domains and serves as an effective indicator of question difficulty: for biology ROC AUC is 0.73. This correlation vanishes for the reasoning-dependent domain: for math questions ROC-AUC is 0.55. More principally, we found out that the entropy measure required a reasoning amount. Thus, data-uncertainty related entropy should be integrated within uncertainty estimates frameworks, while MASJ requires refinement. Moreover, existing MMLU-Pro samples are biased, and should balance required amount of reasoning for different subdomains to provide a more fair assessment of LLMs performance.

解读

一句话总结

本文研究了不同不确定性估计方法在多选题问答任务中的表现,并提出了改进建议,以提高大型语言模型(LLM)的不确定性估计能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt