Skip to content

DP-OPT: Let the large language model become your privacy-preserving prompt engineerDP-OPT: Make Large Language Model Your Privacy-Preserving Prompt Engineer

arXiv· arXiv:2312.03724· Junyuan Hong, Jiachen T. Wang, Chenhui Zhang, Zhangheng Li, Bo Li, Zhangyang Wang·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The researchers propose a differentially private offsite prompt tuning method, DP-OPT, for generating prompts for cloud-based large language models without leaking sensitive data. Addressing the dilemma that prompt tuning relies on sensitive private data, locally deployed models are limited by model ownership, and sending data to untrusted providers further increases privacy risk, the method tunes discrete prompts on the client side and then applies them to the target cloud model; the paper demonstrates that prompts suggested by the large language model itself can transfer without noticeable performance loss. To prevent prompts from leaking privacy, the authors claim to propose the first private prompt generation mechanism, implemented through a differentially private ensemble of in-context learning with private examples; the authors claim that privacy-preserving prompts generated by Vicuna-7b achieve performance comparable to non-private in-context learning on GPT-3.5 or local private prompt tuning. The code is open-sourced at https://github.com/VITA-Group/DP-OPT .

Read originalarxiv.org