{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/blind-baselines-beat-membership-inference","title":"Blind Baselines Beat Membership Inference Attacks for Foundation Models","arxiv_id":"2406.16201","date":"2024-06-23","proceeding":null,"authors":["Debeshee Das","Jie Zhang","Florian Tramèr"],"abstract":"Membership inference (MI) attacks try to determine if a data sample was used to train a machine learning model. For foundation models trained on unknown Web data, MI attacks are often used to detect copyrighted training materials, measure test set contamination, or audit machine unlearning. Unfortunately, we find that evaluations of MI attacks for foundation models are flawed, because they sample members and non-members from different distributions. For 8 published MI evaluation datasets, we show that blind attacks -- that distinguish the member and non-member distributions without looking at any trained model -- outperform state-of-the-art MI attacks. Existing evaluations thus tell us nothing about membership leakage of a foundation model's training data.","url_abs":"https://arxiv.org/abs/2406.16201v2","url_pdf":"https://arxiv.org/pdf/2406.16201v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"blind-baselines-beat-membership-inference","repo_url":"https://github.com/ethz-spylab/Blind-MIA","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"machine-unlearning","task_name":"Machine Unlearning"}],"methods":[{"method_slug":"set","method_name":"SET"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2406.16201","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.16201"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ethz-spylab/Blind-MIA","reach":{"status":"ok"}}],"summary":{"ran":8,"unverified":3},"by_repo_kind":{"official":{"samples":11,"ran":8,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":11,"samples":[{"code_sha256_prefix":"bce6cc641550cfb9","entry":"count_unique_chars","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"greedy_selection.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/greedy_selection.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"bce6cc641550cfb9"}},{"code_sha256_prefix":"556499cf02c9a503","entry":"get_roc_auc","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"utils.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"556499cf02c9a503"}},{"code_sha256_prefix":"298aa035a2b9d592","entry":"get_tpr_metric","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"utils.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"298aa035a2b9d592"}},{"code_sha256_prefix":"f1e8d245e1104bfd","entry":"is_year","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"date_detection.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/date_detection.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f1e8d245e1104bfd"}},{"code_sha256_prefix":"3021c600a62067e5","entry":"max_year","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"date_detection.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/date_detection.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3021c600a62067e5"}},{"code_sha256_prefix":"a3480535a1b06aa3","entry":"ngrams","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"greedy_selection.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/greedy_selection.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a3480535a1b06aa3"}},{"code_sha256_prefix":"69750e7e1081b702","entry":"test","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"greedy_selection.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/greedy_selection.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"69750e7e1081b702"}},{"code_sha256_prefix":"2f5d876c4557f01b","entry":"to_year","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"date_detection.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/date_detection.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2f5d876c4557f01b"}},{"code_sha256_prefix":"348d8ac9dcf63733","entry":"get_dataset","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"utils.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"348d8ac9dcf63733"}},{"code_sha256_prefix":"0b37b5703e028346","entry":"hyperparam_search","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"bag_of_words.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/bag_of_words.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0b37b5703e028346"}},{"code_sha256_prefix":"fb852909e39360e3","entry":"train_classifier","repo":"ethz-spylab/Blind-MIA","repo_kind":"official","path":"bag_of_words.py","file_url":"https://github.com/ethz-spylab/Blind-MIA/blob/HEAD/bag_of_words.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"fb852909e39360e3"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}