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

面向大语言模型的自知识引导检索增强方法

Self-Knowledge Guided Retrieval Augmentation for Large Language Models

Institute for AI Industry Research (AIR), Tsinghua University(清华大学人工智能产业研究院(AIR));Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Institute for AI, Tsinghua University(清华大学人工智能研究院);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心)

Yile Wang, Peng Li, Maosong Sun, Yang Liu

AI总结:

针对大语言模型参数知识不全难更新、检索知识可能产生负面影响的问题,提出自知识引导的检索增强方法SKR,让模型参考过往问题自适应调用外部资源,在多个数据集上表现优于思维链和全检索方法。

摘要:

大语言模型(LLM)在无需任务特定微调的情况下已展现出优异性能。尽管取得了成功,但由于计算成本问题,LLM参数中存储的知识仍可能不完整且难以更新。作为补充,基于检索的方法可提供非参数化的世界知识,并提升问答等任务的性能。但我们发现,检索到的知识并非总能起到帮助作用,有时甚至会对原始响应产生负面影响。为更好地利用内部知识与外部世界知识,我们研究了激发模型识别自身已知与未知内容的能力(也称为自知识),并提出了自知识引导检索增强方法(SKR)——这是一种简单有效的方法,可让LLM参考此前遇到的问题,在处理新问题时自适应调用外部资源。我们在多个数据集上对SKR进行了评估,结果表明,无论是使用InstructGPT还是ChatGPT,该方法的性能均优于基于思维链的方法以及完全基于检索的方法。

英文摘要:

Large language models (LLMs) have shown superior performance without task-specific fine-tuning. Despite the success, the knowledge stored in the parameters of LLMs could still be incomplete and difficult to update due to the computational costs. As complementary, retrieval-based methods can offer non-parametric world knowledge and improve the performance on tasks such as question answering. However, we find that the retrieved knowledge does not always help and even has a negative impact on original responses occasionally. To better make use of both internal knowledge and external world knowledge, we investigate eliciting the model's ability to recognize what they know and do not know (which is also called self-knowledge) and propose Self-Knowledge guided Retrieval augmentation (SKR), a simple yet effective method which can let LLMs refer to the questions they have previously encountered and adaptively call for external resources when dealing with new questions. We evaluate SKR on multiple datasets and demonstrate that it outperforms chain-of-thought based and fully retrieval-based methods by using either InstructGPT or ChatGPT.

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

↑