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

评估大型语言模型知识的可靠性

Assessing the Reliability of Large Language Model Knowledge

University of Edinburgh(爱丁堡大学);Huawei Technologies Co., Ltd.(华为技术有限公司)

Weixuan Wang, Barry Haddow, Alexandra Birch, Wei Peng

AI总结:

针对LLM事实可靠性评估缺失问题,提出MONITOR度量,通过比较不同提示下输出分布距离衡量可靠性,并在12个LLM上验证有效性,发布含21万提示的FKTC数据集。

摘要:

大型语言模型(LLMs)因其在知识探测任务中的强大表现而被视为知识库。LLMs通常使用准确率进行评估,然而这一指标并未捕捉到LLMs对幻觉诱发因素(如提示和上下文变化)的脆弱性。我们如何评估LLMs持续产生事实正确回答的能力?在本文中,我们提出了模型知识可靠性评分(MONITOR),一种新颖的度量指标,旨在直接衡量LLMs的事实可靠性。MONITOR计算有效输出的概率分布与同一LLM使用不同风格的提示和上下文探测同一事实所产生的对应输出的概率分布之间的距离。在涵盖12个LLMs的全面实验表明,MONITOR在评估LLMs的事实可靠性方面具有有效性,同时保持了较低的计算开销。此外,我们发布了FKTC(事实知识测试语料库)测试集,包含总计210,158个提示,以促进这一研究方向的发展(https://github.com/Vicky-Wil/MONITOR)。

英文摘要:

Large language models (LLMs) have been treated as knowledge bases due to their strong performance in knowledge probing tasks. LLMs are typically evaluated using accuracy, yet this metric does not capture the vulnerability of LLMs to hallucination-inducing factors like prompt and context variability. How do we evaluate the capabilities of LLMs to consistently produce factually correct answers? In this paper, we propose MOdel kNowledge relIabiliTy scORe (MONITOR), a novel metric designed to directly measure LLMs' factual reliability. MONITOR computes the distance between the probability distributions of a valid output and its counterparts produced by the same LLM probing the same fact using different styles of prompts and contexts.Experiments on a comprehensive range of 12 LLMs demonstrate the effectiveness of MONITOR in evaluating the factual reliability of LLMs while maintaining a low computational overhead. In addition, we release the FKTC (Factual Knowledge Test Corpus) test set, containing 210,158 prompts in total to foster research along this line (https://github.com/Vicky-Wil/MONITOR).

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

↑