量化大语言模型自然语言解释中的不确定性
Quantifying Uncertainty in Natural Language Explanations of Large Language Models
AI总结:
本研究针对大语言模型自然语言解释的可靠性存疑问题,提出言语化不确定性和探测性不确定性两个指标量化解释不确定性,发现探测性不确定性与解释忠实度负相关,为基础模型可信度研究提供参考。
摘要:
大语言模型(LLM)正日益被用作多种高风险自然语言处理(NLP)应用的强大工具。近期的提示工程研究声称能够提取中间推理步骤和关键token,作为LLM预测的代理解释。然而,这些解释是否可靠、是否能反映LLM的行为,目前尚无定论。\n在本研究中,我们率先尝试量化LLM解释中的不确定性。为此,我们提出了两个新颖的指标——$\textit{Verbalized Uncertainty(言语化不确定性)}$和$\textit{Probing Uncertainty(探测性不确定性)}$——来量化生成解释的不确定性。其中,言语化不确定性通过提示LLM表达其对自身解释的置信度来实现,而探测性不确定性则利用样本和模型扰动作为量化不确定性的手段。\n我们在基准数据集上的实证分析表明,言语化不确定性并不是解释置信度的可靠估计指标。此外,我们发现探测性不确定性估计与解释的忠实度相关,不确定性越低,解释的忠实度越高。本研究揭示了量化LLM解释不确定性的挑战与机遇,为基础模型可信度的更广泛讨论提供了参考。
英文摘要:
Large Language Models (LLMs) are increasingly used as powerful tools for several high-stakes natural language processing (NLP) applications. Recent prompting works claim to elicit intermediate reasoning steps and key tokens that serve as proxy explanations for LLM predictions. However, there is no certainty whether these explanations are reliable and reflect the LLMs behavior. In this work, we make one of the first attempts at quantifying the uncertainty in explanations of LLMs. To this end, we propose two novel metrics -- $\textit{Verbalized Uncertainty}$ and $\textit{Probing Uncertainty}$ -- to quantify the uncertainty of generated explanations. While verbalized uncertainty involves prompting the LLM to express its confidence in its explanations, probing uncertainty leverages sample and model perturbations as a means to quantify the uncertainty. Our empirical analysis of benchmark datasets reveals that verbalized uncertainty is not a reliable estimate of explanation confidence. Further, we show that the probing uncertainty estimates are correlated with the faithfulness of an explanation, with lower uncertainty corresponding to explanations with higher faithfulness. Our study provides insights into the challenges and opportunities of quantifying uncertainty in LLM explanations, contributing to the broader discussion of the trustworthiness of foundation models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。