Boosting Targeted Adversarial Transferability with Feature Contrastive Optimization
Transferable adversarial examples (AEs) have attracted considerable attention due to their ability to expose vulnerabilities in black-box deep neural networks (DNNs). However, achieving superior transferability for targeted attacks remains a challenge. In this paper, inspired by the observation that AEs with smaller intra-class distances and larger inter-class distances tend to exhibit higher transferability, we propose a novel targeted attack based on Feature Contrastive Optimization (FCO). This attack enhances adversarial transferability by minimizing intra-class distances and maximizing inter-class distances. Specifically, we first define positive samples (belonging to the target class) and negative samples (belonging to non-target classes) that correspond to targeted AEs. Subsequently, leveraging these defined positive and negative samples, we propose two metrics—Intra-class Compactness (IC) and Inter-class Separability (IS)—to construct a novel Feature Contrastive (FC) loss. By integrating this plug-and-play FC loss into standard adversarial objectives, the generated AEs are encouraged to better align with the target class distribution while diverging from those of non-target classes. Extensive experiments on the ImageNet-compatible dataset demonstrate that our approach consistently improves targeted transferability across a broad range of DNN architectures.
Authors
- Jinhua Zeng (ORCID: https://orcid.org/0000-0002-8740-669X)
- Jingtian Wang (ORCID: https://orcid.org/0009-0004-5346-9117)
- Yao Zhao (ORCID: https://orcid.org/0000-0002-8581-9554)
- Xiaolong Li (ORCID: https://orcid.org/0000-0002-6111-9000)
- Bin Ma (ORCID: https://orcid.org/0000-0002-9030-7393)
- Jian Li (ORCID: https://orcid.org/0000-0002-5182-2798)
Institutions
- Qilu University of Technology (CN)
- Beijing Jiaotong University (CN)
- Institute of Forensic Science (CN)
Publication Details
- Journal
- ACM Transactions on Multimedia Computing Communications and Applications
- Published
- 2026-05-02
- DOI
- https://doi.org/10.1145/3811823
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00