Finding Optimal Tangent Points for Reducing Distortions of Hard-label Attacks

Chen Ma, Xiangyu Guo, Li Chen, Jun-Hai Yong, Yisen Wang
11/15/2021
cs.CVcs.CR

Official code: machanic/TangentAttack (17 stars, Python, Apache-2.0, last commit 2023-07-04).

Abstract

One major problem in black-box adversarial attacks is the high query complexity in the hard-label attack setting, where only the top-1 predicted label is available. In this paper, we propose a novel geometric-based approach called Tangent Attack (TA), which identifies an optimal tangent point of a virtual hemisphere located on the decision boundary to reduce the distortion of the attack.

Show full abstract

Assuming the decision boundary is locally flat, we theoretically prove that the minimum $\ell_2$ distortion can be obtained by reaching the decision boundary along the tangent line passing through such tangent point in each iteration. To improve the robustness of our method, we further propose a generalized method which replaces the hemisphere with a semi-ellipsoid to adapt to curved decision boundaries. Our approach is free of pre-training. Extensive experiments conducted on the ImageNet and CIFAR-10 datasets demonstrate that our approach can consume only a small number of queries to achieve the low-magnitude distortion. The implementation source code is released online at https://github.com/machanic/TangentAttack.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

The official implementation of NeurIPS 2021 paper: Finding Optimal Tangent Points for Reducing Distortions of Hard-label Attacks

170Python, ShellNov 11, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{ma2021finding,
  title  = {Finding Optimal Tangent Points for Reducing Distortions of Hard-label Attacks},
  author = {Chen Ma and Xiangyu Guo and Li Chen and Jun-Hai Yong and Yisen Wang},
  year   = {2021},
  eprint = {2111.07492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.07492}
}

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

Discussion