Papers › Understanding Deep Gradient Leakage via Inversion Influence Functions

Understanding Deep Gradient Leakage via Inversion Influence Functions

22 Sep 2023NeurIPS 2023 11arXiv:2309.13016archive 2025-07-28

Haobo Zhang, Junyuan Hong, Yuyang Deng, Mehrdad Mahdavi, Jiayu Zhou

Deep Gradient Leakage (DGL) is a highly effective attack that recovers private training images from gradient vectors. This attack casts significant privacy challenges on distributed learning from clients with sensitive data, where clients are required to share gradients. Defending against such attacks requires but lacks an understanding of when and how privacy leakage happens, mostly because of the black-box nature of deep networks. In this paper, we propose a novel Inversion Influence Function (I²F) that establishes a closed-form connection between the recovered images and the private gradients by implicitly solving the DGL problem. Compared to directly solving DGL, I²F is scalable for analyzing deep networks, requiring only oracle access to gradients and Jacobian-vector products. We empirically demonstrate that I²F effectively approximated the DGL generally on different model architectures, datasets, modalities, attack implementations, and perturbation-based defenses. With this novel tool, we provide insights into effective gradient perturbation directions, the unfairness of privacy protection, and privacy-preferred model initialization. Our codes are provided in https://github.com/illidanlab/inversion-influence-function.

PaperPDFConference PDFCodeCode 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="2309.13016")

Code

Syntology Ran 12 of 19 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · fixture could not drive it; 10 ran with no contract checked.

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

illidanlab/inversion-influence-function officialmentioned in paperpytorchMIT 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

19 samples harvested; 12 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.

1ran · violated contract
1ran · fixture could not drive it
10ran
7unverified

Licence: 0 of the 19 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 illidanlab/inversion-influence-function. “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.

Acc illidanlab/inversion-influence-function/utils.py official repository ran fingerprinted MIT (permissive) · f98c1ca84c5aa504 · report
FPR illidanlab/inversion-influence-function/utils.py official repository ran MIT (permissive) · e236b9fab80debf8 · report
PSNR illidanlab/inversion-influence-function/metrics.py official repository ran MIT (permissive) · 79216dcd9c887eb7 · report
densenet_cifar illidanlab/inversion-influence-function/inversefed/nn/densenet.py official repository ran MIT (permissive) · 7db01b64f42f28ee · report
flat_recover_vector illidanlab/inversion-influence-function/defense.py official repository ran MIT (permissive) · 56b73a67e3e20843 · report
flat_recover_vector illidanlab/inversion-influence-function/utils.py official repository ran MIT (permissive) · c168fdff966921b8 · report
get_gradients illidanlab/inversion-influence-function/defense.py official repository ran MIT (permissive) · 18a2cff946431aa0 · report
grad_cosine_similarity illidanlab/inversion-influence-function/defense.py official repository ran fingerprinted MIT (permissive) · b016f96cdd4b4af0 · report
pair illidanlab/inversion-influence-function/baseline_utils.py official repository ran · violated contract fingerprinted MIT (permissive) · 6ba8cee9f5daea41 · report
reconstruction_costs illidanlab/inversion-influence-function/inversefed/reconstruction_algorithms.py official repository ran · fixture could not drive it MIT (permissive) · d696213f6c2f41c9 · report
reconstruction_costs illidanlab/inversion-influence-function/myreconstruction.py official repository ran MIT (permissive) · 7a3f6f7c1e8f15fe · report
ssim_ssim illidanlab/inversion-influence-function/metrics.py official repository ran MIT (permissive) · 14bd12e83ef2cc00 · report
activation_errors illidanlab/inversion-influence-function/inversefed/metrics.py official repository unverified MIT (permissive) · e551d62ffffcfda9 · report
construct_model illidanlab/inversion-influence-function/inversefed/nn/models.py official repository unverified MIT (permissive) · 02eff7fd03b9447e · report
load_datasets illidanlab/inversion-influence-function/baseline_utils.py official repository unverified MIT (permissive) · 5575a9343bef8b99 · report
load_model illidanlab/inversion-influence-function/baseline_utils.py official repository unverified MIT (permissive) · 966417b0e5853e27 · report
lpips_loss illidanlab/inversion-influence-function/metrics.py official repository unverified MIT (permissive) · 31c67ce0a240360c · report
psnr illidanlab/inversion-influence-function/inversefed/metrics.py official repository unverified MIT (permissive) · 5ef2f520281c0bdf · report
total_variation illidanlab/inversion-influence-function/inversefed/metrics.py official repository unverified MIT (permissive) · 3d23162c75564e01 · report

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