Research map / Federated learning and privacy / Differential privacy
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
Zhejiang University · KAUST · King Abdullah University of Science and Technology
Read the paperPlace an idea next to itCheck your own paper ↗
Proposes a differentially private LLM inference method for LLM-as-a-Service that uses dummy-augmented shuffling of user queries to balance privacy and utility.
AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Problem
Protecting sensitive user inputs sent to remote LLMs in LLM-as-a-Service settings; existing differentially private inference methods that inject noise into input embeddings struggle to balance privacy and utility.
Approach
Uses dummy-augmented shuffling of queries (the title suggests hiding a user's query among crowd/dummy queries) to provide differential privacy for inference, rather than only injecting embedding noise.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Increase number of dummies k from 9 to 39 (ablation) | DP-SPD (r=0.6) · IMDb, epsilon=1.5 | accuracy: 66.4% -> 78.4% | Improved |
| Increase k when dummy ratio is small (r=0.1) (ablation) | DP-SPD · IMDb, epsilon=1.5 | accuracy: 0.659 -> 0.672 | No clear effect |
| Increase dummy ratio r from 0.1 to 1.0 (ablation) | DP-SPD (k=29) · IMDb, epsilon=1.5 | accuracy: 67.2% -> 81.2% (plaintext 82.0%) | Improved |
| Add prefix-consistent shuffled dummies to d_chi-privacy perturbation | LLaMA-2-7B-Chat · IMDb, epsilon=1.5, k=29, r=1.0 | accuracy: 0.663 -> 0.812 | Improved |
| Use DP-SPD instead of perturbation baselines | LLaMA-2-7B-Chat · IMDb, epsilon=1.5 | accuracy (%): best baseline 59.62 -> 81.20 | Improved |
| Use DP-SPD instead of perturbation baselines | LLaMA-2-7B-Chat · WikiText-2, epsilon=1.5 | PPL: best baseline 3177.39 -> 17.54 | Improved |
| Use prefix-consistent dummies instead of random-sampled dummies (ablation) | DP-SPD · IMDb QIA | attack success rate (%): 36.25 -> 13.53 | Improved |
| Use prefix-consistent dummies instead of random-token dummies (ablation) | DP-SPD · WikiText-2 QIA | attack success rate (%): 74.86 -> 11.89 | Improved |
| Use prefix-conditioned dummies instead of random-sampled dummies (ablation) | DP-SPD · IMDb embedding inversion attack, k=9 | attack success rate (%): 9.50 -> 8.00; gap shrinks with k (k=29: 2.67 vs 2.50) | Mixed |
| Increase anonymity-set size k from 9 to 29 (ablation) | DP-SPD · GPT-4o-mini attack | selection accuracy (%): 22.67 -> 10.33 | Improved |
| Reuse KV cache of the shared prefix (ablation) | DP-SPD · 1024-token inputs, k=24, p=0.8 | inference time (ms): 3868.02 -> 1002.86 (3.86x) | Improved |
| Scale client continuation model from Qwen2.5-0.5B to 32B (ablation) | DP-SPD dummy generation · dummy quality, eps=3, k=9, r=0.2 | Surface ROUGE-L: 0.1138 -> 0.1691; 0.813 s -> 3.756 s per group | Mixed |
Open problems this paper states
- “Analysis covers only single-query inference, not multi-turn conversations or long-context settings where utility loss may accumulate.” → Privacy loss builds up over many queries or turns. (an open problem in differentially private synthetic data)
Open problems in differentially private synthetic data
Does differentially private text generation hold up on larger models, new domains and repeated queries?
- Experiments use one model family or small models only. · 16 papers state it
- Validated only in medical and legal text. · 7 papers state it
- Privacy loss builds up over many queries or turns. · 6 papers state it
Experimental setup
Builds on: differentially private inference via embedding noise
Closest papers by meaning
- Hidden No More: Attacking and Defending Private Third-Party LLM Inference (ICML 2025 · similarity 0.91)
- Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives (NeurIPS 2024 · similarity 0.91)
- Split-and-Denoise: Protect large language model inference with local differential privacy (ICML 2024 · similarity 0.90)
- Portcullis: A Scalable and Verifiable Privacy Gateway for Third-Party LLM Inference (AAAI 2025 · similarity 0.89)
- Beyond Memorization: Violating Privacy via Inference with Large Language Models (ICLR 2024 · similarity 0.89)
- DP-OPT: Make Large Language Model Your Privacy-Preserving Prompt Engineer (ICLR 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.