Lune

NeurIPS2022顶会

Recovering Private Text in Federated Learning of Language Models

Samyak Gupta, Yangsibo Huang, Zexuan Zhong, Tianyu Gao, Kai Li, Danqi Chen

摘要

Federated learning allows distributed users to collaboratively train a model while keeping each user's data private. Recently, a growing body of work has demonstrated that an eavesdropping attacker can effectively recover image data from gradients transmitted during federated learning. However, little progress has been made in recovering text data. In this paper, we present a novel attack method FILM for federated learning of language models (LMs). For the first time, we show the feasibility of recovering text from large batch sizes of up to 128 sentences. Unlike image-recovery methods that are optimized to match gradients, we take a distinct approach that first identifies a set of words from gradients and then directly reconstructs sentences based on beam search and a prior-based reordering strategy. We conduct the FILM attack on several large-scale datasets and show that it can successfully reconstruct single sentences with high fidelity for large batch sizes and even multiple sentences if applied iteratively. We evaluate three defense methods: gradient pruning, DPSGD, and a simple approach to freeze word embeddings that we propose. We show that both gradient pruning and DPSGD lead to a significant drop in utility. However, if we fine-tune a public pre-trained LM on private text without updating word embeddings, it can effectively defend the attack with minimal data utility loss. Together, we hope that our results can encourage the community to rethink the privacy concerns of LM training and its standard practices in the future. 2

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • LAMP: Extracting Text from Gradients with Language Model Priors 引用了 Inverting Gradients - How easy is it to break privacy in federated learning?
  • LAMP: Extracting Text from Gradients with Language Model Priors 引用了 Deep Learning with Differential Privacy
  • SPEAR: Exact Gradient Inversion of Batches in Federated Learning 引用了 LAMP: Extracting Text from Gradients with Language Model Priors
  • SPEAR: Exact Gradient Inversion of Batches in Federated Learning 引用了 Inverting Gradients - How easy is it to break privacy in federated learning?
  • SPEAR: Exact Gradient Inversion of Batches in Federated Learning 引用了 Deep Learning with Differential Privacy
  • PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs 引用了 Deep Learning with Differential Privacy
  • Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
  • DAGER: Exact Gradient Inversion for Large Language Models 引用了 LAMP: Extracting Text from Gradients with Language Model Priors
  • DAGER: Exact Gradient Inversion for Large Language Models 引用了 Inverting Gradients - How easy is it to break privacy in federated learning?
  • DAGER: Exact Gradient Inversion for Large Language Models 引用了 Deep Learning with Differential Privacy
  • Detecting Pretraining Data from Large Language Models 引用了 Language Models are Few-Shot Learners
  • Detecting Pretraining Data from Large Language Models 引用了 Extracting Training Data from Large Language Models
  • Extracting Training Data from Large Language Models 引用了 Language Models are Few-Shot Learners
  • Extracting Training Data from Large Language Models 引用了 Deep Learning with Differential Privacy
  • Extracting Training Data from Large Language Models 引用了 The Curious Case of Neural Text Degeneration
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper27

  1. Detecting Pretraining Data from Large Language ModelsWeijia Shi, Anirudh Ajith, Mengzhou Xia, Yangsibo Huang 等ICLR 2024 · 365 次引用
  2. LAMP: Extracting Text from Gradients with Language Model PriorsMislav Balunovic, Dimitar I. Dimitrov, Nikola Jovanovic, Martin T. VechevNeurIPS 2022 · 100 次引用
  3. PrE-Text: Training Language Models on Private Federated Data in the Age of LLMsCharlie Hou, Akshat Shrivastava, Hongyuan Zhan, Rylan Conway 等ICML 2024 · 30 次引用
  4. SPEAR: Exact Gradient Inversion of Batches in Federated LearningDimitar I. Dimitrov, Maximilian Baader, Mark Niklas Müller, Martin T. VechevNeurIPS 2024 · 29 次引用
  5. DAGER: Exact Gradient Inversion for Large Language ModelsIvo Petrov, Dimitar I. Dimitrov, Maximilian Baader, Mark Niklas Müller 等NeurIPS 2024 · 29 次引用

它引用的 Paper18

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
  3. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
  4. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
  5. Inverting Gradients - How easy is it to break privacy in federated learning?Jonas Geiping, Hartmut Bauermeister, Hannah Dröge, Michael MoellerNeurIPS 2020 · 1,822 次引用

相关 Paper

  1. Panning for Gold in Federated Learning: Targeted Text Extraction under Arbitrarily Large-Scale AggregationHong-Min Chu, Jonas Geiping, Liam H. Fowl, Micah Goldblum 等ICLR 2023
  2. Uncovering Gradient Inversion Risks in Practical Language Model TrainingXinguo Feng, Zhongkui Ma, Zihan Wang, Eu Joe Chegne 等CCS 2024 · 2 次引用
  3. Reconstructing Training Data from Adapter-based Federated Large Language ModelsSilong Chen, Yuchuan Luo, Guilin Deng, Yi Liu 等WWW 2026
  4. Decepticons: Corrupted Transformers Breach Privacy in Federated Learning for Language ModelsLiam H. Fowl, Jonas Geiping, Steven Reich, Yuxin Wen 等ICLR 2023 · 10 次引用
  5. Gradient Inversion of Multimodal ModelsOmri Ben Hemo, Alon Zolfi, Oryan Yehezkel, Omer Hofman 等ICML 2025
黄昏的海面,两侧是细线勾勒的悬崖