arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.22225cs.IRcs.AIcs.CLcs.LG
收藏

SmartChunk检索:具有规划的查询感知分块压缩以实现高效的文档RAG

SmartChunk Retrieval: Query-Aware Chunk Compression with Planning for Efficient Document RAG

University of Michigan(密歇根大学);Adobe Research(Adobe研究)

Xuechen Zhang, Koustava Goswami, Samet Oymak, Jiasi Chen, Nedim Lipka

AI总结:

SmartChunk通过查询自适应框架和强化学习方案提升长文档问答效率与准确性。

摘要:

检索增强生成(RAG)通过将语言模型(LMs)与从大规模文本语料库中检索到的证据结合,具有产生准确且事实性输出的潜力。然而,当前的流程受到静态分块和扁平检索的限制:文档被分割成短的、预定义的、固定大小的分块,嵌入式检索是均匀的,生成依赖于返回的任何分块。这种设计带来了挑战,因为检索质量对分块大小高度敏感,通常会引入无关或误导性分块的噪声,并且在大规模语料库中扩展性差。我们提出了SmartChunk检索,一种用于高效且稳健的长文档问答(QA)的查询自适应框架。SmartChunk使用(i)一个规划器,预测每个查询的最佳分块抽象级别,以及(ii)一个轻量级压缩模块,生成高阶分块嵌入而不进行重复总结。通过在飞行中适应检索粒度,SmartChunk在准确性和效率之间取得平衡,并避免了固定策略的缺点。值得注意的是,我们的规划器可以通过一种新颖的强化学习方案STITCH来推理分块抽象,从而提高准确性和泛化能力。为了反映现实世界的应用,其中用户面对多样化的文档类型和查询风格,我们在五个QA基准测试加上一个领域外数据集上评估SmartChunk。在这些评估中,SmartChunk在超越最先进RAG基线的同时,减少了成本。进一步分析显示,随着语料库的增大,具有良好的可扩展性,并在领域外数据集上获得一致的提升,突显了其作为适应性检索通用框架的有效性。

英文摘要:

Retrieval-augmented generation (RAG) has strong potential for producing accurate and factual outputs by combining language models (LMs) with evidence retrieved from large text corpora. However, current pipelines are limited by static chunking and flat retrieval: documents are split into short, predetermined, fixed-size chunks, embeddings are retrieved uniformly, and generation relies on whatever chunks are returned. This design brings challenges, as retrieval quality is highly sensitive to chunk size, often introduces noise from irrelevant or misleading chunks, and scales poorly to large corpora. We present SmartChunk retrieval, a query-adaptive framework for efficient and robust long-document question answering (QA). SmartChunk uses (i) a planner that predicts the optimal chunk abstraction level for each query, and (ii) a lightweight compression module that produces high-level chunk embeddings without repeated summarization. By adapting retrieval granularity on the fly, SmartChunk balances accuracy with efficiency and avoids the drawbacks of fixed strategies. Notably, our planner can reason about chunk abstractions through a novel reinforcement learning scheme, STITCH, which boosts accuracy and generalization. To reflect real-world applications, where users face diverse document types and query styles, we evaluate SmartChunk on five QA benchmarks plus one out-of-domain dataset. Across these evaluations, SmartChunk outperforms state-of-the-art RAG baselines, while reducing cost. Further analysis demonstrates strong scalability with larger corpora and consistent gains on out-of-domain datasets, highlighting its effectiveness as a general framework for adaptive retrieval.

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

↑