ArcAligner: 用于RAG中压缩上下文嵌入的自适应递归对齐器
ArcAligner: Adaptive Recursive Aligner for Compressed Context Embeddings in RAG
AI总结:
ArcAligner通过自适应门控机制提升RAG中压缩上下文表示的利用效率,有效解决压缩带来的理解困难问题。
摘要:
检索增强生成(RAG)有助于保持LLM的准确性,但将长文档输入提示会使模型变慢且成本高。这促使了上下文压缩,从标记修剪和摘要到基于嵌入的压缩。尽管研究者尝试将这些文档压缩成更小的摘要或数学嵌入,但存在一个陷阱:压缩的数据越多,LLM理解就越困难。为了解决这一挑战,我们提出了ArcAligner(自适应递归上下文对齐器),这是一个轻量级模块,集成到语言模型层中,帮助模型更好地利用高度压缩的上下文表示进行下游生成。它使用一个自适应的'门控'系统,仅在信息复杂时增加额外的计算资源,以保持系统的速度。在知识密集型QA基准测试中,ArcAligner在可比的压缩率下始终优于压缩基线,特别是在多跳和长尾设置中。源代码已公开可用。
英文摘要:
Retrieval-Augmented Generation (RAG) helps LLMs stay accurate, but feeding long documents into a prompt makes the model slow and expensive. This has motivated context compression, ranging from token pruning and summarization to embedding-based compression. While researchers have tried ''compressing'' these documents into smaller summaries or mathematical embeddings, there is a catch: the more you compress the data, the more the LLM struggles to understand it. To address this challenge, we propose ArcAligner (Adaptive recursive context *Aligner*), a lightweight module integrated into the language model layers to help the model better utilize highly compressed context representations for downstream generation. It uses an adaptive ''gating'' system that only adds extra processing power when the information is complex, keeping the system fast. Across knowledge-intensive QA benchmarks, ArcAligner consistently beats compression baselines at comparable compression rates, especially on multi-hop and long-tail settings. The source code is publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。