SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.10179 · ECCV · 2024

CLIP-Guided Generative Networks for Transferable Targeted Adversarial Attacks

Shu-Tao Xia, Hao Fang, Hao Wu, Tao Dai, Jiawei Kong

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.10179.json · badge: /api/ran/2407.10179.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ffhibnese/CGNC_Targeted_Adversarial_Attacks marked official in Papers with Code
Papers with Code archive
2 ran · 2 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
BasicTransformerBlock Ran
ran on a synthesized input · constructed an object; no result was computed
ffhibnese/CGNC_Targeted_Adversarial_Attacks/models/generator.py
pointer only (licence: NONE) · get_code("187d70c9c004d1e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/CGNC_Targeted_Adversarial_Attacks when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_gaussian_kernel Ran
ran; our contract draft was wrong, not the code
ffhibnese/CGNC_Targeted_Adversarial_Attacks/models/generator.py
pointer only (licence: NONE) · get_code("7c954dffd6b6e3f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/CGNC_Targeted_Adversarial_Attacks when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

snlinear Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from casey-meehan/data-copying
pointer only · get_code("de3577618251b913")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CrossAttenGenerator Not yet run
unverified (harvested, no recorded run)
ffhibnese/CGNC_Targeted_Adversarial_Attacks/models/generator.py
pointer only (licence: NONE) · get_code("b7a16d5cae89646e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/CGNC_Targeted_Adversarial_Attacks when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

SpatialTransformer Not yet run
unverified (harvested, no recorded run)
ffhibnese/CGNC_Targeted_Adversarial_Attacks/models/generator.py
pointer only (licence: NONE) · get_code("972c042015f1a246")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ffhibnese/CGNC_Targeted_Adversarial_Attacks when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
SpatialTransformer
brick of this paper's assembly: model
5 other papers
3 dated earlier, 2 later · 1 only as an assembly brick
2302.07685 (2023-02)
Video Probabilistic Diffusion Models in Projected Latent Space
2304.02012 (2023-04)
EGC: Image Generation and Classification via a Diffusion Energy-Based Model
2305.16283 (2023-05)
CommonScenes: Generating Commonsense 3D Indoor Scenes with Scene Graph Diffusion
and 2 more not named here
snlinear
brick of this paper's assembly: helper
4 other papers
4 dated earlier
2004.05675 (2020-04)
A Non-Parametric Test to Detect Data-Copying in Generative Models
2206.00048 (2022-06)
PandA: Unsupervised Learning of Parts and Appearances in the Feature Maps of GANs
2302.02451 (2023-02)
KDEformer: Accelerating Transformers via Kernel Density Estimation
and 1 more not named here
get_gaussian_kernel
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2311.01323 (2023-11)
Towards Evaluating Transfer-based Attacks Systematically, Practically, and Fairly

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Transferable targeted adversarial attacks aim to mislead models into outputting adversary-specified predictions in black-box scenarios. Recent studies have introduced single-target attacks that train a generator for each target class to generate highly transferable perturbations, resulting in substantial computational overhead when handling multiple classes. Multi-target attacks address this by training only one class-conditional generator for multiple classes. However, the generator simply uses class labels as conditions, failing to leverage the rich semantic information of the target class. To this end, we design a CLIP-guided Generative Network with Cross-attention modules (CGNC) to enhance multi-target attacks by incorporating textual knowledge of CLIP into the generator. Extensive experiments demonstrate that CGNC yields significant improvements over previous multi-target attacks, e.g., a 21.46% improvement in success rate from Res-152 to DenseNet-121. Moreover, we propose the masked fine-tuning to further strengthen our method in attacking a single class, which surpasses existing single-target methods.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.10179")
get_code_for_paper("2407.10179")
have("2407.10179")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.10179.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.10179.svg)](https://syntology.ai/paper/2407.10179)

Connect an agent — have() is free.