SIMBA UQ:基于相似性聚合的大语言模型不确定性量化
SIMBA UQ: Similarity-Based Aggregation for Uncertainty Quantification in Large Language Models
AI总结:
本文提出基于相似性聚合的框架SIMBA UQ,利用生成输出间一致性进行黑盒不确定性量化,在问答、摘要和文本到SQL任务上实现更优的置信度校准。
摘要:
大语言模型(LLM)何时知道它所不知道的内容?不确定性量化(UQ)提供不确定性的度量,例如对LLM生成输出的置信度估计,因此日益被认为是可信AI系统的关键组成部分。黑盒UQ方法不需要访问生成LLM的内部模型信息,因此具有众多现实优势,如对系统变化的鲁棒性、对LLM选择的适应性、降低成本以及计算可行性。在本文中,我们研究了主要但不完全黑盒的UQ技术的有效性,其中生成输出与其他采样生成之间的一致性被用作其正确性置信度的代理。我们提出了一个高层次的非言语化基于相似性的聚合框架,该框架涵盖了适用于复杂生成任务的广泛UQ方法,并引入了框架中的具体新技术,这些技术使用小型训练集训练置信度估计模型。通过涵盖问答、摘要和文本到SQL等多样化任务的数据集的实证研究,我们证明了我们提出的基于相似性的方法可以产生比基线更好的校准置信度。
英文摘要:
When does a large language model (LLM) know what it does not know? Uncertainty quantification (UQ) provides measures of uncertainty, such as an estimate of the confidence in an LLM's generated output, and is therefore increasingly recognized as a crucial component of trusted AI systems. Black-box UQ methods do not require access to internal model information from the generating LLM and therefore have numerous real-world advantages, such as robustness to system changes, adaptability to choice of LLM, reduced costs, and computational tractability. In this paper, we investigate the effectiveness of UQ techniques that are primarily but not necessarily entirely black-box, where the consistency between a generated output and other sampled generations is used as a proxy for confidence in its correctness. We propose a high-level non-verbalized similarity-based aggregation framework that subsumes a broad swath of UQ approaches suitable for complex generative tasks, as well as introduce specific novel techniques from the framework that train confidence estimation models using small training sets. Through an empirical study with datasets spanning the diverse tasks of question answering, summarization, and text-to-SQL, we demonstrate that our proposed similarity-based methods can yield better calibrated confidences than baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。