Introduction
Adversarial attacks expose critical vulnerabilities in deep neural networks (DNNs). While white-box and score-based black-box attacks are well-studied, decision-based black-box attacks represent a more realistic and dangerous threat model. In this scenario, an attacker only has access to the final predicted label (e.g., a face scanner returning "Access Denied"), making it significantly harder to estimate gradients.
Existing decision-based methods often struggle with the $l_\infty$ setting, where the goal is to keep the maximum change to any single pixel very small. These attacks typically require an impractical number of queries—often hundreds of thousands—to achieve low distortion. This paper introduces the Sign Flip Attack (SFA), a highly efficient method that achieves state-of-the-art performance with a fraction of the query budget.
The Sign Flip Attack (SFA)
The core innovation of SFA is the Random Sign Flip step. Unlike traditional methods that rely on complex gradient estimation, SFA leverages the geometric property that adversarial examples in the $l_\infty$ setting often reside near the vertices (corners) of the perturbation space.
Methodology
SFA is an iterative algorithm that starts from a large initial adversarial perturbation and gradually "shrinks" it while ensuring the model still misclassifies the image. Each iteration involves two main steps:
- Project Step: The current perturbation is projected onto a smaller $l_\infty$ ball to reduce overall distortion.
- Random Sign Flip Step: The algorithm randomly selects a tiny fraction of coordinates (e.g., 0.1%) and flips their signs.
The rationale for this approach is rooted in the observation that the direction (sign) of a perturbation is more critical than its exact magnitude for maintaining adversarial properties. Empirical analysis shows a strong correlation between the alignment of random perturbations with the ideal adversarial direction and the probability of a successful attack.
To further optimize efficiency, SFA incorporates dimensionality reduction—calculating perturbations on a low-resolution version of the image—and dynamic hyperparameter tuning to adjust the flip probability based on recent success rates.
Experimental Evaluation
The effectiveness of SFA was evaluated on standard computer vision benchmarks, including CIFAR-10 and ImageNet, against complex architectures like ResNet-50 and Inception-v3.
Performance Benchmarks
On CIFAR-10, SFA achieved a 95.4% success rate for untargeted attacks within just 2,000 queries, significantly outperforming the state-of-the-art HopSkipJumpAttack (HSJA), which reached 87.1%. On the more complex ImageNet dataset using Inception-v3, SFA maintained a 92.1% success rate within 20,000 queries, while HSJA's success rate plummeted to 19.4% under the same constraints.
Robustness and Real-World Impact
SFA proved remarkably robust against defensive mechanisms such as Adversarial Training and Feature Denoising. Because it does not rely on gradients, it remains effective even when gradients are obfuscated or "shattered" by defenses. Furthermore, the attack was successfully applied to real-world APIs on the Tencent AI Open Platform, bypassing Face Verification and Food Identification systems with relatively few queries.
Conclusion
The Sign Flip Attack demonstrates that decision-based black-box models are more vulnerable than previously assumed. By focusing on the signs of perturbations and exploiting the geometry of the $l_\infty$ ball, SFA achieves order-of-magnitude improvements in query efficiency. This work highlights the need for more robust defenses that can withstand purely decision-based, random-search-style adversarial strategies.
Summary updated