Towards Lightweight Black-Box Attacks against Deep Neural Networks

Chenghao Sun, Yonggang Zhang, Wan Chaoqun, Qizhou Wang, Ya Li +3 more
9/29/2022
cs.LGcs.CR

Official code: sunch-ustc/Error_TransFormer (6 stars, last commit 2022-10-04).

Abstract

Black-box attacks can generate adversarial examples without accessing the parameters of target model, largely exacerbating the threats of deployed deep neural networks (DNNs). However, previous works state that black-box attacks fail to mislead target models when their training data and outputs are inaccessible.

Show full abstract

In this work, we argue that black-box attacks can pose practical attacks in this extremely restrictive scenario where only several test samples are available. Specifically, we find that attacking the shallow layers of DNNs trained on a few test samples can generate powerful adversarial examples. As only a few samples are required, we refer to these attacks as lightweight black-box attacks. The main challenge to promoting lightweight attacks is to mitigate the adverse impact caused by the approximation error of shallow layers. As it is hard to mitigate the approximation error with few available samples, we propose Error TransFormer (ETF) for lightweight attacks. Namely, ETF transforms the approximation error in the parameter space into a perturbation in the feature space and alleviates the error by disturbing features. In experiments, lightweight black-box attacks with the proposed ETF achieve surprising results. For example, even if only 1 sample per category available, the attack success rate in lightweight black-box attacks is only about 3% lower than that of the black-box attacks with complete training data.

View on arXivView PDF

Code Implementations(1)

60Jul 25, 20224 years ago

Similar Papers

Cite this paper

@article{sun2022towards,
  title  = {Towards Lightweight Black-Box Attacks against Deep Neural Networks},
  author = {Chenghao Sun and Yonggang Zhang and Wan Chaoqun and Qizhou Wang and Ya Li and Tongliang Liu and Bo Han and Xinmei Tian},
  year   = {2022},
  eprint = {2209.14826},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.14826}
}

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

Discussion