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

通过从过去经验中学习增强大型语言模型的置信度表达

Enhancing Confidence Expression in Large Language Models Through Learning from Past Experience

Shanghai Institute of Artificial Intelligence for Education(上海教育人工智能研究院);East China Normal University(华东师范大学);Fudan University(复旦大学)

Haixia Han, Tingyun Li, Shisong Chen, Jie Shi, Chengyu Du, Yanghua Xiao, Jiaqing Liang, Xin Lin

AI总结:

针对 LLM 自信输出错误信息的问题,本文提出受认知诊断启发的 LePe 三阶段方法,通过经验学习提升并评估其置信度表达能力。

摘要:

大型语言模型(LLMs)已在各类下游任务中展现出卓越性能,但它们可能会以自信的语气生成不准确或虚假的信息。一种可能的解决方案是赋予 LLM 置信度表达能力,使其表达的置信度能够与生成答案正确的真实概率良好对齐。然而,事实证明,利用 LLM 的内在能力或答案输出 logits 中的信号,难以准确捕捉 LLM 响应中的不确定性。因此,受认知诊断启发,我们提出一种从过去经验中学习(Learning from Past experience,LePe)的方法,以增强置信度表达能力。具体而言,我们首先明确三个关键问题:(1)如何捕捉 LLM 的内在置信度?(2)如何教 LLM 表达置信度?(3)如何评估 LLM 的置信度表达?随后,我们在 LePe 中设计三个阶段来处理这些问题。此外,为在构建训练数据时准确捕捉 LLM 的置信度,我们设计了一套包含问题准备和答案采样的完整流程。我们还使用 Llama 系列 LLM 开展实验,在四个数据集上验证所提方法的有效性。

英文摘要:

Large Language Models (LLMs) have exhibited remarkable performance across various downstream tasks, but they may generate inaccurate or false information with a confident tone. One of the possible solutions is to empower the LLM confidence expression capability, in which the confidence expressed can be well-aligned with the true probability of the generated answer being correct. However, leveraging the intrinsic ability of LLMs or the signals from the output logits of answers proves challenging in accurately capturing the response uncertainty in LLMs. Therefore, drawing inspiration from cognitive diagnostics, we propose a method of Learning from Past experience (LePe) to enhance the capability for confidence expression. Specifically, we first identify three key problems: (1) How to capture the inherent confidence of the LLM? (2) How to teach the LLM to express confidence? (3) How to evaluate the confidence expression of the LLM? Then we devise three stages in LePe to deal with these problems. Besides, to accurately capture the confidence of an LLM when constructing the training data, we design a complete pipeline including question preparation and answer sampling. We also conduct experiments using the Llama family of LLMs to verify the effectiveness of our proposed method on four datasets.

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

↑