[Paper Review] Scratch that! An Evolution-based Adversarial Attack against Neural Networks
This paper proposes adversarial scratches—localized, parametric perturbations modeled as geometric shapes (lines or Bézier curves) evolved via Evolution Strategies—under a constrained black-box threat model where adversaries modify only a small fraction of pixels. The attack achieves 98.77% targeted success on ImageNet and 97.20% on CIFAR-10 with less than 5% pixel modification, and successfully fools Microsoft’s Cognitive Services Image Captioning API, demonstrating real-world feasibility.
We study black-box adversarial attacks for image classifiers in a constrained threat model, where adversaries can only modify a small fraction of pixels in the form of scratches on an image. We show that it is possible for adversaries to generate localized extit{adversarial scratches} that cover less than $5\%$ of the pixels in an image and achieve targeted success rates of $98.77\%$ and $97.20\%$ on ImageNet and CIFAR-10 trained ResNet-50 models, respectively. We demonstrate that our scratches are effective under diverse shapes, such as straight lines or parabolic B\a'ezier curves, with single or multiple colors. In an extreme condition, in which our scratches are a single color, we obtain a targeted attack success rate of $66\%$ on CIFAR-10 with an order of magnitude fewer queries than comparable attacks. We successfully launch our attack against Microsoft's Cognitive Services Image Captioning API and propose various mitigation strategies.
Motivation & Objective
- To develop a realistic black-box adversarial attack that mimics physical scratches on images, constrained to modifying only a small fraction of pixels.
- To evaluate the effectiveness of adversarial scratches under diverse shapes, colors, and locations, including single-color and single-scratch scenarios.
- To demonstrate real-world applicability by successfully attacking Microsoft’s Cognitive Services Image Captioning API.
- To propose and evaluate practical defense mechanisms against such attacks, including JPEG compression, median filtering, and clipping.
Proposed method
- Adversarial scratches are parametrically evolved using Covariance Matrix Adaptation Evolution Strategy (CMA-ES), with parameters including number of scratches, shape (line or Bézier curve), location, and color.
- The fitness function is based on model confidence scores for target class predictions, enabling black-box optimization with only query access to model outputs.
- The attack operates under a strict query budget to simulate rate-limiting in real-world APIs, ensuring practicality.
- Scratch generation is performed in both image domain (within [0,1] pixel range) and network domain (unconstrained), enabling broader attack surface evaluation.
- Defenses are evaluated via recovery rate and model accuracy drop on benign images, including JPEG compression, median filtering, and pixel clipping.
- The method is applied to ResNet-50, VGG-19, and AlexNet on CIFAR-10 and ImageNet, with ablation studies on shape, color, and location.
Experimental results
Research questions
- RQ1Can adversarial scratches—localized, geometric perturbations—achieve high targeted attack success rates under a black-box, low-query, and low-pixel-modification threat model?
- RQ2How effective are adversarial scratches when constrained to a single color or a single scratch, and how does this affect query efficiency?
- RQ3Can adversarial scratches successfully bypass real-world commercial APIs such as Microsoft’s Cognitive Services Image Captioning API?
- RQ4Which defense mechanisms (e.g., JPEG compression, median filtering) are most effective at mitigating adversarial scratches while preserving benign model performance?
- RQ5What is the correlation between semantic similarity of source-target classes and the success rate of adversarial scratches?
Key findings
- The attack achieves a targeted success rate of 98.77% on ImageNet and 97.20% on CIFAR-10 using less than 5% of pixels modified by adversarial scratches.
- In the extreme single-color, single-scratch scenario, the attack achieves 66% targeted success on CIFAR-10 with an order of magnitude fewer queries than comparable methods.
- The attack successfully fooled Microsoft’s Cognitive Services Image Captioning API, generating incorrect or no captions, demonstrating real-world exploitability.
- JPEG compression with quality 99 achieved the highest recovery rate (82%) on CIFAR-10 network-domain attacks and caused only 0.19% accuracy drop on benign images.
- Median filtering was the most effective defense for image-domain attacks (81% recovery rate), but caused a 13.91% accuracy drop on CIFAR-10, indicating a trade-off between robustness and performance.
- Clipping to [0,1] range had no effect on image-domain attacks (0% recovery), but achieved 70% recovery in network domain, highlighting domain-dependent defense efficacy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.