arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.02378cs.CL
收藏

关于大语言模型内在自我修正能力:不确定性与潜在概念

On the Intrinsic Self-Correction Capability of LLMs: Uncertainty and Latent Concept

Michigan State University(密歇根州立大学);Pennsylvania State University(宾夕法尼亚州立大学);UC, Santa Barbara(加州大学圣巴巴拉分校)

Guangliang Liu, Haitao Mao, Bochuan Cao, Zhiyu Xue, Xitong Zhang, Rongrong Wang, Jiliang Tang, Kristen Johnson

AI总结:

本文揭示大语言模型的内在自我修正能力可逐步收敛,其机制为一致注入指令降低模型不确定性,从而提升性能。

摘要:

大语言模型(LLMs)在被指示时能够改进其响应,这种能力被称为自我修正。当指令仅提供任务目标而不提供响应中潜在问题的具体细节时,LLMs必须依赖其内部知识来提高响应质量,这一过程被称为内在自我修正。内在自我修正的经验成功在各种应用中显而易见,但它如何以及为何有效仍属未知。在本文中,我们揭示了内在自我修正可以逐步改进,使其能够接近收敛状态。我们的发现在以下方面得到验证:(1)在多轮问答场景中,通过全面展示内在自我修正可以通过迭代交互逐步引入性能提升,最终收敛到稳定性能;(2)在增强道德性的内在自我修正情境中,我们提供经验证据表明,迭代应用指令会降低模型不确定性直至收敛,这进而导致校准误差和自我修正性能的收敛,最终达到内在自我修正的稳定状态。此外,我们引入了一种数学公式和一个模拟任务,表明由自我修正指令激活的潜在概念驱动了模型不确定性的降低。基于我们的实验结果和对内在自我修正收敛性的分析,我们揭示了其潜在机制:一致注入的指令降低了模型不确定性,从而产生收敛的、改进的性能。

英文摘要:

Large Language Models (LLMs) are able to improve their responses when instructed to do so, a capability known as self-correction. When instructions provide only the task's goal without specific details about potential issues in the response, LLMs must rely on their internal knowledge to improve response quality, a process referred to as intrinsic self-correction. The empirical success of intrinsic self-correction is evident in various applications, but how and why it is effective remains unknown. In this paper, we unveil that intrinsic self-correction can be progressively improved, allowing it to approach a converged state. Our findings are verified in: (1) the scenario of multi-round question answering, by comprehensively demonstrating that intrinsic self-correction can progressively introduce performance gains through iterative interactions, ultimately converging to stable performance; and (2) the context of intrinsic self-correction for enhanced morality, in which we provide empirical evidence that iteratively applying instructions reduces model uncertainty towards convergence, which then leads to convergence of both the calibration error and self-correction performance, ultimately resulting in a stable state of intrinsic self-correction. Furthermore, we introduce a mathematical formulation and a simulation task indicating that the latent concepts activated by self-correction instructions drive the reduction of model uncertainty. Based on our experimental results and analysis of the convergence of intrinsic self-correction, we reveal its underlying mechanism: consistent injected instructions reduce model uncertainty which yields converged, improved performance.

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

↑