arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.02279cs.LGcs.AI
收藏

解决自然语言生成不确定性估计方法评估中的陷阱

Addressing Pitfalls in the Evaluation of Uncertainty Estimation Methods for Natural Language Generation

ELLIS Unit Linz and LIT AI Lab, Institute for Machine Learning, Johannes Kepler University Linz(林茨ELLIS单位和LIT AI实验室,机器学习研究所,林茨约瑟夫·克里格大学);NXAI GmbH(NXAI公司)

Mykyta Ielanskyi, Kajetan Schweighofer, Lukas Aichberger, Sepp Hochreiter

AI总结:

本文针对NLG不确定性估计评估中的陷阱,提出使用多种替代风险指标、LLM评判者边缘化及Elo评级,以提高评估鲁棒性和客观性。

摘要:

幻觉是削弱大型语言模型(LLM)可靠性的常见问题。近期研究识别出一类特定的幻觉,称为虚构(confabulations),它源于LLM的预测不确定性。为检测虚构,已开发出多种用于自然语言生成(NLG)中估计预测不确定性的方法。这些方法通常通过将不确定性估计与生成文本的正确性进行相关性分析来评估,并以问答(QA)数据集作为标准基准。然而,常用的近似正确性函数彼此之间存在显著分歧,进而导致不确定性估计方法的排名产生分歧。这允许人们夸大不确定性估计方法的表现性能。我们提出在风险相关性实验中使用多种替代风险指标,以提高NLG中UE算法经验评估的鲁棒性。对于QA任务,我们表明对多个LLM作为评判者的变体进行边缘化可减少评估偏差。此外,我们探索了结构化任务以及分布外和扰动检测任务,这些任务提供了稳健且可控的风险指标。最后,我们建议使用不确定性估计方法的Elo评级,以在广泛的评估设置中提供客观的总结。

英文摘要:

Hallucinations are a common issue that undermine the reliability of large language models (LLMs). Recent studies have identified a specific subset of hallucinations, known as confabulations, which arise due to predictive uncertainty of LLMs. To detect confabulations, various methods for estimating predictive uncertainty in natural language generation (NLG) have been developed. These methods are typically evaluated by correlating uncertainty estimates with the correctness of generated text, with question-answering (QA) datasets serving as the standard benchmark. However, commonly used approximate correctness functions have substantial disagreement between each other and, consequently, in the ranking of the uncertainty estimation methods. This allows one to inflate the apparent performance of uncertainty estimation methods. We propose using several alternative risk indicators for risk correlation experiments that improve robustness of empirical assessment of UE algorithms for NLG. For QA tasks, we show that marginalizing over multiple LLM-as-a-judge variants leads to reducing the evaluation biases. Furthermore, we explore structured tasks as well as out of distribution and perturbation detection tasks which provide robust and controllable risk indicators. Finally, we propose to use an Elo rating of uncertainty estimation methods to give an objective summarization over extensive evaluation settings.

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

↑