Transferability Bound Theory: Exploring Relationship between Adversarial Transferability and Flatness

Mingyuan Fan, Xiaodan Li, Cen Chen, Wenmeng Zhou, Yaliang Li
2/12/2026

Official code: fmy266/TPA (4 stars, last commit 2025-05-11).

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.

View on arXivView PDF

Code Implementations(1)

fmy266/TPAOfficial69%

[NeurIPS 2024] Official implementation for "Transferability Bound Theory: Exploring Relationship between Adversarial Transferability and Flatness" https://arxiv.org/abs/2311.06423

40PythonOct 2, 20241 years ago

Similar Papers

Cite this paper

@article{fan2026transferability,
  title  = {Transferability Bound Theory: Exploring Relationship between Adversarial Transferability and Flatness},
  author = {Mingyuan Fan and Xiaodan Li and Cen Chen and Wenmeng Zhou and Yaliang Li},
  year   = {2026},
  eprint = {2311.06423},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.06423},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.06423.svg)](https://codeofpaper.com/paper/2311.06423)

Discussion