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

Full-ECE:一种面向大语言模型 token 级校准的度量

Full-ECE: A Metric For Token-level Calibration on Large Language Models

Tsinghua University(清华大学);Baichuan Inc(百川智能公司)

Han Liu, Yupeng Zhang, Bingning Wang, Weipeng Chen, Xiaolin Hu

AI总结:

针对 ECE 与 cw-ECE 难以适配大语言模型庞大词表和概率分布的问题,本文提出完全校准概念及 Full-ECE 指标,通过评估完整预测概率分布实现更准确、鲁棒的 token 级校准度量。

摘要:

深度神经网络(DNN)在多个领域表现出色,但在提供准确的不确定性估计方面面临挑战,而这种估计对于高风险应用至关重要。大语言模型(LLM)最近已成为强大的工具,在语言任务中展现出卓越性能。然而,传统校准度量(如期望校准误差(ECE)和逐类 ECE(cw-ECE))由于 LLM 庞大的词表、数据复杂性以及对分布的关注,并不适用于 LLM。为解决这一问题,我们提出了一种称为完全校准的新颖校准概念,并引入了相应的度量 Full-ECE。Full-ECE 评估整个预测概率分布,为 LLM 提供了更准确、更鲁棒的校准度量。

英文摘要:

Deep Neural Networks (DNNs) excel in various domains but face challenges in providing accurate uncertainty estimates, which are crucial for high-stakes applications. Large Language Models (LLMs) have recently emerged as powerful tools, demonstrating exceptional performance in language tasks. However, traditional calibration metrics such as Expected Calibration Error (ECE) and classwise-ECE (cw-ECE) are inadequate for LLMs due to their vast vocabularies, data complexity, and distributional focus. To address this, we propose a novel calibration concept called full calibration and introduce its corresponding metric, Full-ECE. Full-ECE evaluates the entire predicted probability distribution, offering a more accurate and robust measure of calibration for LLMs.

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

↑