Cape: Context-Aware Prompt Perturbation Mechanism with Differential Privacy
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have gained significant popularity due to their remarkable capabilities in text understanding and generation. However, despite their widespread deployment in inference services such as ChatGPT, concerns about the potential leakage of sensitive user data have arisen. Existing solutions primarily rely on privacy-enhancing technologies to mitigate such risks, facing the trade-off among efficiency, privacy, and utility. To narrow this gap, we propose Cape, a context-aware prompt perturbation mechanism based on differential privacy, to enable efficient inference with an improved privacy-utility trade-off. Concretely, we introduce a hybrid utility function that better captures the token similarity. Additionally, we propose a bucketized sampling mechanism to handle large sampling space, which might lead to long-tail phenomenons. Extensive experiments across multiple datasets, along with ablation studies, demonstrate that Cape achieves a better privacy-utility trade-off compared to prior state-of-the-art works.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 12 of its 26 references that are in the map. First posted on arXiv 9 May 2025.
Builds on
12 of 26 references.
References · 12
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2020Information Leakage in Embedding Modelscited by 203
- 2021Differential Privacy for Text Analytics via Natural Text Sanitizationcited by 77
- 2023DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Passcited by 67
- 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
- 2023Reducing Privacy Risks in Online Self-Disclosures with Language Modelscited by 47
- 2024Privacy-Preserving Instructions for Aligning Large Language Modelscited by 35
- 2024Nimbus: Secure and Efficient Two-Party Inference for Transformerscited by 16
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2025Get Experience from Practice: LLM Agents with Record & Replaycited by 23
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Promptcited by 2
- 2026OSNIP: Breaking the Privacy-Utility-Efficiency Trilemma in LLM Inference via Obfuscated Semantic Null Spacecited by 1
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Modelscited by 1
- 2025ObCLIP: Oblivious CLoud-Device Hybrid Image Generation with Privacy Preservationcited by 0
- 2026Your Inference Request Will Become a Black Box: Confidential Inference for Cloud-based Large Language Models27 Feb 2026
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Prompt12 Feb 2026
- 2026OSNIP: Breaking the Privacy-Utility-Efficiency Trilemma in LLM Inference via Obfuscated Semantic Null Space30 Jan 2026
- 2025ObCLIP: Oblivious CLoud-Device Hybrid Image Generation with Privacy Preservation5 Oct 2025
- 2025Get Experience from Practice: LLM Agents with Record & Replay23 May 2025