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

了解LLM不知道什么:一种简单而有效的自我检测方法

Knowing What LLMs DO NOT Know: A Simple Yet Effective Self-Detection Method

Shandong University(山东大学);Baidu Inc.(百度公司);Leiden University(莱顿大学)

Yukun Zhao, Lingyong Yan, Weiwei Sun, Guoliang Xing, Chong Meng, Shuaiqiang Wang, Zhicong Cheng, Zhaochun Ren, Dawei Yin

AI总结:

本文提出一种仅依赖LLM自身的自我检测方法,通过多样化问题表达并分析生成答案间的分歧,有效识别模型易产生非事实性回答的未知问题,并在Vicuna、ChatGPT和GPT-4上验证了其有效性。

摘要:

大型语言模型(LLMs)在自然语言处理(NLP)任务中展现了巨大潜力。然而,近期文献表明LLMs会间歇性地生成非事实性回答,这阻碍了LLMs在进一步应用中的可靠性。本文提出一种新颖的自我检测方法,用于检测LLM不知道且容易产生非事实性结果的问题。具体而言,我们首先针对给定问题使文本表达多样化,并收集相应的答案。然后,我们检查生成答案之间的分歧,以识别模型可能产生错误的问题。上述所有步骤均可通过提示LLMs自身完成,无需参考任何其他外部资源。我们进行了全面实验,并在近期发布的LLMs(如Vicuna、ChatGPT和GPT-4)上证明了本方法的有效性。

英文摘要:

Large Language Models (LLMs) have shown great potential in Natural Language Processing (NLP) tasks. However, recent literature reveals that LLMs generate nonfactual responses intermittently, which impedes the LLMs' reliability for further utilization. In this paper, we propose a novel self-detection method to detect which questions that a LLM does not know that are prone to generate nonfactual results. Specifically, we first diversify the textual expressions for a given question and collect the corresponding answers. Then we examine the divergencies between the generated answers to identify the questions that the model may generate falsehoods. All of the above steps can be accomplished by prompting the LLMs themselves without referring to any other external resources. We conduct comprehensive experiments and demonstrate the effectiveness of our method on recently released LLMs, e.g., Vicuna, ChatGPT, and GPT-4.

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

↑