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

校准言语不确定性作为线性特征以减少幻觉

Calibrating Verbal Uncertainty as a Linear Feature to Reduce Hallucinations

Meta FAIR;Meta GenAI;Hong Kong University of Science and Technology(香港科技大学);University of Toronto(多伦多大学)

Ziwei Ji, Lei Yu, Yeskendir Koishekenov, Yejin Bang, Anthony Hartshorn, Alan Schelten, Cheng Zhang, Pascale Fung, Nicola Cancedda

AI总结:

本文发现言语不确定性由单一线性特征控制,其与语义不确定性相关性中等,利用两者不匹配可更好预测幻觉,并在推理时干预以减少约30%的自信幻觉。

摘要:

大型语言模型在做出错误陈述时也常常采用断言式的语言风格。这种“过度自信的幻觉”会误导用户并侵蚀信任。因此,在语言中表达对某个主张实际不确定程度的能力至关重要。我们发现,“言语不确定性”由大型语言模型表示空间中的一个单一线性特征所控制,并表明这与模型实际的“语义不确定性”仅具有中等相关性。我们应用这一见解,并证明:(1)语义不确定性与言语不确定性之间的不匹配比单独的语义不确定性更能预测幻觉;(2)我们可以在推理时对言语不确定性进行干预,并减少短答案上的自信幻觉,实现平均相对减少约30%。

英文摘要:

LLMs often adopt an assertive language style also when making false claims. Such ``overconfident hallucinations'' mislead users and erode trust. Achieving the ability to express in language the actual degree of uncertainty around a claim is therefore of great importance. We find that ``verbal uncertainty'' is governed by a single linear feature in the representation space of LLMs, and show that this has only moderate correlation with the actual ``semantic uncertainty'' of the model. We apply this insight and show that (1) the mismatch between semantic and verbal uncertainty is a better predictor of hallucinations than semantic uncertainty alone and (2) we can intervene on verbal uncertainty at inference time and reduce confident hallucinations on short-form answers, achieving an average relative reduction of ~30%.

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

↑