Jacks of All Trades, Masters of None: Addressing Distributional Shift and Obtrusiveness via Transparent Patch Attacks

Neil Fendley, Max Lennon, I-Jeng Wang, Philippe Burlina, Nathan Drenkow · DOI

TL;DR

This paper investigates how geometric transformations (scale, rotation, location) affect adversarial patch attacks, finding that scale is a critical factor for success. To overcome scale limitations and reduce patch obtrusiveness, they introduce novel semi-transparent patches optimized to balance effectiveness and subtlety.

What Problem Does This Paper Address?

Deep learning models, while powerful, are known to be vulnerable to adversarial attacks. Patch attacks, which involve placing a small, adversarial pattern on an image, are particularly relevant for physical-world scenarios like autonomous driving. However, existing patch attack methods often struggle with real-world variability due to geometric transformations (like changes in scale, rotation, or position) that can occur between when the attack is designed and when it's deployed. This "distributional shift" can significantly degrade attack success. Furthermore, larger patches, which tend to be more effective, are also more noticeable and thus more obtrusive, making them easier to detect. This paper aims to systematically analyze the impact of these transformations on patch attack success and to develop a new type of patch attack that is both effective across various transformations and less obtrusive.

Methods

The core of the paper's methodology revolves around the Expectation over Transformation (EoT) framework. This framework is used to optimize adversarial patches by considering a distribution of transformations during the training phase, aiming for robustness against these variations.

Key methodological contributions include:

  • Systematic Analysis of Transformations: The authors conduct experiments to understand how individual transformations (scale, rotation, location) and their mismatches between training and testing affect patch attack success.
  • Constrained EoT: They explore the impact of imposing constraints on the transformation distribution during optimization (e.g., limiting the range of scales or rotations) and then testing with unconstrained transformations. This helps understand the trade-offs.
  • Semi-Transparent Patch Optimization: To address the obtrusiveness issue, they introduce a novel optimization process. This involves:
  • Patch Obtrusiveness (PO) Metric: A new metric is defined to quantify the opacity of a patch, allowing for a trade-off between transparency and effectiveness.
  • Mask Optimization: Alongside the patch itself, an optimization process is developed to learn a mask that controls the transparency of the patch.
  • Joint Optimization: The patch and its corresponding mask are optimized simultaneously to achieve a desired balance between attack success and obtrusiveness.

Datasets

The experiments are conducted using the ImageNet dataset. A ResNet50 model pre-trained on ImageNet is used for all patch optimization and testing. No new benchmarks are introduced; rather, the focus is on evaluating existing attack methodologies under various transformation conditions.

Key Insights and Ideas

  • Scale is King (and a Bottleneck): Patch attack success is highly sensitive to scale. Patches optimized at larger scales tend to generalize better to smaller scales than vice-versa. This suggests that scale is a primary limiting factor for effective physical patch attacks.
  • Rotation: A "Jack of All Trades, Master of None" Phenomenon: Optimizing over a wider range of rotations leads to higher average performance but lower peak performance at specific angles. This indicates that the model becomes more generally robust but less potent against specific rotation instances.
  • Location Matters Less Than Expected: Contrary to intuition, the paper finds that a "lazy" approach to location (e.g., random placement during both training and testing) yields nearly as good results as optimizing for high-saliency locations. This simplifies the attack design process.
  • Transparency is the Key to Subtlety: By introducing semi-transparent patches, the authors demonstrate that it's possible to achieve comparable or even better attack success rates with significantly lower obtrusiveness compared to opaque patches of similar size. This opens up new possibilities for stealthier adversarial attacks.

Key Results

  • Scale Impact: Experiments show a clear dependence of patch success on scale, with larger optimized patches performing better across a range of test scales.
  • Rotation Trade-off: Patches optimized with broader rotation distributions exhibit higher average success but lower peak success at specific angles.
  • Location Robustness: Random location strategies for both training and testing perform comparably to saliency-based methods, suggesting that precise location optimization is not always critical.
  • Semi-Transparent Patch Performance: The novel semi-transparent patches, when optimized for a balance of obtrusiveness and success, demonstrate better performance than fully opaque control patches at similar obtrusiveness levels. For instance, Figure 6 shows that for a given obtrusiveness, semi-transparent patches can achieve higher success rates.

Limitations and Future Work

  • Perceptual Obtrusiveness: The current metric for patch obtrusiveness is based on opacity, not true human perception. Future work could involve developing a perceptual measure to better assess detectability by humans.
  • Rigid Assumptions: While the paper's assumptions on rotation and location are considered reasonable for some physical scenarios (e.g., street signs), expanding these to more complex or context-aware scenarios is a potential future direction.
  • Target Label Impact: The paper acknowledges that the impact of target labels on patch success is significant but not fully explored. Further investigation into why certain labels perform better is suggested.
  • Contextual Optimization: The current work focuses on the general case of patch attacks. Incorporating scene-specific details into the optimization process could lead to even more effective attacks.

Summary updated

BibTeX
@inproceedings{fendley2020jacks,
  author = {Neil Fendley and Max Lennon and I-Jeng Wang and Philippe Burlina and Nathan Drenkow},
  title = {{Jacks of All Trades, Masters of None: Addressing Distributional Shift and Obtrusiveness via Transparent Patch Attacks}},
  booktitle = {Workshops @ ECCV},
  year = {2020},
  doi = {10.1007/978-3-030-66415-2\_7},
}
Figure