potentialpaper

LDPCache: Locally Differentially Private Multi-Query Processing with Cache Optimization for Large Language Models

Haoqiang Shi, Ning Wang, Chuan He, Qian Ma, Zhigang Wang, Shen Su, Yu Gu, Zhihong Tian

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. The Model-as-a-Service (MaaS) paradigm enables resource-constrained edge users to access cloud-based large language model (LLM) services but raises significant privacy concerns. Existing approaches perturb user queries under local differential privacy (LDP) before sending them to LLMs. However, naively applying these methods to multi-query scenarios leads to linear growth in privacy budget consumption. To address this, we propose LDPCache, the first cache-enhanced LDP framework for multi-query LLM processing. By leveraging semantic correlations across queries submitted over time by a user or an organization, LDPCache maintains a cache of historical responses and intelligently decides whether to reuse a cached result or query the cloud-based LLM, thereby reducing privacy budget consumption. The core of LDPCache is an LDP-compliant scheduler that evaluates cache reusability based on both semantic similarity and the expected accuracy gains from LLM access. This scheduler enables hit decisions without actual LLM access while ensuring that the scheduling process itself satisfies LDP guarantees. To accommodate the limited memory of edge devices, we further design a multi-factor cache eviction strategy that balances query diversity, response accuracy, and recency to improve the hit ratio. Extensive experiments on real-world datasets demonstrate that LDPCache significantly improves response accuracy over baseline methods.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 4 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper proposes LDPCache which extends the CAPE framework by a principled multi-query handling and DP cache control.

The reviewers appreciate the problem formulation and find the method well specified.

Their fundamental concern is about the framing of the paper, which, quoting from Reviewer THeb, has "a severe disconnect between the paper’s scene claims and experimental setups. The introduction markets the framework for multi-round conversational scenarios, yet all experiments only adopt independent, context-free multi-query streams without dialogue context, which overstates its applicable range."

The concerns that should be addressed during the rebuttal (or a potential resubmission) include:

  1. Repeating the experiments over multiple seeds and including error bars.
  2. Explaining the privacy-guarantee difference vs. just multiple executions of single‑query LDP mechanisms.
  3. Performing extensive ablation studies to provide guidance on the choice of hyper parameters in the method.
  4. Adding experiments that report the privacy gains that arise through the method (AC's recommendation: over multiple repetitions, seeds, data diversity regimes, report how many more queries can be answered at the same privacy budget, and how much budget is consumed by a fixed number of queries).
  5. Extend the baseline evaluation.
  6. Clarify the privacy guarantees of the scheduling process.

Based on the AC's own review, the rebuttal should additionally put emphasis on the following points:

  1. Include an end-to-end privacy analysis with explicit statement of composition theorems used.
  2. Extend experiments to more complex classification datasets. The chosen ones (SST2, QNLI) are simple and not necessarily representative.

Less important points to consider are:

  1. An empirical validation through attacks to verify the protection strength.

Based on the review state at the time of writing the meta review, the AC would not mind if the authors decide to not address the comments by Reviewer tifD on practicality, only 10/20% improvement, and simplicity of the idea, as those are based on opinion rather than facts. Also, the AC acknowledges having verified the existence of code which was provided in the supplementary material in contrast to what Reviewer tifD asks.

Final justification

The rebuttal addressed the raised questions. The remaining concerns are that:

  1. The framing of the paper as made for multi-round conversational scenarios is not reflected by the contributions and should be updated for the camera-ready version.
  2. The core novelty of the work is more of an engineering combination of existing LDP and caching methods. Still, overall, the reviewer agree that the work contributes value for the community and therefore, I recommend acceptance.
Area Chair cqRZ · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper proposes LDPCache which extends the CAPE framework by a principled multi-query handling and DP cache control.

The reviewers appreciate the problem formulation and find the method well specified.

Their fundamental concern is about the framing of the paper, which, quoting from Reviewer THeb, has "a severe disconnect between the paper’s scene claims and experimental setups. The introduction markets the framework for multi-round conversational scenarios, yet all experiments only adopt independent, context-free multi-query streams without dialogue context, which overstates its applicable range."

The concerns that should be addressed during the rebuttal (or a potential resubmission) include:

  1. Repeating the experiments over multiple seeds and including error bars.
  2. Explaining the privacy-guarantee difference vs. just multiple executions of single‑query LDP mechanisms.
  3. Performing extensive ablation studies to provide guidance on the choice of hyper parameters in the method.
  4. Adding experiments that report the privacy gains that arise through the method (AC's recommendation: over multiple repetitions, seeds, data diversity regimes, report how many more queries can be answered at the same privacy budget, and how much budget is consumed by a fixed number of queries).
  5. Extend the baseline evaluation.
  6. Clarify the privacy guarantees of the scheduling process.

Based on the AC's own review, the rebuttal should additionally put emphasis on the following points:

  1. Include an end-to-end privacy analysis with explicit statement of composition theorems used.
  2. Extend experiments to more complex classification datasets. The chosen ones (SST2, QNLI) are simple and not necessarily representative.

Less important points to consider are:

  1. An empirical validation through attacks to verify the protection strength.

Based on the review state at the time of writing the meta review, the AC would not mind if the authors decide to not address the comments by Reviewer tifD on practicality, only 10/20% improvement, and simplicity of the idea, as those are based on opinion rather than facts. Also, the AC acknowledges having verified the existence of code which was provided in the supplementary material in contrast to what Reviewer tifD asks.

Final justification

The rebuttal addressed the raised questions. The remaining concerns are that:

  1. The framing of the paper as made for multi-round conversational scenarios is not reflected by the contributions and should be updated for the camera-ready version.
  2. The core novelty of the work is more of an engineering combination of existing LDP and caching methods. Still, overall, the reviewer agree that the work contributes value for the community and therefore, I recommend acceptance.
Reviewer tifDOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

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)

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

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-kk 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.

Budget ϵ\epsilon LDPCache-MF   NC  
5 68.01±9.6468.01 \pm 9.64 60.78±2.3260.78 \pm 2.32
10 77.32±1.5977.32 \pm 1.59 68.74±2.5668.74 \pm 2.56
15 83.37±4.9283.37 \pm 4.92 73.72±1.2973.72 \pm 1.29
20 92.36±0.6892.36 \pm 0.68 84.32±3.5784.32 \pm 3.57

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\epsilon=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 ϵ\epsilon from 1 to 20, DP3\mathrm{DP}^{3} (ACL'26) uses ϵ∈[10,18]\epsilon \in [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]\epsilon \in [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\epsilon_{\mathrm{token}} denote the privacy budget assigned to one sensitive token, let TT denote the number of sensitive tokens in each query, and let NN denote the total number of queries. The total privacy budget is therefore calculated as ϵtotal=ϵtoken×T×N\epsilon_{\mathrm{total}} = \epsilon_{\mathrm{token}} \times T \times N. In our experiments, N=1000N=1000.

In the implementation, TT 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 TT 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\epsilon_{\mathrm{query}} = \epsilon_{\mathrm{token}} \times 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\mathrm{DP}^{3} is a contemporaneous work. Our NeurIPS submission deadline was in May 2026, whereas DP3\mathrm{DP}^{3} 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\mathrm{DP}^{3} 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\mathrm{DP}^{3} does not consider privacy-preserving cache scheduling or cache replacement.

For completeness, we additionally implemented the token-reuse strategy of DP3\mathrm{DP}^{3} using the same token perturbation mechanism, Cape, adopted in our framework. As shown below, LDPCache with MF consistently outperforms the token-level reuse strategy.

Budget ϵ\epsilon DP3\mathrm{DP}^{3}   MF     LRU     NC  
5 69.90±0.9969.90 \pm 0.99 73.70±1.9873.70 \pm 1.98 71.10±1.1371.10 \pm 1.13 69.30±1.1169.30 \pm 1.11
10 77.25±0.0777.25 \pm 0.07 87.20±1.7687.20 \pm 1.76 85.83±3.2385.83 \pm 3.23 74.43±0.5574.43 \pm 0.55
15 86.05±0.3586.05 \pm 0.35 91.57±1.7991.57 \pm 1.79 90.50±0.8290.50 \pm 0.82 81.03±1.4881.03 \pm 1.48
20 91.10±1.4191.10 \pm 1.41 92.00±0.3592.00 \pm 0.35 92.33±0.4292.33 \pm 0.42 88.13±1.2588.13 \pm 1.25

We also note that the paper Cache Me addresses 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.

Reviewer tifD · CommentOpenReview ↗

Thank you for your response.

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.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for their constructive feedback provided during the review process.

If given the opportunity to revise the paper, we will incorporate these clarifications into the main text by providing a more comprehensive illustration and evaluation of privacy budget savings and utilization, including the reduction in cloud accesses and the increased privacy budget allocated to subsequent cloud queries (R2 for Reviewer FVxm and R2 for Reviwer THeb). We will also better motivate our multiple-query processing scenario with concrete RAG and ICL examples (R1, R7). In addition, we have improved the code to make the privacy budget allocation mechanism more transparent and eliminate potential ambiguity (R5).

Specifically, we present the allocation process step by step, starting from the total privacy budget ϵ\epsilon (total_budget), the number of queries nn (query_count), and the number of sensitive tokens per query TiT_i. Given the total privacy budget ϵ\epsilon, LDPCache first reserves a fixed portion of the budget for the LDP scheduler. Each query consumes δϵ/n\delta\epsilon/n to perturb the cache hit/miss decision. This budget is independent of cache hits and remains unchanged throughout the query process. The remaining budget (1−δ)ϵ(1-\delta)\epsilon is used for perturbing cloud-accessed queries. For the first query (i=1i=1 ), if it accesses the cloud, it is assigned the average per-query budget of ϵ1cloud=(1−δ)ϵ/n\epsilon_1^{cloud}=(1-\delta)\epsilon/n, and each sensitive token is perturbed with ϵ1cloud/T1\epsilon_1^{cloud}/T_1. The privacy budget consumed up to the current query is accumulated, and the remaining budget ϵrm\epsilon_{rm} (remaining_cape_budget) is computed as: $\epsilon_{\mathrm{rm}} =(1-\delta)\epsilon-\sum_{j=1}^{i}\epsilon_j^{\mathrm{cloud}},$ where the summation only includes queries that access the cloud.

For subsequent queries (i>1i>1), the accumulated remaining budget is adaptively reallocated to the remaining cloud-accessed queries. Specifically, the budget assigned to each cloud-accessed query is determined according to the estimated number of cloud accesses among the remaining queries: ϵicloud=ϵrmi−1(n−i+1)Fi,\epsilon_i^{cloud}=\epsilon_{rm}\frac{i-1}{(n-i+1)F_i}, where FiF_i (cloud_access_count) denotes the number of cloud accesses observed among the previous i−1i-1 queries. This adaptive allocation enables subsequent cloud queries to receive a larger privacy budget since previous cache hits have saved more budget. Then ϵicloudTi\frac{\epsilon_i^{\mathrm{cloud}}}{T_i} is used for perturbing each token. We add these intermediate allocation steps to the released code and documentation, explicitly illustrating the budget flow from the global privacy budget to query-level and token-level perturbations. This avoids omitting intermediate terms that cancel out mathematically but may obscure the actual privacy budget allocation process.

Reviewer THebOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces LDPCache, a cache-based local differential privacy framework tailored for sequential multi-query streams submitted to cloud LLMs. It designs an LDP-secured scheduler with dual cache hit criteria and an accuracy equivalence module, alongside a multi-dimensional cache eviction policy optimized for memory-limited edge devices. Extensive experiments show that LDPCache mitigates linear privacy budget depletion and improves output utility by 10%–20% against cacheless LDP baselines.

Strengths and weaknesses

Strengths

  1. This work fills the research gap of semantic caching under noisy LDP environments and puts forward a valuable practical insight: cache eligibility should be judged by both semantic similarity and the privacy budget of cached responses, a dimension ignored by all plaintext LLM caching works.
  2. It realizes a unified reuse pipeline for outputs from edge local small models and cloud LLMs via the proposed Accuracy Equivalence Mechanism, a pragmatic engineering innovation that further cuts cloud invocations and privacy budget consumption on resource-limited edge devices.
  3. The paper constructs a complete end-to-end LDP-compliant workflow. It prevents side-channel leakage by randomizing cache hit/miss decisions and provides rigorous global ε-LDP proof based on sequential composition of privacy losses.

Weaknesses

  1. There is a severe disconnect between the paper’s scene claims and experimental setups. The introduction markets the framework for multi-round conversational scenarios, yet all experiments only adopt independent, context-free multi-query streams without dialogue context, which overstates its applicable range.
  2. The experimental design omits critical supporting evidence for the core claim of privacy budget saving. No quantitative metrics or curves are provided to visualize reduced cloud calls and saved privacy budget; performance gains are only indirectly demonstrated through downstream task accuracy. Besides, the evaluation lacks repeated trials and statistical error bars.
  3. The novelty stays at the level of engineering adaptation rather than fundamental theoretical or paradigm breakthroughs. Most mathematical formulas and core primitives are assembled from existing LDP and caching techniques, without proposing new differential privacy mechanisms or novel cache architectures.
Questions
  • Why does the paper use the term multi-round while all experiments only test context-free independent queries? Please clarify how the framework adapts to real multi-turn dialogue with conversation history.
  • The paper claims LDPCache saves privacy budget, yet no direct quantitative results are provided. Could you elaborate on how much budget and cloud calls are reduced under different settings?
  • How much extra latency and memory overhead does embedding matching and AEM fitting bring on low-end edge devices? Please explain feasible optimization methods.
Limitations
  • The paper claims to address multi-round dialogue but evaluates on SST-2 and QNLI — classification and inference tasks with no conversational structure. The queries in these benchmarks are independent by construction, and "multi-round" similarity is artificially injected by paraphrasing with Kimi API. Could the authors evaluate on an actual multi-turn dialogue dataset (e.g., MultiWOZ, ShareGPT) where rounds are genuinely dependent, to validate that the proposed budget allocation logic holds under real conversational pressure?
  • The direct measure of the paper's central benefit — privacy budget saved per session and cloud LLM call frequency — is never reported. Only downstream accuracy is shown. Can the authors add plots of cumulative budget consumption and cloud invocation rate over query sequence, comparing LDPCache-MF against NoCache and LDPCache-LRU? Without this, it is impossible to verify whether budget savings are the actual mechanism behind the accuracy gains.
Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

R1 to W1:

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.

Such scenarios commonly arise in privacy-sensitive LLM applications, such as RAG and ICL. For example, in RAG systems, organizations often keep private knowledge bases locally while querying external LLM services for generation. Since the same knowledge-base documents may be retrieved as top-kk relevant contexts for different queries, these queries naturally exhibit semantic correlations. Similarly, 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 mechanisms.

We further evaluate LDPCache in the ICL scenario on the DBpedia benchmark dataset with cache size = 100. The results are reported below, showing that our proposed method consistently achieves strong performance in this representative multiple-query processing scenario.

Budget ϵ\epsilon LDPCache-MF LDPCache-LRU   NC  
5 68.01±9.6468.01 \pm 9.64 64.08±5.3264.08 \pm 5.32 60.78±2.3260.78 \pm 2.32
10 77.32±1.5977.32 \pm 1.59 74.34±4.9974.34 \pm 4.99 68.74±2.5668.74 \pm 2.56
15 83.37±4.9283.37 \pm 4.92 80.72±4.9180.72 \pm 4.91 73.72±1.2973.72 \pm 1.29
20 92.36±0.6892.36 \pm 0.68 91.05±2.6391.05 \pm 2.63 84.32±3.5784.32 \pm 3.57

R2 to W2

In LDPCache, cache hits eliminate the need to access the cloud service for a portion of queries, thereby avoiding privacy budget consumption for those queries. Instead of leaving the saved budget unused, LDPCache adaptively reallocates it to subsequent queries that require cloud access. As a result, these cloud queries receive a larger privacy budget, which reduces the perturbation magnitude and improves query utility. Consequently, LDPCache utilizes almost the entire privacy budget while achieving higher overall utility.

To illustrate this effect, the following table reports the average privacy budget per sensitive token for cloud-accessed queries (Budget-MF) and the number of cloud accesses (Count-MF) on the SST-2 and CNN/DailyMail datasets with a cache size of 50. Compared with NoCache, which allocates a fixed budget of 5.0 per sensitive token and performs 1,000 cloud accesses, LDPCache achieves a substantially higher average budget for cloud-accessed queries while requiring significantly fewer cloud accesses. This confirms that the privacy budget saved through cache hits is effectively reallocated to subsequent cloud queries, leading to higher query utility.

Dataset Workload MF-budget MF-count
SST-2 Zipf 11.9 423.0
SST-2 Uniform 8.3 599.0
CNN/DailyMail Zipf 8.7 516.0
CNN/DailyMail Uniform 7.8 576.5

R3 to W3

We agree that LDPCache does not introduce a new differential privacy primitive or a fundamentally new cache architecture. Instead, our contribution lies in introducing the first cache-enhanced LDP framework for multi-query LLM processing. Specifically, we formulate the new research problem of enabling semantic caching for multi-query LLM services under local differential privacy constraints. To the best of our knowledge, no existing work has studied this problem or proposed a systematic solution.

Although our framework builds upon established LDP mechanisms and semantic caching techniques, directly combining them is insufficient. The private setting introduces several new challenges that do not arise in conventional semantic caching. Specifically, (i) cache-hit evaluation must jointly consider semantic similarity and response accuracy because cached responses are generated from perturbed queries; (ii) cache scheduling decisions themselves 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. These challenges require new algorithmic designs, including our LDP-compliant scheduler, accuracy-aware cache-hit evaluation, accuracy equivalence mechanism, and multi-factor cache eviction strategy.

Therefore, the novelty of LDPCache lies not in proposing a new DP primitive, but in developing the first privacy-aware semantic caching framework that systematically integrates these components to solve multi-query LDP inference, which, to the best of our knowledge, has not been addressed in prior work.


R4 to Q3

The additional latency and memory overhead of LDPCache are reported below. In our implementation, we use the all-mpnet-base-v2 model for embedding encoding and the PairRM model for the Accuracy Equivalence Mechanism (AEM).

The embedding encoding incurs an average latency of approximately 5 ms per query, which is negligible compared with the end-to-end latency of cloud-based LLM inference. Although PairRM inference introduces additional computation (approximately 600 ms), it is not on the critical path. Specifically, AEM evaluation can be executed asynchronously in the background without delaying query serving. Once the estimated budget is computed, it is stored together with the cached response for future cache-hit decisions.

Regarding memory consumption, the PairRM model requires approximately 4 GB of memory during inference. This overhead is practical for modern mobile devices. In particular, PalmBench [1] demonstrates that contemporary mobile platforms can efficiently execute compressed language models with memory footprints exceeding 4 GB, indicating that the memory requirement of LDPCache is within the capability of current mobile hardware.

Dataset Encoding runtime (ms) PairRM runtime (ms) Embedding memory AEM memory
SST-2 5.58±0.135.58 \pm 0.13 419.31±21.20419.31 \pm 21.20 420 MB 4 GB
CNN/DailyMail 6.57±0.316.57 \pm 0.31 657.06±20.08657.06 \pm 20.08 420 MB 4 GB

[1] PalmBench: A Comprehensive Benchmark of Compressed Large Language Models on Mobile Platforms.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the insightful comments. Please let us know if you have any further questions.

Reviewer 6nGsOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper presents LDPCache, a cache-enhanced LDP framework to address privacy budget consumption in multi-query LLM services. LDPCache reuses historical query-response pairs when consecutive user queries are semantically similar, thereby reducing unnecessary accesses to cloud-based LLMs. The framework designs an LDP-compliant scheduler to evaluate cache reusability and protect hit/miss decisions, and further proposes an accuracy equivalence mechanism and a multi-factor cache eviction strategy to improve cache utilization under limited edge memory.

Strengths and weaknesses

Strengths:

  1. The idea of combining LDP-based privacy protection with semantic response caching is interesting and practically meaningful for multi-query LLM services.
  2. The proposed framework is relatively complete, covering query scheduling, response generation, cache update, and cache eviction under edge-device memory constraints.

Weakness:

  1. The main claim regarding privacy budget consumption is not sufficiently supported by the experiments. The paper claims that LDPCache can reduce privacy budget consumption, but the empirical results mainly focus on response accuracy, coherence, alignment, and cache hit ratio. Although the scheduler evaluates cache reusability and reduces cloud accesses by reusing cached responses, the paper does not directly quantify how much privacy budget is actually saved. Therefore, the central claim is only indirectly supported.
  2. The privacy protection of the scheduling process is not fully validated. The paper perturbs the Hit/Miss decision to make the scheduler satisfy LDP guarantees, but it does not conduct attack experiments to evaluate whether an adversary observing long-term access patterns can still infer query repetition, semantic topics, or user behavior. Therefore, the access-pattern privacy claim mainly relies on the formal randomized response mechanism rather than empirical privacy leakage analysis.
  3. The baseline comparison is limited. The paper mainly compares LDPCache-MF with NoCache and LDPCache-LRU. NoCache is useful for demonstrating the benefit of introducing caching, and LDPCache-LRU is useful for comparing the proposed eviction strategy with a simple replacement policy. However, the paper does not compare with privacy-compatible adaptations of existing semantic caching methods, although semantic caching is closely related to the proposed framework. This makes it difficult to assess whether the proposed cache scheduler and eviction strategy are truly superior to prior cache-based alternatives.
  4. The ablation studies are incomplete. The multi-factor eviction strategy is only evaluated as a whole against LRU. The paper does not separately ablate the diversity, accuracy, and recency components, so it remains unclear which component contributes most to the performance gains. In addition, the accuracy equivalence mechanism for local-model responses is not directly ablated. The paper does not compare against variants without this mechanism, with a fixed equivalence budget, or without caching local-model responses. Therefore, the necessity of some design choices is not sufficiently validated.
  5. Sections 3 and 4 have clarity issues. The cache hit criterion combines semantic similarity with budget-based accuracy estimation, but the motivation for using the privacy budget as a proxy for response accuracy is not sufficiently explained. In addition, the meaning and usage of the privacy budget (\epsilon) are introduced in a scattered manner, and this key parameter is not explained in sufficient detail.
Questions
  1. The central claim would be more convincing with direct evidence on privacy budget consumption. Besides response quality, it would be helpful to report actual cloud-access counts, effective consumed privacy budget, or privacy-utility trade-off curves. Evidence that LDPCache achieves comparable utility with less privacy budget, or higher utility under the same rigorously accounted total budget, would significantly strengthen the paper.
  2. The privacy protection of the scheduling process needs further clarification. The paper perturbs Hit/Miss decisions, but it remains unclear whether long-term cloud-access traces still reveal query repetition, semantic topics, or user behavior. A small-scale attack-based evaluation would help determine whether the access-pattern privacy claim is meaningful in practice.
  3. The baseline comparison could be strengthened by including privacy-compatible adaptations of existing semantic caching methods. The current baselines, NoCache and LDPCache-LRU, show the benefit of caching and the proposed eviction policy over LRU, but they do not fully establish superiority over prior cache-based alternatives.
  4. More targeted ablations are needed for the proposed mechanisms. Separately removing the diversity, accuracy, and recency terms would clarify their individual contributions to the multi-factor eviction strategy. Similarly, variants without the accuracy equivalence mechanism, with a fixed equivalence budget, or without caching local-model responses would help justify the necessity of this design.
Limitations

Yes

Final justification

The authors didn't address my concerns from the questions,

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

R1 to W1: In LDPCache, cache hits eliminate the need to access the cloud service for a portion of queries, thereby avoiding privacy budget consumption for those queries. Instead of leaving the saved budget unused, LDPCache adaptively reallocates it to subsequent queries that require cloud access. As a result, these cloud queries receive a larger privacy budget, which reduces the perturbation magnitude and improves query utility. Consequently, LDPCache utilizes almost the entire privacy budget while achieving higher overall utility.

To illustrate this effect, the following table report the average privacy budget per sensitive token for cloud-accessed queries (Budget-MF) and the number of cloud accesses (Count-MF) on the SST-2 and CNN/DailyMail datasets with a cache size of 50. Compared with NoCache, which allocates a fixed budget of 5.0 per sensitive token and performs 1,000 cloud accesses, LDPCache achieves a substantially higher average budget for cloud-accessed queries while requiring significantly fewer cloud accesses. This confirms that the privacy budget saved through cache hits is effectively reallocated to subsequent cloud queries, leading to higher query utility.

Dataset Workload MF-budget MF-count
SST-2 Zipf 11.9 ± 0.6 423.0 ± 19.7
SST-2 Uniform 8.3 ± 0.3 599.0 ± 22.0
CNN/DailyMail Zipf 8.7 ± 0.5 516.0 ± 1.4
CNN/DailyMail Uniform 7.8 ± 0.1 576.5 ± 9.2

R2 to W2: We agree that empirically evaluating long-term access-pattern privacy against inference attacks would provide additional insights into the effectiveness of the proposed scheduler. However, to the best of our knowledge, there is currently no established attack benchmark or evaluation protocol for inferring query repetition, semantic topics, or user behavior directly from semantic cache access patterns under the LDP setting. Nevertheless, although such attacks have not yet been systematically studied, we would like to emphasize that making decisions based on sensitive semantic information inherently poses a risk of privacy leakage. In future work, we will investigate practical attack models and empirical evaluation methodologies for access-pattern privacy.

R3 to W3: For cache scheduling, existing semantic caching methods (e.g., GPTCache and MeanCache) determine cache hits solely based on semantic similarity. Since our framework is orthogonal to the underlying similarity metric, we compare a similarity-only scheduler (cosine similarity used in GPTCache) with our proposed scheduler, which additionally considers the expected response quality under the available privacy budget. The results below demonstrate the effectiveness of the accuracy-aware cache hit decision strategy on SST-2 with a cache size of 100.

Budget ϵ\epsilon  Similarity only    LDPCache-MF     LDPCache-LRU  
5 73.90±3.7873.90 \pm 3.78 73.70±1.9873.70 \pm 1.98 71.10±1.1371.10 \pm 1.13
10 82.18±6.3282.18 \pm 6.32 87.20±1.7687.20 \pm 1.76 85.83±3.2385.83 \pm 3.23
15 85.40±5.0585.40 \pm 5.05 91.57±1.7991.57 \pm 1.79 90.50±0.8290.50 \pm 0.82
20 91.25±0.9591.25 \pm 0.95 92.00±0.3592.00 \pm 0.35 92.33±0.4292.33 \pm 0.42

For cache eviction, we would like to emphasize that LRU remains the most widely adopted replacement strategy in existing semantic caching systems. In addition, we compare LDPCache with two recent cache eviction methods, Cortex [1] and RAC [2]. Cortex computes an eviction score by jointly considering factors such as recency and access cost, while RAC prioritizes cache entries based on topic recency and the access frequency of semantically related queries. As shown in the results below on SST-2 under a Zipf workload with a cache size of 100, LDPCache performs better in most cases, demonstrating the effectiveness of our multi-factor eviction policy.

Budget ϵ\epsilon  Cortex    RAC    LDPCache-MF   LDPCache-LRU    NC  
5 73.37±1.0573.37 \pm 1.05 73.56±1.1973.56 \pm 1.19 73.70±1.98\mathbf{73.70 \pm 1.98} 71.10±1.1371.10 \pm 1.13 69.30±1.1169.30 \pm 1.11
10 83.20±1.3583.20 \pm 1.35 85.04±2.4985.04 \pm 2.49 87.20±1.76\mathbf{87.20 \pm 1.76} 85.83±3.2385.83 \pm 3.23 74.43±0.5574.43 \pm 0.55
15 87.43±0.9187.43 \pm 0.91 88.34±2.2588.34 \pm 2.25 91.57±1.79\mathbf{91.57 \pm 1.79} 90.50±0.8290.50 \pm 0.82 81.03±1.4881.03 \pm 1.48
20 91.77±1.0091.77 \pm 1.00 92.04±0.4592.04 \pm 0.45 92.00±0.3592.00 \pm 0.35 92.33±0.42\mathbf{92.33 \pm 0.42} 88.13±1.2588.13 \pm 1.25

[1] Cortex: Achieving Low-Latency, Cost-Efficient Remote Data Access For LLM via Semantic-Aware Knowledge Caching

[2] RAC: Relation-Aware Cache Replacement for Large Language Models

R4 to W4: As suggested, we conduct two additional ablation studies to better validate the necessity of the proposed designs. First, we separately remove each component of the multi-factor eviction strategy, namely diversity, accuracy, and recency, to quantify its individual contribution. Second, we evaluate variants without local-model response caching to assess the impact of ``Accuracy Equivalence Mechanism”. The results below are obtained on SST-2 under a Zipf workload with a cache size of 100. They demonstrate that each component of LDPCache contributes to the overall performance improvement.

Variant Accuracy (%)
MF 73.7
without diversity 72.3
without accuracy 71.3
without recency 71.7
without caching local-model responses 72.2

R5 to W5: We apologize for the insufficient explanation of the privacy budget ϵ\epsilon in the original manuscript. The privacy budget should ideally be introduced together with the definition of LDP. Specifically, LDP requires that for any two inputs tt and t′t', the probability ratio of producing the same output OO under a randomized mechanism is bounded by eϵe^{\epsilon}. Here, ϵ\epsilon is referred to as the privacy budget, which controls the perturbation scale of the randomized mechanism. A larger ϵ\epsilon corresponds to a weaker privacy requirement and smaller perturbation, while a smaller ϵ\epsilon provides stronger privacy at the cost of larger perturbation. Since the mean squared error (MSE) introduced by DP/LDP mechanisms is generally proportional to 1/ϵ21/\epsilon^{2}, we use 1/ϵ1/\epsilon as a simple proxy for response accuracy in several parts of the paper.

Reviewer 6nGs · CommentOpenReview ↗

Thank you for the authors’ response. Most of my concerns have been addressed; However, the response remains incomplete because the scheduler’s access-pattern guarantee is established through randomized response and composition over a fixed-length sequence of Hit/Miss decisions, while practical inference from richer timing signals or long-term behavior is not evaluated. Since repeated-query workloads are already available, a small attack experiment or a narrower practical privacy claim remains necessary.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the valuable suggestion. Due to the limited rebuttal period, we focused primarily on addressing the major technical concerns raised during the review process. Following the reviewer's suggestion, we have conducted an additional lightweight empirical validation to further evaluate the practical leakage of access patterns.

Specifically, we perform a practical access-pattern inference attack using our existing query workloads. We assume that an adversary can only observe the scheduler's binary decisions, i.e., whether each query is served by the cloud LLM or the local cache (local model), without access to query contents. Based solely on the observed access sequence, the adversary attempts to infer two types of sensitive information. First, the attacker predicts whether the current query is repeated or semantically related to previous queries, which may reveal whether the user is repeatedly searching for the same potentially sensitive topic. Second, the attacker estimates the repetition ratio of the query workload from long-term access sequences, which characterizes the user's long-term querying behavior and interaction pattern.

For the first attack, we compare two settings: (i) LDPCache-w/o RR, where the scheduler makes deterministic cache decisions without randomized response and the attacker directly observes the access pattern; (ii) LDPCache-RR, where the attacker directly uses the perturbed access decisions. The results are reported below. The proposed randomized scheduler reduces the attack accuracy to nearly random guessing under low privacy budgets. As the privacy budget increases, the attack performance gradually improves due to weaker perturbation, reflecting the inherent privacy-utility trade-off in differential privacy. Note that the accuracy of LDPCache-w/o RR is not always 100%, since cache hits are determined jointly by semantic similarity and the estimated response quality, rather than semantic similarity alone.

Attack Accuracy of similar queries by varying budget

ε LDPCache-w/o RR LDPCache-RR
1 100.00% 52.90%
5 94.50% 60.70%
10 93.70% 69.80%
15 92.50% 77.40%
20 95.30% 84.80%

For the second attack, we evaluate whether an adversary can infer the ratio of repeated or semantically similar queries from long-term access sequences, which reveals potential leakage of users' querying behaviors. We compare the same methods as above. The results are reported below. We observe that the estimation accuracy reduces as the length of the observed sequence increases, which is consistent with the statistical property of LDP that aggregating more observations reduces estimation variance. LDPCache-RR achieves an estimation accuracy of about 0.1, while LDPCache-w/o RR is with aobut 0.05. These results demonstrate that randomized scheduling effectively reduces long-term behavioral leakage from observable access patterns.

Attack error of repetition ratio by varying the size of query workload

length LDPCache-w/o RR LDPCache-RR
0–600 0.0517 0.0867
0–700 0.0429 0.1043
0–800 0.0412 0.1063
0–900 0.0367 0.1167
0–1000 0.0430 0.1090
Reviewer FVxmOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes LDPCache, a locally differentially private framework for multi‑query LLM access in the Model‑as‑a‑Service setting. Existing methods sanitize each query independently, which causes the total privacy budget to grow with the number of queries and hurts utility. LDPCache instead maintains a local cache of query–response pairs and uses an LDP‑compliant scheduler to decide whether to reuse a cached response, call a local small model, or send a perturbed query to the cloud LLM. I read this primarily as a general systems/privacy contribution rather than a use-inspired deployment framing.

Strengths and weaknesses

The problem and motivation are clearly explained. The technical formulation is sound and the threat model and use of randomized response for scheduling decisions are clearly stated. The cache scheduling mechanisms are well specified, including how semantic similarity, privacy budgets, and access counts determine whether to hit the cache or query the cloud model. The experimental evaluation is well designed as well.

One limitation is that most results seems to be single‑run without error bars due to large‑model cost, so statistical uncertainty is not quantified properly. Moreover, some sections are dense with notation and implementation details, but the main ideas can be understood without going into every formula. Overall the paper is readable and coherent for NeurIPS audiences interested in privacy and systems.

Questions
  • Could authors briefly clarify how LDPCache’s privacy guarantees compare to simply applying a single‑query LDP mechanism independently to each query, especially in terms of total budget consumption over long sessions?

  • In practice, how should a developer choose the weights for diversity, accuracy, and recency in the cache eviction rule, and how sensitive are the main performance gains to these choices?

Limitations

Yes

Final justification

Overall, the author rebuttal addresses my main questions, especially clarifying LDPCache’s privacy budget accounting versus independent single-query LDP and providing additional sensitivity/robustness details. My scores remain positive.

Formatting concerns

NA

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

R1 to W1: Due to the limited rebuttal period, we were unable to rerun all experiments using multiple random seeds. Instead, we selected representative settings and repeated each experiment using five random seeds. The results are reported below. We followed the same procedure for the additional experiments suggested by the other reviewers.

In addition, we will revise the presentation to provide a more intuitive explanation of the formulation.

Performance comparison on SST-2 with ϵ=5\epsilon=5 and a cache size of 100

Workload MF LRU NoCache
Zipf 73.70±1.9873.70 \pm 1.98 71.10±1.1371.10 \pm 1.13 69.30±1.1169.30 \pm 1.11
Uniform 72.97±0.5172.97 \pm 0.51 68.63±0.8568.63 \pm 0.85 65.67±0.9565.67 \pm 0.95

Performance comparison on CNN/DailyMail with ϵ=5\epsilon=5 and a cache size of 100

Workload MF Coherence MF Alignment LRU Coherence LRU Alignment NoCache Coherence NoCache Alignment
Zipf 69.52±0.9769.52 \pm 0.97 62.30±0.9762.30 \pm 0.97 68.38±0.3968.38 \pm 0.39 61.16±0.4561.16 \pm 0.45 64.48±0.5764.48 \pm 0.57 62.56±0.7862.56 \pm 0.78
Uniform 69.29±0.7369.29 \pm 0.73 62.32±0.9562.32 \pm 0.95 66.67±1.6366.67 \pm 1.63 60.61±1.4360.61 \pm 1.43 64.65±0.2864.65 \pm 0.28 62.18±0.1962.18 \pm 0.19

R2 to Q1: For ease of understanding, we first provide a brief analysis, followed by a detailed privacy proof.

LDPCache provides the same overall privacy guarantee as independently applying an LDP mechanism to every query. The difference lies not in the privacy guarantee itself, but in how the privacy budget is consumed and allocated across queries.

Specifically, given a total of BB queries, the entire process is assigned a total privacy budget of ϵ\epsilon. A standard single-query LDP mechanism allocates a fixed budget of ϵ/B\epsilon/B to each query, assuming that every query requires cloud access.

In contrast, LDPCache reduces cloud access by answering semantically similar queries using the local cache. Because reusing a cached response does not expose the current query to the third-party cloud service, it consumes no cloud-query perturbation budget, except for a small portion reserved for perturbing the scheduling decision to satisfy LDP. The budget saved through cache hits is then adaptively reallocated to subsequent queries that require cloud access.

Consequently, some cloud queries can use a larger privacy budget than the baseline ϵ/B\epsilon/B, resulting in less perturbation and higher utility, while the total privacy loss remains bounded by ϵ\epsilon. In essence, LDPCache reduces the number of cloud accesses and allocates a larger budget to each remaining cloud query, thereby making more effective use of the total privacy budget.

Although not discussed in the paper, LDPCache can also operate under a fixed per-query privacy budget. In this setting, each cloud query consumes the same privacy budget as the standard single-query mechanism, while the budget saved through cache hits can be used to support additional cloud queries. Consequently, under the same total privacy budget, LDPCache can serve more cloud queries than independently applying the single-query LDP mechanism.

Detailed Privacy Guarantee Analysis

We analyze the privacy loss of LDPCache according to the two components that consume privacy budget: the LDP-compliant scheduling process and the local perturbation process performed before cloud access. The total privacy budget is ϵ\epsilon, where ϵ1\epsilon_1 is allocated to the scheduling process and the remaining budget, ϵ−ϵ1\epsilon-\epsilon_1, is allocated to perturbing queries sent to McloudM_{\mathrm{cloud}}.

For each incoming query qiq_i, LDPCache first evaluates cache reusability and obtains a binary Hit/Miss decision. Because this decision depends on the relationship between qiq_i and the cached queries in CC, directly exposing it may leak information about the query stream.

Therefore, LDPCache applies randomized response to the Hit/Miss decision with privacy budget ϵ1/n\epsilon_1/n. Specifically, the original decision is preserved with probability p=exp⁡(ϵ1/n)/(exp⁡(ϵ1/n)+1)p=\exp(\epsilon_1/n)/(\exp(\epsilon_1/n)+1) and flipped otherwise. Hence, each scheduling step satisfies ϵ1/n\epsilon_1/n-LDP. Because the workflow contains at most nn scheduling steps, the total privacy loss of the scheduling process is bounded by n×(ϵ1/n)=ϵ1n \times (\epsilon_1/n)=\epsilon_1.

For queries routed to McloudM_{\mathrm{cloud}}, LDPCache locally perturbs each query before transmission. At the ii-th step, the perturbation budget is dynamically allocated from the remaining budget as ϵi=ϵrm(i−1)/((n−i+1)Fi)\epsilon_i=\epsilon_{\mathrm{rm}}(i-1)/((n-i+1)F_i). The perturbed query qi′q_i' is then generated from qiq_i under ϵi\epsilon_i-LDP before being sent to McloudM_{\mathrm{cloud}}.

Because ϵrm\epsilon_{\mathrm{rm}} is updated after each cloud access, the total privacy loss caused by all cloud-query perturbations is bounded by the budget reserved for this component, namely ϵ−ϵ1\epsilon-\epsilon_1.

For cache reuse, LDPCache directly returns a cached response from CC, and the current query qiq_i is not sent to the cloud. For local-model inference, qiq_i is processed entirely on the user side by MlocalM_{\mathrm{local}}. Therefore, neither branch consumes additional cloud-query perturbation budget.

Cache updates, cache replacement, and eviction-score computation are also local post-processing operations performed over cached information and protected outputs. By the post-processing property of differential privacy, these operations do not introduce additional privacy loss.

Combining the scheduling process and the cloud-query perturbation process, the overall privacy loss of LDPCache is bounded by ϵ1+(ϵ−ϵ1)=ϵ\epsilon_1+(\epsilon-\epsilon_1)=\epsilon.

Therefore, by the sequential composition and post-processing properties of local differential privacy, LDPCache satisfies ϵ\epsilon-LDP for the complete multi-query workflow.

R3 to Q2: We acknowledge that, in practice, the hyperparameters are tuned using a small amount of non-sensitive validation data, for example, through grid search.

Authors · CommentOpenReview ↗

udpate R3 to Q2

RQ3 to Q2 : We acknowledge that, in practice, the hyperparameters should be tuned using a small amount of non-sensitive validation data, e.g., through grid search.

We explore the sensitivey of β\beta. The parameter βt\beta_t governs the weight distribution among the recency and diversity factors in the cache eviction. Specifically, βt\beta_t is determined jointly by μ\mu and η\eta. To study their effect, we evaluate μ\mu and η\eta on SST-2 with cache size 100 under the Zipf workload. Based on our empirical results, we select the best-performing combination, μ=0.07\mu = 0.07 and η=12\eta = 12, which is adopted in our experiments.

heat_sharpness η\eta heat_center μ\mu β\beta Accuracy
12 0.07 0.6781 73.70±1.98%73.70 \pm 1.98\%
4 0.03 0.6172 72.38±1.79%72.38 \pm 1.79\%
24 0.03 0.9206 70.97±2.51%70.97 \pm 2.51\%
4 0.25 0.3842 71.30±2.32%71.30 \pm 2.32\%
24 0.25 0.0557 71.65±2.75%71.65 \pm 2.75\%

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…