Papers › Plug & Play Attacks: Towards Robust and Flexible Model Inversion Attacks
Plug & Play Attacks: Towards Robust and Flexible Model Inversion Attacks
Lukas Struppek, Dominik Hintersdorf, Antonio De Almeida Correia, Antonia Adler, Kristian Kersting
Model inversion attacks (MIAs) aim to create synthetic images that reflect the class-wise characteristics from a target classifier's private training data by exploiting the model's learned knowledge. Previous research has developed generative MIAs that use generative adversarial networks (GANs) as image priors tailored to a specific target model. This makes the attacks time- and resource-consuming, inflexible, and susceptible to distributional shifts between datasets. To overcome these drawbacks, we present Plug & Play Attacks, which relax the dependency between the target model and image prior, and enable the use of a single GAN to attack a wide range of targets, requiring only minor adjustments to the attack. Moreover, we show that powerful MIAs are possible even with publicly available pre-trained GANs and under strong distributional shifts, for which previous approaches fail to produce meaningful results. Our extensive evaluation confirms the improved robustness and flexibility of Plug & Play Attacks and their ability to create high-quality images revealing sensitive class characteristics.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="2201.12179")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2201.12179", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2201.12179")
Code
Syntology 36 code samples harvested from 6 repositories linked to this paper: 27 ran (of which 1 constructed an object rather than computing a result; 13 with no instrument failure: 0 honoured, 2 violated, 11 with no contract checked; 14 where Syntology's instrument failed) · 9 unverified. Where Syntology's instrument failed: 14 where our contract draft was wrong; failures of Syntology's instrument, not of the code.
By repository: official repository: 4 samples from 1 repository, 3 ran (0 with no instrument failure; 3 where Syntology's instrument failed); community (archive-listed): 1 sample from 1 repository, 1 ran (0 with no instrument failure; 1 where Syntology's instrument failed); found in paper text by Syntology: 31 samples from 4 repositories, 23 ran (13 with no instrument failure; 10 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
No sample is linked to this paper from 4 of its repositories that Syntology harvested for other papers:
- ffhibnese/model-inversion-attack-toolbox, community (archive-listed): harvested for another paper, listed under the repository
- timesler/facenet-pytorch, found in paper text by Syntology: Syntology's graph links these samples to LoRA-based Adaptation Alone Is Not Enough: Understanding the Limits of Foundation... (arXiv:2608.09633; that paper's own run record: 6 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 1 violated, 0 with no contract checked; 5 where Syntology's instrument failed) · 4 unverified); nothing checks that they implement this paper's method.
- NVlabs/stylegan2-ada-pytorch, found in paper text by Syntology: Syntology's graph links these samples to Training Generative Adversarial Networks with Limited Data (arXiv:2006.06676; that paper's own run record: 21 ran (of which 0 constructed an object rather than computing a result; 19 with no instrument failure: 2 honoured, 1 violated, 16 with no contract checked; 2 where Syntology's instrument failed) · 8 unverified); nothing checks that they implement this paper's method.
- NVlabs/ffhq-dataset, found in paper text by Syntology: Syntology's graph links these samples to Local MAP Sampling for Diffusion Models (arXiv:2510.07343; that paper's own run record: 5 ran (of which 2 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 3 where Syntology's instrument failed) · 2 unverified); nothing checks that they implement this paper's method.
Levels written between 2026-09-22 and 2026-09-25 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed. 4 of the 27 samples that ran have no recorded date.
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.
A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.
Code Syntology ran Syntology
36 samples harvested: 27 ran (of which 1 constructed an object rather than computing a result; 13 with no instrument failure: 0 honoured, 2 violated, 11 with no contract checked; 14 where Syntology's instrument failed) · 9 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
Licence: 11 of the 36 samples are pointer only, meaning Syntology does not serve that copy's text. For 6 of them, this paper's copy is under a permissive licence and cleared, but the stored copy of the same code that Syntology serves is not; the licence label's tooltip gives Syntology's recorded reason. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from 6 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.
fa4ee3a3e0b099a5 · report
fixture: signature config:MinimalConfig/0/?, G:callable/0/?, target_model:callable/0/?, targets:Tensor/2/float, device:device/0/? · returned tuple · level recorded, date not recorded 9eeaa864194d2b12 · report
fixture: signature outputs:Tensor/2/float, targets:Tensor/1/int, xi:float/0/float · returned Tensor · level recorded 2026-09-22 410e110382621c40 · report
fixture: signature filename:str/0/str, precision_list:list/1/list · returned str · level recorded, date not recorded b4f439c13b63055d · report
fixture: signature w:Tensor/3/float, generator:callable/0/?, crop_size:int/0/int, resize:int/0/int, batch_size:int/0/int, device:str/0/str · returned Tensor · level recorded 2026-09-22 85eb95cce203dfc7 · report
fixture: signature ch:int/0/int, attention:str/0/str, ksize:str/0/str, dilation:str/0/str · returned dict · level recorded, date not recorded a99a05ac52533be9 · report
fixture: signature ch:int/0/int, attention:str/0/str, ksize:str/0/str, dilation:str/0/str · returned dict · level recorded 2026-09-25 e8c308c9283407d7 · report
fixture: signature ch:int/0/int, attention:str/0/str, ksize:str/0/str, dilation:str/0/str · returned dict · level recorded, date not recorded 44d6a6343f6eb182 · report
fixture: signature ch:int/0/int, attention:str/0/str, ksize:str/0/str, dilation:str/0/str · returned dict · level recorded 2026-09-25 6e16337c88174e00 · report
fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-25 52d10a10fb72fb9f · report
fixture: signature dir:str/0/str · returned tuple · level recorded 2026-09-24 c41836f3e51fa8f1 · report
fixture: signature x:Tensor/2/float, ys:list/1/Tensor · returned Tensor · level recorded 2026-09-22 4e6a8faaf8e44abe · report
fixture: signature filename:str/0/str · returned bool · level recorded 2026-09-24 9b11458d7d1ec61c · report
fixture: signature v:Tensor/1/float, eps:float/0/float · returned Tensor · level recorded 2026-09-22 982a26492dc6b7fb · report
fixture: signature dis_fake:Tensor/2/float, dis_real:Tensor/2/float · returned tuple · level recorded 2026-09-25 6c34831223553b6f · report
fixture: signature dis_fake:Tensor/2/float · returned Tensor · level recorded 2026-09-25 290cd37ab0098d5c · report
fixture: signature dis_fake:Tensor/2/float, dis_real:Tensor/2/float · returned tuple · level recorded 2026-09-25 79e61b6269a450e8 · report
fixture: signature dir:str/0/str, class_to_idx:dict/0/? · returned list · level recorded 2026-09-24 54af0200eab3163f · report
fixture: signature mu1:ndarray/1/float, sigma1:ndarray/2/float, mu2:ndarray/1/float, sigma2:ndarray/2/float, eps:float/0/float · returned float64 · level recorded 2026-09-25 28d3a35157f2916d · report
fixture: signature W:Tensor/2/float, u_:list/1/Tensor, update:bool/0/bool, eps:float/0/float · returned tuple · level recorded 2026-09-25 c39eebccbb5e86a6 · report
fixture: signature A:Tensor/3/float, numIters:int/0/int, dtype:NoneType/0/? · returned Tensor · level recorded 2026-09-25 4a2b2f288be2a186 · report
fixture: signature m:Tensor/2/float, rowvar:bool/0/bool · returned Tensor · level recorded 2026-09-25 b72f0c209b7b64be · report
fixture: signature batch_size:int/0/int, z_dim:int/0/int, truncation:float/0/float, seed:int/0/int · returned ndarray · level recorded 2026-09-25 4015ab1f3ab9b881 · report
3a4c1d8b783d177b · report
fixture: returned MineGAN · level recorded 2026-09-22 390270b249117165 · report
fixture: signature x:Tensor/4/float · returned Tensor · level recorded 2026-09-22 29f3f93ece1d2af8 · report
fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-22 17b094c69aebe5ed · report
fixture: signature in_dim:int/0/int, out_dim:int/0/int · returned Sequential · level recorded 2026-09-22 3b56f1895629495e · report
d8f4bcdc2662ccd8 · report
fixture: returned Compose · level recorded 2026-09-22 census: 10 implementations from 12 papers, 5 distinct outputs across 3 buckets, one shared input per bucket attack.py unverified MIT (permissive) ·
265774c3878176e5 · report
census: 12 implementations from 17 papers, 5 distinct outputs across 4 buckets, one shared input per bucket attack.py unverified MIT (permissive) ·
3c7bb63b7354af4f · report
Method as code Syntology
What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it. Siblings are assemblies lifted from this paper in the same batch for the same method: alternative readings kept side by side; none replaces or supersedes another.
5 assemblies on this paper: 5 harvested, 0 generated, listed in 1 groups (siblings lifted in one batch form one group).
5 sibling assemblies for Plug & Play Attacks (harvested), lifted in the same batch on 2026-09-09: alternative readings kept side by side; none replaces or supersedes another.
harvested Assembly for Plug & Play Attacks (graph method: Plug & Play Attacks). 6 bricks; individually on a fixture: 1 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 5 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- dist_inversion entry · level 0 · unverified ·
ef6717b52bd16215 - log_sum_exp helper · level 0 · unverified ·
265774c3878176e5 - low2high helper · level 0 · unverified ·
dece9a6e3aff80cf - reparameterize helper · level 0 · unverified ·
3c7bb63b7354af4f - save_tensor_images helper · level 0 · unverified ·
ddce921e8795376f - get_deprocessor helper · level 1 · ran ·
d8f4bcdc2662ccd8
harvested Assembly for Plug & Play Attacks (graph method: Plug & Play Attacks). 1 brick; individually on a fixture: 1 ran (of which 1 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified; the one sample that ran constructed an object rather than computing a result. The assembly has not been run end-to-end.
one of 5 siblings
- MineGAN entry · level 1 · ran ·
3a4c1d8b783d177b
harvested Assembly for Plug & Play Attacks (graph method: Plug & Play Attacks). 4 bricks; individually on a fixture: 3 ran (of which 0 constructed an object rather than computing a result; 2 with no instrument failure: 0 honoured, 0 violated, 2 with no contract checked; 1 where Syntology's instrument failed) · 1 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- InversionNet entry · level 0 · unverified ·
3b56f1895629495e - ContextNetwork model · level 1 · ran ·
390270b249117165 - IdentityGenerator helper · level 1 · ran ·
29f3f93ece1d2af8 - dconv_bn_relu helper · level 1 · ran · our draft was wrong ·
17b094c69aebe5ed
harvested Assembly for Plug & Play Attacks (graph method: Plug & Play Attacks). 1 brick; individually on a fixture: 1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 0 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- create_image entry · level 1 · ran · our draft was wrong ·
b4f439c13b63055d
harvested Assembly for Plug & Play Attacks (graph method: Plug & Play Attacks). 2 bricks; individually on a fixture: 1 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 1 where Syntology's instrument failed) · 1 unverified. The assembly has not been run end-to-end.
one of 5 siblings
- Optimization entry · level 0 · unverified ·
c29018fcd5fb7cfa - poincare_loss helper · level 1 · ran · our draft was wrong ·
9eeaa864194d2b12
Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2201.12179") returns these assemblies with each brick's role and wiring (how to connect).
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