- Rating
- 3
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 2
Read review
Summary
This paper addresses the critical challenge of low cache hit rates in prefix caching for multi-turn LLM conversations. The key observation is that cache reuse patterns (continuation probability and inter-turn delay) are highly heterogeneous and correlate strongly with user intent (e.g., code generation vs. chitchat). Based on this insight, the authors propose Intent-Aware Caching (IAC) , an online cache eviction policy with three components: (1) a lightweight offline-trained intent classifier (30 categories, ~20ms latency), (2) a statistical learning module that continuously tracks per-(intent, turn) reuse probability and delay distribution (log-normal), and (3) an oracle-inspired eviction priority that combines recency (whether age < median expected delay), continuation probability, and cache entry size. Evaluated on real-world workloads (ShareChat, WildChat) using SGLang and models from 8B to 110B parameters, IAC significantly outperforms LRU, LFU, GDSF, and the ML-based LPC, achieving up to 34.6% cache hit rate (vs. 18.8% for LPC), reducing TTFT by up to 46%, and saving 53.2% of GPU memory compared to LPC for the same hit rate target.
Strengths and weaknesses
Strengths S1. The paper clearly identifies the fundamental gap between existing online policies (LRU, LPC) and oracle performance, and provides compelling empirical evidence (Insights 1-3) that user intent is a meaningful and measurable signal for cache reuse patterns. S2. Unlike LPC, which requires online ML inference, IAC uses a lightweight frozen-embedding classifier (75% accuracy, 20ms) and simple statistical counters. The eviction decision (Eq. 1) involves only a few comparisons and arithmetic operations, making it suitable for latency-sensitive serving. S3. The evaluation covers multiple real-world datasets with timestamps (WildChat, ShareChat), multiple model scales (8B-110B), multiple GPU configurations, and multiple metrics (hit rate, TTFT, throughput, memory efficiency). Ablation studies on classifier granularity (10/20/30 categories), accuracy sensitivity, and recency estimators (median vs. mean vs. mode) add depth. S4. The paper provides detailed implementation details (SGLang integration, radix tree extensions), classifier training hyperparameters, intent taxonomy definitions (30/20/10 categories), system prompts for labeling, and evaluation split methodology. Code and data are publicly available.
Weaknesses W1. The paper acknowledges this limitation, but it is significant: IAC relies on the (intent, turn) tuple, which assumes a clear session boundary and turn structure. Many LLM serving scenarios (e.g., RAG, agentic workflows, API calls with shared system prompts) may not have natural turns or may have very different reuse patterns. The claimed generalizability to "agentic workflows" (Section 6) is speculative and not evaluated. W2. While ShareChat and WildChat use real timestamps, the LMSys-Chat and ShareGPT evaluations use synthetic Poisson arrivals and a fixed long-tailed delay distribution. The paper notes that gains are smaller there because all intents share the same synthetic delays. This suggests that IAC's advantage heavily depends on the existence of real intent-specific delay patterns. In deployments where delays are uniform or uncorrelated with intent, IAC may offer little benefit over LPC. W3. The sensitivity analysis (Fig. 8b) shows graceful degradation, but the maximum noise tested is not explicitly stated. More importantly, the paper does not analyze which types of misclassifications are harmful. Confusing code_generation with debugging_troubleshooting (both high-turn, moderate-delay) may be fine, but confusing code_generation with chitchat (low-turn, short-delay) could be catastrophic. The paper lacks such error-pattern analysis. W4. The paper reports 20ms latency for E5-Large-Inst, which is acceptable per request. However, in high-throughput scenarios (e.g., 1000 requests/s), this would require significant CPU resources. The paper does not discuss parallelization, batching of classification, or potential amortization strategies. Similarly, the statistical learning module's update frequency and computational cost are mentioned as "lightweight" but not quantified.
Questions
Q1. How does IAC handle intents that are rare or unseen during training? The paper mentions default statistics (P=0.5, median delay=150s) for unobserved (i,t) states. But how quickly does IAC adapt once it observes a new intent? Is the classifier capable of producing reasonable embeddings for out-of-taxonomy intents (e.g., a new category like "scientific simulation")?
Q2. What is the sensitivity to the recency window size N (Section 4.2)? The paper states that N trades off stability and adaptivity, but no experiments are shown varying N. Given that workloads drift within an hour (Insight 3), what is a recommended N? Does IAC automatically tune it?
Q3. Could IAC be extended to a predictive eviction policy rather than a recency-threshold one? Currently, IAC uses a binary recency test (age < median). Would using the full predicted delay distribution (e.g., probability of reuse within the next K seconds) yield further gains? The paper mentions log-normal parameters but does not use variance or higher moments in the priority.
Q4. How does IAC compare against a simple "turn-aware LRU" that only uses turn number (not intent)? The paper compares against LPC and LRU, but not against a baseline that uses turn index alone (e.g., higher priority to turn 1 prefixes). Such a baseline would help isolate the value of intent beyond turn structure.
Limitations
L1. The paper states that cross-user KV reuse is rare, but prefix caching can still benefit from shared system prompts across different users (e.g., "You are a helpful assistant"). IAC's intent classifier per request could potentially capture such shared prefixes, but this is not evaluated.
L2. While statistical learning adapts to workload drift, the intent taxonomy itself is fixed. If new intents emerge over time (e.g., a new coding language or a new application domain), the classifier will misclassify them. The paper does not discuss online taxonomy expansion or classifier retraining strategies.
L3. Real production traces can be bursty and have diurnal patterns. While the authors acknowledge this as a limitation, it would strengthen the paper to test IAC under bursty arrivals (e.g., Pareto or ON/OFF models) to see if the delay-aware recency signal remains effective.
L4. The paper reports average TTFT and throughput. However, in LLM serving, tail latency is often more critical for SLOs. It is possible that IAC's intent-based eviction could evict a prefix that later causes a very long recomputation for a small number of requests, harming tail performance. This should be analyzed.
L5. IAC mimics TB+S but uses median delay as a proxy for the oracle's threshold. The paper shows IAC closes the gap to the oracle significantly, but the residual gap (e.g., 34.6% vs. oracle's ~40%+ from Fig. 1c) is not analyzed. What specific oracle behaviors does IAC still miss? Is it the variance in delays, or the exact threshold calibration?
Paper formatting concerns
N/A
Final justification
The author provided thorough responses to my inquiries. Yet, it is possible that my initial questions lacked adequate specificity, as the presented data and accompanying explanations did not rigorously elucidate the intrinsic mechanisms underlying the observed phenomena. Consequently, I am still unable to fully ascertain the credibility of the data. That said, I am inclined to upgrade my evaluation of the manuscript.
We thank the reviewer jB1V for the detailed and constructive review. We group related points to stay concise.
W1 / extending beyond multi-turn conversations
Our study targets multi-turn conversational (chatbot) workloads, where cache reuse depends on whether and when a user sends a follow-up turn. To extend our work into these emerging workloads, one needs a signal that groups requests with similar reuse behavior and per-group estimates of reuse probability and delay. For example, agentic workflows fit this structure, since a large prefix (goal, tool definitions, and action or observation history) is reused at every step with a small suffix. To extend IAC, one need to replace the (intent, turn) state with a (task or tool type, step) state, so continuation probability becomes P(another step | task, step) and reuse delay becomes the time to the next step, which is set by tool-call latency and learnable per task.
W2 / Do the gains shrink when delays are uniform?
No. To test this case, we replace the original WildChat delays with a constant 100 s for every request and rerun (hit rate vs. capacity):
IAC still far exceeds LRU and stays close to the oracle. The reason lies in Eq. (1), whose recency term is
1[age < M(i,t)], whereM(i,t)is the learned median reuse delay. When the delay is fixed at 100 s, every state hasM(i,t) = 100 s, so the reuse window is known exactly and the recency test carries no estimation error. IAC then orders entries by continuation probability and size, which is enough to track the oracle. A uniform delay therefore does not remove IAC's benefit. It only shifts the gain from the delay signal to the reuse-probability signal.W3 / How robust is IAC to classifier errors?
We study this in Fig. 8b in the paper, where we inject random label noise at serving time and measure cache hit rate at a fixed 170k capacity. On the x-axis we present the effective classifier accuracy from 100% down to 0%, so we cover the full noise range up to complete misclassification. As reported in the paper, IAC degrades gracefully as accuracy decreases and does not collapse even at high noise. This is because IAC does not need a perfect classifier. It only needs intent predictions accurate enough to preserve coarse reuse differences across workload groups (intent,turn).
W4 / classifier overhead at high load, and statistical-update cost.
In our experiment setup (e.g., 4×A100 serving a 70B model at 2 to 20 req/s), the classifier assigns the intent while the request waits in the scheduler queue, so it overlaps with queuing. When there is no queue delay, the worst-case overhead is the 20 ms classifier latency, which is already included in our reported TTFT. This rate range was compute-bound in our tests, so a single non-batched classifier sufficed.
For higher request rates, the classifier can run batched in the scheduler. The 20 ms is a per-batch cost, not per-request, and stays flat as the batch grows, so batching amortizes it (E5-Large-Inst):
Latency stays flat (p95 around 20 ms) while per-request cost and throughput scale with the batch. At the 1000 req/s, a single instance needs only about 0.2 ms per request (batch 100) and sustains over 5,000 req/s, well above the load. Also, the peak memory usage is small and constant across batch sizes.
The statistical update is also cheap and quantified. As reported to Reviewer ndo3, re-estimating all
(i, t)statistical updates takes about 1.3 to 1.4 s on CPU, runs periodically off the serving path, and adds no request-latency overhead.Q1 / rare or unseen intents and adaptation speed.
The intent classifier is N-class, so a rare or unseen intent is always mapped to its semantically closest category. We observe that such requests usually fall into a generic category (
general_explanations_definitions), so none are left ungrouped. For adaptation speed, an unobserved(i, t)state uses neutral defaults (P = 0.5, median 150 s as detailed in the Appendix D), and once the state is observed, empirical estimates take over within one windowN, so IAC adapts quickly.Q2 / sensitivity to window size N and a recommended value.
The sliding window size
Nhas to be small enough to follow a sudden drift, yet large enough to hold enough samples per(i, t)state for a reliable estimate. Rather than detecting a drift and trigger the updates, we update periodically. Since each update is lightweight (around 1.4 s on CPU), periodic re-estimation over a small sliding window N is cheap and keeps the statistics current. We foundN=10kan effective value.Q3 / compare with a predictive policy using the full delay distribution.
We made the suggested change and call this variant Full-Horizon. It replaces the binary recency test
1[age < median]with a continuous score (i.e., the probability that the next turn arrives within the next K seconds given the entry's current age, read from the learned log-normal delay model) and uses that probability as the primary signal. Across capacities on ShareChat, Full-Horizon stays below IAC:There are two reasons. First, IAC keeps a binary recency threshold, like the size-aware threshold-Belady oracle it mimics, so recency, reuse probability, and size act in a clean order. A continuous recency score is almost unique per entry, so it dominates the ranking and the reuse-probability and size signals rarely take effect. Second, it leans on the full delay distribution (its spread and tail), which is noisy per
(i, t), whereas the median is robust. This also matches the Fig. 13 in appendix, where the median beats the mean and mode.Q4 / comparison to a turn-only (no intent) baseline.
We already included this in the paper. The
w/o Intentvariant in Fig. 8c groups by turn number alone without intent, and it underperforms full IAC, so grouping by turn alone is not sufficient.L1 / shared system prompts across users.
Shared system prompts sit at the top nodes of the RadixTree since they are shared by many requests. Therefore, they are hot in cache and usually results in cache hit. On the other hand, eviction removes leaf nodes first, and non system turns are common victim of eviction. Our design neither protects these system prompts nor harms them. Rather, our policy protects the past turns near the leaves, shared only within one conversation, and offers higher overall hit ratio.
L2 / online taxonomy expansion and classifier retraining for emerging intents.
A new intent is not misclassified in the failure sense. The classifier must place every request in a category, so it maps an unseen intent to the semantically closest one, and we observe that rare or unclear cases usually fall into the general category
general_explanations_definitions.Extending the taxonomy is an infrequent effort. In our study, we first maximize coverage by building the taxonomy discovery from four large datasets (2.3M conversations in total). To include a new category in the taxonomy, one needs to add samples to the training dataset and either rerun the automatic TnT-LLM [1] taxonomy discovery pipeline or directly train an N+new-class classifier. Once the dataset is ready, training the classifier takes about 15 minutes on a single L40S GPU.
L3 / bursty and diurnal arrivals.
We test bursty and diurnal arrivals on WildChat by sampling the new conversations arrival time from ON/OFF, Pareto, and a diurnal pattern. We observe, in all cases, IAC keeps its advantage. Because its delay-aware signal is learned from inter-turn delays, which the arrival process does not change.
Cache hit on WildChat at 140k capacity:
L4 / tail latency.
We extend Fig. 6(a) in the paper and add p60 and p90 latency next to the mean. This is done on 4xA100 (at 10 req/s) serving LLama-70B. Since IAC raises the hit rate and cuts recomputation, its tail also improves:
L5 / Explanation on residual gap to the oracle.
The gap is mainly the oracle's exact future-arrival knowledge. The oracle knows the exact time until each entry's next reuse and treats one with no follow-up as never reused. Online policies cannot see this, so IAC approximates it from past statistics: the per-
(i, t)continuation probability for whether a turn follows, and the median delay for when. Because these are group-level estimates rather than per-entry truth, IAC misjudges some evictions at the margin, which is the residual gap.We hope these clarifications and experiments address your concerns, and would be grateful if you would consider raising your score.
[1] Wan, Mengting, et al. TnT-LLM: Text Mining at Scale with Large Language Models. KDD 2024.