Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Inverting Gradients -- How easy is it to break privacy in federated learning?

About

The idea of federated learning is to collaboratively train a neural network on a server. Each user receives the current weights of the network and in turns sends parameter updates (gradients) based on local data. This protocol has been designed not only to train neural networks data-efficiently, but also to provide privacy benefits for users, as their input data remains on device and only parameter gradients are shared. But how secure is sharing parameter gradients? Previous attacks have provided a false sense of security, by succeeding only in contrived settings - even for a single image. However, by exploiting a magnitude-invariant loss along with optimization strategies based on adversarial attacks, we show that is is actually possible to faithfully reconstruct images at high resolution from the knowledge of their parameter gradients, and demonstrate that such a break of privacy is possible even for trained deep networks. We analyze the effects of architecture as well as parameters on the difficulty of reconstructing an input image and prove that any input to a fully connected layer can be reconstructed analytically independent of the remaining architecture. Finally we discuss settings encountered in practice and show that even averaging gradients over several iterations or several images does not protect the user's privacy in federated learning applications in computer vision.

Jonas Geiping, Hartmut Bauermeister, Hannah Dr\"oge, Michael Moeller• 2020

Related benchmarks

TaskDatasetResultRank
Adjacency Matrix ReconstructionGraph Data Instances
AUC82.54
45
Node Feature ReconstructionGraph Data Instances
MSE0.3879
45
Gradient Inversion AttackCIFAR-10
PSNR11.28
35
Gradient Inversion AttackMNIST
PSNR9.96
20
Gradient Inversion AttackImageNet
PSNR11.45
17
Image ReconstructionImageNet1K
PSNR11.703
10
Graph data recovery from gradientsMUTAG
Node Feature MSE0.9164
9
Graph data recovery from gradientsPTC-MR
Node Feature MSE0.9154
9
Graph data recovery from gradientsAIDS
Node Feature MSE0.8535
9
Graph data recovery from gradientsENZYMES
Node Feature MSE1.1449
9
Showing 10 of 17 rows

Other info

Follow for update