← 研踪 PaperTrailarXiv:2612.01288 · v1
CARVE: Efficient Cache-Fused RAG with Task-Aware Recomputation and KV-Scaling
首次提交 2026-12-01 16:49
版本更新 2026-12-01 16:49
雷达观测 2026-12-02 23:12
摘要
Retrieval-augmented generation (RAG) improves LLM generation quality by incorporating retrieved context into prompts. However, full-prompt prefill, which processes the complete RAG prompt, becomes increasingly expensive as the retrieved context grows, increasing time-to-first-token (TTFT). Existing systems reduce this cost by prefilling retrieved chunks independently and stitching their cached KV states at request time, but this omits cross-chunk interactions. Recent systems partially repair these interactions through token-level selective recomputation, recomputing a subset of token positions while reusing the remaining cached KV states. However, such position-wise selection may miss task-relevant cross-chunk interactions. It can also fragment coherent context, while reused content can distract generation. To address these limitations, we present CARVE, a KV-cache reuse system that performs task-aware cross-chunk repair at chunk-pair granularity. CARVE uses Entity-Linked Planner, which consists of an offline entity--chunk graph and an online query-conditioned planner, to identify and recompute task-relevant repair pairs, while Position-Aware KV Scaling is leveraged to scale reused VALUE vectors to reduce the distracting influence of reused content on generation. Chunk reordering and pipelined execution further reduce serving overhead. Across three datasets and five models, CARVE improves F1 over CacheBlend by 4.1 points on average at a comparable recomputation ratio and achieves an 8.71--62.31 TTFT speedup over full-prompt prefill.
观测到的版本
相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。
v1 · 2026-12-01 16:49 · 最新观测版本
CARVE: Efficient Cache-Fused RAG with Task-Aware Recomputation and KV-Scaling
Retrieval-augmented generation (RAG) improves LLM generation quality by incorporating retrieved context into prompts. However, full-prompt prefill, which processes the complete RAG prompt, becomes increasingly expensive as the retrieved context grows, increasing time-to-first-token (TTFT). Existing systems reduce this cost by prefilling retrieved chunks independently and stitching their cached KV states at request time, but this omits cross-chunk interactions. Recent systems partially repair these interactions through token-level selective recomputation, recomputing a subset of token positions while reusing the remaining cached KV states. However, such position-wise selection may miss task-relevant cross-chunk interactions. It can also fragment coherent context, while reused content can distract generation. To address these limitations, we present CARVE, a KV-cache reuse system that performs task-aware cross-chunk repair at chunk-pair granularity. CARVE uses Entity-Linked Planner, which consists of an offline entity--chunk graph and an online query-conditioned planner, to identify and recompute task-relevant repair pairs, while Position-Aware KV Scaling is leveraged to scale reused VALUE vectors to reduce the distracting influence of reused content on generation. Chunk reordering and pipelined execution further reduce serving overhead. Across three datasets and five models, CARVE improves F1 over CacheBlend by 4.1 points on average at a comparable recomputation ratio and achieves an 8.71--62.31 TTFT speedup over full-prompt prefill.
查看此版本解读 →查看此版本原文 ↗