Skip to main content
QUICK REVIEW

[Paper Review] Finding Optimal Tangent Points for Reducing Distortions of Hard-label Attacks

Chen Ma, Xiangyu Guo|arXiv (Cornell University)|Nov 15, 2021
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes Tangent Attack (TA), a geometrically optimal method for hard-label black-box adversarial attacks that minimizes ℓ2 distortion by identifying the optimal tangent point on a virtual hemisphere around the current adversarial example. By following the tangent direction to the decision boundary at each iteration, TA achieves significantly lower distortion than prior query-based methods like HSJA and Sign-OPT, using far fewer queries on ImageNet and CIFAR-10.

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. 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.

Motivation & Objective

  • Address the high query complexity and distortion in hard-label black-box attacks where only top-1 labels are available.
  • Overcome the limitation of existing methods like HSJA and Sign-OPT, which use suboptimal gradient directions instead of geometrically optimal paths.
  • Develop a query-efficient, geometry-driven attack that minimizes ℓ2 distortion by leveraging the tangent direction to the decision boundary.
  • Improve robustness to curved decision boundaries by generalizing the hemisphere to a semi-ellipsoid in the proposed G-TA method.
  • Demonstrate state-of-the-art performance with minimal query budgets across diverse models and datasets.

Proposed method

  • Propose a geometric framework where the decision boundary is locally approximated as flat, and the optimal attack path is the tangent line from a virtual hemisphere centered at the current adversarial example.
  • Identify the optimal tangent point on the hemisphere such that the projection onto the decision boundary yields the minimal ℓ2 distortion from the original image.
  • Derive a closed-form solution for the optimal tangent direction using vector geometry, minimizing the distance to the original image while maintaining adversarial misclassification.
  • Generalize the method to curved boundaries by replacing the hemisphere with a semi-ellipsoid, enabling better adaptation to non-flat decision boundaries.
  • Implement the method without pre-training, relying only on label queries to the target model, making it practical for real-world deployment.
  • Use iterative refinement: at each step, compute the tangent point on the current hemisphere, update the perturbation along that direction, and query the model to verify label flip.

Experimental results

Research questions

  • RQ1Can a geometric approach based on tangent points on a virtual hemisphere reduce ℓ2 distortion in hard-label black-box attacks compared to gradient-based or random search methods?
  • RQ2Is the tangent direction along the hemisphere the optimal path to minimize distortion when reaching the decision boundary?
  • RQ3How does the method perform under varying curvature of the decision boundary, and can a semi-ellipsoid improve robustness compared to a flat hemisphere?
  • RQ4Can the method achieve comparable or better attack success with significantly fewer queries than existing query-based attacks like HSJA and Sign-OPT?
  • RQ5Does the geometric optimization remain effective across diverse models (e.g., ResNet, Inception, SENet) and datasets (ImageNet, CIFAR-10) under both targeted and untargeted settings?

Key findings

  • Tangent Attack (TA) achieves median ℓ2 distortions of 19.993 on ImageNet with only 10,000 queries in targeted attacks against ResNet-101, significantly lower than HSJA (23.838) and Sign-OPT (25.380).
  • On CIFAR-10, TA reduces median ℓ2 distortion to 0.318 at 10,000 queries in targeted attacks on PyramidNet-272, outperforming HSJA (0.325) and Sign-OPT (0.549).
  • The generalized Tangent Attack (G-TA) maintains strong performance across all models and datasets, with median distortions consistently below or comparable to TA, demonstrating robustness to curved decision boundaries.
  • For untargeted attacks on ResNet-101, TA achieves a median distortion of 6.030 at 10,000 queries, outperforming BA (58.924), Sign-OPT (6.808), and HSJA (6.227).
  • On the same model, G-TA achieves 6.087 distortion at 10,000 queries, showing minimal degradation compared to TA while being more robust to boundary curvature.
  • In all settings, TA and G-TA require fewer queries than baseline methods to reach comparable or better distortion levels, confirming their query efficiency and geometric optimality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.