- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 4
- Significance
- 3
Read review
Summary
The paper designs the caching for multi-query LLM in LDP settings to save budgets by taking advantages of reusing cache for semantically similar queries.
Strengths and weaknesses
Strength:
- fill in the literature between caching for LDP (for other data types too not just 0,1) and semantic check for multi-query LLM --> combine to get caching for multi-query LLM
- improvement across different datasets and eps param
- code to reproduce
Weakness:
- only 10-20% improvement. The context seems to suggest users are asking semantically similar queries frequently, but the improvement is still modest.
- the idea is pretty standard and expected to do already -- check first if full privacy budget needs to be used. Like sparse vector or RAPPOR. But this adds the semantic dimension for LLM case. There are closely related work of caching + DP such as the cited MeanCache (Gill et al). So this is still a new combination of requirements/settings in literature, but a natural extension to fill what's "obvious" as the next. (Also see below in Questions)
- local DP for this requires pretty high epsilon (like eps=20). I am not sure how practical this is and who will use it. In practice people use others such as shuffling amplification, etc. to help beyond simple local DP.
- small nit: in the code metrics.py it skips the sample (if pp is None or tt is None:) when parse_binary_label cannot parse. Better report or make sure this is close to zero, as any can change the report %.
Questions
- my main question (and impact to score) is it's a little hard to follow how eps usage and calculation are spread through the code. For example with total_budget = float(args.epsilon) * float(query_count), is it right to simply multiple by 1000 here? Can you help? If I missed it somewhere, let me know.
- are caching semantically similar ones good enough in practice? Will it miss something important as these are texts data and sometimes the edge cases matter. Do we have qualitative checks too? For example, "My health data is xyz and my blood test is abc [add more 10 health data points]. What do you think of me taking med M?" vs "My health data is xyz2 and my blood test is abc2 [add more 10 data points where a few may be different]. What do you think of me taking med M?". Here the text similarity can be high but should the answer be very different? Will this architecture cause problems?
- one way to solve is with real not synthetic text repetitions. Right now it's 30% repeat on top of other 70% by design. We should try some other multi-query datasets like WildChat-4.8M or LMSYS-Chat-1M.
- as I read Section 4 it's not easy to know which one is a new contribution, motivated by previous work, or just borrowed from previous work. Adding intuition and context would help. The design itself doesn't seem to contain anything beyond the first-thought standard design. Anything to add if it deviates from original works?
- there are other related works that "explore DP optimization in multi-query scenarios" per line 83 that you may cite. For example, DP3: Differentially Private Prompt Perturbation for Multi-turn LLM Inference (Zheng eta al). And "Cache Me If You Can: Accuracy-Aware Inference Engine for Differentially Private Data Exploration" Mazmudar et al is among the earlier ones. How does your work compare to these?
Limitations
yes
Paper formatting concerns
N/A
Final justification
All reviewers have some concern about privacy calculation and saving especially 6nGs and THeb. I was trying to verify through code and was a bit confused, so at least there's some clarity issue here.
My Q3 concern is identical to W1 of THeb (as area chair flagged). The 'multi-query LLM' in abstract and introduction (e.g. line 35-36) would need to be revised.
However these are more clarity issues than technical. With clarifications and revisions I am on borderline positive.
(Same as the comment below)
R1 to W1: We target the multiple-query processing scenario, where a user or an organization repeatedly accesses cloud LLM services for different queries that may exhibit semantic correlations over time.
Such scenarios arise in privacy-sensitive LLM applications, such as retrieval-augmented generation (RAG) and in-context learning (ICL). In RAG systems, organizations often maintain private knowledge bases locally while querying external LLM services. Since the same knowledge-base documents may be retrieved as top-k relevant contexts for different queries, these queries exhibit semantic correlations. In ICL-based applications, private demonstration examples or task-specific templates may be repeatedly reused for inference, resulting in related query patterns. In these settings, semantic caching can reduce unnecessary cloud accesses while protecting sensitive information through LDP.
We evaluate LDPCache in the ICL scenario on the dataset dbpedia with cache size =100. The results below show its strong performance.
Notably under LDP, even modest utility improvements are considered significant due to the strong privacy constraints. Recent top-tier LDP-based prompt protection methods, including Cape[1] and AdaDpSYN[2], report improvements of only several percentage points over prior baselines. The approximately 10% improvement achieved by LDPCache is significant.
[1] Cape: Context-Aware Prompt Perturbation Mechanism with Differential Privacy
[2] Data-Adaptive Differentially Private Prompt Synthesis for In-Context Learning
R2 to W2 and Q4: Instead of proposing a new DP primitive, our contribution lies in introducing the first cache-enhanced LDP framework for multi-query LLM processing. Existing LDP methods protect individual queries, whereas existing semantic caching methods (e.g., MeanCache) assume non-private settings. Our framework builds upon them, but directly combining them is insufficient. The private setting introduces new challenges: (i) cache hit evaluation must jointly consider semantic similarity and response accuracy because cached responses are generated from perturbed queries, (ii) cache scheduling decisions leak access-pattern information and therefore must satisfy LDP, and (iii) cache eviction must explicitly account for perturbation-induced response quality rather than relying solely on recency or semantic similarity, all of which require new solutions.
Sparse Vector and RAPPOR address fundamentally different settings. Sparse Vector is designed for the centralized DP model, where the decision is based on noisy aggregate statistics, whereas our setting follows LDP and operates on individually perturbed user queries. RAPPOR, is a frequency estimation protocol built upon randomized response and does not address scheduling. We use randomized response because it is the standard primitive for achieving LDP, while our novelty lies in how it is incorporated into a semantic caching framework rather than in the perturbation mechanism itself.
R3 to W3:
We acknowledge that ϵ=20 is larger than typical LDP settings for frequency or mean estimation. However, such values are widely adopted in token-level DP NLP tasks, where individual queries are protected rather than aggregate statistics. Recent LDP-based NLP methods adopt similar privacy regimes: CAPE (ICML'25) evaluates ϵ from 1 to 20, DP3 (ACL'26) uses ϵ∈[10,18], and InferDPT (TDSC'26) reports comparable ranges. We therefore follow this commonly adopted setting.
Shuffle amplification is designed for data-collection settings where many users' perturbed reports are aggregated for statistics. In contrast, our paper considers online LLM inference, where each user's query is directly sent to the cloud model to obtain a response for that individual query, rather than being aggregated with reports from many users for statistical analysis. Consequently, the anonymous shuffling required by shuffled DP cannot be realized in our setting, and the corresponding privacy amplification is not applicable.
To further demonstrate the effectiveness of LDPCache, we also evaluate smaller privacy budgets, such as ϵ∈[5,10]. Although the absolute utility decreases under stronger privacy constraints, LDPCache consistently outperforms the baseline across all evaluated privacy budgets.
R4 to W4: We agree that metrics.py skipped samples that could not be parsed. To verify the impact of this issue, we re-audited all logs used for the reported experiments using the same parsing rules and found no unparseable samples. This confirms that the reported results were unaffected and that the comparisons remained fair. Following the reviewer’s suggestion, we also revised the code to raise an error whenever an unparseable sample is detected, thereby improving the robustness of the evaluation procedure.
R5 to Q1: We apologize for the confusion. Following the experimental setting adopted by recent LDP-based NLP works, args.epsilon denotes the privacy budget allocated to each sensitive token.
Let ϵtoken denote the privacy budget assigned to one sensitive token, let T denote the number of sensitive tokens in each query, and let N denote the total number of queries. The total privacy budget is therefore calculated as ϵtotal=ϵtoken×T×N. In our experiments, N=1000.
In the implementation, T is not explicitly multiplied because all queries in the generation task contain the same number of sensitive tokens. Privacy-budget reallocation in LDPCache is performed at the query level: the budget saved through cache hits is first redistributed across subsequent queries and is then evenly allocated among the sensitive tokens within each query.
Because T is identical for all queries, it is a constant factor and cancels out during query-level budget redistribution. Consequently, the implementation tracks the query-level budget as ϵquery=ϵtoken×N. This implementation is equivalent under our experimental setting, where every query contains the same number of sensitive tokens.
R6 to Q2:
We agree that semantic similarity does not guarantee response equivalence—a known challenge in semantic caching. Our contribution does not redesign semantic matching; instead, we adopt embedding-based similarity as the foundation, while making caching LDP-compliant. Critically, LDPCache is modular: more advanced semantic retrieval methods can be integrated seamlessly without altering our privacy mechanisms, preserving the same LDP guarantees.
R7 to Q3: We thank the reviewer for pointing out this issue. We agree that the description of "multiple rounds of question answering" in the introduction is inaccurate and may cause confusion.
Our framework is not designed for multi-turn dialogue with explicit conversational context. Instead, it targets the multiple-query processing scenario, where a user or an organization repeatedly accesses cloud-based LLM services for different queries, and these queries may exhibit semantic correlations or repetitions over time. The scenario description and experimental results are reported in the table in R1 to W1 .
R8 to Q5: We first clarify that DP3 is a contemporaneous work. Our NeurIPS submission deadline was in May 2026, whereas DP3 appeared at ACL 2026 in July. To the best of our knowledge, no public preprint was available when our paper was submitted. Therefore, it was not included in our related work or experimental comparisons.
DP3 studies reuse from a different perspective. It exploits token-level reuse by perturbing a token only upon its first occurrence and reusing the perturbed result whenever the identical token reappears. In contrast, LDPCache investigates query-level semantic reuse, where cache hits are determined by semantic similarity rather than exact token matching. Furthermore, DP3 does not consider privacy-preserving cache scheduling or cache replacement.
For completeness, we additionally implemented the token-reuse strategy of DP3 using the same token perturbation mechanism, Cape, adopted in our framework. As shown below, LDPCache with MF consistently outperforms the token-level reuse strategy.
We also note that the paper
Cache Meaddresses a fundamentally different problem, namely caching for differentially private range queries. In that setting, cache entries are indexed by \emph{non-sensitive} query ranges, and cache reuse is determined by whether previously cached range queries can be linearly composed to answer a new query. In contrast, LDPCache caches responses to \emph{sensitive} LLM queries, where the cache key itself is private and cache reuse is determined by semantic similarity. Consequently, the cache-hit criterion of ``Cache Me'' is fundamentally incompatible with our setting. Moreover, since their cache keys are non-sensitive, they do not design a dedicated scheduling mechanism, nor do they discuss a cache replacement policy.