Cross-Model Transferability of Adversarial Patches in Real-time Segmentation for Autonomous Driving
Prashant Shekhar, Bidur Devkota, Dumindu Samaraweera, Laxima Niure Kandel, Manoj Babu
TL;DR
Adversarial patches threaten real-time semantic segmentation in autonomous driving. The authors propose an Expectation Over Transformations (EOT) based untargeted patch attack with a simplified adaptive loss and evaluate cross-model transferability across CNN- and ViT-based architectures on Cityscapes. They find that patches largely do not transfer across different models, with CNN patches causing localized degradation and ViT patches sometimes affecting broader regions, yet unseen-image transfer within the trained model remains strong under EOT. Per-class analysis shows varying susceptibility (e.g., sky more robust) and highlights architecture-dependent robustness, emphasizing the need for defenses. Overall, the work informs design guidelines for secure deployment of real-time segmentation systems in autonomous vehicles and motivates future multi-model robustness strategies.
Abstract
Adversarial attacks pose a significant threat to deep learning models, particularly in safety-critical applications like healthcare and autonomous driving. Recently, patch based attacks have demonstrated effectiveness in real-time inference scenarios owing to their 'drag and drop' nature. Following this idea for Semantic Segmentation (SS), here we propose a novel Expectation Over Transformation (EOT) based adversarial patch attack that is more realistic for autonomous vehicles. To effectively train this attack we also propose a 'simplified' loss function that is easy to analyze and implement. Using this attack as our basis, we investigate whether adversarial patches once optimized on a specific SS model, can fool other models or architectures. We conduct a comprehensive cross-model transferability analysis of adversarial patches trained on SOTA Convolutional Neural Network (CNN) models such PIDNet-S, PIDNet-M and PIDNet-L, among others. Additionally, we also include the Segformer model to study transferability to Vision Transformers (ViTs). All of our analysis is conducted on the widely used Cityscapes dataset. Our study reveals key insights into how model architectures (CNN vs CNN or CNN vs. Transformer-based) influence attack susceptibility. In particular, we conclude that although the transferability (effectiveness) of attacks on unseen images of any dimension is really high, the attacks trained against one particular model are minimally effective on other models. And this was found to be true for both ViT and CNN based models. Additionally our results also indicate that for CNN-based models, the repercussions of patch attacks are local, unlike ViTs. Per-class analysis reveals that simple-classes like 'sky' suffer less misclassification than others. The code for the project is available at: https://github.com/p-shekhar/adversarial-patch-transferability
