arXiv:2612.01288v1 cs.LG

CARVE: Efficient Cache-Fused RAG with Task-Aware Recomputation and KV-Scaling

Yanting Chen, Shijie Yu, Leyi Yang, Honyi Li, Sen Liu, Jie Wu

제출 2026-12-02

원문 초록

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$\times$ TTFT speedup over full-prompt prefill.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2612.01288v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.