Papers › Revisiting Membership Inference Under Realistic Assumptions

Revisiting Membership Inference Under Realistic Assumptions

21 May 2020arXiv:2005.10881archive 2025-07-28

Bargav Jayaraman, Lingxiao Wang, Katherine Knipmeyer, Quanquan Gu, David Evans

We study membership inference in settings where some of the assumptions typically used in previous research are relaxed. First, we consider skewed priors, to cover cases such as when only a small fraction of the candidate pool targeted by the adversary are actually members and develop a PPV-based metric suitable for this setting. This setting is more realistic than the balanced prior setting typically considered by researchers. Second, we consider adversaries that select inference thresholds according to their attack goals and develop a threshold selection procedure that improves inference attacks. Since previous inference attacks fail in imbalanced prior setting, we develop a new inference attack based on the intuition that inputs corresponding to training set members will be near a local minimum in the loss function, and show that an attack that combines this with thresholds on the per-instance loss can achieve high PPV even in settings where other attacks appear to be ineffective. Code for our experiments can be found here: https://github.com/bargavj/EvaluatingDPML.

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

Code

Syntology Ran 0 of 18 code samples harvested from 1 repository linked to this paper; 18 have no recorded run.

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

bargavj/EvaluatingDPML officialmentioned in papermentioned on GitHubtfMIT 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

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

18unverified

Licence: 0 of the 18 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 bargavj/EvaluatingDPML. “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.

adv_lim bargavj/EvaluatingDPML/improved_mi/interpret_results.py official repository unverified MIT (permissive) · 6ae7aa8ecd940dba · report
compute_gdp_mu bargavj/EvaluatingDPML/core/privacy_accountant.py official repository unverified MIT (permissive) · c4dafd15e67d5b6d · report
f bargavj/EvaluatingDPML/improved_mi/interpret_results.py official repository unverified MIT (permissive) · 013948fc6c807e9c · report
filePatternTest bargavj/EvaluatingDPML/extra/crawl_census_data.py official repository unverified MIT (permissive) · 69b6be2d4e95ab76 · report
get_gdp_privacy_spent bargavj/EvaluatingDPML/core/privacy_accountant.py official repository unverified MIT (permissive) · 9d391b1461c8bac7 · report
get_layer_outputs bargavj/EvaluatingDPML/core/classifier.py official repository unverified MIT (permissive) · 52ed89b6b5acac75 · report
get_ppv bargavj/EvaluatingDPML/core/utilities.py official repository unverified MIT (permissive) · dfe0c2fa5470175b · report
get_ppv bargavj/EvaluatingDPML/evaluating_dpml/interpret_results.py official repository unverified MIT (permissive) · 1fb8971949a71f06 · report
get_ppvs bargavj/EvaluatingDPML/core/utilities.py official repository unverified MIT (permissive) · 413865dc2f6548ce · report
get_predictions bargavj/EvaluatingDPML/core/classifier.py official repository unverified MIT (permissive) · 3e9f698a4d78f018 · report
get_result bargavj/EvaluatingDPML/improved_ai/interpret_results.py official repository unverified MIT (permissive) · 13622d0e53332de3 · report
isFilePresent bargavj/EvaluatingDPML/extra/crawl_census_data.py official repository unverified MIT (permissive) · dad29b3471246eeb · report
load_attack_data bargavj/EvaluatingDPML/core/data_util.py official repository unverified MIT (permissive) · 4deba715a71e9fb9 · report
load_data bargavj/EvaluatingDPML/core/data_util.py official repository unverified MIT (permissive) · 17697fa3fcb82caa · report
ppv_lim bargavj/EvaluatingDPML/improved_mi/interpret_results.py official repository unverified MIT (permissive) · f18eacb739286d78 · report
pretty_position bargavj/EvaluatingDPML/core/utilities.py official repository unverified MIT (permissive) · e9b48ac076c43238 · report
process_features bargavj/EvaluatingDPML/core/data_util.py official repository unverified MIT (permissive) · 148e8c52e944a4d1 · report
theoretical_limit bargavj/EvaluatingDPML/evaluating_dpml/interpret_results.py official repository unverified MIT (permissive) · 31e6eedc77b79b03 · 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