Hide and Seek (HaS): A Lightweight Framework for Prompt Privacy Protection
Yu Chen, Tingxin Li, Huiming Liu, Yang Yu

TL;DR
The paper introduces HaS, a lightweight framework that enhances prompt privacy in LLMs by combining anonymization with a de-anonymization step, balancing privacy and utility effectively.
Contribution
It proposes a novel two-phase framework using a small local model for de-anonymization, expanding anonymization techniques for LLM prompt privacy protection.
Findings
HaS effectively balances privacy and utility in experiments.
The framework withstands black-box and white-box adversarial models.
Demonstrates applicability in translation and classification tasks.
Abstract
Numerous companies have started offering services based on large language models (LLM), such as ChatGPT, which inevitably raises privacy concerns as users' prompts are exposed to the model provider. Previous research on secure reasoning using multi-party computation (MPC) has proven to be impractical for LLM applications due to its time-consuming and communication-intensive nature. While lightweight anonymization techniques can protect private information in prompts through substitution or masking, they fail to recover sensitive data replaced in the LLM-generated results. In this paper, we expand the application scenarios of anonymization techniques by training a small local model to de-anonymize the LLM's returned results with minimal computational overhead. We introduce the HaS framework, where "H(ide)" and "S(eek)" represent its two core processes: hiding private entities for…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPrivacy-Preserving Technologies in Data · Adversarial Robustness in Machine Learning
Methodsfail
