Papers › Revisiting the LiRA Membership Inference Attack Under Realistic Assumptions

Revisiting the LiRA Membership Inference Attack Under Realistic Assumptions

8 Mar 2026arXiv:2603.07567added by Syntology

Najeeb Jebreel, Mona Khalil, David Sánchez, Josep Domingo-Ferrer

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Membership inference attacks (MIAs) have become the standard tool for evaluating privacy leakage in machine learning (ML). Among them, the Likelihood-Ratio Attack (LiRA) is widely regarded as the state of the art when sufficient shadow models are available. However, prior evaluations have often overstated the effectiveness of LiRA by attacking models overconfident on their training samples, calibrating thresholds on target data, assuming balanced membership priors, and/or overlooking attack reproducibility. We re-evaluate LiRA under a realistic protocol that (i) trains models using anti-overfitting (AOF) and transfer learning (TL), when applicable, to reduce overconfidence as in production models; (ii) calibrates decision thresholds using shadow models and data rather than target data; (iii) measures positive predictive value (PPV, or precision) under shadow-based thresholds and skewed membership priors (pi <= 10%); and (iv) quantifies per-sample membership reproducibility across different seeds and training variations. We find that AOF significantly weakens LiRA, while TL further reduces attack effectiveness while improving model accuracy. Under shadow-based thresholds and skewed priors, LiRA's PPV often drops substantially, especially under AOF or AOF+TL. We also find that thresholded vulnerable sets at extremely low FPR show poor reproducibility across runs, while likelihood-ratio rankings are more stable. These results suggest that LiRA, and likely weaker MIAs, are less effective than previously suggested under realistic conditions, and that reliable privacy auditing requires evaluation protocols that reflect practical training practices, feasible attacker assumptions, and reproducibility considerations. Code is available at https://github.com/najeebjebreel/lira_analysis.

PaperPDFCode 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="2603.07567")

Code

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

By repository: found in paper text by Syntology: 23 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.

najeebjebreel/lira_analysis found in paper text by Syntology report

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

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

23unverified

Licence: 0 of the 23 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 najeebjebreel/lira_analysis. “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.

collect_topk_images najeebjebreel/lira_analysis/comprehensive_analysis/compose_top_vulnerable.py found in paper text by Syntology unverified MIT (permissive) · 30c1c468615ed8aa · report
compute_identical_over_thresholds najeebjebreel/lira_analysis/comprehensive_analysis/reproducibility_analysis.py found in paper text by Syntology unverified MIT (permissive) · a412bade5c864edb · report
compute_precision najeebjebreel/lira_analysis/comprehensive_analysis/metrics.py found in paper text by Syntology unverified MIT (permissive) · 54526585121a623a · report
compute_roc_metrics najeebjebreel/lira_analysis/comprehensive_analysis/metrics.py found in paper text by Syntology unverified MIT (permissive) · 99a772f122b776db · report
compute_tpr_at_fpr najeebjebreel/lira_analysis/comprehensive_analysis/metrics.py found in paper text by Syntology unverified MIT (permissive) · cf5ec905e15dd612 · report
create_output_directory najeebjebreel/lira_analysis/comprehensive_analysis/analysis_utils.py found in paper text by Syntology unverified MIT (permissive) · 982573cf8895bdfa · report
create_output_directory najeebjebreel/lira_analysis/comprehensive_analysis/run_analysis.py found in paper text by Syntology unverified MIT (permissive) · ca73aedeabad1c37 · report
fpr_to_tag najeebjebreel/lira_analysis/comprehensive_analysis/reproducibility_analysis.py found in paper text by Syntology unverified MIT (permissive) · e214cc0b45e0daee · report
fpr_to_tag najeebjebreel/lira_analysis/comprehensive_analysis/run_analysis.py found in paper text by Syntology unverified MIT (permissive) · 408beb717e5ac9fd · report
freedman_diaconis_bins najeebjebreel/lira_analysis/comprehensive_analysis/plot_benchmark_distribution.py found in paper text by Syntology unverified MIT (permissive) · 7f54c1a69ee2722e · report
generate_reproducibility_panels najeebjebreel/lira_analysis/comprehensive_analysis/reproducibility_analysis.py found in paper text by Syntology unverified MIT (permissive) · 0128a2f4eb9aceaf · report
get_attack_methods najeebjebreel/lira_analysis/attack.py found in paper text by Syntology unverified MIT (permissive) · 970e527fa55fb4bf · report
get_experiment_info najeebjebreel/lira_analysis/comprehensive_analysis/analysis_utils.py found in paper text by Syntology unverified MIT (permissive) · 33f9972a2979215a · report
load_experiment_config najeebjebreel/lira_analysis/comprehensive_analysis/analysis_utils.py found in paper text by Syntology unverified MIT (permissive) · 9ee0cfeab3854a74 · report
load_pooled_thresholds najeebjebreel/lira_analysis/comprehensive_analysis/threshold_distribution.py found in paper text by Syntology unverified MIT (permissive) · 67d36c79acbea5e2 · report
load_thresholds_filtered najeebjebreel/lira_analysis/comprehensive_analysis/threshold_distribution.py found in paper text by Syntology unverified MIT (permissive) · a6bc219cba07af29 · report
mean_std najeebjebreel/lira_analysis/comprehensive_analysis/rank_stability_utils.py found in paper text by Syntology unverified MIT (permissive) · 2aa1b93743d08c9d · report
normalize_columns najeebjebreel/lira_analysis/comprehensive_analysis/loss_ratio_tpr.py found in paper text by Syntology unverified MIT (permissive) · b4263be4e1529343 · report
parse_panel najeebjebreel/lira_analysis/comprehensive_analysis/plot_benchmark_distribution.py found in paper text by Syntology unverified MIT (permissive) · 08a2335c3fcc3802 · report
resolve_config_paths najeebjebreel/lira_analysis/comprehensive_analysis/plot_benchmark_distribution.py found in paper text by Syntology unverified MIT (permissive) · e4629aee855b31c7 · report
robust_stats_1d najeebjebreel/lira_analysis/comprehensive_analysis/rank_stability_utils.py found in paper text by Syntology unverified MIT (permissive) · 1a7471281a81be03 · report
safe_spearman najeebjebreel/lira_analysis/comprehensive_analysis/rank_stability_utils.py found in paper text by Syntology unverified MIT (permissive) · 34e81e2a77283b09 · report
save_latex_summary najeebjebreel/lira_analysis/comprehensive_analysis/run_analysis.py found in paper text by Syntology unverified MIT (permissive) · 096a5b0d17325f3e · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2603.07567, was issued in March 2026, after that date, so the archive has no leaderboard rows for it.

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