The Fire Thief Is Also the Keeper: Balancing Usability and Privacy in Prompts
Not on the map. Why?
Abstract (arXiv)
The rapid adoption of online chatbots represents a significant advancement in artificial intelligence. However, this convenience brings considerable privacy concerns, as prompts can inadvertently contain sensitive information exposed to large language models (LLMs). Limited by high computational costs, reduced task usability, and excessive system modifications, previous works based on local deployment, embedding perturbation, and homomorphic encryption are inapplicable to online prompt-based LLM applications. To address these issues, this paper introduces Prompt Privacy Sanitizer (i.e., ProSan), an end-to-end prompt privacy protection framework that can produce anonymized prompts with contextual privacy removed while maintaining task usability and human readability. It can also be seamlessly integrated into the online LLM service pipeline. To achieve high usability and dynamic anonymity, ProSan flexibly adjusts its protection targets and strength based on the importance of the words and the privacy leakage risk of the prompts. Additionally, ProSan is capable of adapting to diverse computational resource conditions, ensuring privacy protection even for mobile devices with limited computing power. Our experiments demonstrate that ProSan effectively removes private information across various tasks, including question answering, text summarization, and code generation, with minimal reduction in task performance.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 49 of its 73 references that are in the map. First posted on arXiv 20 Jun 2024.
Builds on
49 of 73 references.
References · 49
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
37 more
- 2016Deep Learning with Differential Privacycited by 2,682
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2018Deep contextualized word representationscited by 2,285
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
- 2021Membership Inference Attacks From First Principlescited by 839
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
- 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 486
- 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
- 2018Scalable Private Learning with PATEcited by 266
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
- 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 185
- 2019Privacy- and Utility-Preserving Textual Analysis via Calibrated Multivariate Perturbationscited by 115
- 2022Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipecited by 108
- 2023Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generationcited by 94
- 2023Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Modelscited by 80
- 2021Differential Privacy for Text Analytics via Natural Text Sanitizationcited by 74
- 2022Recovering Private Text in Federated Learning of Language Modelscited by 67
- 2023DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Passcited by 65
- 2022The Limits of Word Level Differential Privacycited by 63
- 2023Locally Differentially Private Document Generation Using Zero Shot Promptingcited by 63
- 2021Natural Language Understanding with Privacy-Preserving BERTcited by 54
- 2019Leveraging Hierarchical Representations for Preserving Privacy and Utility in Textcited by 49
- 2023Reducing Privacy Risks in Online Self-Disclosures with Language Modelscited by 47
- 2022A Survey on Model Compression and Acceleration for Pretrained Language Modelscited by 45
- 2017A4NT: Author Attribute Anonymity by Adversarial Training of Neural Machine Translationcited by 41
- 2023Hide and Seek (HaS): A Lightweight Framework for Prompt Privacy Protectioncited by 37
- 2020TextHide: Tackling Data Privacy in Language Understanding Taskscited by 32
- 2024CoGenesis: A Framework Collaborating Large and Small Language Models for Secure Context-Aware Instruction Followingcited by 32
- 2021ADePT: Auto-encoder based Differentially Private Text Transformationcited by 31
- 2020Towards Differentially Private Text Representationscited by 28
- 2024Privacy Preserving Prompt Engineering: A Surveycited by 24
- 2023Protecting User Privacy in Remote Conversational Systems: A Privacy-Preserving framework based on text sanitizationcited by 23
- 2021CAPE: Context-Aware Private Embeddings for Private Language Learningcited by 22
- 2022EdgeFormer: A Parameter-Efficient Transformer for On-Device Seq2seq Generationcited by 21
- 2024Reconstruct Your Previous Conversations! Comprehensively Investigating Privacy Leakage Risks in Conversations with GPT Modelscited by 16
- 2022Sentence-level Privacy for Document Embeddingscited by 15
Built on by
Citing papers per year: 2024: 4; 2025: 3; 2026: 6.
13 papers.
Sort:
By area:
- 2024Artificial-Intelligence Generated Code Considered Harmful: A Road Map for Secure and High-Quality Code Generationcited by 11
- 2024Casper: Prompt Sanitization for Protecting User Privacy in Web-Based Large Language Modelscited by 8
- 2025PII-Bench: Evaluating Query-Aware Privacy Protection Systemscited by 7
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliancecited by 6
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)cited by 2
- 2024Confidential Prompting: Privacy-preserving LLM Inference on Cloudcited by 1
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptationcited by 1
- 2026PrivScope: Task-scoped Disclosure Control for Hybrid Agentic Systemscited by 1
- 2026Demystifying the Privacy-Utility Trade-off in LLM Interactionscited by 1
- 2024Preempting Text Sanitization Utility in Resource-Constrained Privacy-Preserving LLM Interactionscited by 0
- 2025Stereo-LiDAR Fusion by Semi-Global Matching With Discrete Disparity-Matching Cost and Semidensificationcited by 0
- 2026PromptGraph: Graph-Guided Prompt Sanitization for Balancing Privacy and Utility in LLM Inferencecited by 0
- 2026LLMs as Linguistic Chameleons: Decoupling Semantics and Structure for Privacy-Preserving Communication19 Sep 2026
- 2026Demystifying the Privacy-Utility Trade-off in LLM Interactions10 Sep 2026
- 2026PromptGraph: Graph-Guided Prompt Sanitization for Balancing Privacy and Utility in LLM Inference12 Jul 2026
- 2026PrivScope: Task-scoped Disclosure Control for Hybrid Agentic Systems15 May 2026
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptation8 Apr 2026
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)2 Mar 2026
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliance22 May 2025
- 2025Stereo-LiDAR Fusion by Semi-Global Matching With Discrete Disparity-Matching Cost and Semidensification7 Apr 2025
- 2025PII-Bench: Evaluating Query-Aware Privacy Protection Systems25 Feb 2025
- 2024Preempting Text Sanitization Utility in Resource-Constrained Privacy-Preserving LLM Interactions18 Nov 2024
- 2024Artificial-Intelligence Generated Code Considered Harmful: A Road Map for Secure and High-Quality Code Generation27 Sep 2024
- 2024Confidential Prompting: Privacy-preserving LLM Inference on Cloud27 Sep 2024
- 2024Artificial-Intelligence Generated Code Considered Harmful: A Road Map for Secure and High-Quality Code Generationcited by 11
- 2024Casper: Prompt Sanitization for Protecting User Privacy in Web-Based Large Language Modelscited by 8
- 2025PII-Bench: Evaluating Query-Aware Privacy Protection Systemscited by 7
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliancecited by 6
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)cited by 2
- 2024Confidential Prompting: Privacy-preserving LLM Inference on Cloudcited by 1
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptationcited by 1
- 2026Demystifying the Privacy-Utility Trade-off in LLM Interactionscited by 1
- 2024Preempting Text Sanitization Utility in Resource-Constrained Privacy-Preserving LLM Interactionscited by 0
- 2025Stereo-LiDAR Fusion by Semi-Global Matching With Discrete Disparity-Matching Cost and Semidensificationcited by 0
- 2026PromptGraph: Graph-Guided Prompt Sanitization for Balancing Privacy and Utility in LLM Inferencecited by 0
- 2026LLMs as Linguistic Chameleons: Decoupling Semantics and Structure for Privacy-Preserving Communicationcited by 0
- 2026LLMs as Linguistic Chameleons: Decoupling Semantics and Structure for Privacy-Preserving Communication19 Sep 2026
- 2026Demystifying the Privacy-Utility Trade-off in LLM Interactions10 Sep 2026
- 2026PromptGraph: Graph-Guided Prompt Sanitization for Balancing Privacy and Utility in LLM Inference12 Jul 2026
- 2026Towards Privacy-Preserving Large Language Model: Text-free Inference Through Alignment and Adaptation8 Apr 2026
- 2026Towards Privacy-Preserving LLM Inference via Covariant Obfuscation (Technical Report)2 Mar 2026
- 2025LLM Access Shield: Domain-Specific LLM Framework for Privacy Policy Compliance22 May 2025
- 2025Stereo-LiDAR Fusion by Semi-Global Matching With Discrete Disparity-Matching Cost and Semidensification7 Apr 2025
- 2025PII-Bench: Evaluating Query-Aware Privacy Protection Systems25 Feb 2025
- 2024Preempting Text Sanitization Utility in Resource-Constrained Privacy-Preserving LLM Interactions18 Nov 2024
- 2024Artificial-Intelligence Generated Code Considered Harmful: A Road Map for Secure and High-Quality Code Generation27 Sep 2024
- 2024Confidential Prompting: Privacy-preserving LLM Inference on Cloud27 Sep 2024
- 2024Casper: Prompt Sanitization for Protecting User Privacy in Web-Based Large Language Models13 Aug 2024