arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.03214cs.CL
收藏

FreshLLMs:通过搜索引擎增强刷新大型语言模型

FreshLLMs: Refreshing Large Language Models with Search Engine Augmentation

Google(谷歌);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);OpenAI

Tu Vu, Mohit Iyyer, Xuezhi Wang, Noah Constant, Jerry Wei, Jason Wei, Chris Tar, Yun-Hsuan Sung, Denny Zhou, Quoc Le, Thang Luong

AI总结:

本研究提出动态QA基准FreshQA评估LLMs事实性,发现模型在快速变化知识和前提错误问题上表现不佳,并提出结合搜索引擎检索的少样本提示方法FreshPrompt,显著提升了正确性并减少幻觉。

摘要:

大多数大型语言模型(LLMs)训练一次便不再更新;因此,它们缺乏动态适应不断变化的世界的能力。在本研究中,我们针对测试当前世界知识的问题,对LLM生成文本的事实性进行了详细研究。具体而言,我们引入了FreshQA,这是一个新颖的动态QA基准,包含多种类型的问题和答案,包括需要快速变化的世界知识的问题,以及需要被揭穿的前提错误的问题。我们在双模式评估程序下对各种闭源和开源LLMs进行基准测试,使我们能够同时衡量正确性和幻觉。通过涉及超过50K次判断的人工评估,我们揭示了这些模型的局限性,并展示了显著的改进空间:例如,所有模型(无论模型大小)在涉及快速变化的知识和前提错误的问题上都表现不佳。受这些结果启发,我们提出了FreshPrompt,这是一种简单的少样本提示方法,通过将搜索引擎检索到的相关且最新的信息纳入提示,显著提升了LLM在FreshQA上的表现。我们的实验表明,FreshPrompt的表现优于竞争性的搜索引擎增强提示方法(如Self-Ask (Press et al., 2022))以及商业系统(如Perplexity.AI)。对FreshPrompt的进一步分析表明,检索证据的数量及其顺序在影响LLM生成答案的正确性方面起着关键作用。此外,与鼓励更冗长的答案相比,指示LLM生成简洁直接的答案有助于减少幻觉。为了促进未来的研究,我们在github.com/freshllms/freshqa上发布了FreshQA,并承诺定期更新。

英文摘要:

Most large language models (LLMs) are trained once and never updated; thus, they lack the ability to dynamically adapt to our ever-changing world. In this work, we perform a detailed study of the factuality of LLM-generated text in the context of answering questions that test current world knowledge. Specifically, we introduce FreshQA, a novel dynamic QA benchmark encompassing a diverse range of question and answer types, including questions that require fast-changing world knowledge as well as questions with false premises that need to be debunked. We benchmark a diverse array of both closed and open-source LLMs under a two-mode evaluation procedure that allows us to measure both correctness and hallucination. Through human evaluations involving more than 50K judgments, we shed light on limitations of these models and demonstrate significant room for improvement: for instance, all models (regardless of model size) struggle on questions that involve fast-changing knowledge and false premises. Motivated by these results, we present FreshPrompt, a simple few-shot prompting method that substantially boosts the performance of an LLM on FreshQA by incorporating relevant and up-to-date information retrieved from a search engine into the prompt. Our experiments show that FreshPrompt outperforms both competing search engine-augmented prompting methods such as Self-Ask (Press et al., 2022) as well as commercial systems such as Perplexity.AI. Further analysis of FreshPrompt reveals that both the number of retrieved evidences and their order play a key role in influencing the correctness of LLM-generated answers. Additionally, instructing the LLM to generate concise and direct answers helps reduce hallucination compared to encouraging more verbose answers. To facilitate future work, we release FreshQA at github.com/freshllms/freshqa and commit to updating it at regular intervals.

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

↑