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

骆驼知道GPT不展示的内容:用于置信度估计的代理模型

Llamas Know What GPTs Don't Show: Surrogate Models for Confidence Estimation

Stanford University(斯坦福大学)

Vaishnavi Shrivastava, Percy Liang, Ananya Kumar

AI总结:

本研究提出结合语言询问与代理模型概率的方法,以估计无法访问softmax概率的LLM(如GPT-4)的置信度,在12个问答数据集上达到84.6%的平均AUC,优于单独方法。

摘要:

为了维护用户信任,大型语言模型(LLMs)应在回答错误时发出低置信度信号,而非误导用户。估计置信度的标准方法是使用这些模型的softmax概率,但截至2023年11月,如GPT-4和Claude-v1.3等最先进的LLM并不提供这些概率的访问。我们首先研究通过语言方式获取置信度——即询问LLM对其答案的置信度——该方法表现尚可(在12个问答数据集上,GPT-4的平均AUC为80.5%,比随机基线高7%),但仍有改进空间。接着,我们探索使用代理置信度模型——利用一个我们能获得概率的模型来评估原始模型在给定问题上的置信度。令人惊讶的是,尽管这些概率来自一个不同且通常更弱的模型,但该方法在12个数据集中的9个上比语言置信度获得了更高的AUC。我们最佳方法结合了语言置信度和代理模型概率,在所有12个数据集上给出了最先进的置信度估计(GPT-4上的平均AUC为84.6%)。

英文摘要:

To maintain user trust, large language models (LLMs) should signal low confidence on examples where they are incorrect, instead of misleading the user. The standard approach of estimating confidence is to use the softmax probabilities of these models, but as of November 2023, state-of-the-art LLMs such as GPT-4 and Claude-v1.3 do not provide access to these probabilities. We first study eliciting confidence linguistically -- asking an LLM for its confidence in its answer -- which performs reasonably (80.5% AUC on GPT-4 averaged across 12 question-answering datasets -- 7% above a random baseline) but leaves room for improvement. We then explore using a surrogate confidence model -- using a model where we do have probabilities to evaluate the original model's confidence in a given question. Surprisingly, even though these probabilities come from a different and often weaker model, this method leads to higher AUC than linguistic confidences on 9 out of 12 datasets. Our best method composing linguistic confidences and surrogate model probabilities gives state-of-the-art confidence estimates on all 12 datasets (84.6% average AUC on GPT-4).

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

↑