Papers › Gradient-Leakage Resilient Federated Learning

Gradient-Leakage Resilient Federated Learning

2 Jul 2021arXiv:2107.01154archive 2025-07-28

Wenqi Wei, Ling Liu, Yanzhao Wu, Gong Su, Arun Iyengar

Federated learning(FL) is an emerging distributed learning paradigm with default client privacy because clients can keep sensitive data on their devices and only share local training parameter updates with the federated server. However, recent studies reveal that gradient leakages in FL may compromise the privacy of client training data. This paper presents a gradient leakage resilient approach to privacy-preserving federated learning with per training example-based client differential privacy, coined as Fed-CDP. It makes three original contributions. First, we identify three types of client gradient leakage threats in federated learning even with encrypted client-server communications. We articulate when and why the conventional server coordinated differential privacy approach, coined as Fed-SDP, is insufficient to protect the privacy of the training data. Second, we introduce Fed-CDP, the per example-based client differential privacy algorithm, and provide a formal analysis of Fed-CDP with the (ϵ, δ) differential privacy guarantee, and a formal comparison between Fed-CDP and Fed-SDP in terms of privacy accounting. Third, we formally analyze the privacy-utility trade-off for providing differential privacy guarantee by Fed-CDP and present a dynamic decay noise-injection policy to further improve the accuracy and resiliency of Fed-CDP. We evaluate and compare Fed-CDP and Fed-CDP(decay) with Fed-SDP in terms of differential privacy guarantee and gradient leakage resilience over five benchmark datasets. The results show that the Fed-CDP approach outperforms conventional Fed-SDP in terms of resilience to client gradient leakages while offering competitive accuracy performance in federated learning.

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="2107.01154")

Code

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

By repository: community (archive-listed): 12 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

git-disl/ESORICS20-CPL officialmentioned in paperpytorch report
KaiyuanZh/censor mentioned on GitHubpytorchMIT 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

12 samples harvested; 5 ran; 0 honoured the contract we drafted; 7 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.

5ran
7unverified

Licence: 0 of the 12 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 KaiyuanZh/censor. “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.

densenet_cifar KaiyuanZh/censor/inversefed/nn/densenet.py community (archive-listed) ran MIT (permissive) · 7db01b64f42f28ee · report
gradient_clipping KaiyuanZh/censor/defense.py community (archive-listed) ran MIT (permissive) · 49e3def5d3ba54c9 · report
gradient_compression KaiyuanZh/censor/defense.py community (archive-listed) ran MIT (permissive) · aae188414ae38f51 · report
load_config KaiyuanZh/censor/run_rec.py community (archive-listed) ran MIT (permissive) · 21cecdf2721c9a12 · report
reconstruction_costs KaiyuanZh/censor/inversefed/reconstruction_algorithms.py community (archive-listed) ran MIT (permissive) · 24dd50ff238a3c31 · report
activation_errors KaiyuanZh/censor/inversefed/metrics.py community (archive-listed) unverified MIT (permissive) · e551d62ffffcfda9 · report
additive_noise KaiyuanZh/censor/defense.py community (archive-listed) unverified MIT (permissive) · 9b5af57ba71916b3 · report
get_plugin KaiyuanZh/censor/dnnlib/tflib/custom_ops.py community (archive-listed) unverified MIT (permissive) · 6e1c6773a9fbe6dd · report
init_logger KaiyuanZh/censor/run_rec.py community (archive-listed) unverified MIT (permissive) · 7d2ab6b3bb65b1d1 · report
psnr KaiyuanZh/censor/inversefed/metrics.py community (archive-listed) unverified MIT (permissive) · 5ef2f520281c0bdf · report
save_experiment_config KaiyuanZh/censor/run_rec.py community (archive-listed) unverified MIT (permissive) · a4fbdfb704b25d7b · report
total_variation KaiyuanZh/censor/inversefed/metrics.py community (archive-listed) unverified MIT (permissive) · 3d23162c75564e01 · report

Tasks

Federated LearningPrivacy Preserving

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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