Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitar Dimitrov authored and Dimitar Dimitrov committed Jan 10, 2025
1 parent 13b513f commit fc2582d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _publications/dimitarifedavg.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ url={https://openreview.net/forum?id=e7A0B99zJf},
note={}
}'
code: https://github.com/eth-sri/fedavg_leakage
paper: https://openreview.net/forum?id=e7A0B99zJ
paper: https://openreview.net/forum?id=e7A0B99zJf
venue: TMLR
---
Recent attacks have shown that user data can be recovered from FedSGD updates, thus breaking privacy. However, these attacks are of limited practical relevance as federated learning typically uses the FedAvg algorithm. Compared to FedSGD, recovering data from FedAvg updates is much harder as: (i) the updates are computed at unobserved intermediate network weights, (ii) a large number of batches are used, and (iii) labels and network weights vary simultaneously across client steps. In this work, we propose a new optimization-based attack which successfully attacks FedAvg by addressing the above challenges. First, we solve the optimization problem using automatic differentiation that forces a simulation of the client’s update that generates the unobserved parameters for the recovered labels and inputs to match the received client update. Second, we address the large number of batches by relating images from different epochs with a permutation invariant prior. Third, we recover the labels by estimating the parameters of existing FedSGD attacks at every FedAvg step. On the popular FEMNIST dataset, we demonstrate that on average we successfully recover >45% of the client’s images from realistic FedAvg updates computed on 10 local epochs of 10 batches each with 5 images, compared to only <10% using the baseline. Our findings show many real-world federated learning implementations based on FedAvg are vulnerable.

0 comments on commit fc2582d

Please sign in to comment.