acceptodds
Published as a conference paper at NeurIPS 2026

Ask in the Crowd: Differentially Private LLM Inference via Dummy-Augmented Shuffling

Zhihao Liu, Zixiong Guo, Shuo Shao, Yu He, Wenli Wang, Meihui Chen, Di Wang, Yuke Hu

Abstract

Large language models are increasingly deployed as LLM-as-a-Service (LLMaaS), where user queries are sent to remote LLMs for inference, raising severe privacy concerns about the exposure of sensitive user inputs. Differentially private inference mitigates these risks by injecting noise into input embeddings. However, existing methods struggle to balance privacy and utility, as stronger privacy protection often leads to substantial accuracy degradation in LLM inference. In this work, we propose DP-SPD, a differentially private LLM inference framework that protects user queries by hiding the real query among client-generated dummy queries. All queries are randomly shuffled before being sent to the server, preventing direct identification of the user's true intent. To improve inference efficiency, we exploit the shared-prefix structure among queries and reuse transformer key–value (KV) caches during decoding. We analyze the privacy guarantee of DP-SPD and evaluate its utility on classification and generation tasks, as well as its privacy protection under EIA, MIA, and GPT-based attacks. Experimental results show that our method achieves strong inference-time privacy protection while maintaining utility close to plain-text inference under practical latency.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.60 over 5 reviews, above 4% of the others.
Reviewer_ShC1OpenReview ↗
Rating
4
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper studies input privacy leakage in the LLM-as-a-Service setting, where user queries are uploaded to cloud-based LLMs. The authors propose DP-SPD, which splits a user query into a shared prefix and a private suffix. A local model generates multiple dummy suffixes based on the perturbed prefix. The real suffix and dummy suffixes are then perturbed, shuffled, and sent to the server together to hide the real query. The paper also reuses the shared prefix through KV-cache reuse to reduce the inference overhead introduced by dummy queries. The authors claim that DP-SPD improves privacy, utility, and efficiency simultaneously, and evaluate it on classification tasks, generation tasks, MIA, EIA, and GPT-based attacks.

Strengths and weaknesses

The paper studies an important and practically relevant problem. The system idea of dummy-augmented shuffling combined with KV-cache reuse is somewhat novel. In addition, the paper evaluates not only privacy budgets but also concrete privacy attacks, including MIA, EIA, and GPT-based attacks. For example, in the MIA evaluation, it compares prefix-consistent dummies, random-sampled dummies, and random-token dummies, and reports ASR, real PPL, dummy PPL, and PPL gap. The GPT-based attack further tests the adversary’s ability to identify the real suffix and recover the private suffix. Overall, I believe the paper has research value and some novelty. However, the following issues need to be addressed:

  1. The experiments are mainly conducted on small language models. Evaluation on larger and more realistic models would be more meaningful, such as LLaMA-70B or current commercial models like GPT and Claude.

  2. The necessity of the prefix/suffix split is questionable. Although this design enables KV-cache reuse and improves inference efficiency, it also introduces additional issues. For example, if sensitive information appears in the prefix, suffix-level shuffling cannot provide privacy amplification for that sensitive information. Moreover, the split is based on a fixed length ratio rather than sensitive-information locations or semantic privacy boundaries.

  3. The term MIA is not very accurate in this paper. The attack is not classical membership inference, but rather real-query identification or real-suffix identification. The authors should rename it or clearly explain the difference to avoid confusion with training-data membership inference.

  4. The paper lacks concrete natural-language examples of real queries and dummy queries. For a system paper of this type, a complete example would help readers better understand the prefix, suffix, dummy suffix, shuffling, and de-shuffling process.

  5. The DP perturbation methods used for the prefix and suffix are existing techniques, and the perturbation design itself is relatively simple.

Questions

Refer the weaknesses above.

Limitations

None

Paper formatting concerns

None

1 comment

We thank the reviewer for the constructive comments and valuable suggestions. The reviewer raised several important questions regarding evaluation, privacy protection, attack terminology, and the novelty of DP-SPD. We address each concern below.


W1: Evaluation on larger and more realistic models

We are sorry that the original manuscript does not sufficiently demonstrate the scalability and practical applicability of DP-SPD. As you suggested, we conduct a preliminary evaluation using Qwen3-32B as the inference backend on 1,000 independent WildChat[1] queries, including 500 answerable questions and 500 open-ended user requests. WildChat provides a substantially more realistic instruction-style workload than the conventional classification and generation benchmarks used in our original submission.

At the target privacy budget ϵ=3\epsilon=3, both evaluated DP-SPD configurations retain utility close to the plaintext upper bound. On the 500-question QA subset, plaintext inference achieves 72.6% LLM-judge accuracy, while DP-SPD also achieve 72.6%. On the 500 open-ended requests, plaintext obtains an average quality score of 4.716/5, and DP-SPD retain the same 4.716/5 score. Their overall ROUGE-L scores are likewise nearly identical to plaintext at approximately 0.241.

These results provide initial evidence that DP-SPD scales beyond the smaller models and traditional benchmarks considered in the original submission, while preserving utility on a 32B-parameter model under realistic conversational query distributions. In the revised manuscript, we will add the complete experimental setup and results, and we plan to further extend the evaluation to additional large-model families and broader real-world conversational datasets.

MethodWildChat QA judge accuracyOpen-ended quality
Plaintext72.6%4.716/5
DP-SPD72.6%4.716/5
CuText+43.8%3.79/5
SanText+39.6%3.56/5
InferDPT36.6%3.21/5
DP-Forward21.4%2.71/5
TextObfuscator-style27.6%2.93/5

References

  • [1] Zhao, Wenting, et al. "Wildchat: 1m chatgpt interaction logs in the wild." arXiv preprint arXiv:2405.01470 (2024).

W2: Necessity of prefix/suffix split and potential sensitive information in the prefix

We are sorry for the confusion regarding the motivation for the prefix/suffix split and how sensitive information in the prefix is protected. In fact, both the prefix and the suffix are protected by differential privacy mechanisms. Specifically, noise perturbation is applied to both parts of the query, and therefore both enjoy privacy protection under the same framework.

The difference between the prefix and suffix lies in the privacy-utility-efficiency trade-off, rather than the level of privacy protection. Since the suffix is augmented with multiple dummy candidates, it can further benefit from shuffle-based privacy amplification, achieving a better privacy-utility trade-off while maintaining the same privacy framework.


W3: MIA terminology is inaccurate

Thank you for pointing out this terminology issue. We agree that the current name "Membership Inference Attack" may cause confusion because the attack objective is not to determine whether a query appears in the training data, but rather to identify the real query among shuffled candidates. In the revised manuscript, we will rename this attack as Query Identification Attack (QIA) and clarify its difference from the classical membership inference setting.


W4: Lack of concrete natural-language examples

We are sorry for the missing concrete example illustrating the DP-SPD pipeline. As you suggested, we will include an end-to-end natural-language example in the revised manuscript. The example is adapted from a real user query in the WildChat dataset [1] and illustrates the complete workflow of DP-SPD, from query partitioning and dummy generation to shuffled inference and client-side response recovery, as shown below.

Real query:
what is a biggest salary for Embedded Developer in Automotive industry with 7 year experience

Shared prefix:
what is a biggest salary for Embedded

Private suffix:
Developer in Automotive industry with 7 year experience

Shuffled candidates sent to the server (labels shown only for illustration):

Candidate 0 (dummy):
what is a biggest salary for Embedded Systems Architect with at least 5 years of experience in Germany

Candidate 1 (real):
what is a biggest salary for Embedded Developer in Automotive industry with 7 year experience

Candidate 2 (dummy):
what is a biggest salary for Embedded Systems Engineer in Bangalore, India

Candidate 3 (dummy):
what is a biggest salary for Embedded Firmware Engineer in China

Candidate 4 (dummy):
what is a biggest salary for Embedded Systems Programmer with more than 3 years of experience in Europe

W5: Perturbation mechanism is based on existing techniques

We are sorry for the misunderstanding regarding the role of the perturbation mechanism in DP-SPD. The original manuscript did not clearly emphasize that the perturbation mechanism itself is intentionally simple and is not the primary contribution of this work. Instead, DP-SPD provides a general framework for privacy-preserving LLM inference that is compatible with a wide range of existing DP perturbation methods.

The framework is agnostic to the specific perturbation algorithm: any mechanism satisfying the required privacy guarantee can be incorporated into DP-SPD. The primary contribution of DP-SPD is not a new perturbation algorithm, but rather achieving a favorable trade-off among privacy, utility, and inference efficiency. The revised manuscript will clarify this design philosophy and further emphasize that DP-SPD should be viewed as a general inference framework rather than a perturbation method.

Reviewer_cmZCOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

This work addresses the key problem of achieving a better privacy–utility–efficiency trade-off for privacy-preserving LLM inference. The paper proposes DP-SPD, a framework that hides a user’s real query among client-generated, prefix-consistent dummy queries, applies differential privacy noise in embedding space, and shuffles all candidates before sending them to the server. By exploiting shared prefixes, it reuses transformer KV caches to reduce inference overhead.

Strengths and weaknesses

Strengths

  • The paper identifies a practical gap in privacy-preserving LLM inference: existing methods either incur heavy cryptographic costs or significantly degrade utility through perturbation. It reframes the problem by introducing anonymity via dummy queries, directly targeting the privacy–utility–efficiency trade-off that limits current LLM-as-a-Service deployments.

  • The proposed DP-SPD combines metric differential privacy, prefix-conditioned dummy generation, client-side shuffling, and KV-cache reuse in a unified framework. The shared-prefix design is particularly elegant because it simultaneously improves dummy plausibility for privacy and reduces computational overhead through cache sharing.

  • The evaluation covers utility (classification and generation), privacy (membership inference, embedding inversion, and GPT-based attacks), and efficiency (latency analysis). Testing across multiple models, datasets, and attack settings provides empirical evidence supporting the method’s claimed trade-offs.

Weaknesses

  • The core idea largely combines existing ingredients—embedding-space differential privacy, dummy-query generation, and shuffling-based privacy amplification. While the prefix-conditioned dummy construction and KV-cache reuse are practical, the conceptual novelty beyond prior shuffle-DP and obfuscation-based inference methods appears incremental rather than fundamentally new.

  • The privacy analysis relies on a restricted setting where neighboring inputs share the same prefix and dummy generation depends only on that prefix. This assumption simplifies the proof but may not reflect realistic user queries, leaving privacy guarantees under broader threat models and repeated interactions largely unaddressed.

Questions

Please see weaknesses.

Limitations

yes

Paper formatting concerns

NA

Final justification

The authors' detailed responses have well addressed my concerns. This is an interesting work to apply randomized response to LLM interactions. Therefore, I increase my score from 3 to 4.

1 comment

We thank the reviewer for the constructive comments and valuable suggestions. The reviewer raised important concerns regarding the novelty of DP-SPD and the scope of the privacy analysis. We address each concern below.


W1: Limited conceptual novelty beyond existing components

We are sorry for the misunderstanding regarding the conceptual novelty of DP-SPD. We would like to emphasize that the novelty of DP-SPD lies not in proposing a new perturbation primitive, but in developing a unified framework that effectively addresses the privacy–utility–efficiency trade-off for practical LLM inference. Our contributions are three-fold:

    1. Single-user shuffle framework. Unlike classical shuffle DP, which relies on multiple independent users, DP-SPD introduces a client-side shuffle mechanism with prefix-conditioned dummy queries, enabling shuffle-based privacy amplification in the single-user setting.
    1. Privacy analysis. Existing shuffle amplification theory is developed for standard Local Differential Privacy and cannot be directly applied to our setting. We provide the corresponding Metric-DP privacy analysis and establish the end-to-end privacy guarantee for the complete query.
    1. Practical inference design. We propose prefix-conditioned continuation to generate semantically consistent dummy suffixes, preventing the server from distinguishing dummy queries based on contextual inconsistency. Furthermore, shared-prefix KV-cache reuse significantly reduces the computational overhead introduced by dummy augmentation, making the framework practical for LLM inference.

Therefore, the contribution of DP-SPD is not a new perturbation primitive, but a unified framework that combines single-user shuffle with dummy generation, formal privacy analysis, and efficient LLM inference. We will revise the manuscript to better emphasize these contributions and distinguish them from prior shuffle-DP and obfuscation-based inference methods.


W2: Restricted neighboring relation and limited threat model

We are sorry for the confusion regarding the threat model, which stems from a misunderstanding of the shuffle mechanism in DP-SPD.

Unlike classical shuffle DP, where the shuffled neighboring messages are independently provided by multiple real users, the shuffled candidates in DP-SPD are generated locally by the client. Specifically, after privatizing the shared prefix, the client constructs multiple semantically consistent dummy suffixes conditioned on that privatized prefix and shuffles them together with the real suffix before sending them to the server.

Therefore, the neighboring suffixes in our analysis are not retrieved from existing user prompts or a restricted subset of real queries. Instead, they are synthetically generated by the client for every query. The shared-prefix assumption is introduced only because all shuffled candidates are conditioned on the same privatized prefix, making it an inherent property of our shuffle mechanism rather than a restriction on the threat model. Consequently, this neighboring relation can always be instantiated for arbitrary user queries and does not limit the applicability of DP-SPD.

We will revise the manuscript to clarify this distinction between classical multi-user shuffle DP and our client-side single-user shuffle mechanism, and explicitly explain why the shared-prefix neighboring relation is an inherent property of the mechanism rather than a restricted setting.

Reviewer_tstpOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes a differentially private LLM inference framework, DP-SPD (Differentially Private Shuffling with Prefix-conditioned Dummies), for the LLM-as-a-service setting. The user query is split into a prefix and a suffix. The prefix embeddings are privatized using local metric differential privacy. Based on the privatized prefix, multiple dummy suffixes are generated and noise is added. The original query and the dummy queries are then shuffled before being sent to the server. The use of dummy queries enables privacy amplification through shuffling, while the shared prefix improves efficiency by allowing reuse of the KV cache across queries. The paper provides analyses of utility, privacy, and computational efficiency.

Strengths and weaknesses

Quality: The paper is a mature piece of work, and its main claims are generally well supported through both theoretical analysis and experimental evaluation. However, I would have appreciated more extensive comparisons against existing methods for private LLM inference.

Clarity: The paper is clearly written and well organized. Nevertheless, some implementation details of the attacks are missing, particularly for the membership inference attack and the embedding inversion attack. In addition, the conclusion could be clearer (see suggestions below).

Significance & Originality: The paper addresses a relevant and timely problem. The idea of leveraging privacy amplification via shuffling for single-user LLM inference seems novel. Moreover, the work directly tackles one of the main limitations of such approaches (latency) by incorporating an efficiency improvement through the shared-prefix design.

Questions
  • How were the methods discussed in Section 2.2 selected, and how does this selection relate to the methods included in Table 1? The two sets do not appear to fully overlap, and some methods (e.g., [15]) are not included at all. Relatedly, do the DP notions used by the baseline methods differ? If yes, how should these differences be taken into account when interpreting the utility comparisons?
  • DP-Forward does not appear to use metric DP in its original formulation. However, in Figure 2 and Table 5, DP-Forward seems to be treated synonymously with dχd_{\chi}-privacy. Could the authors clarify this point?
  • Could the authors provide additional comparison results between their method and existing methods? Including utility comparisons on the other models and datasets, and privacy evaluations? If this is not feasible, this should be clearly stated as a limitation.
  • The paper would benefit from additional details on the attack implementations, particularly for the membership inference attack and the EIA. Providing these details would improve reproducibility and make it easier to assess the reported privacy results.
  • Some comparative claims could be stated more precisely. For example, the claim in line 332 that DP-SPD achieves a better “privacy–utility–efficiency” trade-off appears to be based on a comparison with the r=0 variant rather than with competing baseline methods. Similar concerns apply to statements in the conclusion that describe the method as “favorable” or claim reduced privacy leakage without always clearly specifying the baseline for comparison.

Minor comments:

  • I would suggest avoiding references to appendix figures and tables as if they were part of the main paper, and suggest making this distinction clearer.
  • The text in several figures, particularly Figures 1 and 5, is quite small and difficult to read. Increasing the figures or font sizes would improve readability.
  • In Table 1, does “plain text” refer to non-private inference? Since the caption discusses ϵ=3\epsilon=3, the presentation is somewhat confusing and could be clarified.
  • Where available, the paper should cite published versions of references rather than preprints (e.g., [3] and [10]).
  • I would have preferred the detailed results in the appendix to be reported separately for the DP budgets rather than averaged over ϵ\epsilon. Averaging can obscure important differences in behavior across privacy regimes.
Limitations

Limitations are mostly addressed. However, some limitations remain regarding the breadth and clarity of the comparisons with existing private LLM inference methods.

Paper formatting concerns

no major issues

Final justification

I found the responses to my concerns convincing, most importantly the clarifications around DP definitions and the comparisons with existing methods.

1 comment

We thank the reviewer for the constructive comments and valuable suggestions. The reviewer provided helpful feedback on baseline comparison, privacy definitions, attack implementation details, and claim clarity. We address each concern below.


Q1: Baseline selection and the relationship between Section 2.2 and Table 1

We are sorry for the missing clarification regarding the relationship between Section 2.2 and Table 1. Section 2.2 provides a broader review of privacy-preserving LLM inference methods, whereas the original Table 1 mainly compares DP-SPD with text-level perturbation and sanitization baselines, including TextObf, SanText+, and CusText+. These methods directly transform the input text before inference and can therefore be evaluated under the same downstream model and task protocol. ObfusLM was not included in the original table because its privacy definition and privacy guarantee cannot be directly aligned with the Metric-DP guarantee adopted in our experiments. A numerical comparison without a unified privacy definition would therefore be potentially misleading.

As you suggested, we have additionally evaluated DP-SPD against InferDPT, a representative privacy-preserving LLM inference framework that can be instantiated under a comparable experimental setting. The revised manuscript will add the InferDPT results and explicitly distinguish text-level perturbation baselines from end-to-end privacy-preserving LLM inference frameworks.

MethodCategorySST-2QNLI
Plain textPlain inference92.0291.40
DP-ForwardDP-based inference51.6949.48
CAPEText perturbation76.5452.02
TextObfText perturbation79.9358.68
SANTEXT+Text perturbation83.7181.64
CUSTEXT++Text perturbation79.1277.75
SnDDP-based inference72.9063.20
InferDPTDP-based inference81.3779.74
DP-SPDOur method91.0690.36

Q2: Different privacy notions among baseline methods

Thank you for pointing out this potential confusion. DP-Forward is not originally formulated under Metric Differential Privacy. To enable a fair and controlled comparison, we reimplement DP-Forward using the same Metric-DP perturbation mechanism adopted by DP-SPD. Therefore, the reported differences arise from the inference frameworks themselves rather than from different perturbation mechanisms or privacy definitions. Accordingly, the privacy guarantees reported in Figure 2 and Table 5 correspond to the same Metric-DP setting, allowing all methods to be compared under an identical privacy guarantee. The revised manuscript will explicitly describe this experimental setup to avoid confusion.


Q3: Additional comparisons with existing methods

We are sorry that the experimental comparison in the original manuscript is not sufficiently comprehensive. As you suggested, we have conducted additional experiments covering representative privacy-preserving LLM inference methods, including DP-based inference methods and perturbation-based approaches. In particular, we conduct a preliminary evaluation using Qwen3-32B as the inference backend on 1,000 WildChat [1] queries, including 500 answerable questions and 500 open-ended user requests. WildChat provides a substantially more realistic instruction-style workload than the conventional classification and generation benchmarks used in our original submission.

At the target privacy budget ϵ=3\epsilon=3, both evaluated DP-SPD configurations retain utility close to the plaintext upper bound. On the 500-question QA subset, plaintext inference achieves 72.6% LLM-judge accuracy, while DP-SPD also achieves 72.6%. On the 500 open-ended requests, plaintext obtains an average quality score of 4.716/5, and DP-SPD retains the same 4.716/5 score. Their overall ROUGE-L scores are likewise nearly identical to plaintext at approximately 0.241.

MethodWildChat QA judge accuracyOpen-ended quality
Plaintext72.6%4.716/5
DP-SPD72.6%4.716/5
CuText+43.8%3.79/5
SanText+39.6%3.56/5
InferDPT36.6%3.21/5
DP-Forward21.4%2.71/5
TextObfuscator-style27.6%2.93/5

In the revised manuscript, we will include the complete experimental setup and results. As future work, we plan to extend the evaluation to larger frontier LLMs and more realistic conversational benchmarks, including WildChat [1], Casper [2], and PrivacyBench [3], to further validate the scalability and practicality of DP-SPD under real-world deployment settings.

References

  • [1] Zhao, Wenting, et al. "Wildchat: 1m chatgpt interaction logs in the wild.".
  • [2] Chong, Chun Jie, et al. "Casper: Prompt sanitization for protecting user privacy in web-based large language models." CSCloud(2025).
  • [3] Mukhopadhyay, Srija, et al. "PrivacyBench: A Conversational Benchmark for Evaluating Privacy in Personalized AI." (2025).

Q4: Missing details of privacy attack implementations

We are sorry for the missing implementation details of the privacy attacks. The attacks are characterized by three components: the threat model, the attack implementation, and the evaluation protocol. Specifically:

  • 1. Threat model and attacker assumptions. For each evaluated example, the attacker observes a shuffled group of k+1 candidate sequences, consisting of one real query and k dummy queries. The attacker receives only the noised embedding representations and the corresponding attention masks, while the real/dummy labels are used solely for evaluation. The attacker's auxiliary knowledge includes the tokenizer, embedding table or scoring model, the dummy ratio, the number of dummies k, the clipping norm, and the privacy budget.
  • 2. Query identification attack (previously referred to as MIA). The attack uses a frozen white-box causal language model as the scoring model. Each candidate is scored using token-level next-token cross-entropy computed on the reconstructed sequence, and the candidate with the lowest score is identified as the real query. Performance is measured by the attack success rate, together with the random-guess baseline 1/(k+1).
  • 3. Embedding inversion attack (EIA). The attack treats the model's input embedding matrix as a codebook and reconstructs each token using nearest-neighbor search in the embedding space. We report both token-level recovery accuracy on the private suffix and grouped attack success rate.
  • 4. GPT-based inference attack. This attack performs semantic inference on the reconstructed candidate queries. After nearest-neighbor textualization, a GPT model identifies the most plausible real query and reconstructs the original query. We report both selection accuracy and full-query token accuracy.

The revised manuscript will incorporate these implementation details to improve reproducibility.


Q5: Some comparative claims are too broad

We acknowledge that some comparative claims in the current manuscript are broader than warranted. In the revised manuscript, we will carefully revise these claims and explicitly specify the comparison baselines and experimental settings. For example, instead of making a general claim that DP-SPD achieves a better trade-off than all existing methods, we will clarify that DP-SPD improves the trade-off compared with specific baseline methods under the same experimental setting.

Reviewer_Bg5BOpenReview ↗
Rating
2
Clarity
2
Confidence
4
Originality
3
Quality
2
Significance
2
Read review
Summary

The paper proposes DP-SPD, a privacy-preserving inference framework for LLM-as-a-Service that improves the trade-off between privacy, utility, and efficiency. Instead of directly perturbing a single user query, it hides the true query among multiple client-generated dummy queries, which are randomly shuffled before being sent to the server so that the real input cannot be easily identified. To make dummy queries plausible, the method constructs a shared, differentially private prefix in embedding space and uses a lightweight model to generate consistent suffixes conditioned on this prefix, while also enabling KV-cache reuse for efficiency. The authors provide a privacy analysis under dχ-privacy and empirically evaluate the method on classification and generation tasks as well as against multiple privacy attacks, showing strong privacy protection with utility close to standard inference and improved efficiency over prior DP-based approaches.

Strengths and weaknesses

Strengths

  • The framework targets inference-time efficiency by exploiting a shared-prefix structure among real and dummy queries, enabling reuse of transformer KV caches during decoding and reducing redundant computation in the dummy-augmented setting.
  • The method incorporates metric differential privacy in embedding space together with client-side shuffling of real and dummy queries, providing a privacy mechanism that combines DP-based protection with privacy amplification through shuffling.
  • The method is evaluated on both classification and generation tasks, providing empirical evidence across different types of LLM workloads rather than focusing on a single task setting.
  • The empirical evaluation includes multiple privacy attack scenarios, specifically membership inference attacks, embedding inversion attacks, and GPT-based attack settings, to assess leakage under different adversarial models.

Weaknesses

  • The approach may be impractical in realistic deployment settings because it relies on a defined overall privacy budget under its privacy mechanism, meaning that once this budget is exhausted the user would need to stop further inference requests. This operational constraint does not appear to be clearly discussed as a limitation in the paper.
  • The paper has several issues with mathematical notation consistency and clarity. In Definition 1.3, symbols such as DD are used ambiguously as both an element of a set and the set itself. Additionally, in Definition 3.3 some variables, such as the embedding matrix, are introduced but not used in later sections, which adds unnecessary complexity to the presentation. The noise distribution is also inconsistently described, being defined in one form and later rewritten as a Laplace-based formulation in the pseudocode and again in Section 4.1.
  • There is also an inconsistency between the text and Figure 1 (parts 3 and 4). The figure appears to suggest that the suffix is not perturbed with noise, while Section 4.1 explicitly states that the suffix is indeed perturbed. Since the textual description is the correct one, the figure appears to contain an error and should be corrected for consistency.
  • Finally, there are several important details missing that are necessary to fully understand the approach itself, particularly regarding how the sensitivity is defined and fixed in the privacy mechanism. It is also unclear whether clipping is used to ensure that the L2-distance remains within the defined sensitivity, which is important for understanding how the differential privacy guarantee is actually enforced.
Questions

Please refer to the Weaknesses section.

Limitations

The limitations were mentioned in the conclusion, but an important limitation was missing, namely the practicality issue that arises once the privacy budget is reached, leading to the inability to use the LLM afterward.

Paper formatting concerns

No issues to report.

Final justification

I thank the authors for their detailed responses. However, I remain unconvinced regarding the practicality of the proposed approach. In particular, I do not agree that single-turn conversations can be considered the norm, especially given the increasing use of persistent memory and conversation histories in current LLM-based systems. These mechanisms can accumulate sensitive information over time, thereby increasing the effective privacy budget and, consequently, the associated privacy risks. From my perspective, this substantially limits the applicability of the proposed approach and makes its assumptions less representative of realistic deployment scenarios. Therefore, despite the authors' clarifications, I do not believe that the concerns raised in my review have been sufficiently addressed, and I have decided to keep my original score unchanged.

1 comment

We thank the reviewer for the detailed review and valuable suggestions. The reviewer raised important concerns regarding practical deployment, mathematical clarity, figure consistency, and the privacy mechanism formulation. We address each concern below.


W1: Practical limitation due to privacy budget exhaustion

We are sorry for the confusion regarding privacy budget exhaustion. DP-SPD focuses on single-turn conversations, where each conversation is processed independently and the privacy budget is defined separately for each invocation. Therefore, privacy budgets are not composed across unrelated conversations, and the cross-turn privacy budget exhaustion raised by the reviewer does not arise under the current setting.

The single-turn setting represents a major form of real-world LLM interaction. A recent analysis by ShareChat [1] reports that Alpaca, Dolly, LMSYS-Chat-1M, and WildChat all have a median conversation length of one turn, indicating that at least half of the conversations in each of these widely used datasets are single-turn interactions. This also explains why single-turn prompt protection remains the predominant setting considered by existing privacy-preserving LLM inference studies. In particular, a broad range of prior methods, including DP-Forward [2], InferDPT [3], CAPE [4], and ObfusLM [5], formulate privacy protection at the level of an independently processed input or prompt. DP-SPD follows this widely adopted setting.

We agree that multi-turn conversations introduce an additional privacy accounting challenge. When multiple turns contain correlated or repeatedly reused private information, independently perturbing every turn may cause the cumulative privacy loss to grow under sequential composition. Recent studies have begun to investigate this setting, for example by reusing previously sampled perturbations across turns rather than repeatedly privatizing the same content [6]. Related multi-query privacy research also reduces cumulative privacy loss through stateful privacy accounting and adaptive privacy filters [7].

We have also considered how DP-SPD could be extended to multi-turn conversations. One possible extension is to maintain a conversation-level perturbation state that records previously privatized tokens, prefixes, and their perturbation mappings. Repeated content can then reuse its existing privatized representation, while only newly introduced content consumes additional privacy budget. A conversation-level privacy accountant could further track cumulative privacy loss and adaptively allocate the remaining budget across turns. We will clarify the single-turn scope of the current work and discuss this stateful multi-turn extension in the revised manuscript.

References

[1] Y. Yan, T. Nguyen, B. Su, M. Lieffers, and T. Le, "ShareChat: A Dataset of Chatbot Conversations in the Wild," arXiv preprint arXiv:2512.17843, 2025.

[2] M. Du, X. Yue, S. M. Chow, T. Wang, C. Huang, and H. Sun, "DP-Forward: Fine-Tuning and Inference on Language Models with Differential Privacy in Forward Pass," in Proceedings of the ACM SIGSAC Conference on Computer and Communications Security (CCS), 2023.

[3] M. Tong, K. Chen, J. Zhang, Y. Qi, W. Zhang, N. Yu, T. Zhang, and Z. Zhang, "InferDPT: Privacy-Preserving Inference for Black-Box Large Language Models," IEEE Transactions on Dependable and Secure Computing, 2025.

[4] H. Wu, W. Dai, W. Li, and Q. Yan, "CAPE: Context-Aware Prompt Perturbation Mechanism with Differential Privacy," in Proceedings of the International Conference on Machine Learning (ICML), 2025.

[5] Y. Lin et al., "ObfusLM: Privacy-Preserving Language Model Service against Embedding Inversion Attacks," in Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (ACL), 2025.

[6] L. Zheng et al., "DP3: Differentially Private Prompt Perturbation for Multi-Turn LLM Inference," in Findings of the Association for Computational Linguistics: ACL, 2026.

[7] R. Wu et al., "Private-RAG: Answering Multiple Queries with LLMs while Preserving Differential Privacy," in International Conference on Learning Representations (ICLR), 2026.


W2: Mathematical notation inconsistency and unclear definitions

Thank you for pointing out these notation inconsistencies. They affect only the presentation rather than the proposed method or theoretical results. The revised manuscript will include a comprehensive revision of the mathematical presentation, including:

  1. resolving ambiguous notation in Definition 1.3;
  2. removing unnecessary variables (e.g., unused embedding-related symbols);
  3. unifying the formulation of the noise distribution across the definition, algorithm, and Section 4.1;
  4. ensuring consistency between the theoretical presentation and the implementation details.

These revisions will substantially improve the clarity and readability of the manuscript.


W3: Inconsistency between Figure 1 and the text regarding suffix perturbation

Thank you for pointing out this inconsistency. This is an annotation error in Figure 1 rather than an inconsistency in the proposed mechanism. The textual description and algorithm are the intended formulation: both the prefix and suffix are processed according to their corresponding perturbation mechanisms. Specifically, in Step 3, the label "Suffix Encode & DP Perturbation" refers to applying the DP perturbation mechanism to the suffix, corresponding to the "Add DP Noise" operation described in the main text. This part of the mechanism is consistent with the algorithm. In Step 4, however, the figure mistakenly denotes the perturbed suffix as SS. It should instead be S′S', indicating the DP-perturbed suffix produced in Step 3. This is an error in the figure annotation rather than in the method itself. We will revise Figure 1 to correctly reflect the suffix perturbation procedure and ensure consistency between the figure and the main text.


W4: Missing sensitivity definition and clipping details

We are sorry for the misunderstanding regarding the privacy formulation adopted by DP-SPD. This concern stems from an important misunderstanding between Metric Differential Privacy and the standard sensitivity-based formulation of differential privacy. Since DP-SPD adopts Metric DP, it does not require a predefined global sensitivity or clipping operation. Instead, privacy is characterized directly by a metric over the input space. Specifically, the mechanism satisfies $ \Pr[\mathcal{M}(x)\in S] \le e^{\epsilon d(x,x')} \Pr[\mathcal{M}(x')\in S], $ where d(x,x′)d(x,x') denotes the distance between two query representations.

Consequently, sensitivity and clipping, which are specific to standard sensitivity-based DP mechanisms, are not required in our formulation. The revised manuscript will clarify this distinction and further explain the adopted Metric DP definition.

Reviewer_VBBNOpenReview ↗
Rating
3
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper targets privacy of user queries sent to remote LLM services. The core idea (DP-SPD) splits a query into a shared prefix and a private suffix, locally perturbs the prefix under metric DP, uses a small client-side continuation model to generate k prefix-consistent dummy suffixes, perturbs all suffixes with Laplace noise, and shuffles real+dummy candidates before sending them to the server; the client records the permutation to recover the real answer. Because all candidates share a prefix, the server can reuse the prefix KV-cache, mitigating the linear cost of dummy augmentation. The authors provide a privacy analysis (prefix via post-processing, suffix via shuffle amplification and evaluate utility (SST-2/QNLI/IMDb; WikiText-2/Alpaca/Dolly/CNN-DM), privacy (MIA, EIA, GPT-4o-mini attack), and latency on LLaMA-2-7B and Qwen3-14B.

Strengths and weaknesses

Strengths

  • Well-motivated framing. Classical shuffle-DP amplification assumes many independent users, which fails for single-user LLM inference; synthesizing an anonymity set client-side via dummies is a sensible, reasonably original fix (Sec. 4.1).
  • Concrete efficiency contribution. Tying dummies to a shared prefix to enable KV-cache reuse directly addresses the linear blow-up in k; the latency breakdown (Table 13, up to 3.86x speedup) is detailed.
  • Strong utility. E.g., 91.06/90.36 on SST-2/QNLI at ε=3 vs. 92.02/91.40 plain text, with monotone improvement in k and r which is the expected signature of amplification.
  • Broad privacy evaluation. Three distinct attacks (MIA, EIA, GPT-assisted), with prefix-consistent dummies clearly beating random-dummy baselines (Tables 2, 11, 12).

Weaknesses

  • Partial privacy guarantee. The prefix gets only local dχ-DP with no amplification (Thm 4.1 = post-processing); only the suffix is amplified (Thm 4.2). There is no composed end-to-end ε for the whole query (Sec. 4.2 treats the two parts separately), so the actual protection of a full query is never stated.
  • Closed-API threat model is empirically unvalidated. The method has two paths: embedding (send vectors to a white-box server) and api-only (project to tokens → send text to a black-box API). The motivation requires the token path — a real API can't accept embeddings — but the api-only mode is described in Algorithm 1 and never run; Figure 1 shows the server doing "standard inference on the shuffled embeddings," so all results appear to use the white-box path, and the projection's utility cost is never measured. The paper's reason for existing is thus untested.
  • Efficiency-vs-privacy tension + sensitivity-blind split. Utility and suffix-privacy both improve with larger r, yet the paper highlights small r (Fig. 6, "r=0.2 best trade-off") for speed — exactly where most tokens fall under the weak, unamplified prefix; this cost is never quantified. The split is a fixed positional cut with no per-query rule, so the prefix is not guaranteed non-sensitive.
  • Off-the-shelf theory. Despite four theorems, the analysis is post-processing (Thm 4.1) + Feldman et al. clones bound + Kairouz et al. composition re-cast in metric-DP (Thm 4.2) + a trivial de-shuffling claim (Thm 4.4). The real novelty is the system, not the DP analysis.
  • Evaluation rests on small, dated benchmarks. The privacy/utility headline leans on SST-2 (2013), QNLI (2018), IMDb (2011), and WikiText-2 (2016) — classification/LM tasks that are weak proxies for the open-ended, sensitive user queries the method targets (Alpaca/Dolly/CNN-DM are used for generation). Modern instruction-style query distributions would strengthen the significance claim.
  • Statistical rigor is thin for a measurement-heavy paper: no error bars, seeds, or variance anywhere (the checklist itself answers "No" to error bars), despite randomness in noise, dummy sampling, and shuffling. Several claims rest on small gaps (a few MIA-ASR points).
Questions

See weakness

Limitations

yes

Paper formatting concerns

n/a

1 comment

We thank the reviewer for the constructive comments and valuable suggestions. We address the concerns as follows.

W1: Lack of end-to-end privacy guarantee for the whole query

Thank you for pointing out that the original manuscript does not explicitly state the end-to-end privacy guarantee for the complete query. We first state the end-to-end privacy guarantee.

Theorem (Privacy Guarantee of the complete query). Suppose the prefix randomizer satisies ϵ−dχ\epsilon-d_{\chi}-privacy and the suffix randomizer satisfies ϵsuf−dχ\epsilon_{\mathrm{suf}}-d_{\chi}-privacy. Then for any suffix pair (S,S′)(S, S') with distance c=∣∣s−s′∣∣c = ||s - s'||, the complete query satisfies ϵ−dχ\epsilon-d_{\chi}-privacy with probability at least 1−δ1-\delta, where ϵsuf=1clog⁡!(1+ecϵ−1ecϵ+1(8eϵlog⁡(4/δ)k+1+8eϵk+1)).\epsilon_{\mathrm{suf}}= \frac{1}{c} \log\\!\left(1+ \frac{e^{c\epsilon}-1}{e^{c\epsilon}+1}\left(\frac{8\sqrt{e^{\epsilon}\log(4/\delta)}}{\sqrt{k+1}} + \frac{8e^{\epsilon}}{k+1} \right) \right).

The proof considers two cases according to where neighboring queries differ.

  • Case 1: Prefix differs

For any measurable output set OO, Pr⁡[MDP−SPD(Q)∈O]=∑P^Pr⁡[Rpre(P)=P^]Pr⁡[F(P^,S)∈O],\Pr[M_{\mathrm{DP-SPD}}(Q)\in O]=\sum_{\hat P}\Pr[R_{\mathrm{pre}}(P)=\hat P]\Pr[F(\hat P,S)\in O], where F(P^,S)F(\hat P,S) denotes all subsequent operations after prefix perturbation. By Theorem 4.1, the prefix randomizer satisfies ϵpre\epsilon_{\mathrm{pre}}-dχd_\chi-privacy, namely,

\le e^{\epsilon_{\mathrm{pre}}d_\chi(P,P')} \Pr[R_{\mathrm{pre}}(P')=\hat P]=e^{\epsilon_{\mathrm{pre}}d_\chi(Q,Q')}\Pr[M_{\mathrm{DP\text{-}SPD}}(Q')\in O].$$ --- - ### **Case 2: Suffix differs** For any measurable output set $O$, \$ \\Pr[M_{\\mathrm{DP-SPD}}(Q)\\in O]=\\sum_{\\hat P}\\Pr[R_{\\mathrm{pre}}(P)=\\hat P]\\Pr[F(\\hat P,S)\\in O]. \$ For every fixed privatized prefix $\hat P$, Theorem 4.2 guarantees \$ \\Pr[F(\\hat P,S)\\in O] \\le e^{\\epsilon_{\\mathrm{suf}}d_\\chi(S,S')} \\Pr[F(\\hat P,S')\\in O] +\\delta, \$ and using $\sum_{\hat P}\Pr[R_{\mathrm{pre}}(P)=\hat P]=1$, we obtain $$\Pr[M_{\mathrm{DP\text{-}SPD}}(Q)\in O]\le e^{\epsilon_{\mathrm{suf}}d_\chi(S,S')}\Pr[M_{\mathrm{DP\text{-}SPD}}(Q')\in O]+\delta =e^{\epsilon_{\mathrm{suf}}d_\chi(Q,Q')}\Pr[M_{\mathrm{DP\text{-}SPD}}(Q')\in O]+\delta.$$ Finally, by setting $\epsilon_{\mathrm{pre}}=\epsilon_{\mathrm{suf}}=\epsilon,$ we obtain that for any neighboring queries $Q,Q'$ the complete query satisfies $\epsilon$-$d_\chi$-privacy with probability at least $1-\delta$. We will add this end-to-end privacy analysis and explicitly clarify the privacy guarantee of the complete query in the revised manuscript. ### **Impact on Experimental Results** Importantly, this clarification **does not affect** any experimental results or reported privacy budgets. In all experiments, the prefix mechanism is configured to satisfy $\epsilon-d_{\chi}$-privacy, while the suffix mechanism satisfies the corresponding shuffle-amplified privacy guarantee under **the same target privacy budget**. Hence, the theorem directly applies to all experimental settings without changing the reported privacy budgets or results. --- # **W2: API-only threat model is not experimentally validated** We are sorry for the lack of experimental validation for the API-only threat model. We originally focused on the embedding-based interface, which is supported by modern LLM serving frameworks such as **vLLM**, **TensorRT-LLM**, and **SGLang** [1–3]. As you suggested, we additionally implement and evaluate the **API-only** setting. The results show that DP-SPD remains effective under this deployment scenario. - **1. Embedding-based vs. API-only inference.** We compare the two interfaces using an SST-2 fine-tuned LLaMA-2-7B model under $\epsilon=1.5$. On 500 SST-2 examples, the clean embedding and API-only interfaces both achieve **94.2%** accuracy. Across five independent noise seeds, directly feeding perturbed embeddings through `inputs_embeds` achieves **89.13% ± 0.24%** accuracy, while nearest-token projection followed by standard API-only inference achieves **87.46% ± 0.31%** accuracy. The API-only implementation incurs only a modest utility loss while remaining compatible with standard token-only LLM APIs. - **2. Robustness to different embedding representations.** We further fix GPT-4o as the API-only backend and compare two client-side embedding spaces, **Qwen2.5-0.5B (896 dimensions)** and **Gemma-2-2B (2304 dimensions)**, on MMLU-Pro [4] under $\epsilon=1.5$. Qwen retains **98.50% ± 0.11%** of tokenizer-level tokens and achieves **54.8% ± 3.03%** task accuracy, while Gemma retains **77.85% ± 0.15%** of tokens and achieves **54.0% ± 2.55%** accuracy. Despite the large difference in token recovery rates, the downstream accuracy differs by less than one percentage point, indicating that DP-SPD is robust to the choice of client-side embedding model. **References** - [1] vLLM Team. *vLLM Documentation: OpenAI-Compatible Embeddings API*. [URL omitted.] - [2] NVIDIA Corporation. *TensorRT-LLM Documentation*. [URL omitted.] - [3] SGLang Team. *SGLang Documentation*. [URL omitted.] - [4] Wang, Yubo, et al. *MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmark*. NeurIPS, 2024. --- # **W3: Fixed prefix/suffix split may expose sensitive information** We are sorry for the confusion regarding the fixed prefix/suffix split. A fixed split affects only the **privacy-utility-efficiency** trade-off rather than the privacy guarantee itself. As shown in our end-to-end **privacy analysis above**, the complete query satisfies the **same privacy guarantee** regardless of whether sensitive information appears in the prefix or the suffix. Regarding the privacy-utility-efficiency trade-off, Figure 6 reports the noise scale injected to **the entire query**, including the unamplified noise added to the prefix and the shuffle-amplified noise added to the suffix. A smaller r corresponds to a longer prefix and a shorter suffix. We identify r=0.2 as a favorable operating point because it simultaneously achieves a small overall noise scale and low inference latency, with the latter benefiting from greater shared-prefix KV-cache reuse. --- # **W4: Theoretical analysis mainly relies on existing DP results** We acknowledge that DP-SPD builds upon several existing differential privacy techniques. However, our theoretical analysis is **not** a straightforward application, as adapting these techniques to the LLM inference setting requires addressing **two fundamental challenges**. - **Challenge 1: Establishing shuffle amplification in a single-user setting.** Classical shuffle amplification relies on a **multi-user** setting, while DP-SPD considers **single-user LLM inference**, where such anonymity is inherently absent. The key challenge is therefore to **construct an effective anonymity set** without relying on multiple users. To address this, DP-SPD introduces **synthetic dummy queries** that emulate the anonymity provided by multi-user shuffling while preserving both query realism and inference efficiency. - **Challenge 2: Extending shuffle amplification from Local DP to Metric DP.** Existing shuffle amplification analyses are developed for **LDP** mechanisms. while DP-SPD adopts **Metric DP**, whose privacy guarantee is defined over a metric space rather than neighboring datasets. The key challenge is that existing LDP-based proofs cannot be directly transferred to the Metric DP setting. We will revise the manuscript to better highlight these theoretical contributions. --- # **W5: Evaluation relies on limited benchmarks** To broaden the evaluation, we test DP-SPD on **WildChat**[5] using **Qwen3-32B** as the backend. We evaluate 1,000 independent queries: 500 answerable questions and 500 open-ended requests. At $\epsilon=3$, DP-SPD remains close to plaintext on both QA and open-ended tasks as shown in the table below. | Method | QA judge accuracy | Open-ended quality | | -------------------- | ----------------: | -----------------: | | Plaintext | 72.6% | 4.716/5 | | **DP-SPD** | **72.6%** | **4.716/5** | | CuText+ | 43.8% | 3.79/5 | | SanText+ | 39.6% | 3.56/5 | | InferDPT | 36.6% | 3.21/5 | | DP-Forward | 21.4% | 2.71/5 | | TextObfuscator-style | 27.6% | 2.93/5 | We additionally evaluate several privacy attacks on 400 shuffled candidate groups in the table below. | Attack metric | dummy=9 | dummy=19 | | ------------------------------- | --------: | --------: | | Min-K% query-identification ASR | 4.00% | 1.75% | | PPL query-identification ASR | 4.25% | 2.50% | | GPT selection ASR | 20.0% | 13.0% | | GPT exact-query recovery | 18.25% | 11.0% | In future work, we will further evaluate DP-SPD on query-level privacy datasets containing PII and sensitive user information, such as the **Casper prompt dataset** [6] and **PrivacyBench** [7]. **References** - [5] Zhao, Wenting, et al. "Wildchat: 1m chatgpt interaction logs in the wild.". - [6] Chong, Chun Jie, et al. "Casper: Prompt sanitization for protecting user privacy in web-based large language models." CSCloud(2025). - [7] Mukhopadhyay, Srija, et al. "PrivacyBench: A Conversational Benchmark for Evaluating Privacy in Personalized AI." (2025). --- # **W6: Lack of statistical rigor** All comparisons in the current manuscript use the same random seed to ensure fair and controlled comparisons across methods. To quantify the variance introduced by randomized components, the revised manuscript will additionally report repeated-run statistics under multiple random seeds.

Comments on the paper

1 comment
Meta-review

This paper proposes DP-SPD, a DP technique for llm inference. It hides a private query by hiding it among client side dummy queries. The design carefully chooses shared prefixes to enable KV-cache reuse.

This work is interesting and the evaluation is relatively thorough. However, it is heading toward rejection and I encourage the authors to respond to the following weaknesses:

  1. What is the full query DP.
  2. Clarify the evaluation of the token only setting
  3. Clearly define all important aspects including the sensitivity
  4. Improve statistical rigor.
  5. Include results on newer datasets/models
  6. larger models

Beyond this, there is a shared concern around the algorithmic novelty of this work.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.