跳到正文
原文
HuggingFace Daily Papers(社区热门论文)·· 2026-08-07AI 评分42

CoinRAG:面向长上下文 RAG 的上下文信息碎片 KV 缓存复用

CoinRAG: Contextualized Information Nugget KV Cache Reuse for Long-Context RAG

AI 导读

CoinRAG 提出一种面向长上下文 RAG 的 KV 缓存复用新方法,通过两阶段检索识别检索块中与查询相关的语义单元,并组合其切片 KV 表示与块级上下文,替代粗粒度的整块编码。在 LongBench 多跳问答任务上,该方法在标准快速预填充延迟预算下平均相对提升 5.3% 的答案质量(F1),并实现了新的帕累托前沿,显著降低运营成本。

正文

Recent optimization studies on Retrieval-Augmented Generation (RAG) have exploited chunk-level KV cache reuse to avoid processing long retrieved contexts for higher efficiency, while significant information redundancy and noise still remain in the coarse-grained chunks. This paper optimizes the Pareto frontier under low prefill latency constraints while maximizing accuracy by proposing CoinRAG (Contextualized Information Nugget KV Cache Reuse for Long-Context RAG). The name metaphorically reflects our core mechanism: much like assembling small tokens (or "coins") to accumulate a larger value, CoinRAG compositionally reuses offline-computed, fine-grained nugget caches to form a learned contextual representation efficiently in a more semantically relevant but compact manner. Specifically, instead of full-chunk encoding, CoinRAG identifies query-relevant semantic units within retrieved chunks through two-stage retrieval and seamlessly assembles their sliced KV representations with a chunk-level context. Extensive evaluations on LongBench multi-hop question answering tasks demonstrate that CoinRAG significantly reduces operational costs and outperforms the other baselines with a new Pareto frontier and an average 5.3% relative improvement in answer quality (F1) under a standard fast prefill latency budget.

来源:HuggingFace Daily Papers(社区热门论文) · arxiv.org