SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.06423 · NeurIPS · 2024

Transferability Bound Theory: Exploring Relationship between Adversarial Transferability and Flatness

Yaliang Li, Xiaodan Li, Mingyuan Fan, Cen Chen, Wenmeng Zhou

arXiv · PDF · Open in the Atlas

Code that ran

8 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 6 failures of our instrument; 4 no recorded run), measured 2026-11-23; 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/2311.06423.json · badge: /api/ran/2311.06423.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
fmy266/TPA canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
fmy266/tpa canonical (classifier label)
classifier basis: classifier_2025
4 ran · 1 no recorded run
FunctionStatusWhere it lives
BaseAttack Ran
ran on a synthesized input · constructed an object; no result was computed
fmy266/tpa/toolkit/adv/attack.py
pointer only (licence: NONE) · get_code("6fbe88d522599801")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/tpa 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.

TAEFEP Ran
ran on a synthesized input · constructed an object; no result was computed
fmy266/tpa/toolkit/adv/attack.py
pointer only (licence: NONE) · get_code("6c7dce372a94f4eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/tpa 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.

accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
fmy266/tpa/FAA/acc_validate.py
pointer only (licence: NONE) · get_code("fd638ce21929b00d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/tpa 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.

conv1x1 Ran
ran; our contract draft was wrong, not the code
fmy266/TPA/FAA/resnet.py
pointer only (licence: NONE); the stored copy get_code serves, from medaitech/scrd4ad, is pointer only (licence: NONE) · get_code("2a80220dabcb742a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/TPA 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
fmy266/TPA/FAA/resnet.py
pointer only (licence: NONE); the stored copy get_code serves, from medaitech/scrd4ad, is pointer only (licence: NONE) · get_code("600ff2c45e0de056")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/TPA 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.

densenet121 Ran
ran; our contract draft was wrong, not the code
fmy266/TPA/FAA/densenet.py
pointer only (licence: NONE) · get_code("ad370ce5d85797b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/TPA 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.

resnet18 Ran
ran; our contract draft was wrong, not the code
fmy266/TPA/FAA/resnet.py
pointer only (licence: NONE) · get_code("864a6cf3c90af3e5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/TPA 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.

unnormalize Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
fmy266/tpa/FAA/acc_validate.py
pointer only (licence: NONE) · get_code("90b8bf86c8334fb7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/tpa 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.

clip_based_on_inf_norm_ Not yet run
unverified (harvested, no recorded run)
fmy266/tpa/toolkit/adv/attack.py
pointer only (licence: NONE) · get_code("2e5c4fc85c6ed610")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/tpa 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.

densenet161 Not yet run
unverified (harvested, no recorded run)
fmy266/TPA/FAA/densenet.py
pointer only (licence: NONE) · get_code("4db35ea5c8cdf3e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/TPA 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.

densenet169 Not yet run
unverified (harvested, no recorded run)
fmy266/TPA/FAA/densenet.py
pointer only (licence: NONE) · get_code("c200a9855de96b29")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/TPA 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.

validate Not yet run
unverified (harvested, no recorded run)
fmy266/TPA/FAA/acc_validate.py
pointer only (licence: NONE) · get_code("0936271379c79ffa")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fmy266/TPA 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 6 the same month, 6 later) and 5 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
conv1x1 112 other papers
58 dated earlier, 2 the same month, 50 later, 2 same year, order not determinable · 6 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1806.01531 (2018-06)
Deep Mixture of Experts via Shallow Embedding
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 109 more not named here
conv3x3 111 other papers
60 dated earlier, 1 the same month, 48 later, 2 same year, order not determinable · 6 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1806.01531 (2018-06)
Deep Mixture of Experts via Shallow Embedding
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 108 more not named here
resnet18 36 other papers
27 dated earlier, 9 later
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
2002.09564 (2020-02)
Towards Robust and Reproducible Active Learning Using Neural Networks
2003.04297 (2020-03)
Improved Baselines with Momentum Contrastive Learning
and 33 more not named here
accuracy 5 other papers
4 dated earlier, 1 the same month
1802.08831 (2018-02)
Convolutional Neural Networks combined with Runge-Kutta Methods
2012.10071 (2020-12)
TDN: Temporal Difference Networks for Efficient Action Recognition
2302.06359 (2023-02)
Fixing Overconfidence in Dynamic Neural Networks
and 2 more not named here
densenet121 5 other papers
3 dated earlier, 1 the same month, 1 later
2111.13998 (2021-11)
Targeted Supervised Contrastive Learning for Long-Tailed Recognition
2306.02913 (2023-06)
Decentralized SGD and Average-direction SAM are Asymptotically Equivalent
2307.07873 (2023-07)
Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferability
and 2 more not named here
densenet161 5 other papers
3 dated earlier, 1 the same month, 1 later
2111.13998 (2021-11)
Targeted Supervised Contrastive Learning for Long-Tailed Recognition
2306.02913 (2023-06)
Decentralized SGD and Average-direction SAM are Asymptotically Equivalent
2307.07873 (2023-07)
Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferability
and 2 more not named here
densenet169 5 other papers
3 dated earlier, 1 the same month, 1 later
2111.13998 (2021-11)
Targeted Supervised Contrastive Learning for Long-Tailed Recognition
2306.02913 (2023-06)
Decentralized SGD and Average-direction SAM are Asymptotically Equivalent
2307.07873 (2023-07)
Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferability
and 2 more not named here

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-23.

Repositories linked to this paper

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

Abstract

A prevailing belief in attack and defense community is that the higher flatness of adversarial examples enables their better cross-model transferability, leading to a growing interest in employing sharpness-aware minimization and its variants. However, the theoretical relationship between the transferability of adversarial examples and their flatness has not been well established, making the belief questionable. To bridge this gap, we embark on a theoretical investigation and, for the first time, derive a theoretical bound for the transferability of adversarial examples with few practical assumptions. Our analysis challenges this belief by demonstrating that the increased flatness of adversarial examples does not necessarily guarantee improved transferability. Moreover, building upon the theoretical analysis, we propose TPA, a Theoretically Provable Attack that optimizes a surrogate of the derived bound to craft adversarial examples. Extensive experiments across widely used benchmark datasets and various real-world applications show that TPA can craft more transferable adversarial examples compared to state-of-the-art baselines. We hope that these results can recalibrate preconceived impressions within the community and facilitate the development of stronger adversarial attack and defense mechanisms. The source codes are available in https://github.com/fmy266/TPA.

For agents

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

get_harvested_code_for_paper("2311.06423")
get_code_for_paper("2311.06423")
have("2311.06423")

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

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

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

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

Connect an agent — have() is free.