Skip to main content
QUICK REVIEW

[Paper Review] Triangle Attack: A Query-efficient Decision-based Adversarial Attack

Xiaosen Wang, Zeliang Zhang|arXiv (Cornell University)|Dec 13, 2021
Adversarial Robustness in Machine LearningComputer Science6 citations
TL;DR

Triangle Attack (TA) is a query-efficient decision-based adversarial attack that leverages geometric properties of triangles formed by benign samples, current, and next adversarial examples to optimize perturbations. By projecting search into the low-frequency DCT domain and using the law of sines to guide iterative updates, TA achieves state-of-the-art success rates within 1,000 queries on ImageNet and demonstrates industrial applicability on Tencent Cloud API.

ABSTRACT

Decision-based attack poses a severe threat to real-world applications since it regards the target model as a black box and only accesses the hard prediction label. Great efforts have been made recently to decrease the number of queries; however, existing decision-based attacks still require thousands of queries in order to generate good quality adversarial examples. In this work, we find that a benign sample, the current and the next adversarial examples can naturally construct a triangle in a subspace for any iterative attacks. Based on the law of sines, we propose a novel Triangle Attack (TA) to optimize the perturbation by utilizing the geometric information that the longer side is always opposite the larger angle in any triangle. However, directly applying such information on the input image is ineffective because it cannot thoroughly explore the neighborhood of the input sample in the high dimensional space. To address this issue, TA optimizes the perturbation in the low frequency space for effective dimensionality reduction owing to the generality of such geometric property. Extensive evaluations on ImageNet dataset show that TA achieves a much higher attack success rate within 1,000 queries and needs a much less number of queries to achieve the same attack success rate under various perturbation budgets than existing decision-based attacks. With such high efficiency, we further validate the applicability of TA on real-world API, i.e., Tencent Cloud API.

Motivation & Objective

  • To address the high query cost of existing decision-based adversarial attacks, which often require thousands of queries to generate effective adversarial examples.
  • To explore whether geometric relationships in adversarial perturbation space can be exploited to reduce query complexity without gradient or score access.
  • To develop a method that optimizes perturbations using intrinsic geometric constraints rather than restricting adversarial examples on the decision boundary.
  • To validate the method’s efficiency and practicality on real-world black-box APIs, such as Tencent Cloud.

Proposed method

  • At each iteration, TA constructs a triangle using the benign sample, current adversarial example, and a candidate next adversarial example in a randomly sampled 2D subspace.
  • It applies the law of sines to ensure that the next perturbation is smaller than the current one by requiring the sum of angles βₜ + 2αₜ > π.
  • The method performs perturbation search in the low-frequency domain via Discrete Cosine Transform (DCT) to reduce dimensionality and improve efficiency.
  • It adaptively updates the angle αₜ using a learning rule: increase αₜ by γ if a valid triangle is found, otherwise decrease it by λγ.
  • The algorithm avoids restricting the adversarial example on the decision boundary, unlike prior methods such as BoundaryAttack, thereby reducing query overhead.
  • It uses a binary search with a configurable number of iterations (N_bs) to evaluate the necessity of boundary restriction, which is shown to degrade performance.

Experimental results

Research questions

  • RQ1Can the geometric property that the longer side is opposite the larger angle in a triangle be used to guide adversarial perturbation optimization in decision-based attacks?
  • RQ2Does optimizing in the low-frequency DCT space improve query efficiency without sacrificing attack success rate?
  • RQ3Is restricting adversarial examples on the decision boundary necessary or beneficial for query-efficient attacks?
  • RQ4How does Triangle Attack compare to state-of-the-art decision-based attacks in terms of query efficiency and success rate under various perturbation budgets?
  • RQ5Can Triangle Attack be effectively applied to real-world black-box APIs with strict query limits?

Key findings

  • Triangle Attack achieves a significantly higher attack success rate within 1,000 queries on ImageNet compared to existing state-of-the-art decision-based attacks.
  • TA requires substantially fewer queries than prior methods to reach the same attack success rate under identical perturbation budgets (e.g., RMSE = 0.01, 0.05, 0.1).
  • The method outperforms SOTA attacks on five different models under all evaluated perturbation thresholds, demonstrating consistent superiority.
  • When applied to Tencent Cloud API, TA successfully generates imperceptible adversarial examples, confirming its industrial applicability.
  • Restricting adversarial examples on the decision boundary via binary search reduces attack success rate, indicating such constraints are not beneficial and increase query cost.
  • The optimal hyperparameters are found to be γ = 0.01, λ = 0.05, and τ = 0.1, with the low-frequency 10% DCT components providing the best trade-off between efficiency and performance.

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.