Papers › Learning to Transform Dynamically for Better Adversarial Transferability

Learning to Transform Dynamically for Better Adversarial Transferability

23 May 2024CVPR 2024 1arXiv:2405.14077archive 2025-07-28

Rongyi Zhu, Zeliang Zhang, Susan Liang, Zhuo Liu, Chenliang Xu

Adversarial examples, crafted by adding perturbations imperceptible to humans, can deceive neural networks. Recent studies identify the adversarial transferability across various models, \textit{i.e.}, the cross-model attack ability of adversarial samples. To enhance such adversarial transferability, existing input transformation-based methods diversify input data with transformation augmentation. However, their effectiveness is limited by the finite number of available transformations. In our study, we introduce a novel approach named Learning to Transform (L2T). L2T increases the diversity of transformed images by selecting the optimal combination of operations from a pool of candidates, consequently improving adversarial transferability. We conceptualize the selection of optimal transformation combinations as a trajectory optimization problem and employ a reinforcement learning strategy to effectively solve the problem. Comprehensive experiments on the ImageNet dataset, as well as practical tests with Google Vision and GPT-4V, reveal that L2T surpasses current methodologies in enhancing adversarial transferability, thereby confirming its effectiveness and practical significance. The code is available at https://github.com/RongyiZhu/L2T.

PaperPDFConference PDFCodeCode 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="2405.14077")

Code

Syntology Ran 12 of 19 code samples harvested from 2 repositories linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 4 samples from 1 repository, 1 ran; found in paper text by Syntology: 14 samples from 1 repository, 10 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

rongyizhu/l2t officialmentioned in paperpytorch report

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.

Code Syntology ran Syntology

19 samples harvested; 12 ran; 1 honoured the contract we drafted; 7 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.

1ran · honoured contract
1ran · violated contract
1ran · fixture could not drive it
9ran
7unverified

Licence: 5 of the 19 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 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

ssm rongyizhu/l2t/l2t.py official repository ran no licence file found · pointer only · 66827411a5708f30 · report
Attack rongyizhu/l2t/l2t.py official repository unverified no licence file found · pointer only · 27a0edca5630cc99 · report
L2T rongyizhu/l2t/l2t.py official repository unverified no licence file found · pointer only · e810c2cac2611d1d · report
RWAug_Search rongyizhu/l2t/l2t.py official repository unverified no licence file found · pointer only · 73cfc6839c8a87e5 · report
affine ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 76ec6ea1c611aa1b · report
crop ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 3270095b250d07ba · report
dim ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran MIT (permissive) · 7a38c7f0ecdc2bb8 · report
ide ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 98e0628573515149 · report
masked ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 7882898c7bd1f8d5 · report
rotate ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 8b44d6dad87b7938 · report
select_op ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran · fixture could not drive it fingerprinted MIT (permissive) · 28ce88cbcad7b395 · report
sim ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran fingerprinted MIT (permissive) · b7715794a192878f · report
ssm ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran MIT (permissive) · d0569b886ab791b6 · report
trace_prob ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology ran · violated contract MIT (permissive) · 29e23c69b7369fa0 · report
L2T ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology unverified MIT (permissive) · 09ad6d82e0bfd17e · report
RWAug_Search ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology unverified MIT (permissive) · 1c20a036849844e1 · report
admix ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology unverified MIT (permissive) · eb6887fb7eb0a115 · report
blockshuffle ZhangAIPI/TransferAttack/transferattack/input_transformation/l2t.py found in paper text by Syntology unverified MIT (permissive) · fc8d40755d69834d · report
identity identical code first harvested elsewhere ran · honoured contract fingerprinted licence of this copy not recorded · 9910e2fc297f8665 · report

Tasks

Diversity

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