基于云端的大语言模型(Large Language Models, LLMs)如ChatGPT已日益成为日常运营中不可或缺的工具。然而,它们也带来了隐私隐患:一方面,大量研究强调了破解云端LLMs对用户隐私构成的风险;另一方面,LLM服务提供商可访问所有用户数据,这使得用户无法放心使用此类服务。为解决这些问题,我们提出了一种简单却有效的范式EmojiPrompt以保护用户隐私。其核心是执行生成式转换,在将提示提交至云端LLMs之前,用语言和非语言元素混淆提示中的隐私数据。我们在来自不同领域的8个数据集上评估了EmojiPrompt的性能,还提出了模拟推理攻击以评估其保护用户隐私的能力。结果表明,EmojiPrompt能有效混淆用户隐私数据,同时与未混淆版本相比,性能基本保持甚至有所提升。此外,EmojiPrompt的原子级混淆特性使其可仅依托云端LLMs运行。源代码请访问:https://github.com/agiresearch/EmojiCrypt。
英文摘要:
Cloud-based Large Language Models (LLMs) such as ChatGPT have become increasingly integral to daily operations. Nevertheless, they also introduce privacy concerns: firstly, numerous studies underscore the risks to user privacy posed by jailbreaking cloud-based LLMs; secondly, the LLM service providers have access to all user data, which deters individuals from confidently utilizing such services. To address such concerns, we propose a simple yet effective paradigm, EmojiPrompt, to protect user privacy. At its core, EmojiPrompt performs generative transformation, obfuscating private data within prompts with linguistic and non-linguistic elements before submitting them to cloud-based LLMs. We evaluate EmojiPrompt's performance across 8 datasets from various domains. We also propose simulated inference attacks to assess EmojiPrompt's ability to preserve user privacy. The results demonstrate that EmojiPrompt effectively obfuscates user private data, while largely maintaining, or even enhancing, performances compared to the unobfuscated version. Furthermore, EmojiPrompt's atomic-level obfuscation allows it to function exclusively with cloud-based LLMs. For source code, please refer to: https://github.com/agiresearch/EmojiCrypt.
The Art of Mixology: Mixup-based Obfuscation for Privacy-Preserving Split Learning in Large Language Models
College of Computing and Data Science, Nanyang Technological University, Singapore(南洋理工大学计算与数据科学学院);School of Cyber Science and Engineering, Wuhan University, China(武汉大学网络空间安全学院)
A Novel Semantic Manifold Alignment Attack against Embedding-to-Embedding Obfuscation in Privacy-Preserving LLMs
University of Houston(休斯顿大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Waseda University(早稻田大学);Stevens Institute of Technology(史蒂文斯理工学院);National Taiwan University(国立台湾大学)
Unlearning vs. Obfuscation: Are We Truly Removing Knowledge?
Department of Engineering, University of Cambridge(剑桥大学工程系);Department of Informatics, King’s College London(伦敦大学国王学院信息学院);SCB 10X, SCBX Group(SCB 10X,SCBX集团)
Is Word Error Rate Enough? Rethinking Privacy Evaluation in Speech with Entity-Aware Metrics
Fraunhofer Institute for Integrated Circuits (IIS)(弗劳恩霍夫集成电路研究所 (IIS));Jade University of Applied Sciences(亚德应用科学大学);Carl von Ossietzky Universität Oldenburg(奥尔登堡卡尔·冯·奥西茨基大学)