Lune

CVPR2021Top-tier venue

See Through Gradients: Image Batch Recovery via GradInversion

Hongxu Yin, Arun Mallya, Arash Vahdat, José M. Álvarez, Jan Kautz, Pavlo Molchanov

Abstract

Training deep neural networks requires gradient estimation from data batches to update parameters. Gradients per parameter are averaged over a set of data and this has been presumed to be safe for privacy-preserving training in joint, collaborative, and federated learning applications. Prior work only showed the possibility of recovering input data given gradients under very restrictive conditions -a single input point, or a network with no non-linearities, or a small 32 ˆ32 px input batch. Therefore, averaging gradients over larger batches was thought to be safe. In this work, we introduce GradInversion, using which input images from a larger batch (8 -48 images) can also be recovered for large networks such as ResNets (50 layers), on complex datasets such as ImageNet (1000 classes, 224 ˆ224 px). We formulate an optimization task that converts random noise into natural images, matching gradients while regularizing image fidelity. We also propose an algorithm for target class label recovery given gradients. We further propose a group consistency regularization framework, where multiple agents starting from different random seeds work together to find an enhanced reconstruction of the original data batch. We show that gradients encode a surprisingly large amount of information, such that all the individual images can be recovered with high fidelity via GradInversion, even for complex datasets, deep networks, and large batch sizes.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

121 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Practical Secure Aggregation for Privacy-Preserving Machine Learning cites Membership Inference Attacks Against Machine Learning Models
  • Exploiting Unintended Feature Leakage in Collaborative Learning cites Practical Secure Aggregation for Privacy-Preserving Machine Learning
  • Exploiting Unintended Feature Leakage in Collaborative Learning cites Membership Inference Attacks Against Machine Learning Models
  • Gradient Inversion with Generative Image Prior cites Practical Secure Aggregation for Privacy-Preserving Machine Learning
  • Gradient Inversion with Generative Image Prior cites Exploiting Unintended Feature Leakage in Collaborative Learning
  • Gradient Inversion with Generative Image Prior cites Membership Inference Attacks Against Machine Learning Models
  • Gradient Inversion with Generative Image Prior cites Inverting Gradients - How easy is it to break privacy in federated learning?
  • Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Models cites Practical Secure Aggregation for Privacy-Preserving Machine Learning
  • Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Models cites Exploiting Unintended Feature Leakage in Collaborative Learning
  • Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Models cites Gradient Inversion with Generative Image Prior
  • Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Models cites Inverting Gradients - How easy is it to break privacy in federated learning?
  • Reconstructing Training Data From Trained Neural Networks cites Exploiting Unintended Feature Leakage in Collaborative Learning
  • Reconstructing Training Data From Trained Neural Networks cites Membership Inference Attacks Against Machine Learning Models
  • Reconstructing Training Data From Trained Neural Networks cites Evaluating Gradient Inversion Attacks and Defenses in Federated Learning
  • Evaluating Gradient Inversion Attacks and Defenses in Federated Learning cites Inverting Gradients - How easy is it to break privacy in federated learning?
  • Inverting Gradients - How easy is it to break privacy in federated learning? cites Exploiting Unintended Feature Leakage in Collaborative Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers121

  1. Evaluating Gradient Inversion Attacks and Defenses in Federated LearningYangsibo Huang, Samyak Gupta, Zhao Song, Kai Li et al.NeurIPS 2021 · 419 citations
  2. Gradient Inversion with Generative Image PriorJinwoo Jeon, Jaechang Kim, Kangwook Lee, Sewoong Oh et al.NeurIPS 2021 · 216 citations
  3. DENSE: Data-Free One-Shot Federated LearningJie Zhang, Chen Chen, Bo Li, Lingjuan Lyu et al.NeurIPS 2022 · 202 citations
  4. Reconstructing Training Data From Trained Neural NetworksNiv Haim, Gal Vardi, Gilad Yehudai, Ohad Shamir et al.NeurIPS 2022 · 196 citations
  5. Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified ModelsLiam H. Fowl, Jonas Geiping, Wojciech Czaja, Micah Goldblum et al.ICLR 2022 · 181 citations

Builds on14

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  3. Practical Secure Aggregation for Privacy-Preserving Machine LearningKallista A. Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone et al.CCS 2017 · 3,936 citations
  4. Inverting Gradients - How easy is it to break privacy in federated learning?Jonas Geiping, Hartmut Bauermeister, Hannah Dröge, Michael MoellerNeurIPS 2020 · 1,822 citations
  5. Exploiting Unintended Feature Leakage in Collaborative LearningLuca Melis, Congzheng Song, Emiliano De Cristofaro, Vitaly ShmatikovS&P 2019 · 1,736 citations

Related papers

  1. Generative Gradient Inversion via Over-Parameterized Networks in Federated LearningChi Zhang, Xiaoman Zhang, Ekanut Sotthiwat, Yanyu Xu et al.ICCV 2023 · 17 citations
  2. High-Fidelity Gradient Inversion in Distributed LearningZipeng Ye, Wenjian Luo, Qi Zhou, Yubo TangAAAI 2024 · 15 citations
  3. Instance-wise Batch Label Restoration via Gradients in Federated LearningKailang Ma, Yu Sun, Jian Cui, Dawei Li et al.ICLR 2023
  4. SPEAR: Exact Gradient Inversion of Batches in Federated LearningDimitar I. Dimitrov, Maximilian Baader, Mark Niklas Müller, Martin T. VechevNeurIPS 2024 · 29 citations
  5. ARES: Scalable and Practical Gradient Inversion Attack in Federated Learning Through Activation RecoveryZirui Gong, Leo Yu Zhang, Yanjun Zhang, Viet Vo et al.S&P 2026
Dusk over the sea between two cliffs drawn in fine vertical lines