Papers › Formalizing and Estimating Distribution Inference Risks

Formalizing and Estimating Distribution Inference Risks

13 Sep 2021arXiv:2109.06024archive 2025-07-28

Anshuman Suri, David Evans

Distribution inference, sometimes called property inference, infers statistical properties about a training set from access to a model trained on that data. Distribution inference attacks can pose serious risks when models are trained on private data, but are difficult to distinguish from the intrinsic purpose of statistical machine learning -- namely, to produce models that capture statistical properties about a distribution. Motivated by Yeom et al.'s membership inference framework, we propose a formal definition of distribution inference attacks that is general enough to describe a broad class of attacks distinguishing between possible training distributions. We show how our definition captures previous ratio-based property inference attacks as well as new kinds of attack including revealing the average node degree or clustering coefficient of a training graph. To understand distribution inference risks, we introduce a metric that quantifies observed leakage by relating it to the leakage that would occur if samples from the training distribution were provided directly to the adversary. We report on a series of experiments across a range of different distributions using both novel black-box attacks and improved versions of the state-of-the-art white-box attacks. Our results show that inexpensive attacks are often as effective as expensive meta-classifier attacks, and that there are surprising asymmetries in the effectiveness of attacks. Code is available at https://github.com/iamgroot42/FormEstDistRisks

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

Code

Syntology Ran 3 of 14 code samples harvested from 2 repositories linked to this paper; 11 have no recorded run. Of those that ran: 3 ran · our draft was wrong.

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

iamgroot42/form_est_dist_risks officialmentioned in papermentioned on GitHubpytorchBSD-2-Clause report
iamgroot42/formestdistrisks 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

14 samples harvested; 3 ran; 0 honoured the contract we drafted; 11 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.

3ran · our draft was wrong
11unverified

Licence: 0 of the 14 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

find_to_prune_for_mean_degree iamgroot42/formestdistrisks/arxiv/data_utils.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · 6eff479cbea3e29a · report
find_to_prune_for_threshold_degree iamgroot42/formestdistrisks/arxiv/data_utils.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · f40e50279ebbef17 · report
neighbor_removal iamgroot42/formestdistrisks/arxiv/data_utils.py official repository ran · our draft was wrong BSD-2-Clause (permissive) · aff1bea8d51561a3 · report
chord iamgroot42/form_est_dist_risks/botnets/data_utils.py official repository unverified BSD-2-Clause (permissive) · 02d577039741f33c · report
epoch iamgroot42/form_est_dist_risks/botnets/model_utils.py official repository unverified BSD-2-Clause (permissive) · af78cce3251607a4 · report
get_metrics iamgroot42/form_est_dist_risks/botnets/model_utils.py official repository unverified BSD-2-Clause (permissive) · 1aae7e9452a19897 · report
get_model_folder_path iamgroot42/form_est_dist_risks/boneage/model_utils.py official repository unverified BSD-2-Clause (permissive) · a185c02cd89bef2e · report
load_all_loader_data iamgroot42/form_est_dist_risks/botnets/utils.py official repository unverified BSD-2-Clause (permissive) · 744d18d79255848c · report
log_string iamgroot42/form_est_dist_risks/botnets/utils.py official repository unverified BSD-2-Clause (permissive) · ca00012e2a738b06 · report
overlay_botnet_on_graph iamgroot42/form_est_dist_risks/botnets/data_utils.py official repository unverified BSD-2-Clause (permissive) · 0e10610f727fef31 · report
scaled_values iamgroot42/form_est_dist_risks/botnets/utils.py official repository unverified BSD-2-Clause (permissive) · 0d35d1ccf120ef81 · report
test iamgroot42/form_est_dist_risks/arxiv/model_utils.py official repository unverified BSD-2-Clause (permissive) · 402b17de9d91f42e · report
train iamgroot42/form_est_dist_risks/arxiv/model_utils.py official repository unverified BSD-2-Clause (permissive) · 5e91ee8bb1615456 · report
true_positive iamgroot42/form_est_dist_risks/botnets/model_utils.py official repository unverified BSD-2-Clause (permissive) · 439ee18af6ad4263 · report

Tasks

Inference Attack

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