Papers › Privacy Attacks in Decentralized Learning

Privacy Attacks in Decentralized Learning

15 Feb 2024arXiv:2402.10001archive 2025-07-28

Abdellah El Mrini, Edwige Cyffers, Aurélien Bellet

Decentralized Gradient Descent (D-GD) allows a set of users to perform collaborative learning without sharing their data by iteratively averaging local model updates with their neighbors in a network graph. The absence of direct communication between non-neighbor nodes might lead to the belief that users cannot infer precise information about the data of others. In this work, we demonstrate the opposite, by proposing the first attack against D-GD that enables a user (or set of users) to reconstruct the private data of other users outside their immediate neighborhood. Our approach is based on a reconstruction attack against the gossip averaging protocol, which we then extend to handle the additional challenges raised by D-GD. We validate the effectiveness of our attack on real graphs and datasets, showing that the number of users compromised by a single or a handful of attackers is often surprisingly large. We empirically investigate some of the factors that affect the performance of the attack, namely the graph topology, the number of attackers, and their position in the graph.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.10001")

Code

Syntology Ran 11 of 15 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 11 ran with no contract checked.

By repository: official repository: 15 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

abdellahelmrini/decattack officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 11 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11ran
4unverified

Licence: 15 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from AbdellahElmrini/decAttack. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LaplacianGossipMatrix AbdellahElmrini/decAttack/src/utils.py official repository ran no licence file found · pointer only · 6ff896d7a8c735e6 · report
allclose AbdellahElmrini/decAttack/src/rref.py official repository ran no licence file found · pointer only · 60f90707460fe314 · report
invert_gradient_FC_Model AbdellahElmrini/decAttack/src/models.py official repository ran no licence file found · pointer only · a1d9e71c30f9fd7d · report
is_rref AbdellahElmrini/decAttack/src/rref_V0.py official repository ran no licence file found · pointer only · 97879506b95b5652 · report
isclose AbdellahElmrini/decAttack/src/rref.py official repository ran no licence file found · pointer only · 2fca5c6959a311cf · report
line_graph AbdellahElmrini/decAttack/src/graphs.py official repository ran no licence file found · pointer only · af6f564b233c54ae · report
psnr AbdellahElmrini/decAttack/src/metrics.py official repository ran no licence file found · pointer only · f71cd7e218644202 · report
relative_square_loss AbdellahElmrini/decAttack/src/metrics.py official repository ran no licence file found · pointer only · 073893f69cf3183f · report
square_loss AbdellahElmrini/decAttack/src/metrics.py official repository ran no licence file found · pointer only · 965199a9b636a184 · report
to_frac AbdellahElmrini/decAttack/src/rref.py official repository ran no licence file found · pointer only · 773d3db26424e549 · report
uniformGossipMatrix AbdellahElmrini/decAttack/src/utils.py official repository ran no licence file found · pointer only · 5867cca679a741e9 · report
build_MNIST AbdellahElmrini/decAttack/src/data.py official repository unverified no licence file found · pointer only · 7b329e27d4bb2a61 · report
build_cifar10 AbdellahElmrini/decAttack/src/data.py official repository unverified no licence file found · pointer only · d972c01c40b3cfc3 · report
rref_transform AbdellahElmrini/decAttack/src/rref_V0.py official repository unverified no licence file found · pointer only · 319f437fdccba396 · report
transform_to_rref AbdellahElmrini/decAttack/src/rref_V0.py official repository unverified no licence file found · pointer only · fedcdb72eb6641eb · report

Tasks

Reconstruction Attack

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections