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

当 LLM 对其答案感到担忧时——以及何时其不确定性是合理的

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

Skolkovo Institute of Science and Technology (Skoltech)(斯科尔科沃科学技术研究所(斯科尔泰克));National Research University Higher School of Economics(国家研究型大学高等经济学院);Moscow Institute of Physics and Technology(莫斯科物理技术学院)

Petr Sychev, Andrey Goncharov, Daniil Vyazhev, Edvard Khalafyan, Alexey Zaytsev

AI总结:

本文研究了 token 级熵和模型即评判(MASJ)在多选题问答中的不确定性估计效果,发现响应熵在知识依赖领域有效预测模型错误,而 MASJ 需改进,并指出 MMLU-Pro 样本存在偏差需平衡推理量。

摘要:

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

英文摘要:

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.

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

↑