arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.08670cs.AIcs.CL
收藏

并行专家上下文解码用于检索增强生成

Parallel Context-of-Experts Decoding for Retrieval Augmented Generation

SAP Labs, France(法国SAP实验室);EURECOM, France(法国EURECOM)

Giulio Corallo, Paolo Papotti

AI总结:

并行专家上下文解码通过检索感知对比解码规则,实现检索增强生成中跨文档推理能力的恢复,无需训练。

摘要:

检索增强生成面临权衡:在长提示中拼接文档可以实现多文档推理但会创建prefill瓶颈,而分别编码文档KV缓存可以提高速度但会破坏跨文档交互。我们提出了并行专家上下文解码(Pced),一种无需训练的框架,将证据聚合从注意力机制转移到解码过程中。Pced将检索到的文档视为孤立的“专家”,通过一种新的检索感知对比解码规则同步它们的预测,该规则将专家logits与模型先验进行权衡。这种方法在不构建跨文档注意力的情况下恢复了跨文档推理能力。

英文摘要:

Retrieval Augmented Generation faces a trade-off: concatenating documents in a long prompt enables multi-document reasoning but creates prefill bottlenecks, while encoding document KV caches separately offers speed but breaks cross-document interaction. We propose Parallel Context-of-Experts Decoding (Pced), a training-free framework that shifts evidence aggregation from the attention mechanism to the decoding. Pced treats retrieved documents as isolated "experts", synchronizing their predictions via a novel retrieval-aware contrastive decoding rule that weighs expert logits against the model prior. This approach recovers cross-document reasoning capabilities without constructing a shared attention across documents.

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

↑