Improving the Transferability of Adversarial Examples with Arbitrary Style Transfer

Zhijin Ge, Fanhua Shang, Hongying Liu, Yuanyuan Liu, Liang Wan +2 more
8/21/2023
cs.CVcs.CRcs.LG

Official code: Zhijin-Ge/STM (21 stars, last commit 2024-02-23).

Abstract

Deep neural networks are vulnerable to adversarial examples crafted by applying human-imperceptible perturbations on clean inputs. Although many attack methods can achieve high success rates in the white-box setting, they also exhibit weak transferability in the black-box setting. Recently, various methods have been proposed to improve adversarial transferability, in which the input transformation is one of the most effective methods. In this work, we notice that existing input transformation-based works mainly adopt the transformed data in the same domain for augmentation. Inspired by domain generalization, we aim to further improve the transferability using the data augmented from different domains. Specifically, a style transfer network can alter the distribution of low-level visual features in an image while preserving semantic content for humans. Hence, we propose a novel attack method named Style Transfer Method (STM) that utilizes a proposed arbitrary style transfer network to transform the images into different domains. To avoid inconsistent semantic information of stylized images for the classification network, we fine-tune the style transfer network and mix up the generated images added by random noise with the original images to maintain semantic consistency and boost input diversity. Extensive experimental results on the ImageNet-compatible dataset show that our proposed method can significantly improve the adversarial transferability on either normally trained models or adversarially trained models than state-of-the-art input transformation-based attacks. Code is available at: https://github.com/Zhijin-Ge/STM.

View on arXivView PDF

Code Implementations(1)

Zhijin-Ge/STMOfficial100%

[ACM MM 2023] Improving the Transferability of Adversarial Examples with Arbitrary Style Transfer.

210PythonJul 28, 20232 years ago

Similar Papers

Cite this paper

@article{ge2023improving,
  title  = {Improving the Transferability of Adversarial Examples with Arbitrary Style Transfer},
  author = {Zhijin Ge and Fanhua Shang and Hongying Liu and Yuanyuan Liu and Liang Wan and Wei Feng and Xiaosen Wang},
  year   = {2023},
  eprint = {2308.10601},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.10601v1}
}

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/2308.10601.svg)](https://codeofpaper.com/paper/2308.10601)

Discussion