Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation
Open accessAbstract
Retrieval-Augmented Generation (RAG) is often used with Large Language Models (LLMs) to infuse domain knowledge or user-specific information. In RAG, given a user query, a retriever extracts chunks of relevant text from a knowledge base. These chunks are sent to an LLM as part of the input prompt. Typically, any given chunk is repeatedly retrieved across user questions. However, currently, for every question, attention layers in LLMs fully compute the Keys and Values (KVs) repeatedly for the input chunks, as state-of-the-art methods cannot reuse KV-caches when chunks appear at arbitrary locations or with arbitrary contexts. Naive reuse leads to output quality degradation. This leads to potentially redundant computations on expensive GPUs and increases latency. In this work, we propose Cache-Craft , a system for managing and reusing precomputed KVs corresponding to the text chunks (which we call chunk-caches ) in RAG-based systems. We present how to identify chunk-caches that are reusable, how to efficiently perform a small fraction of recomputation to fix the cache and maintain output quality, and how to efficiently store and evict chunk-caches in the hardware for maximizing reuse while masking any overheads. With real production workloads as well as synthetic datasets, we show that Cache-Craft reduces redundant computation by 51% over SOTA prefix-caching and 75% over full recomputation. Additionally, with continuous batching on a real production workload, we get a 1.6× speed up in throughput for both the LLama-3-8B and 70B models and a 2.1× and 2× reduction in end-to-end response latency respectively, compared to prefix-caching, while maintaining generation quality.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
11 of 22 cited sources checked · 3 supported · 3 flagged · accuracy not yet measured
- Premisecitation
Most prior KV reuse works assume prefix-match, which is impractical for RAG-systems.
“Most of these assume prefix-match [29,41,53,54,85], which is impractical for RAG-systems.”
Quote in the paperSubstantial claim2 of 5 sources checked- cites [29] 29. Bin Gao, Zhuomin He, Puru Sharma, Qingxuan Kang, Djordje Jevdjic, Junbo Deng, Xingkun Yang, Zhou Yu, and Pengfei Zuo. 2024. AttentionStore: Cost-effective Attention Reuse across Multi-turn Conversations in Large Language Model Serving. arXiv preprint arXiv:2403.19708 (2024). source
Section 5 (Related Work; page unavailable) says RadixAttention and ChunkAttention share KV caches between tasks with the same prompt prefixes. It does not establish that most prior KV-reuse works require prefix matching or discuss whether prefix matching is impractical for RAG systems. (LLM, conf=0.85)
Experimental — accuracy not yet measured - cites [41] 41. Chao Jin, Zili Zhang, Xuanlin Jiang, Fangyue Liu, Xin Liu, Xuanzhe Liu, and Xin Jin. 2024. RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation. arXiv preprint arXiv:2404.12457 (2024). source
- cites [53] 53. Shu Liu, Asim Biswal, Audrey Cheng, Xiangxi Mo, Shiyi Cao, Joseph E Gonzalez, Ion Stoica, and Matei Zaharia. 2024. Optimizing llm queries in relational workloads. arXiv preprint arXiv:2403.05821 (2024). source
The paper does use shared prompt prefixes for KV-cache reuse (LLM inference), but it does not describe prefix matching as impractical for RAG. Instead, its RAG-query experiment reports that reordering retrieved contexts improves prefix reuse and speeds execution (User Prompt – Multi-LLM Invocation; page unavailable in our copy). It does not establish that most prior KV-reuse works assume prefix matching. (LLM, conf=0.83)
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measured - cites [54] 54. Yuhan Liu, Hanchen Li, Kuntai Du, Jiayi Yao, Yihua Cheng, Yuyang Huang, Shan Lu, Michael Maire, Henry Hoff- mann, Ari Holtzman, et al. 2023. Cachegen: Fast context loading for language model applications. arXiv preprint arXiv:2310.07240 (2023). source
- cites [85] 85. Lianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Jeff Huang, Chuyue Sun, Cody_Hao Yu, Shiyi Cao, Christos Kozyrakis, Ion Stoica, Joseph E Gonzalez, et al. 2023. Efficiently Programming Large Language Models using SGLang. (2023).
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Premisecitation
State-of-the-art methods cannot reuse KV-caches when chunks appear at arbitrary locations or with arbitrary contexts.
“as state-of-the-art methods cannot reuse KV-caches when chunks appear at arbitrary locations or with arbitrary contexts.”
Quote in the paperSubstantial claim1 of 3 sources checked- cites [43] 43. Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles. 611-626. source
The Introduction says existing serving systems cannot share KV caches between sequences because they store them in separate contiguous spaces. Section 3 also says generated KV caches depend on context and position. The paper does not specifically assess reuse of chunks appearing at arbitrary locations or in arbitrary contexts, so the claim is broader than its findings. (LLM, conf=0.83)
Experimental — accuracy not yet measured - cites [54] 54. Yuhan Liu, Hanchen Li, Kuntai Du, Jiayi Yao, Yihua Cheng, Yuyang Huang, Shan Lu, Michael Maire, Henry Hoff- mann, Ari Holtzman, et al. 2023. Cachegen: Fast context loading for language model applications. arXiv preprint arXiv:2310.07240 (2023). source
- cites [85] 85. Lianmin Zheng, Liangsheng Yin, Zhiqiang Xie, Jeff Huang, Chuyue Sun, Cody_Hao Yu, Shiyi Cao, Christos Kozyrakis, Ion Stoica, Joseph E Gonzalez, et al. 2023. Efficiently Programming Large Language Models using SGLang. (2023).
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Findingown data
In Sys-X, prefill accounts for up to 55.4% of total inference time.
“In Sys-X, it accounts for up to 55.4% of total inference time.”
- Also stated in: § 2.2 Prefill Dominates Decode in RAG · plain
“For Sys-X, prefill accounts for 55.4% of total time and 19.3x decode operations.”
Quote in the paperSubstantial claim - Also stated in: § 2.2 Prefill Dominates Decode in RAG · plain
- Findingown data
Output deviations increase with higher CCI and higher 1-β', indicating greater fixing requirements.
“Fig. 12 shows how output deviations increase with higher 𝐶𝐶𝐼 and higher 1 -𝛽 ′ , indicating greater fixing requirements.”
Quote in the paperSubstantial claim - Findingown data
The number of prefill tokens is significantly more than decode: 30k prefill tokens for 600 decode tokens on average.
“Fig. 1 shows a disparity in the number of tokens between prefill and decode: 30k prefill tokens for 600 decode tokens on average.”
Quote in the paperSubstantial claim
- Findingown data
For RAG systems, the prefill phase typically dominates both the amount of token computation and total latency, despite being highly parallelized.
“Contrary to the popular belief that decoding is slow in LLMs, for RAG-systems prefill phase typically dominates both the amount of token computation and total latency, despite being highly parallelized.”
- Also stated in: § Cache-Craft: · boosted
“We analyze real production workloads to show that RAG systems are prefill-heavy, yet prefix caching remains ineffective.”
Quote in the paperSubstantial claim - Also stated in: § Cache-Craft: · boosted
- Findingown data
On Sys-X, Lingua2 (0.56) and MapReduce (0.61) score significantly lower than Cache-Craft.
“Table 1 further compares Cache-Craft with prompt compression techniques, where Lingua2 (0.56) and MapReduce (0.61) score significantly lower on the Sys-X dataset.”
Quote in the paperNot a substantial claim - Findingreasoning
Random token selection can lower performance even below Full-Cache because it neglects key contextual tokens and overpowers wrong tokens.
“Notably, random selection can lower performance even below Full-Cache as it neglects the key contextual tokens and overpowers wrong tokens, which can even overshadow crucial ones.”
Quote in the paperSubstantial claim - Findingown data
Naive reuse of KV-caches precomputed across different requests significantly degrades output quality, with a 50% drop in F1 score when all 5 chunks are reused from five distinct past requests.
“A naive reuse of KV-caches that were precomputed across different requests significantly degrades output quality.Our findings in Fig. 8b show a 50% drop in F1 score when all 5 chunks are reused from five distinct past requests, highlighting the need for a more sophisticated and context-aware reuse strategy.”
Quote in the paperSubstantial claim - Findingown data
For approximately 80% of queries, focused chunks can be detected between layers 10 and 15 for the LLaMA-3-8B model.
“Fig. 17 illustrates that for approximately 80% of queries, focused chunks can be detected between layers 10 and 15 for the LLaMA-3-8B model.”
Quote in the paperSubstantial claim - Findingown data
Reuse density for prefix-caching drops significantly as k increases, reaching as low as 5 for k=5.
“We analyze reuse density for 3 datasets over the most recent 1000 requests in Fig. 6b, and find that it drops to as low as 5 for 𝑘 = 5.”
Quote in the paperSubstantial claim - Findingcitation
The stable, highly reused chunks (119 GB for LLaMA-3-70B) fit comfortably within the 135 GB free GPU memory budget.
“In this workload, these stable, highly reused chunks (119 GB for LLaMA-3-70B) fit comfortably within the 135 GB free GPU memory budget (corresponding to LLaMa-3-70B hosted on 4 A100-80GB GPUs [13], with Tensor-Parallelism).”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [13] 13. Jack Choquette, Wishwesh Gandhi, Olivier Giroux, Nick Stam, and Ronny Krashinsky. 2021. NVIDIA A100 Tensor Core GPU: Performance and Innovation. IEEE Micro 41, 2 (2021), 29-35. https://doi.org/10.1109/MM.2021.3061394 source
- Findingown data
The trend of improvement with recomputation is consistent across single-hop QA and summarization datasets, with ≈20-35% improvements for both 8B and 70B models.
“This trend is consistent across single-hop QA and summarization datasets, with ≈20-35% improvements for both 8B and 70B models.”
Quote in the paperSubstantial claim - Findingnone given
In real production workloads, prefill time can often exceed 100 seconds when serving multiple concurrent users.
“In real production workloads, the prefill time can often exceed 100 seconds when serving multiple concurrent users.”
Quote in the paperNot a substantial claim - Findingown data
The majority of tokens (60% to 98%) in Sys-X come from retrieved chunks from a knowledge base.
“The majority of the tokens (60% to 98%) come from retrieved chunks from a knowledge base (in blue).”
Quote in the paperSubstantial claim - Findingown data
Prefix caching remains ineffective in RAG systems.
“We analyze real production workloads to show that RAG systems are prefill-heavy, yet prefix caching remains ineffective.”
Quote in the paperSubstantial claim - Findingown data
Increasing recomputation to 45% and 60% for LLaMA-3-8B, and 30% and 40% for LLaMA-3-70B, further improves ROUGE scores, reaching within 1-5% of Full-Recomp across all datasets.
“Moreover, increasing recomputation to 45% and 60% for LLaMA-3-8B, and 30% and 40% for LLaMA-3-70B, further improves ROUGE scores, reaching within 1-5% of Full-Recomp across all datasets.”
Quote in the paperSubstantial claim - Findingown data
Under continuous batching on a real production workload, Cache-Craft achieves a 1.6× speedup in throughput for both LLaMA-3-8B and 70B models compared to prefix-caching.
“Additionally, with continuous batching on a real production workload, we get a 1.6× speed up in throughput for both the LLaMA-3-8B and 70B models”
- Also stated in: § Cache-Craft: · plain
“Under continuous batching through ORCA for Sys-X, Cache-Craft improves throughput by 1.6× and reduces end-to-end response latency by 2.1× for LLaMA-3-8B model and for LLaMA-3-70B, it provides a 1.6× speedup in throughput and 2× reduction in end-to-end response latency compared to prefix-caching ( §5.3).”
Quote in the paperSubstantial claim - Also stated in: § Cache-Craft: · plain
- Findingown data
Cache-Craft results in a 51% average reduction in token computation compared to Prefix-Cache.
“This results in a 51% average reduction in Fig. 26: Snapshot of 𝑀𝑋 𝑁 Cache-Store for Sys-X trace captured at the end token computation compared to Prefix-Cache.”
Quote in the paperSubstantial claim - Findingown data
Quality consistently increases with larger chunk sizes, stabilizing around 0.92.
“The brown line demonstrates that quality consistently increases with larger chunk sizes, stabilizing around 0.92”
Quote in the paperSubstantial claim - Findingown data
Varying α from 0.5 to 3 yields an increasing quality trend: 0.825 for α = 0.5, 0.896 for α = 1, 0.94 for α = 2, and 0.953 for α = 3.
“We also explore varying 𝛼 values from 0.5 to 3, revealing an increasing quality trend: 0.825 for 𝛼 = 0.5, 0.896 for 𝛼 = 1, 0.94 for 𝛼 = 2, and 0.953 for 𝛼 = 3.”
Quote in the paperNot a substantial claim - Findingreasoning
Cache-Craft becomes more effective in reducing TTFT latency as the model size increases.
“As shown in Fig. 24b, Cache-Craft becomes more effective in reducing TTFT latency as the model size increases.”
Quote in the paperNot a substantial claim - Findingown data
When fixed recomputation is applied without CCI via random selection, quality declines dramatically to a ROUGE score of 0.73.
“Additionally, when fixed recomputation is applied without 𝐶𝐶𝐼 (via random selection), quality declines dramatically to a ROUGE score of 0.73.”
Quote in the paperSubstantial claim - Findingown data
On 2wikiMQA using LLaMA-3-8B, Full KV Cache reuse with fixed RPE yields a baseline score of 0.665.
“We obtain a baseline score of 0.665 from Full KV Cache reuse with fixed RPE.”
Quote in the paperNot a substantial claim - Findingown data
The preference for Cache-Craft was statistically significant (p-value < 0.05).
“The preference for Cache-Craft was also statistically significant (p-value < 0.05).”
Quote in the paperSubstantial claim - Findingreasoning
Cache-Craft reduces TTFT latency by independent caching of prior context.
“Cache-Craft reduces TTFT latency by independent caching of prior context.”
Quote in the paperSubstantial claim - Findingnone given
The proportion of TTFT in overall response latency increases as the system load increases.
“The proportion of TTFT in overall response latency increases as the system load increases.”
Quote in the paperSubstantial claim - Findingown data
Through layer-wise preloading, loading only the first 24 out of 32 layers in advance further reduces SSD overhead to 0.12s.
“Through layer-wise preloading, loading only the first 24 (out of a total of 32) layers in advance further reduces SSD overhead to 0.12s.”
Quote in the paperSubstantial claim - Findingown data
Output deviation decreases with more recomputation.
“Fig.15:Output deviation decreases with more recomputation.”
Quote in the paperSubstantial claim - Findingown data
When excluding request wait time, the latency reduction at high load is even more pronounced (3.22× compared to 2.64×).
“However, when excluding request wait time, the latency reduction at high load is even more pronounced (3.22× compared to 2.64×).”
Quote in the paperNot a substantial claim - Findingown data
Quality with more chunks exhibits a similar upward trend but slightly declines after saturation, approximately 0.91.
“The blue line, representing quality with more chunks, exhibits a similar upward trend but slightly declines after saturation (approximately 0.91).”
Quote in the paperNot a substantial claim - Findingown data
A 30% recomputation level for LLaMA-3-70B is sufficient to ensure a minimum of 90% of the base ROUGE F1 score.
“Notably, a 30% recomputation level for LLaMA-3-70B is sufficient to ensure a minimum of 90% of the base ROUGE F1 score.”
Quote in the paperSubstantial claim - Findingown data
CCI score is mainly from the top recomputation candidates.
“Fig.14: 𝐶𝐶𝐼 score is mainly from the top recomputation candidates.”
Quote in the paperNot a substantial claim - Findingown data
Cache-Craft provides 3× reduction in the 99th percentile TTFT latency.
“Cache-Craft provides 3× reduction in the 99th percentile TTFT latency.”
Quote in the paperSubstantial claim - Findingown data
Prefill takes up an increasing proportion of total time for larger batch sizes.
“Prefill takes up an increasing proportion of total time for larger batch sizes.”
Quote in the paperNot a substantial claim - Findingown data
Retrieved RAG chunks, such as document sections in Sys-X, typically exhibit low interdependencies, as attention scores decline with token distance.
“(1) Retrieved RAG chunks, such as document sections in Sys-X, typically exhibit low interdependencies, as attention scores decline with token distance.”
Quote in the paperSubstantial claim - Findingreasoning
Cache-Craft achieves a ROUGE score of 0.896 with just 30% recomputation.
“Notably, Cache-Craft achieves a ROUGE score of 0.896 with just 30% recomputation”
Quote in the paperSubstantial claim - Findingown data
As batch-size increases for LLaMA-3-8B, Cache-Craft is more effective in controlling the TTFT latency increase compared to all other methods because it requires much less recomputation to maintain quality.
“In Fig. 24d, we show for LLaMA-3-8B as we increase batch-size, Cache-Craft is more effective in controlling the TTFT latency increase as compared to all other methods because it requires much less recomputation to maintain quality.”
Quote in the paperSubstantial claim - Findingown data
Current methods like prefix-caching suffer under heavy load, with TTFT reaching 35s for LLaMA-3-70B on 4 A100 GPUs.
“Current methods like prefix-caching suffer under heavy load, with TTFT reaching 35s for LLaMA-3-70B on 4 A100 GPUs (Fig. 29).”
Quote in the paperSubstantial claim - Findingown data
When the focused chunks filter is disabled, quality remains stable.
“Notably, when the”
Quote in the paperSubstantial claim - Interpretationown data
Cache-Craft's design ensures it can handle growth in chunk-cache size in the future.
“Hence, our design ensures we can handle growth in chunk-cache size in the future.”
Quote in the paperSubstantial claim - Interpretationown data
A method that can reuse the KV-cache of individual chunks at any position, without restricting to prefix order, would have a significantly high retrieval hit rate.
“On the other hand, a method that can reuse the KV-cache of individual chunks (pre-computed while serving a past request) at any position, without restricting to the prefix order, would have a significantly high retrieval hit rate as evidenced in Fig. 6a.”
Quote in the paperSubstantial claim - Interpretationreasoning
Cache-Craft's frequency-reuse update causes chunk-caches with higher prefix matches or less contextualization to become more reusable over time.
“Consequently, chunk-caches with higher prefix matches or less contextualization become more reusable, as indicated by increasing 𝑓 𝑟 over time.”
Quote in the paperSubstantial claim - Interpretationreasoning
If Tprefill ≥ Tload, preloading just one layer is sufficient due to the longer prefill time.
“If 𝑇 𝑝𝑟𝑒 𝑓 𝑖𝑙𝑙 ≥ 𝑇 𝑙𝑜𝑎𝑑 , preloading just one layer is sufficient due to the longer prefill time.”
Quote in the paperSubstantial claim - Premisereasoning
Precomputed KV-caches may not remain in GPU memory, as space is required for storing the LLM parameters and the growing KV-cache during the decode phase.
“Additionally, for RAG systems with large knowledge bases, precomputed KV-caches may not remain in GPU memory, as space is required for storing a) the LLM parameters and b) the growing KV-cache during the decode phase.”
Quote in the paperSubstantial claim - Interpretationreasoning
For higher loads, queue time can completely mask loading time, even from SSD.
“For higher loads, the queue time can completely mask the loading time, even from the SSD.”
Quote in the paperNot a substantial claim - Interpretationown data
Reusability of a chunk-cache can be assessed by determining how much a chunk's KV computation is influenced by external context versus its own tokens.
“From our analysis in Fig. 9 and 10, we observe that reusability can be assessed by determining how much a chunk's KV computation is influenced by external context (tokens outside the chunk) versus its own tokens.”
Quote in the paperSubstantial claim - Study design and conductown data
Cache-Craft is evaluated with LLaMA-3 in real deployment scenarios based on public traces.
“We evaluate Cache-Craft with LLaMA-3 in real deployment scenarios based on public traces.”
Quote in the paperSubstantial claim - Interpretationown data
Naive reuse of KV-caches leads to output quality degradation.
“Naive reuse leads to output quality degradation.”
- Also stated in: § 2.4 Why Cache-Reuse is non-trivial? · plain
“A naive reuse of KV-caches that were precomputed across different requests significantly degrades output quality.”
Quote in the paperSubstantial claim - Also stated in: § 2.4 Why Cache-Reuse is non-trivial? · plain
- Interpretationown data
Using asynchronous and layer-wise preloading, Cache-Craft significantly reduces loading delay to make chunk-caching effective.
“Using such asynchronous as well as layer-wise ( § 3.4.2) preloading, Cache-Craft significantly reduces loading delay to make chunk-caching effective.”
Quote in the paperSubstantial claim - Premisecitation
Prefill time increases quadratically with the length of input context due to attention computation in the transformer architecture.
“The prefill time increases quadratically with the length of input context, due to the attention computation in the transformer architecture [74].”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [74] 74. A Vaswani. 2017. Attention is all you need. Advances in Neural Information Processing Systems (2017).
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Interpretationreasoning
When Tload > Tprefill, preloading Lp layers minimizes wait times by eliminating layer execution gaps.
“When 𝑇 𝑙𝑜𝑎𝑑 > 𝑇 𝑝𝑟𝑒 𝑓 𝑖𝑙𝑙 , preloading 𝐿 𝑝 layers minimizes wait times by eliminating layer execution gaps.”
Quote in the paperSubstantial claim - Interpretationnone given
Preloading may not fully overlap with computation if the chunk-cache loading time exceeds the computation time for a layer, particularly when loading from SSDs.
“However, preloading may not fully overlap with computation if the chunk-cache loading time exceeds the computation time for a layer, particularly when loading from SSDs.”
Quote in the paperSubstantial claim - Interpretationown data
The drop in quality with more chunks indicates that focused chunk selection becomes less effective with too many chunks.
“This drop, highlighted in red on the plot, indicates that focused chunk selection becomes less effective with too many chunks.”
Quote in the paperSubstantial claim - Interpretationown data
The increasing quality trend with α indicates diminishing returns as recomputation increases, with a saturation point.
“However, this trend indicates diminishing returns as recomputation increases, highlighting a saturation point.”
Quote in the paperNot a substantial claim - Interpretationown data
The recomputation logic is reliable for longer contexts.
“which underscores the reliability of our recomputation logic for longer contexts.”
Quote in the paperSubstantial claim - Interpretationown data
Cache-Craft can provide a significant speed-up without compromising the quality for real production workloads as well as popular RAG datasets.
“we show that Cache-Craft can provide a significant speed-up without compromising the quality for real production workloads as well as popular RAG datasets.”
Quote in the paperSubstantial claim- Rests on an assumption: TTFT metric is critical in production.
- Interpretationown data
The decline in quality with more chunks is attributed to the error from the focused chunk selection mechanism.
“suggesting that the decline is attributed to the error from the focused chunk selection mechanism.”
Quote in the paperSubstantial claim - Interpretationown data
Correct positional encoding combined with selective recomputation can effectively approximate the benefits of full recomputation, which scores 1.0.
“demonstrating that correct positional encoding combined with selective recomputation can effectively approximate the benefits of full recomputation, which scores 1.0.”
Quote in the paperSubstantial claim - Interpretationown data
β minimizes unnecessary recomputation for well-matched chunks.
“emphasizing its role in minimizing unnecessary recomputation for well-matched chunks.”
Quote in the paperSubstantial claim
- Classified as probably not a substantial claim. 16
- May combine two claims. 70
- The quote only partly states this claim. 1
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationPrompt Cache reuses KV-caches at different positions but relies on a rigid prompt structure, leading to poor quality when the structure changes.
“Prompt Cache [31] reuses KV-caches at different positions but relies on a rigid prompt structure, leading to poor quality when the structure changes.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites [31] 31. In Gim, Guojun Chen, Seung-seob Lee, Nikhil Sarda, Anurag Khandelwal, and Lin Zhong. 2024. Prompt cache: Modular attention reuse for low-latency inference. Proceedings of Machine Learning and Systems 6 (2024), 325-338. source
Section 3.1 (p. 4) confirms that Prompt Cache reuses attention states across prompts derived from a schema, but says users can select or replace modules at runtime and that output quality is not affected when relative token positions are preserved. Section 5.6 (p. 10) describes more complicated prompt structures and reports maintained output quality. The paper therefore contradicts the claim that changing the structure leads to poor quality. (LLM, conf=0.87)
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measured
May combine two claims.
PremisecitationPrompt Cache enables KV cache reuse at arbitrary positions but struggles to maintain satisfactory generation quality due to inaccuracies in positional encoding and a lack of consideration for cross-attention.
“Although Prompt Cache [31] enables KV cache reuse at arbitrary positions, it struggles to maintain satisfactory generation quality due to inaccuracies in positional encoding and a lack of consideration for cross-attention.”
Quote in the paperSubstantial claim1 of 1 sources checked- cites [31] 31. In Gim, Guojun Chen, Seung-seob Lee, Nikhil Sarda, Anurag Khandelwal, and Lin Zhong. 2024. Prompt cache: Modular attention reuse for low-latency inference. Proceedings of Machine Learning and Systems 6 (2024), 325-338. source
The paper directly contradicts the claim that Prompt Cache struggles to maintain generation quality: §5.3 (p. 8) reports output accuracy comparable to the baseline. It does identify position dependence (§3.1, p. 3) and says masking attention across modules can degrade quality when modules are semantically dependent (§3.3, p. 6), but it does not attribute generally unsatisfactory quality to inaccurate positional encoding or an unaddressed lack of cross-module attention. (LLM, conf=0.88)
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measured
Classified as probably not a substantial claim.
PremisecitationRAG systems typically operate on a finite knowledge base.
“RAG systems typically operate on a finite knowledge base [46].”
Quote in the paperSubstantial claim1 of 1 sources checked- cites [46] 46. Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, et al. 2020. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in Neural Information Processing Systems 33 (2020), 9459-9474. source
May combine two claims.
FindingcitationFig. 2 shows prefill time increases with input token length across different batch sizes for LLaMA-3-70B using vLLM with 4 NVIDIA A100-80GB GPUs, reaching up to 76 seconds for 32k-token sequences at a batch size 8.
“Fig. 2 shows prefill time increases with input token length across different batch sizes for LLaMA-3-70B [72] using vLLM [43] with 4 NVIDIA A100-80GB GPUs, reaching up to 76 seconds for 32𝑘-token sequences at a batch size 8.”
Quote in the paperSubstantial claim2 of 2 sources checked- cites [72] 72. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, et al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971 (2023). source
The citation is attached to the model name LLaMA-3-70B, not to the citing paper’s prefill-time measurement. The Abstract (p. 1) identifies models ranging from 7B to 65B parameters; searches for “LLaMA-3-70B” and “70B LLaMA 3 model” found no passage identifying the cited paper as a source for that model. (LLM, conf=0.76)
Experimental — accuracy not yet measured - cites [43] 43. Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph Gonzalez, Hao Zhang, and Ion Stoica. 2023. Efficient memory management for large language model serving with pagedattention. In Proceedings of the 29th Symposium on Operating Systems Principles. 611-626. source
May combine two claims.
PremisecitationA chunk containing more tokens is more reusable because tokens closer to each other exhibit stronger attention due to positional embeddings, compared to distant tokens from other chunks.
“In fact, a chunk containing more tokens is more reusable because tokens closer to each other exhibit stronger attention due to positional embeddings, compared to distant tokens from other chunks [70].”
Quote in the paperSubstantial claim1 of 1 sources checked- cites [70] 70. Jianlin Su, Murtadha Ahmed, Yu Lu, Shengfeng Pan, Wen Bo, and Yunfeng Liu. 2024. Roformer: Enhanced transformer with rotary position embedding. Neurocomputing 568 (2024), 127063. source
Section 3.3 (p. 5) says RoPE’s query–key inner product decays as relative token distance increases, supporting the proximity-based part of the claim. It does not address chunks or establish that chunks containing more tokens are more reusable; its finding is also about inner products, not a guarantee that every closer pair receives stronger attention. (LLM, conf=0.88)
Experimental — accuracy not yet measured
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationAccording to prior studies, a ROUGE-L F1 score ≥ 0.6 is considered good, and a score ≥ 0.8 is considered almost indistinguishable from the original answer.
“Note, according to several prior studies [12,51], a ROUGE-L F1 score ≥ 0.6 is considered good, and a score ≥ 0.8 is considered almost indistinguishable from the original answer.”
Quote in the paperNot a substantial claim1 of 2 sources checked- cites [12] 12. Anthony Chen, Gabriel Stanovsky, Sameer Singh, and Matt Gardner. 2019. Evaluating question answering evaluation. In Proceedings of the 2nd workshop on machine reading for question answering. 119-124. source
Section 2 (Metrics) explains how ROUGE-L is computed, and Section 5.3 reports correlations with human judgments, but neither assigns quality labels to ROUGE-L F1 scores. Searches for the 0.6 and 0.8 thresholds and for the claimed descriptions found no supporting passage in our copy; the reported correlations are not individual answer scores. (LLM, conf=0.76)
Experimental — accuracy not yet measured - cites [51] 51. Chin-Yew Lin and FJ Och. 2004. Looking for a few good metrics: ROUGE and its evaluation. In Ntcir workshop.
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationA threshold of 0.7 is considered good for semantic similarity.
“while a threshold of 0.7 is considered good for semantic similarity [48].”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites [48] 48. Shuo Li, Sangdon Park, Insup Lee, and Osbert Bastani. 2024. TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Prediction. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), Kevin Duh, Helena Gomez, and Steven Bethard (Eds.). Association for Computational Linguistics, Mexico City, Mexico, 3799-3821. https://doi.org/10.18653/v1/2024.naacl-long.210 source
Probably not a substantial claim: may not pass S4 (based).
Findingnone givenIn RAG, a given chunk is typically repeatedly retrieved across user questions.
“Typically, any given chunk is repeatedly retrieved across user questions.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataA small subset of tokens in a chunk significantly impacts the CCI score, and recomputing these critical tokens reduces output deviation.
“We have observed that a small subset of tokens in a chunk significantly impacts the 𝐶𝐶𝐼 score (Fig. 14).Also, recomputing these critical tokens reduces output deviation (Fig. 15).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataPrefix-Cache offers exact answers, but due to low prefix match rates, 80-95% of tokens go through regular KV-computation, leading to very low compute savings.
“Prefix-Cache offers exact answers, but due to low prefix match rates, 80-95% of tokens go through regular KV-computation, leading to very low compute savings.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataPrefill-H2O shows only a modest 2-10% improvement over Full-Cache but struggles with multi-hop tasks.
“Prefill-H2O shows only a modest 2-10% improvement over Full-Cache but struggles with multi-hop tasks.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe 5-tuple retrieval hit rate is significantly lower than individual chunk hit rates and does not follow the power law.
“Fig. 6c shows that this hit rate is significantly lower compared to those of the individual chunks in Fig. 6a.However, a high hit rate is crucial for cache utilization.Moreover, unlike Fig. 6a, the distribution in Fig. 6c does not follow the power law”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataWhen inter-chunk attention weights and intra-chunk attention weights are highly overlapping, naive reuse of stale KV-cache results in a wrong output; when they are less overlapping, the precomputed KV-cache can lead to the right answer.
“We observe in Fig. 10 that when the values of intra-chunk attention weights (from 𝑄 𝐶 2 𝐾 𝑇 𝐶 2 ) and inter-chunk attention weights (from 𝑄 𝐶 2 𝐾 𝑇 𝐶 1 ) are highly overlapping, naive reuse of stale KV-cache results in a wrong output.Whereas if they are less overlapping, the precomputed KV-cache can lead to the right answer in Fig. 9.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor Sys-X, 75% of the retrieved chunks for a query were reprocessed, amounting to over 12B tokens in a month.
“For Sys-X, 75% of the retrieved chunks for a query were reprocessed, amounting to over 12B tokens in a month.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataUsing Full-Cache incurs no recomputation but yields low quality, with ROUGE score dropping to 0.65 for multi-hop QA datasets like 2wikiMQA and MuSiQue.
“Using Full-Cache incurs no recomputation but yields low quality, with the ROUGE score dropping to 0.65 for multi-hop QA datasets like 2wikiMQA and MuSiQue.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCache-Craft outperforms Full-Cache by up to 50% in short-QA and True/False tasks, achieving ROUGE score of 0.87 compared to 0.59.
“Fig. 21 further shows that Cache-Craft outperforms Full-Cache by up to 50% in short-QA and True/False tasks, achieving ROUGE score of 0.87, compared to 0.59.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIn production workloads, chunk-cache size grows with question diversity, but a small set of chunks remains crucial.
“In production workloads, the chunk-cache size grows with question diversity, but a small set of chunks remains crucial.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe top 5% of chunks are accessed by 60% of the requests in both Sys-X and MuSiQue, and 40% of requests in 2wikiMQA.
“The top 5% of chunks are accessed by 60% of the requests in both Sys-X and MuSiQue, and 40% requests in 2wikiMQA.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCache-Craft achieves a ROUGE score of 0.87 with only 20% token recomputation on Sys-X, outperforming Full-Cache reuse (0.59) and other recomputation strategies by about 20-30%.
“As shown in Fig. 20, Cache-Craft achieves a ROUGE score of 0.87 with only 20% token recomputation, outperforming Full-Cache reuse (0.59) and other recomputation strategies by about 20-30%.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCache-Craft reduces redundant computation by 51% over SOTA prefix-caching and 75% over full recomputation.
“With real production workloads as well as synthetic datasets, we show that Cache-Craft reduces redundant computation by 51% over SOTA prefix-caching and 75% over full recomputation.”
- Also stated in: § Cache-Craft: · plain
“We show that it achieves a 51% reduction in GPU computation costs for production workloads compared to prefix-caching ( §5.4).”
Quote in the paperSubstantial claim- Also stated in: § Cache-Craft: · plain
May combine two claims.
Findingown dataIn Sys-X, most chunk reuse occurs across users (94%), with reuse within a session at 55% and across sessions at 67%.
“In Sys-X, most chunk reuse occurs across users (94%), with reuse within a session at 55% and across sessions at 67%.”
Quote in the paperSubstantial claimMay combine two claims.
Findingnone givenFor 5 RAG chunk-caches corresponding to a request in Sys-X, loading time is 0.03s from CPU and 0.59s from SSD.
“For example, the loading time required for 5 RAG chunk-caches corresponding to a request in Sys-X takes 0.03s from CPU and 0.59s from SSD.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIn production workloads, exact prefix caching applies to only 8% of requests and 18% of total prefill tokens.
“In our production workloads, we found that exact prefix caching applies to only a small fraction (8%) of requests and 18% of total prefill tokens.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataUnder continuous batching on a real production workload, Cache-Craft reduces end-to-end response latency by 2.1× for LLaMA-3-8B and 2× for LLaMA-3-70B compared to prefix-caching.
“and a 2.1× and 2× reduction in end-to-end response latency respectively, compared to prefix-caching, while maintaining generation quality.”
- Also stated in: § Cache-Craft: · plain
“Under continuous batching through ORCA for Sys-X, Cache-Craft improves throughput by 1.6× and reduces end-to-end response latency by 2.1× for LLaMA-3-8B model and for LLaMA-3-70B, it provides a 1.6× speedup in throughput and 2× reduction in end-to-end response latency compared to prefix-caching ( §5.3).”
Quote in the paperSubstantial claim- Also stated in: § Cache-Craft: · plain
May combine two claims.
Findingown dataFor Sys-Y, prefill accounts for 76% of total time and 46× decode operations.
“Sys-Y takes 76% of the time and 46× the operations, while LMSys uses 22% time and 4.4× operations.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIn Sys-X, a typical queue wait time is 0.32s, allowing preloading chunks from either CPU or SSD without impacting latency significantly.
“In Sys-X, a typical queue wait time is 0.32s, allowing for preloading chunks from either CPU or SSD without impacting latency significantly.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIn the user study, Full-Cache achieved significantly lower scores (30% on 2wikiMQA, 53% on SQuAD), whereas Cache-Craft consistently outperformed it (71% on 2wikiMQA, 79% on SQuAD).
“As illustrated in Table 2, Full-Cache achieved significantly lower scores (30% on 2wikiMQA, 53% on SQuAD), whereas Cache-Craft consistently outperformed it (71% on 2wikiMQA, 79% on SQuAD).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataSet-Cache gives slightly more savings of 15-35% by making prefixes permutation invariant but with lower ROUGE scores due to incorrect contextualization between chunk-caches.
“Set-Cache gives slightly more savings of 15-35% by making prefixes permutation invariant but with lower ROUGE scores due to incorrect contextualization between the chunk-caches.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThe focused-chunk early-termination approach reduces token recomputation by about 55% while maintaining similar output quality.
“In §6, we observe that this approach reduces token recomputation by about 55% while maintaining similar output quality.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor LMSys, prefill accounts for 22% of total time and 4.4× decode operations.
“Sys-Y takes 76% of the time and 46× the operations, while LMSys uses 22% time and 4.4× operations.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIn the user study, for answers with ROUGE-L F1 scores ≥ 0.6 and ≥ 0.8, 81% and 93% of users gave a YES, respectively.
“From our user study, we also analyzed this correlation and found that for answers with ROUGE-L F1 scores ≥ 0.6 and ≥ 0.8, 81% and 93% of users have given a YES, respectively.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataInter-attention scores vary during initial layers but after a certain number of layers settle into values that can segregate focused chunks from others.
“We find that while the inter-attention scores vary during the initial layers, after a certain number of layers, they settle into values that can segregate the focused chunks from the others.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataPrefix-Cache saves just 18% prefill tokens on Sys-X, proving ineffective.
“We also see that Prefix-Cache also saves just 18% prefill tokens, proving ineffective.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Findingnone givenPadding variable chunk sizes to align with 16-token blocks causes negligible output deviation.
“Such padding causes negligible output deviation.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataBy 3 months in Sys-X, chunk accesses increased to 24%, but 85% of requests still accessed just 14.8% of chunks, indicating minimal growth in the required chunk set.
“By 3 months, chunk accesses increased to 24%, but 85% of requests still accessed just 14.8%, indicating minimal growth in the required chunk set.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIn both cases, 30% of tokens are recomputed, which maintains about 90% of the base ROUGE F1 score on average.
“In both cases, 30% tokens are recomputed, which maintains about 90% of the base ROUGE F1 score on average.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataWith 30% recomputation, Cache-Craft gives ROUGE-F1 scores around 0.9, which is ≈100% higher than Lingua2 (0.4) and MapReduce (0.5) for 70% compression.
“In Table 1, it can be observed that with 30% recomputation, Cache-Craft gives ROUGE-F1 scores around 0.9, which is ≈100% higher than the scores for Lingua2 (0.4) and MapReduce (0.5), for 70% compression (i.e., comparable to 30% recomputation).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIn Sys-X, 20.6% of chunks were accessed over 1 month, with 85% of requests hitting only 13.5% of chunks.
“For example, in Sys-X, 20.6% of chunks were accessed over 1 month, with 85% of requests hitting only 13.5% of chunks.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataRecomputing 20% of tokens with LLaMA-3-8B improves ROUGE score by 30%, and 30% recomputation improves it by 42%.
“In contrast, recomputing 20% of tokens with LLaMA-3-8B improves the ROUGE score by 30%, and further by 42% with 30% recomputation.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataCache-Craft offers the best trade-off between recomputation budget and quality, outperforming all baselines with a ROUGE F1 score of 0.87 using 20% recomputation for Sys-X.
“Fig. 20 shows Cache-Craft offers the best trade-off between recomputation budget and quality, outperforming all baselines with a ROUGE F1 score of 0.87 using 20% recomputation for Sys-X”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataWith 30% token recomputation, maintaining 90% of the base ROUGE F1 score on average, Cache-Craft still achieves a 1.6× speedup in throughput and a 2.1× reduction in response latency for LLaMA-3-8B, and for LLaMA-3-70B a 1.6× speedup in throughput and a 2× reduction in response latency under high load.
“With 30% token recomputation, maintaining 90% of the base ROUGE F1 score on average, we still observe a 1.6× speedup in throughput and a 2.1× reduction in response latency for LLaMA-3-8B and for LLaMA-3-70B, the improvement is a 1.6× speedup in throughput and a 2× reduction in response latency under high load.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFixing causality without adjusting RPE yields minimal improvement (0.22), while optimizing RPE alone achieves 0.665, which serves as the Full-Cache baseline.
“Fixing causality without adjusting RPE yields minimal improvement (0.22) while optimizing RPE alone achieves 0.665, which serves as the Full-Cache baseline.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataDisabling focus chunking raises recomputation to 70% with minimal quality gains.
“Disabling focus chunking similarly raises recomputation to 70% with minimal quality gains”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor a large number of requests in Sys-X, all necessary chunks for top-k=5 retrieval were already in the cache, leading to a 5 out of 5 hit-rate.
“It can be observed that for a large number of requests, all the necessary chunks were already in the cache -leading to a 5 out of 5 hit-rate.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataReusing caches from nonprefix chunks significantly degrades performance, resulting in a ROUGE F1 score of 0.15 when neither RPE nor causality is fixed.
“In Table 3, we observe that reusing caches from nonprefix chunks significantly degrades performance, resulting in a ROUGE F1 score of 0.15 when neither RPE nor causality is fixed.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataUser study results show 78.9% user acceptance for Cache-Craft versus 83.7% for vanilla vLLM with exact computation using LLaMA-3-8B.
“This is also supported by our user study results, which show 78.9% user acceptance for Cache-Craft versus 83.7% for vanilla vLLM with exact computation using LLaMA-3-8B (Table 2).”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataCache-Craft reduces latency by 1.6× and 2.3× compared to Full-Recomp for LLaMA-3-8B and LLaMA-3-70B, respectively, with batch-size=4 and sequence length of 8192 tokens.
“Cache-Craft reduces latency by 1.6× and 2.3× compared to Full-Recomp for LLaMA-3-8B and LLaMA-3-70B, respectively, and with batch-size= 4 and sequence length of 8192 tokens.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataRecomputing attention scores for only 30% of carefully selected tokens while using precomputed caches for the rest achieves 93% of the user score of full attention computation, while significantly improving performance.
“Our evaluations in Fig. 20 and the qualitative user study in Table 2 show that recomputing attention scores for only 30% of carefully selected tokens, while using precomputed caches for the rest, achieves 93% of the user score of full attention computation, while significantly improving performance.”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningWith an average queue wait time of 0.32s for Sys-X, asynchronous preloading eliminates CPU overhead and reduces SSD overhead to 0.27s.
“With an average queue wait time of 0.32s (for Sys-X), asynchronous preloading eliminates CPU overhead and reduces SSD overhead to 0.27s, as 0.32s overlaps with queue time.”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningCPU loading overhead is 0s for Async and Layer because loading time is already less than queue time.
“CPU loading overhead is 0s for Async and Layer because loading time is already less than queue time.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataCache-Craft outperforms all baselines across different sequence lengths, and for 16k token length it is 1.7× faster than Full-Recomp.
“We can see Cache-Craft outperforms all baselines across different sequence lengths, and for 16k token length it is 1.7× faster than Full-Recomp.”
Quote in the paperSubstantial claim- The authors state this as an assumption: For Prefix-Cache, 60% of prefill tokens have a prefix match.
May combine two claims.
Findingown dataOn average, only 18% exact prefix match occurs for requests in Sys-X, rendering Prefix-Cache ineffective.
“This is because, on average, only 18% exact prefix match occurs for the requests received in the system, rendering Prefix-Cache ineffective.”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningCache-Craft achieves about 2.5× speedup for LLaMA-3-8B in TTFT latency over Prefix-Cache by recomputing 39% of tokens while maintaining 90% of the original quality.
“We observe about 2.5× speedup for LLaMA-3-8B in TTFT latency over Prefix-Cache by recomputing 39% of tokens while maintaining 90% of the original quality.”
Quote in the paperSubstantial claim- The authors state this as an assumption: For Prefix-Cache, 60% of prefill tokens have a prefix match.
May combine two claims.
FindingreasoningCache-Craft stores chunks independently, allowing it to store more chunks in HBM and achieve higher cache hit rates by reusing chunks in different combinations.
“Cache-Craft stores chunks independently, allowing to store more chunks in HBM and achieving higher cache hit rates by reusing chunks in different combinations.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataPrefix caching has low hit rates and high memory overhead.
“Unlike prefix caching, which has low hit rates and high memory overhead (Fig. 5a)”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataPrefill-H2O showed moderate improvement (52% on 2wikiMQA, 67% on SQuAD), outperforming Full-Cache but still lagging behind Cache-Craft.
“We also tested an alternative recomputation strategy, Prefill-H2O, which showed moderate improvement (52% on 2wikiMQA, 67% on SQuAD), outperforming Full-Cache but still lagging behind Cache-Craft.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataCache-Craft achieves up to a 1.9× speedup in throughput and a 3.3× reduction in response latency under a heavy load of 240 QPM for LLaMA-3-8B, and for LLaMA-3-70B it provides a 2× speedup in throughput and a 3.3× reduction in response latency under a heavy load of 120 QPM with no recomputation over Prefix-Cache.
“As shown in Fig. 22, Cache-Craft achieves up to a 1.9× speedup in throughput and a 3.3× reduction in response latency under a heavy load of 240 QPM (Queries per minute) for the LLaMA-3-8B model and for LLaMA-3-70B, it provides a 2× speedup in throughput and a 3.3× reduction in response latency under a similar heavy load of 120 QPM with no recomputation over Prefix-Cache.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataFor large chunks (>883 tokens) in Sys-X, the intra-attention is 2.18x inter-attention on average, with only 23% of chunks being highly contextualized.
“For large chunks (>883 tokens) in Sys-X, the intra-attention is 2.18x inter-attention on average, with only 23% of chunks being highly contextualized.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenIn Sys-X, the range of sequences varies from 600 to 20000 tokens, averaging around 5000 tokens.
“The range of sequences received by the system varies from 600 to 20000 tokens, averaging around 5000 tokens.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
FindingreasoningFor caches stored in GPU memory, there is no additional overhead for loading.
“Note that for caches stored in GPU memory, there is no additional overhead for loading.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataRemoving β increases recomputation to 54% without improving quality.
“Removing 𝛽 increases recomputation to 54% without improving quality”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningProcessing the reprocessed tokens for Sys-X would require 9600 hours of GPU compute on LLaMA-3-70B using 8 A100 GPUs, costing approximately $50,000.
“Processing these tokens would require 9600 hours of GPU compute on LLaMA-3-70B using 8 A100 GPUs, costing approximately $50,000.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataCache-Craft offers the best trade-off as its points on Fig. 20 are the furthest towards the top-left (ideal) corner.
“To summarize, Cache-Craft offers the best trade-off as its points on Fig. 20 are the furthest towards the top-left (ideal) corner.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
PremisecitationIn RAG pipelines, it is standard practice to retrieve a sufficient number of chunks from a large knowledge base and utilize the LLM to filter out irrelevant content for coherent answers.
“In RAG pipelines, it is a standard practice to retrieve a sufficient number of chunks from a large knowledge base and utilize the LLM to filter out irrelevant content for coherent answers [77].”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [77] 77. Zhiruo Wang, Jun Araki, Zhengbao Jiang, Md Rizwan Parvez, and Graham Neubig. 2023. Learning to filter context for retrieval-augmented generation. arXiv preprint arXiv:2311.08377 (2023). source
May combine two claims.
PremisereasoningUsing more chunks can improve response quality but a longer context would lead to even longer TTFT.
“Using more chunks can improve response quality but a longer context would lead to even longer TTFT.”
Quote in the paperSubstantial claimMay combine two claims. The quote only partly states this claim.
Interpretationown dataCache-Craft maintains generation quality while achieving its throughput and latency improvements.
“while maintaining generation quality.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationPrefix caching preserves output quality by maintaining causal attention.
“While this approach preserves the output quality by maintaining causal attention [74], its practical utility is very limited in RAG systems.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [74] 74. A Vaswani. 2017. Attention is all you need. Advances in Neural Information Processing Systems (2017).
Not checked in the free run.
Classified as probably not a substantial claim.
Study design and conductnone givenThe study uses two real production RAG systems, Sys-X and Sys-Y, for workload characterization, motivation, and evaluations.
“In this regard, we use two real production RAG systems, referred to as Sys-X and Sys-Y, for workload characterization, motivation, and evaluations.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim. May combine two claims.
InterpretationreasoningA high Cache Context Impact (CCI) for a cache indicates that the chunk is highly contextualized, reducing its potential for reuse unless the prefix context matches closely; a low CCI suggests the chunk is largely independent of its prefix context, making it more reusable across different contexts.
“A high value of the 𝐶𝐶𝐼 for a cache indicates that the chunk is highly contextualized, reducing its potential for reuse unless the prefix context matches closely.Conversely, a low 𝐶𝐶𝐼 suggests that the chunk is largely independent of its prefix context, making it more reusable across different contexts.”
Quote in the paperSubstantial claimMay combine two claims.
PremisecitationIndiscriminate reuse of KV-caches from previously processed parts of the knowledge base can disrupt the relative positions of tokens, violating causal attention and degrading output quality.
“Indiscriminate reuse of KV-caches from previously processed parts of the knowledge base can disrupt the relative positions of tokens, violating causal attention and degrading output quality [74].”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [74] 74. A Vaswani. 2017. Attention is all you need. Advances in Neural Information Processing Systems (2017).
Not checked in the free run.
May combine two claims.
PremisereasoningRAG-system-retrieved text chunks and their relative ordering are sensitive to the input question; a slight variation in the user question can result in different sets of chunks and ordering, rendering the prefix caching technique ineffective.
“This is because the RAG-system-retrieved text chunks and their relative ordering are sensitive to the input question.A slight variation in the user question can result in different sets of chunks and ordering, rendering the prefix caching technique ineffective.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductown dataThe analysis of token composition in Sys-X uses data from 25 sessions of a proprietary system.
“We analyze this in Fig. 5 using data from 25 sessions of a proprietary system, Sys-X.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
PremisereasoningThe latency of loading precomputed KV-caches into GPU memory must not negate the savings from bypassing recomputation.
“The latency of loading precomputed KV-caches into GPU memory must not negate the savings from bypassing recomputation, requiring efficient system design and implementation.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
Interpretationnone givenA higher ā/b ratio indicates greater outside contextual influence on the chunk's KV.
“A higher ā b ratio indicates greater outside contextual influence on the chunk's KV.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataCache-Craft identifies and recomputes critical tokens distorted by prior contexts, enhancing performance and minimizing missing or incorrect facts.
“Cache-Craft identifies and recomputes critical tokens distorted by prior contexts, enhancing performance and minimizing missing or incorrect facts.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningWhen prefill lengths are high, Cache-Craft can reduce TTFT significantly by reusing chunk-caches, avoiding quadratic computational complexity.
“However, note that when prefill lengths are high (leading to spikes), Cache-Craft can reduce TTFT significantly as by reusing chunk-caches, it avoids quadratic computational complexity ( §2).”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningWhile throughput is bounded by GPU capacity, latency improves significantly due to reduced queuing and computation load per request.
“While throughput is bounded by GPU capacity, latency improves significantly due to reduced queuing and computation load per request.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataCache-Craft selectively recomputes KV caches for a few contextualized tokens, producing outputs close to ideal.
“To address such chunks, Cache-Craft selectively recomputes KV caches for a few contextualized tokens, producing outputs close to ideal ( §3.2).”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningThe improvement in TTFT reduction with model size is due to the reduction of the number of tokens computed by Cache-Craft in each attention layer, with gains increasing as the number of layers grows for larger models.
“This improvement is due to the reduction of the number of tokens computed by Cache-Craft in each attention layer, with the gains increasing as the number of layers grows for larger models.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown dataBoth β and focused chunk selection are important in optimizing recompute efficiency.
“underscoring the importance of both 𝛽 and focused chunk selection in optimizing recompute efficiency.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
Interpretationown dataThe spikes in TTFT are due to text chunks in Sys-X being subsections of user manuals and unequal in size.
“Note, the spikes in TTFT are due to the fact that text chunks in Sys-X are subsections of the user manuals and are unequal in size.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataCache-Craft enables efficient KV-cache reuse for RAG without compromising quality.
“Cache-Craft enables efficient KV-cache reuse for RAG without compromising quality.”
Quote in the paperSubstantial claim- Rests on an assumption: TTFT metric is critical in production.
The authors state this as an assumption.
Higher prefix overlap implies greater reusability.
“Assuming that higher prefix overlap implies greater reusability, we calculate a Prefix Overlap Score 𝛽 for a chunk-cache of 𝐶 𝑖 corresponding to the current prompt sequence 𝑆 𝑛𝑒𝑤 as:”
The authors state this as an assumption.
For Prefix-Cache, 60% of prefill tokens have a prefix match.
“For Prefix-Cache, we scope generously by assuming 60% of prefill tokens have a prefix match, much higher than the 18% prefix match rate that we observed in production workloads for Sys-X.”
The paper relies on this without support.
Traditional cache policies like LRU, LFU, or FIFO do not offer the capability to manage storage dynamically by prioritizing caches that maximize reusability while minimizing recomputation.
“Traditional policies like LRU, LFU, or FIFO do not offer this capability.”
The paper relies on this without support.
TTFT metric is critical in production.
“(2) TTFT metric is critical in production.”
The paper relies on this without support.
The instructions in the prompt are the same across all prompts.
“The instructions in the prompt are the same across all prompts.”
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
Inter-chunk attention is defined in the forbidden causal direction
MinorChunk Ci precedes Cj when i < j, but the stated metric measures attention from Ci to Cj. Under the paper's causal-attention rule, those earlier tokens cannot attend to the later chunk, so this metric cannot measure the cross-chunk influence used by the cache-reuse method.
“Inter attention measures the cumulative attention weight from tokens in chunk 𝐶 𝑖 to tokens in chunk 𝐶 𝑗 where 𝑖 < 𝑗:”
“where ⊙ denotes element-wise product, and 𝑀 ∈ {0, 1} 𝑛×𝑛 is a lower triangular matrix, known as causal attention mask, to ensure each token attends only to its previous tokens.”
Intra-chunk attention sum selects future tokens
MinorThe sum restricts k < l, while akl is defined as attention from token k to token l. That selects attention to later tokens, contradicting both the description of this metric as attention to previous tokens and the stated causal rule.
“𝑖𝑛𝑡𝑟𝑎(𝐶 𝑖 ) = ∑︁ 𝑘,𝑙 ∈𝐶 𝑖 :𝑘<𝑙 𝑎 𝑘𝑙 .(4)”
“Intra attention measures the cumulative attention weight within chunk 𝐶 𝑖 from each token to previous tokens in the same chunk:”
The written attention mask does not enforce causality
MinorMultiplying future-token logits by zero before softmax gives those positions a nonzero softmax weight, rather than excluding them. Thus the displayed computation does not provide the causal masking claimed immediately afterward.
“Ṽ = softmax(𝑄𝐾 𝑇 ⊙ 𝑀)𝑉 ,(1)”
“where ⊙ denotes element-wise product, and 𝑀 ∈ {0, 1} 𝑛×𝑛 is a lower triangular matrix, known as causal attention mask, to ensure each token attends only to its previous tokens.”
Cites
MapReduce: simplified data processing on large clusters
Dean, J., & Ghemawat, S. (2008) · Communications of the ACM · doi:10.1145/1327452.1327492 · Cited by 18,476 · see citing works
LLaMA: Open and Efficient Foundation Language Models
Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Rozière, B., Goyal, N., Hambro, E., Azhar, F., et al. (2023) · arXiv · doi:10.48550/arxiv.2302.13971 · Cited by 4,602 · see citing works
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-T., Rocktäschel, T., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.11401 · Cited by 3,101 · see citing works
2017 USENIX Annual Technical Conference (USENIX ATC'17)
Quoc, D. L., Beck, M. S., Bhatotia, P., Chen, R., Fetzer, C. W., & Strufe, T. (2017) · Cited by 3,091 · see citing works
Abstractive Text Summarization using Sequence-to-sequence RNNs and Beyond
Nallapati, R., Zhou, B., dos Santos, C., Gulcehre, C., & Xiang, B. (2016) · Proceedings of The 20th SIGNLL Conference on Computational Natural Language Learning · doi:10.18653/v1/k16-1028 · Cited by 2,361 · see citing works
RoFormer: Enhanced transformer with rotary position embedding
Su, J., Ahmed, M., Lu, Y., Pan, S., Bo, W., & Liu, Y. (2024) · Neurocomputing · doi:10.1016/j.neucom.2023.127063 · Cited by 1,957 · see citing works
Efficient Memory Management for Large Language Model Serving with PagedAttention
Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., & Stoica, I. (2023) · Proceedings of the 29th Symposium on Operating Systems Principles · doi:10.1145/3600006.3613165 · Cited by 1,817 · see citing works
Efficient Memory Management for Large Language Model Serving with PagedAttention
Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J. E., Zhang, H., & Stoica, I. (2023) · arXiv · doi:10.48550/arxiv.2309.06180 · Cited by 1,802 · see citing works
Lost in the Middle: How Language Models Use Long Contexts
Liu, N. F., Lin, K., Hewitt, J., Paranjape, A., Bevilacqua, M., Petroni, F., & Liang, P. (2024) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00638 · Cited by 1,612 · see citing works
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
Dao, T., Fu, D. Y., Ermon, S., Rudra, A., & Ré, C. (2022) · arXiv · doi:10.48550/arxiv.2205.14135 · Cited by 1,214 · see citing works
SQuAD: 100,000+ Questions for Machine Comprehension of Text
Rajpurkar, P., Zhang, J., Lopyrev, K., & Liang, P. (2016) · arXiv · doi:10.48550/arxiv.1606.05250 · Cited by 678 · see citing works
Grattafiori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. (2024) · arXiv · doi:10.48550/arxiv.2407.21783 · Cited by 505 · see citing works
Self-citationClipper: A Low-Latency Online Prediction Serving System
Crankshaw, D., Wang, X., Zhou, G., Franklin, M. J., Gonzalez, J. E., & Stoica, I. (2016) · arXiv · doi:10.48550/arxiv.1612.03079 · Cited by 415 · see citing works
NVIDIA A100 Tensor Core GPU: Performance and Innovation
Choquette, J., Gandhi, W., Giroux, O., Stam, N., & Krashinsky, R. (2021) · IEEE Micro · doi:10.1109/mm.2021.3061394 · Cited by 410 · see citing works
Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyond
Nallapati, R. M., Zhou, B., dos Santos, C. N., et al. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1602.06023 · Cited by 371 · see citing works
Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context
Gemini Team, Georgiev, P., Lei, V. I., Burnell, R., Bai, L., Gulati, A., Tanzer, G., Vincent, D., Pan, Z., Wang, S., et al. (2024) · arXiv · doi:10.48550/arxiv.2403.05530 · Cited by 306 · see citing works
Self-citationLLM.int8(): 8-Bit Matrix Multiplication for Transformers at Scale
Dettmers, T., Lewis, M., Belkada, Y., & Zettlemoyer, L. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2198 · Cited by 305 · see citing works
Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Steps
Ho, X., Duong Nguyen, A.-K., Sugawara, S., & Aizawa, A. (2020) · Proceedings of the 28th International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.580 · Cited by 287 · see citing works
♫ MuSiQue: Multihop Questions via Single-hop Question Composition
Trivedi, H., Balasubramanian, N., Khot, T., & Sabharwal, A. (2022) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00475 · Cited by 283 · see citing works
A Survey on In-context Learning
Dong, Q., Li, L., Dai, D., Zheng, C., Ma, J., Li, R., Xia, H., Xu, J., Wu, Z., Liu, T., et al. (2023) · arXiv · doi:10.48550/arxiv.2301.00234 · Cited by 248 · see citing works
Shen, H., Chen, L., Jin, Y., Zhao, L., Kong, B., Philipose, M., Krishnamurthy, A., & Sundaram, R. (2019) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/3341301.3359658 · Cited by 238 · see citing works
DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphs
Dua, D., Wang, Y., Dasigi, P., Stanovsky, G., Singh, S., & Gardner, M. (2019) · arXiv · doi:10.48550/arxiv.1903.00161 · Cited by 238 · see citing works
The power of noise: Redefining retrieval for rag systems
Cuconasu, F., Trappolini, G., Siciliano, F., Filice, S., Campagnano, C., Maarek, Y., Tonellotto, N., & Silvestri, F. (2024) · Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval · doi:10.1145/3626772.3657834 · Cited by 236 · cited 1× · see citing works
“Contrary to the popular belief that decode is slow in LLMs, for RAG-systems prefill phase typically dominates both the amount of token computation and total latency, despite being highly parallelized.”
Ham, T. J., Lee, Y., Seo, S. H., Kim, S., Choi, H., Jung, S. J., & Lee, J. W. (2021) · 2021 ACM/IEEE 48th Annual International Symposium on Computer Architecture (ISCA) · doi:10.1109/isca52012.2021.00060 · Cited by 192 · see citing works
Approximate Query Processing: Taming the TeraBytes
Garofalakis, M., & Gibbon, P. B. (2001) · Very Large Data Bases · Cited by 182 · see citing works
LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Models
Jiang, H., Wu, Q., Lin, C.-Y., Yang, Y., & Qiu, L. (2023) · arXiv · Cited by 168 · see citing works
OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair Quantization
Guo, C., Tang, J., Hu, W., Leng, J., Zhang, C., Yang, F., Liu, Y., Guo, M., & Zhu, Y. (2023) · Proceedings - International Symposium on Computer Architecture/Proceedings · doi:10.1145/3579371.3589038 · Cited by 162 · see citing works
DeepCache: Accelerating Diffusion Models for Free
Ma, X., Fang, G., & Wang, X. (2024) · doi:10.1109/cvpr52733.2024.01492 · Cited by 136 · see citing works
DOTA: detect and omit weak attentions for scalable transformer acceleration
Qu, Z., Liu, L., Tu, F., Chen, Z., Ding, Y., & Xie, Y. (2022) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3503222.3507738 · Cited by 134 · see citing works
SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shot
Frantar, E., & Alistarh, D. (2023) · arXiv · doi:10.48550/arxiv.2301.00774 · Cited by 131 · see citing works
Real-Time Change Point Detection with Application to Smart Home Time Series Data
Aminikhanghahi, S., Wang, T., & Cook, D. J. (2019) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2018.2850347 · Cited by 123 · see citing works
Ren, K., Zheng, Q., Arulraj, J. J. P., et al. (2017) · Proceedings of the VLDB Endowment · doi:10.14778/3151106.3151108 · Cited by 121 · see citing works
Serving DNNs like Clockwork: Performance Predictability from the Bottom UpPreprint
Gujarati, A., Karimi, R. J., Alzayat, S., Hao, W., Kaufmann, A., Vigfússon, Ý., & Mace, J. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.02464 · Cited by 118 · see citing works
(2023) · doi:10.52202/075280-1506 · Cited by 113 · see citing works
On the jaccard similarity test
Ivchenko, G. I., & Honov, S. A. (1998) · Journal of Mathematical Sciences · doi:10.1007/bf02365362 · Cited by 109 · see citing works
Park, Y., Mozafari, B., Sorenson, J., et al. (2018) · doi:10.1145/3183713.3196905 · Cited by 108 · see citing works
Ofenbeck, G., Steinmann, R., Cabezas, V. C., Spampinato, D. G., & Püschel, M. (2014) · IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS) · doi:10.1109/ispass.2014.6844463 · Cited by 106 · cited 1× · see citing works
“Sheworkedtoreduceloadingtimes,whichimprovedengagement, leadingtoa30%decreaseinbounceratesandboughtin2Mfreshstudents.”
Crankshaw, D., Sela, G.-E., Mo, X., Zumar, C., Stoica, I. G., Gonzalez, J. E., & Tumanov, A. (2020) · ACM Symposium on Cloud Computing (SoCC) · doi:10.1145/3419111.3421285 · Cited by 105 · see citing works
Evaluating Question Answering Evaluation
Chen, A., Stanovsky, G., Singh, S., & Gardner, M. (2019) · Proceedings of the 2nd Workshop on Machine Reading for Question Answering · doi:10.18653/v1/d19-5817 · Cited by 105 · see citing works
Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM InferencePreprint
Dong, H., Yang, X.-Y., Zhang, Z. (., Wang, Z.-Y., Chi, Y., & Chen, B. (2024) · International Conference on Machine Learning · doi:10.48550/arxiv.2402.09398 · Cited by 100 · see citing works
KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization
Hooper, C., Kim, S., Mohammadzadeh, H., Mahoney, M. W., Shao, Y. S., Keutzer, K., & Gholami, A. (2024) · arXiv · doi:10.48550/arxiv.2401.18079 · Cited by 69 · see citing works
A Fast Post-Training Pruning Framework for Transformers
Kwon, W., Kim, S., Mahoney, M. W., Hassoun, J., Keutzer, K., & Gholami, A. (2022) · arXiv · doi:10.48550/arxiv.2204.09656 · Cited by 64 · see citing works
A Fast Post-Training Pruning Framework for Transformers
Kwon, W., Kim, S., Mahoney, M. W., Hassoun, J., Keutzer, K., & Gholami, A. (2022) · neural information processing systems · doi:10.52202/068431-1750 · Cited by 64 · see citing works
RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation
Jin, C., Zhang, Z., Jiang, X., Liu, F., Liu, X., Liu, X., & Jin, X. (2024) · arXiv · doi:10.48550/arxiv.2404.12457 · Cited by 61 · see citing works
Liu, Z., Desai, A., Liao, F., Wang, W., Xie, V., Xu, Z., Kyrillidis, A., & Shrivastava, A. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-2279 · Cited by 50 · see citing works
DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Models
Li, M., Cai, T., Cao, J., Zhang, Q., Cai, H., Bai, J., Jia, Y., Li, K., & Han, S. (2024) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52733.2024.00686 · Cited by 47 · see citing works
New trends in high-D vector similarity search
Echihabi, K., Zoumpatianos, K., & Palpanas, T. (2021) · Proceedings of the VLDB Endowment · doi:10.14778/3476311.3476407 · Cited by 46 · see citing works
Narayan, S., Cohen, S. B., & Lapata, M. (2018) · arXiv · doi:10.48550/arxiv.1808.08745 · Cited by 39 · see citing works
Proteus: A High-Throughput Inference-Serving System with Accuracy Scaling
Ahmad, S., Guan, H., Friedman, B. D., Williams, T., Sitaraman, R. K., & Woo, T. L. (2024) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3617232.3624849 · Cited by 31 · see citing works
LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Dataset
Zheng, L., Chiang, W.-L., Sheng, Y., Li, T., Zhuang, S., Wu, Z., Zhuang, Y., Li, Z., Lin, Z., Xing, E. P., et al. (2023) · arXiv · doi:10.48550/arxiv.2309.11998 · Cited by 27 · see citing works
Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Serve
Agrawal, A., Kedia, N., Panwar, A., Mohan, J., Kwatra, N., Gulavani, B. S., Tumanov, A., & Ramjee, R. (2024) · arXiv · doi:10.48550/arxiv.2403.02310 · Cited by 24 · see citing works
High-Dimensional Vector Similarity Search: From Time Series to Deep Network Embeddings
Echihabi, K. (2020) · Proceedings - ACM-SIGMOD International Conference on Management of Data · doi:10.1145/3318464.3384402 · Cited by 18 · cited 1× · see citing works
“Contrary to the popular belief that decode is slow in LLMs, for RAG-systems prefill phase typically dominates both the amount of token computation and total latency, despite being highly parallelized.”
Prompt Cache: Modular Attention Reuse for Low-Latency Inference
Gim, I., Chen, G., Lee, S.-S., Sarda, N., Khandelwal, A., & Zhong, L. (2023) · arXiv · doi:10.48550/arxiv.2311.04934 · Cited by 18 · see citing works
CAPE: Encoding Relative Positions with Continuous Augmented Positional EmbeddingsPreprint
Likhomanenko, T., Xu, Q., Synnaeve, G., Collobert, R., & Rogozhnikov, A. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2106.03143 · Cited by 18 · see citing works
Wang, K., Liu, J., & Chen, F. (2020) · Proceedings of the VLDB Endowment · doi:10.14778/3397230.3397247 · Cited by 17 · see citing works
LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression
Jiang, H., Wu, Q., Luo, X., Li, D., Lin, C.-Y., Yang, Y., & Qiu, L. (2023) · arXiv · Cited by 12 · see citing works
Catalyst: Optimizing Cache Management for Large In-memory Key-value Systems
Wang, K., & Chen, F. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3625054.3625068 · Cited by 9 · see citing works
Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference
Adnan, M., Arunkumar, A., Jain, G., Nair, P. J., Soloveychik, I., & Kamath, P. (2024) · arXiv · doi:10.48550/arxiv.2403.09054 · Cited by 9 · see citing works
LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding
Bai, Y., Lv, X., Zhang, J., Lyu, H., Tang, J., Huang, Z., Du, Z., Liu, X., Zeng, A., Hou, L., et al. (2023) · arXiv · Cited by 9 · see citing works
Learning to Filter Context for Retrieval-Augmented Generation
Wang, Z., Araki, J., Jiang, Z., Parvez, M. R., & Neubig, G. (2023) · arXiv · doi:10.48550/arxiv.2311.08377 · Cited by 9 · see citing works
TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Prediction
Li, S., Park, S., Lee, I., & Bastani, O. (2024) · Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) · doi:10.18653/v1/2024.naacl-long.210 · Cited by 8 · see citing works
Optimizing LLM Queries in Relational Data Analytics Workloads
Liu, S., Biswal, A., Kamsetty, A., Cheng, A., Schroeder, L. G., Patel, L., Cao, S., Mo, X., Stoica, I., Gonzalez, J. E., et al. (2024) · arXiv · doi:10.48550/arxiv.2403.05821 · Cited by 8 · see citing works
QAQ: Quality Adaptive Quantization for LLM KV Cache
Dong, S., Cheng, W., Qin, J., & Wang, W. (2024) · arXiv · doi:10.48550/arxiv.2403.04643 · Cited by 4 · see citing works
InferLine: ML Prediction Pipeline Provisioning and Management for Tight Latency ObjectivesPreprint
Crankshaw, D., Sela, G.-E., Zumar, C., et al. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1812.01776 · Cited by 4 · see citing works
EL-Attention: Memory Efficient Lossless Attention for GenerationPreprint
Yan, Y., Chen, J., Qi, W., Bhendawade, N., Gong, Y., Duan, N., & Zhang, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2105.04779 · Cited by 4 · see citing works
InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Management
Lee, W., Lee, J., Seo, J., & Sim, J. (2024) · arXiv · doi:10.48550/arxiv.2406.19707 · Cited by 4 · see citing works
INFaaS: A Model-less and Managed Inference Serving SystemPreprint
Romero, F., Li, Q., Yadwadkar, N. J., et al. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1905.13348 · Cited by 3 · see citing works
Cost-Efficient Large Language Model Serving for Multi-turn Conversations with CachedAttention
Gao, B., He, Z., Sharma, P., Kang, Q., Jevdjic, D., Deng, J., Yang, X., Yu, Z., & Zuo, P. (2024) · arXiv · doi:10.48550/arxiv.2403.19708 · Cited by 1 · see citing works
Approximate Caching for Efficiently Serving Diffusion ModelsPreprint
Agarwal, S., Mitra, S., Chakraborty, S., et al. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2312.04429 · Cited by 1 · see citing works
Self-citationFast Natural Language Based Data Exploration with Samples
Agarwal, S., Chan, G. Y.-Y., Garg, S., et al. (2023) · Proceedings - ACM-SIGMOD International Conference on Management of Data · doi:10.1145/3555041.3589724 · Cited by 1
Self-citationCacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving
Liu, Y., Li, H., Cheng, Y., Ray, S., Huang, Y., Zhang, Q., Du, K., Yao, J., Lu, S., Ananthanarayanan, G., et al. (2023) · arXiv · doi:10.48550/arxiv.2310.07240
Prompt-Aware Scheduling for Efficient Text-to-Image Inferencing SystemPreprint
Agarwal, S., Iqbal, S., & Mitra, S. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2502.06798
Self-citationScaleViz: Scaling Visualization Recommendation Models on Large Data
Ahmad, G. S., Agarwal, S., Mitra, S., et al. (2024) · Lecture notes in computer science · doi:10.1007/978-981-97-2262-4_8
Self-citationKendall Tau Sequence Distance: Extending Kendall Tau from Ranks to Sequences
Cicirello, V. A. (2019) · arXiv · doi:10.48550/arxiv.1905.02752
Flagged first, then by citations
Research works printed but not linked: 15
- 10.5555/3691825.3691890 · DOI
- AI Anthropic. 2024. The claude 3 model family: Opus, sonnet, haiku. Claude-3 Model Card 1 (2024).
- Mingcong Han, Hanze Zhang, Rong Chen, and Haibo Chen. 2022. Microsecond-scale preemption for concurrent {GPU-accelerated} {DNN} inferences. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22). 539--558.
- Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out. 74--81.
- Chin-Yew Lin and FJ Och. 2004. Looking for a few good metrics: ROUGE and its evaluation. In Ntcir workshop.
- Chen-Yi Lu, Shubham Agarwal, Md Mehrab Tanjim, Kanak Mahadik, Anup Rao, Subrata Mitra, Shiv Kumar Saini, Saurabh Bagchi, and Somali Chaterji. 2024. RECON: Training-Free Acceleration for Text-to-Image Synthesis with Retrieval of Concept Prompt Trajectories. In European Conference on Computer Vision. Springer, 288--306.
- Jesse Mu, Xiang Li, and Noah Goodman. 2024. Learning to compress prompts with gist tokens. Advances in Neural Information Processing Systems 36 (2024).
- Yining Shi, Zhi Yang, Jilong Xue, Lingxiao Ma, Yuqing Xia, Ziming Miao, Yuxiao Guo, Fan Yang, and Lidong Zhou. 2023. Welder: Scheduling deep learning memory access via tile-graph. In 17th USENIX Symposium on Operating Systems Design and Implementation (OSDI 23). 701--718.
- Philippe Tillet. 2021. Triton: Open-source GPU programming for neural networks. https://openai.com/index/triton/.
- A Vaswani. 2017. Attention is all you need. Advances in Neural Information Processing Systems (2017).
- Ran Xu, Jinkyu Koo, Rakesh Kumar, Peter Bai, Subrata Mitra, Sasa Misailovic, and Saurabh Bagchi. 2018. {VideoChef}: Efficient Approximation for Streaming Video Processing Pipelines. In 2018 USENIX Annual Technical Conference (USENIX ATC 18). 43--56.
- Gyeong-In Yu, Joo Seong Jeong, Geon-Woo Kim, Soojeong Kim, and Byung-Gon Chun. 2022. Orca: A distributed serving system for {Transformer-Based} generative models. In 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22). 521--538.
- Haoyu Zhang, Ganesh Ananthanarayanan, Peter Bodik, Matthai Philipose, Paramvir Bahl, and Michael J Freedman. 2017. Live video analytics at scale with approximation and {Delay-Tolerance}. In 14th USENIX Symposium on Networked Systems Design and Implementation (NSDI 17). 377--392.
- Hong Zhang, Yupeng Tang, Anurag Khandelwal, and Ion Stoica. 2023. {SHEPHERD}: Serving {DNNs} in the wild. In 20th USENIX Symposium on Networked Systems Design and Implementation (NSDI 23). 787--808.
- Zhenyu Zhang Ying Sheng Tianyi Zhou Tianlong Chen Lianmin Zheng Ruisi Cai Zhao Song Yuandong Tian Christopher Ré Clark Barrett et al. 2024. H2o: Heavy-hitter oracle for efficient generative inference of large language models. Advances in Neural Information Processing Systems 36 (2024).
Cited by
Sorted by citations
Prospects of Retrieval Augmented Generation (RAG) for Academic Library Search and Retrieval
Bevara, R. V. K., Lund, B. D., Mannuru, N. R., Karedla, S. P., Mohammed, Y., Kolapudi, S. T., & Mannuru, A. (2025) · Information Technology and Libraries · doi:10.5860/ital.v44i2.17361 · Cited by 29 · see citing works
From Human Memory to AI Memory: A Survey on Memory Mechanisms in the Era of LLMs
Wu, Y., Liang, S., Zhang, C., Wang, Y., Zhang, Y., Guo, H., Tang, R., & Liu, Y. (2025) · arXiv · doi:10.48550/arxiv.2504.15965 · Cited by 3 · see citing works
“…Retrieval [84], CacheGen [129], ChunkAttention [130], RAGCache [131], SGLang [132], Ada-KV [133], HCache [134], Cake [135], EPIC [136], RelayAttention [137], Marconi [138], IKS [139], FastCache [140], Cache-Craft [141], KVLink [142], RAGServe [143], BumbleBee [144] VIII SystemParametricLong-Term”
Skyline Retrieval meets Set-Cover Chunk Merging: A Cost-Effective RAG-Sketch for Long-Context LLM QA
Zhu, X., Li, H., Zhang, Y., & Chen, L. (2026) · Proceedings of the ACM on Management of Data · doi:10.1145/3802111 · Cited by 2 · see citing works
Caching at Scale: Efficiency and Fairness Analysis in Multi-tenant RAG Systems
Ruparel, H., & Patel, T. (2025) · SN Computer Science · doi:10.1007/s42979-025-04467-3 · Cited by 1 · see citing works
ApproxRAG: A Systematic Framework for Mitigating I/O Overheads in Retrieval-Augmented Generation
Ge, D., Jiang, Q., Gao, J., Shi, J., & Ji, W. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-35251-4_3
Tokens to Types: Context Editing with Selective Entity Abstraction for Grounded Generation
Sharma, R., MAHAPATRA, D., & Saini, S. K. (2026) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/3805712.3809711
Self-citationOptimizing Low-Parameterised LLMs with RAG using Entropy-based Chunking
Sambare, G. B., Nerpagar, H., Patil, O., & Totlani, K. (2026) · International Conference on Inventive Computing and Informatics (ICICI) · doi:10.1109/icici68773.2026.11580778
“[5] Additionally, a new hyper-parameter for RAG called context window utilization (CWU) formalizes a metric for linking chunk sizes and context length.”
Khaliq, A., Aziz, L., Alawad, W. M., Almutairi, L., Kenany, A. A., & Almakayeel, N. M. (2026) · The Journal of Supercomputing · doi:10.1007/s11227-026-08604-4
Non-Redundant and Hotness-Aware Caching for Low-Latency Retrieval-Augmented Generation
Xie, Z., Wang, H., Zhang, Y.-A., & Jin, P. (2026) · IEEE International Conference on Distributed Computing Systems Workshops (ICDCSW) · doi:10.1109/icdcsw72724.2026.00013
“Query skew in RAG refers to the highly uneven distribution of user queries, a characteristic prevalent in real-world search and conversational AI systems [3], [4], [6], [7].”
VLMCache: Efficient On-Device Vision-Language Model Inference
Zhang, Y., Xu, D., Chen, Z., Wang, C., Zhang, Y., Xu, M., & Huang, G. (2026) · International Conference on Mobile Systems, Applications, and Services · doi:10.1145/3745756.3809243
Bai, F., Zhang, H., Chen, Z., Du, J., Chen, Z., & Lu, Y. (2026) · Proceedings of the ACM on Management of Data · doi:10.1145/3802009
CoDec: Prefix-Shared Decoding Kernel for LLMs
Wang, Z., Ning, R., Fang, C., Zhang, Z. J., Lin, X., Ma, S., Zhou, M., Li, X., Wang, Z., Huan, C., et al. (2026) · Proceedings of the ACM on Management of Data · doi:10.1145/3802028
HaS: Accelerating RAG Through Homology-Aware Speculative Retrieval
Peng, P., Lin, W., Wu, W., Wang, X., & Liu, Y. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00143
“Given the high frequency of homologous queries in real-world popularity patterns [13], HaS has huge potential for accelerating RAG.”
EC-RAG: Towards Efficient Edge-Cloud Retrieval-Augmented Generation Systems
Wang, L., Wang, K., Jia, R., Lu, K., Wan, J., Huo, H., Zhai, Y., Liang, Z., & Wang, D. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00082
“Storing and reusing KV cache [25], [31], [32], [34]–[36], [39], [69], [78], [79] has been extensively studied to reduce redundant computations and improve inference efficiency.”
Clue-RAG: Towards Accurate and Cost-Efficient Graph-Based RAG Via Multi-Partite Graph-Based Index
Su, Y., Fang, Y., Zhou, Y., & Yang, C. (2026) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde65706.2026.00179
Wang, Y., Li, H., & Chen, L. (2026) · Proceedings of the VLDB Endowment · doi:10.14778/3819518.3819565
DKC-LLM: Dynamic Knowledge Caching for Large Language Models in Business Applications
Khaliq, A., & Adebayo, K. J. (2026) · IEEE Access · doi:10.1109/access.2026.3662344
“Frameworks such as RagCache [8], PipeRAG [26], CacheCraft [30], and CacheBlend [31] aim to reuse retrieval results or generated responses.”
InfluentialFaithfulness and Relevance in Stable Normative Domains: A Comparative Analysis of CAG vs. RAG
Collanqui, E. A., Coaguila, M. E., Flores, A., & Alanoca, H. A. (2026) · Communications in computer and information science · doi:10.1007/978-3-032-20322-9_10
Argus: Quality-Aware High-Throughput Text-to-Image Inference Serving System
Agarwal, S., Mitra, S., & Iqbal, S. (2025) · International Middleware Conference · doi:10.1145/3721462.3770765
Self-citationZhang, L. (2026) · arXiv · doi:10.48550/arxiv.2606.13361
“Cache-Craft [1] manages a pool of reusable “chunk-caches” for retrieval-augmented generation, deciding which chunks to cache and when to recompute, and reports large reductions in redundant compute relative to prefix caching.”
Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live
Li, H., He, R., Mang, Q., Zhang, Q., Mao, H., Chen, X., Zhou, H., Zhang, H., Cheung, A., Gonzalez, J., et al. (2025) · arXiv · doi:10.48550/arxiv.2511.02230
- Authors
- Agarwal, S., Sundaresan, S., Mitra, S., Mahapatra, D., Gupta, A., Sharma, R., Kapu, N. J., Yu, T., & Saini, S.
- Affiliations
- Adobe Systems (United States) (US)
- Indian Institute of Technology Bombay (IN)
- Indian Institute of Technology Kanpur (IN)
- IIT Kanpur, Kanpur, India
- ORCID
- Venue
- Proceedings of the ACM on Management of Data
- Published
- 2025-06-17
- Volume
- 3
- Issue
- 3
- Pages
- 1-28
- ISSN
- 2836-6573 (ISSN-L)
- OpenAlex
- W4411403197
- Semantic Scholar
- 8f323e932374e158cb4ceb4376c9b0ab2ac35a1f
- Cited by
- 21
- References
- 40
- Citations by year
- 2026: 17 · 2025: 4
- FWCI
- 8.45
- Type
- journal article
- Language
- en
- Open access
- bronze
- doi.org
- Locations
- Proceedings of the ACM on Management of Data (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Keywords
- retrieval-augmented generation, large language models, KV cache management, cache eviction, continuous batching, redundant computation reduction
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-11.
Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-11.
Cited sources are checked by gpt-6-sol.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review