GreedyPixel: Fine-Grained Black-Box Adversarial Attack Via Greedy Algorithm
Hanrui Wang, Ching-Chun Chang, Chun-Shien Lu, Christopher Leckie, Isao Echizen
TL;DR
<3-5 sentence high-level summary> GreedyPixel introduces a fine-grained black-box adversarial attack that performs brute-force-style, per-pixel updates guided by a surrogate-derived priority map and refined by target-model query feedback. By combining a training-free, coordinate-wise greedy search with monotonic loss reduction, it achieves near white-box precision while maintaining pixel-sparsity and perceptual quality across CNNs and Vision Transformers on CIFAR-10 and ImageNet. The method bridges the gap between query-efficient, transferable black-box attacks and gradient-based white-box attacks, demonstrating strong attack success rates, robustness to defenses, and applicability to real-world vision APIs. Extensive ablations show the importance of the priority map, update cadence, and surrogate quality in balancing efficiency, sparsity, and perceptual fidelity.
Abstract
Deep neural networks are highly vulnerable to adversarial examples, which are inputs with small, carefully crafted perturbations that cause misclassification -- making adversarial attacks a critical tool for evaluating robustness. Existing black-box methods typically entail a trade-off between precision and flexibility: pixel-sparse attacks (e.g., single- or few-pixel attacks) provide fine-grained control but lack adaptability, whereas patch- or frequency-based attacks improve efficiency or transferability, but at the cost of producing larger and less precise perturbations. We present GreedyPixel, a fine-grained black-box attack method that performs brute-force-style, per-pixel greedy optimization guided by a surrogate-derived priority map and refined by means of query feedback. It evaluates each coordinate directly without any gradient information, guaranteeing monotonic loss reduction and convergence to a coordinate-wise optimum, while also yielding near white-box-level precision and pixel-wise sparsity and perceptual quality. On the CIFAR-10 and ImageNet datasets, spanning convolutional neural networks (CNNs) and Transformer models, GreedyPixel achieved state-of-the-art success rates with visually imperceptible perturbations, effectively bridging the gap between black-box practicality and white-box performance. The implementation is available at https://github.com/azrealwang/greedypixel.
