arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.13415cs.CLcs.LG
收藏

大型语言模型的事实置信度:当前估计器的可靠性与鲁棒性

Factual Confidence of LLMs: on Reliability and Robustness of Current Estimators

Universitat Pompeu Fabra(庞培法布拉大学);AWS AI Labs(亚马逊云科技人工智能实验室)

Matéo Mahaut, Laura Aina, Paula Czarnowska, Momchil Hardalov, Thomas Müller, Lluís Màrquez

AI总结:

针对LLMs回答事实性不可靠问题,本文综述并实证比较了现有事实置信度估计器,提出公平比较实验框架,发现训练后的隐藏状态探针最可靠,同时指出LLMs置信度在语义等价输入间不稳定,需提升参数化知识稳定性。

摘要:

大型语言模型(LLMs)在回答的事实性方面往往不可靠。为解决这一问题,自然语言处理研究人员提出了一系列技术来估计LLMs对事实的置信度。然而,由于缺乏系统比较,尚不清楚不同方法之间的优劣。为填补这一空白,我们对事实置信度估计器进行了综述和实证比较。我们定义了一个允许公平比较的实验框架,涵盖事实验证和问答任务。我们在一系列LLMs上的实验表明,训练后的隐藏状态探针能提供最可靠的置信度估计,尽管其代价是需要访问模型权重和训练数据。我们还通过测量输入在保留意义的变化下模型行为的一致性,对事实置信度进行了更深入的评估。我们发现,LLMs的置信度在语义等价的输入间往往不稳定,这表明模型参数化知识的稳定性仍有很大改进空间。我们的代码可在(https://github.com/amazon-science/factual-confidence-of-llms)获取。

英文摘要:

Large Language Models (LLMs) tend to be unreliable in the factuality of their answers. To address this problem, NLP researchers have proposed a range of techniques to estimate LLM's confidence over facts. However, due to the lack of a systematic comparison, it is not clear how the different methods compare to one another. To fill this gap, we present a survey and empirical comparison of estimators of factual confidence. We define an experimental framework allowing for fair comparison, covering both fact-verification and question answering. Our experiments across a series of LLMs indicate that trained hidden-state probes provide the most reliable confidence estimates, albeit at the expense of requiring access to weights and training data. We also conduct a deeper assessment of factual confidence by measuring the consistency of model behavior under meaning-preserving variations in the input. We find that the confidence of LLMs is often unstable across semantically equivalent inputs, suggesting that there is much room for improvement of the stability of models' parametric knowledge. Our code is available at (https://github.com/amazon-science/factual-confidence-of-llms).

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

↑