Sanitizing Sentence Embeddings (and Labels) for Local Differential Privacy
Minxin Du, Xiang Yue, Sherman S. M. Chow, Huan Sun
摘要
Differentially private (DP) learning, notably DP stochastic gradient descent (DP-SGD), has limited applicability in fine-tuning gigantic pre-trained language models (LMs) for natural language processing tasks. The culprit is the perturbation of gradients (as gigantic as entire models), leading to significant efficiency and accuracy drops. We show how to achieve metric-based local DP (LDP) by sanitizing (high-dimensional) sentence embedding, extracted by LMs and much smaller than gradients. For potential utility improvement, we impose a consistency constraint on the sanitization. We explore two approaches: One is brand new and can directly output consistent noisy embeddings; the other is an upgradation with post-processing. To further mitigate "the curse of dimensionality, " we introduce two trainable linear maps for mediating dimensions without hurting privacy or utility. Our protection can effectively defend against privacy threats on embeddings. It also naturally extends to inference. Our experiments 1 show that we reach the non-private accuracy under properly configured parameters, e.g., 0.92 for SST-2 with a privacy budget 𝜖 = 10 and the reduced dimension as 16. We also sanitize the label for LDP (with another small privacy budget) with limited accuracy losses to fully protect every sequence-label pair.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Membership Inference Attacks Against Machine Learning Models 引用了 Deep Learning with Differential Privacy
- PrivLM-Bench: A Multi-level Privacy Evaluation Benchmark for Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
- PrivLM-Bench: A Multi-level Privacy Evaluation Benchmark for Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- PrivLM-Bench: A Multi-level Privacy Evaluation Benchmark for Language Models 引用了 Large Language Models Can Be Strong Differentially Private Learners
- PrivLM-Bench: A Multi-level Privacy Evaluation Benchmark for Language Models 引用了 Differentially Private Fine-tuning of Language Models
- PrivLM-Bench: A Multi-level Privacy Evaluation Benchmark for Language Models 引用了 Deep Learning with Differential Privacy
- PrivLM-Bench: A Multi-level Privacy Evaluation Benchmark for Language Models 引用了 Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe
- DP-OPT: Make Large Language Model Your Privacy-Preserving Prompt Engineer 引用了 Membership Inference Attacks Against Machine Learning Models
- DP-OPT: Make Large Language Model Your Privacy-Preserving Prompt Engineer 引用了 Deep Learning with Differential Privacy
- DP-OPT: Make Large Language Model Your Privacy-Preserving Prompt Engineer 引用了 Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Membership Inference Attacks Against Machine Learning Models
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Deep Learning with Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Membership Inference Attacks Against Machine Learning Models
- Large Language Models Can Be Strong Differentially Private Learners 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Differentially Private Fine-tuning of Language Models
- Differentially Private Fine-tuning of Language Models 引用了 Large Language Models Can Be Strong Differentially Private Learners
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Deep Learning with Differential Privacy
- Differentially Private Fine-tuning of Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
- Differentially Private Fine-tuning of Language Models 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Differentially Private Fine-tuning of Language Models 引用了 Deep Learning with Differential Privacy
- Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe 引用了 Membership Inference Attacks Against Machine Learning Models
- Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe 引用了 Large Language Models Can Be Strong Differentially Private Learners
- Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe 引用了 Differentially Private Fine-tuning of Language Models
- Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe 引用了 Deep Learning with Differential Privacy
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass 引用了 Membership Inference Attacks Against Machine Learning Models
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass 引用了 Large Language Models Can Be Strong Differentially Private Learners
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass 引用了 Differentially Private Fine-tuning of Language Models
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward Pass 引用了 Deep Learning with Differential Privacy
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation 引用了 Membership Inference Attacks Against Machine Learning Models
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation 引用了 Large Language Models Can Be Strong Differentially Private Learners
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation 引用了 Differentially Private Fine-tuning of Language Models
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation 引用了 Deep Learning with Differential Privacy
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation 引用了 Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe
引用它的顶会 Paper10
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot GenerationXinyu Tang, Richard Shin, Huseyin A. Inan, Andre Manoel 等ICLR 2024 · 111 次引用
- DP-OPT: Make Large Language Model Your Privacy-Preserving Prompt EngineerJunyuan Hong, Jiachen T. Wang, Chenhui Zhang, Zhangheng Li 等ICLR 2024 · 70 次引用
- DP-Forward: Fine-tuning and Inference on Language Models with Differential Privacy in Forward PassMinxin Du, Xiang Yue, Sherman S. M. Chow, Tianhao Wang 等CCS 2023 · 35 次引用
- Synthetic Text Generation with Differential Privacy: A Simple and Practical RecipeXiang Yue, Huseyin A. Inan, Xuechen Li, Girish Kumar 等ACL 2023 · 24 次引用
- PrivLM-Bench: A Multi-level Privacy Evaluation Benchmark for Language ModelsHaoran Li, Dadi Guo, Donghao Li, Wei Fan 等ACL 2024 · 9 次引用
它引用的 Paper24
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
- Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 次引用
- Differentially Private Fine-tuning of Language ModelsDa Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi 等ICLR 2022 · 494 次引用
相关 Paper
- Differential Privacy for Text Analytics via Natural Text SanitizationXiang Yue, Minxin Du, Tianhao Wang, Yaliang Li 等ACL Findings 2021 · 56 次引用
- Differentially Private Subspace Fine-Tuning for Large Language ModelsLele Zheng, Xiang Wang, Tao Zhang, Yang Cao 等AAAI 2026
- Learning to Generate Image Embeddings with User-Level Differential PrivacyZheng Xu, Maxwell D. Collins, Yuxiao Wang, Liviu Panait 等CVPR 2023
- Sentence-level Privacy for Document EmbeddingsCasey Meehan, Khalil Mrini, Kamalika ChaudhuriACL 2022 · 26 次引用
- Sparsity-Preserving Differentially Private Training of Large Embedding ModelsBadih Ghazi, Yangsibo Huang, Pritish Kamath, Ravi Kumar 等NeurIPS 2023 · 9 次引用
