Lune

EuroSys2025顶会

CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion

Jiayi Yao, Hanchen Li, Yuhan Liu, Siddhant Ray, Yihua Cheng, Qizheng Zhang, Kuntai Du, Shan Lu, Junchen Jiang

摘要

Large language models (LLMs) often incorporate multiple text chunks in their inputs to provide the necessary contexts. To speed up the prefill of the long LLM inputs, one can pre-compute the KV cache of a text and re-use the KV cache when the context is reused as the prefix of another LLM input. However, the reused text chunks are not always the input prefix, which makes precomputed KV caches not directly usable since they ignore the text's cross-attention with the preceding texts. Thus, the benefits of reusing KV caches remain largely unrealized.

This paper tackles just one challenge: when an LLM input contains multiple text chunks, how to quickly combine their precomputed KV caches in order to achieve the same generation quality as the expensive full prefill (i.e., without reusing KV cache)? This challenge naturally arises in retrieval-augmented generation (RAG) where the input is supplemented with multiple retrieved texts as the context. We present CacheBlend, a scheme that reuses the precomputed KV caches, regardless prefix or not, and selectively recomputes the KV values of a small subset of tokens to partially update each reused KV cache. In the meantime, the small extra delay for recomputing some tokens can be pipelined with the retrieval of KV caches within the same job, allowing CacheBlend to store KV caches in slower devices with more storage capacity while retrieving them without increasing the inference delay. By comparing CacheBlend

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 57 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference 引用了 KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization
  • IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference 引用了 CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving
  • IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model Inference 引用了 SGLang: Efficient Execution of Structured Language Model Programs
  • CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving 引用了 KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization
  • CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving 引用了 Language Models are Few-Shot Learners
  • CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving 引用了 SGLang: Efficient Execution of Structured Language Model Programs
  • KVLink: Accelerating Large Language Models via Efficient KV Cache Reuse 引用了 H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models 引用了 Language Models are Few-Shot Learners
  • KVCOMM: Online Cross-context KV-cache Communication for Efficient LLM-based Multi-agent Systems 引用了 CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving
  • KVCOMM: Online Cross-context KV-cache Communication for Efficient LLM-based Multi-agent Systems 引用了 KVLink: Accelerating Large Language Models via Efficient KV Cache Reuse
  • KVCOMM: Online Cross-context KV-cache Communication for Efficient LLM-based Multi-agent Systems 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • KVCOMM: Online Cross-context KV-cache Communication for Efficient LLM-based Multi-agent Systems 引用了 Language Models are Few-Shot Learners
  • KVCOMM: Online Cross-context KV-cache Communication for Efficient LLM-based Multi-agent Systems 引用了 SGLang: Efficient Execution of Structured Language Model Programs
  • Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 Language Models are Few-Shot Learners
  • SGLang: Efficient Execution of Structured Language Model Programs 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
  • SGLang: Efficient Execution of Structured Language Model Programs 引用了 Language Models are Few-Shot Learners
  • Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models 引用了 CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving
  • Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper57

  1. Agentic Context Engineering: Evolving Contexts for Self-Improving Language ModelsQizheng Zhang, Changran Hu, Shubhangi Upasani, Boyuan Ma 等ICLR 2026 · 374 次引用
  2. CacheGen: KV Cache Compression and Streaming for Fast Large Language Model ServingYuhan Liu, Hanchen Li, Yihua Cheng, Siddhant Ray 等SIGCOMM 2024 · 111 次引用
  3. KVLink: Accelerating Large Language Models via Efficient KV Cache ReuseJingbo Yang, Bairu Hou, Wei Wei, Yujia Bao 等NeurIPS 2025 · 83 次引用
  4. KVCOMM: Online Cross-context KV-cache Communication for Efficient LLM-based Multi-agent SystemsHancheng Ye, Zhengqi Gao, Mingyuan Ma, Qinsi Wang 等NeurIPS 2025 · 42 次引用
  5. IMPRESS: An Importance-Informed Multi-Tier Prefix KV Storage System for Large Language Model InferenceWeijian Chen, Shuibing He, Haoyang Qu, Ruidong Zhang 等FAST 2025 · 40 次引用

它引用的 Paper20

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. SGLang: Efficient Execution of Structured Language Model ProgramsLianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Chuyue Sun 等NeurIPS 2024 · 1,586 次引用
  3. Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
  4. H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language ModelsZhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen 等NeurIPS 2023 · 1,003 次引用
  5. KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache QuantizationColeman Hooper, Sehoon Kim, Hiva Mohammadzadeh, Michael W. Mahoney 等NeurIPS 2024 · 738 次引用

相关 Paper

  1. From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented GenerationJiahao Wang, Weiyu Xie, Mingxing Zhang, Boxin Zhang 等SIGMOD 2026 · 4 次引用
  2. Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented GenerationShubham Agarwal, Sai Sundaresan, Subrata Mitra, Debabrata Mahapatra 等SIGMOD 2025 · 20 次引用
  3. ProphetKV: User-Query-Driven Selective Recomputation for Efficient KV Cache Reuse in Retrieval-Augmented GenerationShihao Wang, Jiahao Chen, Yanqi Pan, Hao Huang 等ICML 2026 · 4 次引用
  4. TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked TextSongshuo Lu, Hua Wang, Yutian Rong, Zhi Chen 等EMNLP 2025 · 2 次引用
  5. Sparse Attention Across Multiple-Context KV CacheZiyi Cao, Qingyi Si, Jingbin Zhang, Bingquan LiuAAAI 2026 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖