{"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/improved-techniques-for-model-inversion-1","title":"Knowledge-Enriched Distributional Model Inversion Attacks","arxiv_id":"2010.04092","date":"2020-10-08","proceeding":"ICCV 2021 10","authors":["Si Chen","Mostafa Kahla","Ruoxi Jia","Guo-Jun Qi"],"abstract":"Model inversion (MI) attacks are aimed at reconstructing training data from model parameters. Such attacks have triggered increasing concerns about privacy, especially given a growing number of online model repositories. However, existing MI attacks against deep neural networks (DNNs) have large room for performance improvement. We present a novel inversion-specific GAN that can better distill knowledge useful for performing attacks on private models from public data. In particular, we train the discriminator to differentiate not only the real and fake samples but the soft-labels provided by the target model. Moreover, unlike previous work that directly searches for a single data point to represent a target class, we propose to model a private data distribution for each target class. Our experiments show that the combination of these techniques can significantly boost the success rate of the state-of-the-art MI attacks by 150%, and generalize better to a variety of datasets and models. Our code is available at https://github.com/SCccc21/Knowledge-Enriched-DMI.","url_abs":"https://arxiv.org/abs/2010.04092v4","url_pdf":"https://arxiv.org/pdf/2010.04092v4.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":"improved-techniques-for-model-inversion-1","repo_url":"https://github.com/scccc21/knowledge-enriched-dmi","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"improved-techniques-for-model-inversion-1","repo_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"model","task_name":"model"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2010.04092","atlas_url":"https://app.syntology.ai/?focus=2010.04092","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.04092"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/scccc21/knowledge-enriched-dmi","reach":null}],"summary":{"ran_draft_wrong":5,"ran_honours":1,"unverified":3},"by_repo_kind":{"official":{"samples":9,"ran":6,"repositories":2}},"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":0,"samples":[{"code_sha256_prefix":"17b094c69aebe5ed","entry":"dconv_bn_relu","repo":"SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","repo_kind":"official","path":"generator.py","file_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks/blob/HEAD/generator.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"17b094c69aebe5ed"}},{"code_sha256_prefix":"ad5dbf57f3ea2633","entry":"get_block","repo":"SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","repo_kind":"official","path":"facenet.py","file_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks/blob/HEAD/facenet.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ad5dbf57f3ea2633"}},{"code_sha256_prefix":"ea7941eb1ea8ffb2","entry":"get_blocks","repo":"SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","repo_kind":"official","path":"facenet.py","file_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks/blob/HEAD/facenet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ea7941eb1ea8ffb2"}},{"code_sha256_prefix":"b4bca36ffb2c3329","entry":"gradient_penalty","repo":"SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","repo_kind":"official","path":"binary_gan.py","file_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks/blob/HEAD/binary_gan.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b4bca36ffb2c3329"}},{"code_sha256_prefix":"c54fea429589425d","entry":"l2_norm","repo":"SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","repo_kind":"official","path":"facenet.py","file_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks/blob/HEAD/facenet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c54fea429589425d"}},{"code_sha256_prefix":"ed2c8f941b766ebb","entry":"log_sum_exp","repo":"scccc21/knowledge-enriched-dmi","repo_kind":"official","path":"k+1_gan.py","file_url":"https://github.com/scccc21/knowledge-enriched-dmi/blob/HEAD/k%2B1_gan.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ed2c8f941b766ebb"}},{"code_sha256_prefix":"8ceea87fe22a6f64","entry":"completion_network_loss","repo":"SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","repo_kind":"official","path":"losses.py","file_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks/blob/HEAD/losses.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8ceea87fe22a6f64"}},{"code_sha256_prefix":"ec8858dc11e517c1","entry":"load_attri","repo":"SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","repo_kind":"official","path":"dataloader.py","file_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks/blob/HEAD/dataloader.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ec8858dc11e517c1"}},{"code_sha256_prefix":"45a9b6bf1ce41469","entry":"noise_loss","repo":"SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks","repo_kind":"official","path":"losses.py","file_url":"https://github.com/SCccc21/Knowledge-Enriched-Distributional-Model-Inversion-Attacks/blob/HEAD/losses.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"45a9b6bf1ce41469"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}