Abstract
Adversarial attacks on Deep Neural Networks (DNNs) typically require internal model access or confidence scores. In the most restrictive "decision-based" black-box setting, attackers only receive the final predicted label. Existing methods in this category are often query-intensive, requiring thousands of interactions to find effective perturbations. We introduce the Triangle Attack (TA), which utilizes the geometric properties of triangles formed by consecutive iterations to optimize adversarial examples. By combining this geometric approach with dimensionality reduction in the frequency domain and relaxing boundary constraints, TA significantly improves query efficiency and success rates against both standard benchmarks and real-world cloud APIs.
Introduction
The security of DNNs is a critical concern, particularly against adversarial examples—inputs modified with imperceptible noise to cause misclassification. While white-box attacks are well-understood, decision-based black-box attacks represent a more realistic threat model where the attacker has no knowledge of the model architecture or gradients. The primary challenge in this setting is the high query cost. Most current state-of-the-art (SOTA) methods attempt to estimate gradients or strictly follow the decision boundary, which often leads to inefficient search processes.
Methodology
Geometric Optimization
The fundamental innovation of the Triangle Attack is treating the optimization process as a geometric problem. In any iterative attack, the benign sample ($x$), the current adversarial example ($x^{adv}_t$), and the proposed next iteration ($x^{adv}_{t+1}$) form a triangle in a 2D subspace.
By applying the Law of Sines, TA calculates the specific angles ($\alpha$ and $\beta$) needed to ensure that the distance from the benign image ($\delta_{t+1}$) is strictly less than the current distance ($\delta_t$). This mathematical guarantee allows for efficient progress toward the target without the need for complex gradient estimation.
Low-Frequency Subspace Search
Searching for perturbations in the original high-dimensional pixel space is computationally expensive. TA addresses this by projecting the image into the frequency domain using the Discrete Cosine Transform (DCT).
By focusing the search on the top 10% of low-frequency components, the attack explores a significantly smaller search space where adversarial perturbations are more likely to be effective and less perceptible. The resulting perturbation is then transformed back to the pixel space using the Inverse DCT (IDCT).
Relaxing Boundary Constraints
Unlike previous methods such as the Boundary Attack, TA does not require every intermediate adversarial example to lie exactly on the decision boundary. This "boundary freedom" allows the algorithm to take larger steps through the adversarial space, avoiding the query-wasting process of precisely locating the boundary at every iteration.
Experimental Results
Benchmarking on ImageNet
The researchers evaluated TA against five standard DNN architectures (VGG-16, Inception-v3, ResNet-18, ResNet-101, and DenseNet-121) using 200 randomly sampled images from ImageNet. TA consistently outperformed SOTA attacks like GeoDA, Surfree, and HSJA. For instance, on ResNet-101 with a strict query limit of 1,000, TA achieved a success rate 7.5% higher than the next best method at a low perturbation threshold (RMSE = 0.05).
Real-World Application: Cloud APIs
To test practical viability, TA was deployed against the Tencent Cloud API. The attack successfully generated high-quality adversarial examples (e.g., misclassifying a "Koala" as a "Fire Screen") in fewer than 200 queries. This efficiency makes TA a viable threat even against commercial services with strict rate limits and per-query costs.
Conclusion and Future Work
The Triangle Attack demonstrates that geometric intuition can significantly enhance the efficiency of black-box adversarial attacks. By moving away from strict boundary constraints and leveraging frequency-domain optimization, TA provides a powerful tool for evaluating model robustness. Future research may explore hybrid approaches (TAG) that use TA for rapid initial optimization followed by gradient-based refinement, as well as the development of new defense mechanisms capable of detecting these geometrically-driven attacks.
Summary updated