Lune

EMNLP2022顶会

Just Fine-tune Twice: Selective Differential Privacy for Large Language Models

Weiyan Shi, Ryan Shea, Si Chen, Chiyuan Zhang, Ruoxi Jia, Zhou Yu

摘要

Protecting large language models from privacy leakage is becoming increasingly crucial with their wide adoption in real-world products. Yet applying differential privacy (DP), a canonical notion with provable privacy guarantees for machine learning models, to those models remains challenging due to the trade-off between model utility and privacy loss. Utilizing the fact that sensitive information in language data tends to be sparse, Shi et al. (2021) formalized a DP notion extension called Selective Differential Privacy (SDP) to protect only the sensitive tokens defined by a policy function. However, their algorithm only works for RNN-based models. In this paper, we develop a novel framework, Just Fine-tune Twice (JFT), that achieves SDP for state-of-the-art large transformer-based models. Our method is easy to implement: it first fine-tunes the model with redacted in-domain data, and then fine-tunes it again with the original in-domain data using a private training mechanism. Furthermore, we study the scenario of imperfect implementation of policy functions that misses sensitive tokens and develop systematic methods to handle it. Experiments show that our method achieves strong utility compared to previous baselines. We also analyze the SDP privacy guarantee empirically with the canary insertion attack.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Differentially Private Learning Needs Better Features (or Much More Data) 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • Differentially Private Learning Needs Better Features (or Much More Data) 引用了 Deep Learning with Differential Privacy
  • Information Flow Control in Machine Learning through Modular Model Architecture 引用了 Large Language Models Can Be Strong Differentially Private Learners
  • Information Flow Control in Machine Learning through Modular Model Architecture 引用了 Deep Learning with Differential Privacy
  • 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
  • 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 引用了 Differentially Private Learning Needs Better Features (or Much More Data)
  • 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 引用了 Differentially Private Learning Needs Better Features (or Much More Data)
  • 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
  • Differentially Private Fine-tuning of Language Models 引用了 SeqPATE: Differentially Private Text Generation via Knowledge Distillation
  • SeqPATE: Differentially Private Text Generation via Knowledge Distillation 引用了 Differentially Private Fine-tuning of Language Models
  • A New Linear Scaling Rule for Private Adaptive Hyperparameter Optimization 引用了 Large Language Models Can Be Strong Differentially Private Learners
  • A New Linear Scaling Rule for Private Adaptive Hyperparameter Optimization 引用了 Deep Learning with Differential Privacy
  • Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMs 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMs 引用了 Deep Learning with Differential Privacy
  • SeqPATE: Differentially Private Text Generation via Knowledge Distillation 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • SeqPATE: Differentially Private Text Generation via Knowledge Distillation 引用了 Large Language Models Can Be Strong Differentially Private Learners
  • SeqPATE: Differentially Private Text Generation via Knowledge Distillation 引用了 Deep Learning with Differential Privacy
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMsAbhimanyu Hans, John Kirchenbauer, Yuxin Wen, Neel Jain 等NeurIPS 2024 · 65 次引用
  2. SeqPATE: Differentially Private Text Generation via Knowledge DistillationZhiliang Tian, Yingxiu Zhao, Ziyue Huang, Yu-Xiang Wang 等NeurIPS 2022 · 29 次引用
  3. A New Linear Scaling Rule for Private Adaptive Hyperparameter OptimizationAshwinee Panda, Xinyu Tang, Saeed Mahloujifar, Vikash Sehwag 等ICML 2024 · 15 次引用
  4. Information Flow Control in Machine Learning through Modular Model ArchitectureTrishita Tiwari, Suchin Gururangan, Chuan Guo, Weizhe Hua 等USENIX Security 2024 · 12 次引用
  5. PrivLM-Bench: A Multi-level Privacy Evaluation Benchmark for Language ModelsHaoran Li, Dadi Guo, Donghao Li, Wei Fan 等ACL 2024 · 9 次引用

它引用的 Paper9

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
  2. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
  3. Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 次引用
  4. Differentially Private Fine-tuning of Language ModelsDa Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi 等ICLR 2022 · 494 次引用
  5. Differentially Private Learning Needs Better Features (or Much More Data)Florian Tramèr, Dan BonehICLR 2021 · 325 次引用

相关 Paper

  1. Synthetic Text Generation with Differential Privacy: A Simple and Practical RecipeXiang Yue, Huseyin A. Inan, Xuechen Li, Girish Kumar 等ACL 2023 · 24 次引用
  2. Differentially Private Subspace Fine-Tuning for Large Language ModelsLele Zheng, Xiang Wang, Tao Zhang, Yang Cao 等AAAI 2026
  3. Domain Private Transformers for Multi-Domain Dialog SystemsAnmol Kabra, Ethan R. ElenbergEMNLP Findings 2023
  4. Training Text-to-Text Transformers with Privacy GuaranteesNatalia Ponomareva, Jasmijn Bastings, Sergei VassilvitskiiACL Findings 2022 · 9 次引用
  5. PrivCode++: Latent-Conditioned Differentially Private Code Generation for Comprehensive GuaranteesZheng Liu, Chen GONG, Terry Yue Zhuo, Zhou Yang 等ICML 2026
黄昏的海面,两侧是细线勾勒的悬崖