Introduction
Adversarial attacks typically rely on imperceptible, global noise to deceive neural networks. However, such "white-box" attacks often fail in real-world "black-box" scenarios where an attacker only has access to the model's output. This paper introduces Adversarial Scratches, a novel parametric $L_0$ attack that uses simple geometric shapes—lines and curves—to fool image classifiers with minimal pixel modification.
Methodology: Geometric Perturbations
Unlike traditional attacks that modify every pixel, this method defines perturbations as geometric primitives: straight lines and second-order Bézier curves. These shapes are defined by a small set of parameters (7 to 10), including coordinates and color. By using a parametric approach, the search space is drastically reduced compared to pixel-by-pixel optimization.
To optimize these parameters, the researchers employ evolutionary strategies:
- Differential Evolution (DE): Optimizes scratches within the standard image color range.
- CMA-ES (Covariance Matrix Adaptation Evolution Strategy): Used for mathematical optimization to maximize the impact on the network's internal logic.
The "fitness" of a scratch is calculated by a function designed to minimize the probability of the ground-truth class while maximizing a target decoy class.
Key Insights
The study reveals that the geometry of the scratch is more critical than random pixel noise. Nonlinear Bézier curves are particularly effective because they exploit shape-dependent features used by neural networks for object recognition. Furthermore, the researchers discovered a "source-target dependency," where it is easier to trick an AI into misclassifying objects that share similar visual features (e.g., a truck as a car).
Experimental Results
The attack was evaluated on CIFAR-10 and ImageNet datasets using architectures like ResNet-50 and VGG-16.
- High Success Rates: The attack achieved a 98.77% targeted success rate on ImageNet using just four Bézier curves, modifying less than 5% of the image.
- Real-World Vulnerability: The attack successfully deceived Microsoft’s Image Captioning API. For instance, a passenger jet image was misidentified as "a group of people flying kites in the sky" after adding subtle scratches.
- Defense Robustness: While common defenses like JPEG compression were ineffective, median filtering proved to be a robust countermeasure, recovering correct labels in 100% of ImageNet cases.
Conclusion
Adversarial Scratches demonstrate that neural networks are highly vulnerable to structured, localized geometric perturbations. While effective, the high query count required for high-resolution images remains a limitation for real-time applications. Future work may extend this concept to other modalities, such as audio, to investigate similar structural vulnerabilities.
Summary updated