Abstract
A growing body of work has shown that deep neural networks are susceptible to adversarial examples. These take the form of small perturbations applied to the model's input which lead to incorrect predictions. Unfortunately, most literature focuses on visually imperceivable perturbations to be applied to digital images that often are, by design, impossible to be deployed to physical targets. We present Adversarial Scratches: a novel $L_0$ black-box attack, which takes the form of scratches in images, and which possesses much greater deployability than other state-of-the-art attacks. Adversarial Scratches leverage Bézier Curves to reduce the dimension of the search space and possibly constrain the attack to a specific location. We test Adversarial Scratches in several scenarios, including a publicly available API and images of traffic signs. Results show that, often, our attack achieves higher fooling rate than other deployable state-of-the-art methods, while requiring significantly fewer queries and modifying very few pixels.
The Challenge of Physical Deployability
Most adversarial attacks are "digital-only," relying on tiny, imperceptible changes to every pixel in an image ($L_1, L_2, L_\infty$ norms). While effective in laboratory settings, these are impossible to deploy on physical objects like traffic signs because environmental factors prevent precise control over every photon hitting a camera sensor.
Existing physical attacks, such as adversarial patches, are deployable but often require large, conspicuous modifications or thousands of trial-and-error queries to the target model. The researchers identify a critical gap: the need for attacks that are deployable (contained within the target and spatially contiguous), efficient (low query count), and minimal (modifying very few pixels).
As shown in the comparison above, standard $L_p$ attacks modify the entire image, while sparse attacks create disjointed pixels that are unfeasible to apply physically. "Adversarial Scratches" bridge this gap by creating contiguous, localized perturbations that mimic real-world damage or graffiti.
Methodology: Parametric Bézier Curves
The core innovation is the use of Bézier curves to model the adversarial perturbation. Instead of optimizing thousands of individual pixels, the authors optimize just 9 parameters per scratch: six for the coordinates of the control points (defining the curve's shape) and three for the RGB color.
Since the attacker typically lacks access to the internal parameters of the target AI (a "black-box" scenario), they utilize gradient-free Neuro-Genetic Optimization (NGO). The low dimensionality of the Bézier representation—reduced by over 70x compared to "any-pixel" attacks—allows these optimizers to find successful perturbations with significantly fewer queries. Furthermore, a clipping algorithm ensures the scratches remain strictly within the boundaries of the target object, such as the face of a speed limit sign.
Experimental Results
The researchers evaluated Adversarial Scratches against standard benchmarks and real-world systems:
- ImageNet: The attack achieved a 97.9% fooling rate, requiring a median of only 27 queries. In contrast, the previous state-of-the-art (Patch-RS) required 438 queries for a lower success rate.
- Traffic Sign Recognition (TSRD): On a manually segmented benchmark of real-world signs, the attack reached a 100% success rate with a median of just 6 queries.
- Real-World API: The attack successfully fooled Microsoft’s Image Captioning API. In one instance, a few scratches caused the AI to change its caption from "A plane flying in the sky" to "A green and white rocket" in just 6 iterations.
Key Insights and Future Work
The success of Adversarial Scratches suggests that CNNs are highly sensitive to specific geometric patterns and "edges" that interfere with feature extraction. By reducing the search space dimensionality, the authors demonstrate that simplicity in attack design leads to higher efficiency and greater physical realism.
While powerful, the current study focused on one-pixel-wide scratches. Future work could explore thicker "brush strokes" or more complex shapes. Additionally, while the attack is geometrically deployable, further research is needed to confirm robustness under varying lighting conditions and camera angles in the physical world.
Summary updated