mlsanityData to 14 Oct 2026

Cape: Context-Aware Prompt Perturbation Mechanism with Differential Privacy

arXiv 2505.05922 ↗First posted 9 May 2025cs.CR cs.LGcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  4. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  5. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
  6. 2020Information Leakage in Embedding Modelscited by 203
  7. 2021Differential Privacy for Text Analytics via Natural Text Sanitizationcited by 77
  8. 2023DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Passcited by 67
  9. 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
  10. 2023Reducing Privacy Risks in Online Self-Disclosures with Language Modelscited by 47
  11. 2024Privacy-Preserving Instructions for Aligning Large Language Modelscited by 35
  12. 2024Nimbus: Secure and Efficient Two-Party Inference for Transformerscited by 16

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.