LACIE:面向大语言模型置信度校准的听众感知微调
LACIE: Listener-Aware Finetuning for Confidence Calibration in Large Language Models
AI总结:
本文提出听众感知微调方法LACIE,通过双智能体博弈建模听众接受度,以偏好优化校准LLM的隐式和显式置信标记,使模型在保持正确答案接受率的同时显著减少错误答案被接受,并提升真实性、置信度分离和弃权行为。
摘要:
在回答问题时,大语言模型(LLM)不仅传达答案,还会传达对答案正确性的置信程度。这包括显式置信标记(例如给出数值分数)以及隐式标记,如权威语气或通过补充知识进行阐述。要使LLM成为可信的知识来源,它们所传达的置信度应与其实际专业水平相匹配;然而,当前大多数模型倾向于过度自信。为了校准隐式和显式置信标记,我们提出了一种实用的、听众感知的微调方法(LACIE),该方法对听众进行建模,不仅考虑答案是否正确,还考虑答案是否会被听众接受。我们将校准形式化为偏好优化,通过一个双智能体博弈来创建数据,其中说话者模型的输出由一个模拟听众进行评判。随后,我们使用LACIE对三个LLM(Mistral-7B、Llama3-8B、Llama3-70B)进行微调,并表明所得模型相对于模拟听众具有更好的校准效果。关键的是,这些趋势迁移到了人类听众身上,帮助他们正确预测模型的正确性:我们进行了一项人类评估,标注者接受或拒绝LLM的答案,结果发现使用LACIE训练后,错误答案被接受的数量减少了47%,同时保持了对正确答案相同的接受水平。此外,LACIE能够泛化到另一个数据集,在TriviaQA上训练后在TruthfulQA上的真实性大幅提升。我们的分析表明,LACIE使正确与错误样本之间的置信度分离更好。从定性角度看,我们发现经过LACIE训练的模型会更多地使用模糊限定表达,并在答案正确时通过权威语气或包含细节来隐式地表示确定性。最后,LACIE微调导致模型对可能错误的答案出现了一种涌现性的弃权(不执行)增加(例如说“我不知道”)。
英文摘要:
When answering questions, LLMs can convey not only an answer, but a level of confidence about the answer being correct. This includes explicit confidence markers (e.g. giving a numeric score) as well as implicit markers, like an authoritative tone or elaborating with additional knowledge. For LLMs to be trustworthy knowledge sources, the confidence they convey should match their actual expertise; however, most current models tend towards overconfidence. To calibrate both implicit and explicit confidence markers, we introduce a pragmatic, listener-aware finetuning method (LACIE) that models the listener, considering not only whether an answer is right, but whether it will be accepted by a listener. We cast calibration as preference optimization, creating data via a two-agent game, where a speaker model's outputs are judged by a simulated listener. We then finetune three LLMs (Mistral-7B, Llama3-8B, Llama3-70B) with LACIE, and show that the resulting models are better calibrated w.r.t. a simulated listener. Crucially, these trends transfer to human listeners, helping them correctly predict model correctness: we conduct a human evaluation where annotators accept or reject an LLM's answers, finding that training with LACIE results in 47% fewer incorrect answers being accepted while maintaining the same level of acceptance for correct answers. Furthermore, LACIE generalizes to another dataset, resulting in a large increase in truthfulness on TruthfulQA when trained on TriviaQA. Our analysis indicates that LACIE leads to a better confidence separation between correct and incorrect examples. Qualitatively, we find that a LACIE-trained model hedges more and implicitly signals certainty when it is correct by using an authoritative tone or including details. Finally, LACIE finetuning leads to an emergent increase in model abstention (e.g. saying "I don't know") for answers that are likely wrong.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。