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

面向检索增强语言建模的基于支持度的知识重写

Supportiveness-based Knowledge Rewriting for Retrieval-augmented Language Modeling

Peking University(北京大学);Alibaba Group(阿里巴巴集团)

Zile Qiao, Wei Ye, Yong Jiang, Tong Mo, Pengjun Xie, Weiping Li, Fei Huang, Shikun Zhang

AI总结:

针对检索增强语言模型中检索知识不可靠的问题,提出基于支持度的知识重写方法SKR,通过支持度筛选训练数据、结合DPO优化重写效果,在多任务多模型上验证了其优于GPT-4的重写能力。

摘要:

检索增强语言模型(RALMs)近期在缓解大语言模型(LLMs)内隐知识的局限性方面展现出巨大潜力,例如最新专业知识更新不及时、长尾知识留存不可靠等问题。然而,由于外部知识库以及检索器都无法保证可靠性,可能导致检索到的知识对LLM生成没有帮助,甚至产生误导。本文提出了基于支持度的知识重写(Supportiveness-based Knowledge Rewriting,SKR),这是一种专为LLM生成优化的鲁棒且可插拔的知识重写器。具体而言,我们提出了“支持度”这一全新概念——它表示一条知识对下游任务的促进有效程度——通过考量增强知识对白盒LLM响应文本的困惑度影响来计算。基于知识支持度,我们首先为重写器模型设计了一种训练数据构建策略,可有效识别并过滤掉质量差或不相关的重写结果(例如支持度得分较低的结果),以提升数据效用。随后我们引入直接偏好优化(DPO)算法,使生成的重写内容与最优支持度对齐,引导重写器模型生成能更好改善最终响应的增强内容摘要。我们在6个主流的知识密集型任务和4个LLM上开展了综合评估,结果证明了SKR的有效性与优越性。仅拥有7B参数的SKR,在知识重写能力上已优于当前最先进的通用大语言模型GPT-4。

英文摘要:

Retrieval-augmented language models (RALMs) have recently shown great potential in mitigating the limitations of implicit knowledge in LLMs, such as untimely updating of the latest expertise and unreliable retention of long-tail knowledge. However, since the external knowledge base, as well as the retriever, can not guarantee reliability, potentially leading to the knowledge retrieved not being helpful or even misleading for LLM generation. In this paper, we introduce Supportiveness-based Knowledge Rewriting (SKR), a robust and pluggable knowledge rewriter inherently optimized for LLM generation. Specifically, we introduce the novel concept of "supportiveness"--which represents how effectively a knowledge piece facilitates downstream tasks--by considering the perplexity impact of augmented knowledge on the response text of a white-box LLM. Based on knowledge supportiveness, we first design a training data curation strategy for our rewriter model, effectively identifying and filtering out poor or irrelevant rewrites (e.g., with low supportiveness scores) to improve data efficacy. We then introduce the direct preference optimization (DPO) algorithm to align the generated rewrites to optimal supportiveness, guiding the rewriter model to summarize augmented content that better improves the final response. Comprehensive evaluations across six popular knowledge-intensive tasks and four LLMs have demonstrated the effectiveness and superiority of SKR. With only 7B parameters, SKR has shown better knowledge rewriting capability over GPT-4, the current state-of-the-art general-purpose LLM.

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

↑