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

大型语言模型检索增强生成中的上下文压缩:综述

Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey

IBM Watsonx

Sourav Verma

AI总结:

本文综述RAG中上下文压缩范式的发展,分析其解决上下文窗口、无关信息与处理开销问题的方法,并指出挑战与未来研发方向。

摘要:

大型语言模型(LLMs)展现出卓越能力,但仍受困于幻觉、知识过时、不透明以及推理不可解释等局限。为应对这些挑战,检索增强生成(RAG)已被证明是一种可行方案,它利用外部数据库提升生成内容的一致性和连贯性,这对于复杂、知识密集型任务尤其有价值,并能借助特定领域的洞见促进持续改进。通过将LLMs的内在知识与外部数据库中庞大且动态更新的知识库相结合,RAG实现了协同效应。然而,RAG也并非没有局限,包括上下文窗口有限、存在无关信息,以及处理大量上下文数据带来的高昂开销。在这篇综合性工作中,我们探讨了上下文压缩范式的演进,对该领域进行了深入考察。最后,我们概述了当前挑战,并提出潜在的研究与开发方向,为该领域未来的进展铺平道路。

英文摘要:

Large Language Models (LLMs) showcase remarkable abilities, yet they struggle with limitations such as hallucinations, outdated knowledge, opacity, and inexplicable reasoning. To address these challenges, Retrieval-Augmented Generation (RAG) has proven to be a viable solution, leveraging external databases to improve the consistency and coherence of generated content, especially valuable for complex, knowledge-rich tasks, and facilitates continuous improvement by leveraging domain-specific insights. By combining the intrinsic knowledge of LLMs with the vast, dynamic repositories of external databases, RAG achieves a synergistic effect. However, RAG is not without its limitations, including a limited context window, irrelevant information, and the high processing overhead for extensive contextual data. In this comprehensive work, we explore the evolution of Contextual Compression paradigms, providing an in-depth examination of the field. Finally, we outline the current challenges and suggest potential research and development directions, paving the way for future advancements in this area.

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

↑