Skip to content

Are Vision Transformers robust to patch perturbations?Are Vision Transformers Robust to Patch Perturbations?

arXiv· arXiv:2111.10659· Jindong Gu, Volker Tresp, Yao Qin·Indexed by this site · 25 days ago· Originally publishedDefenses
AI summary

The researchers compare Vision Transformer (ViT) and CNN performance when image patches are subject to natural corruption or adversarial perturbation, finding that ViT is more robust to naturally corrupted patches but more vulnerable to adversarial patches. The attention module can improve robustness by effectively ignoring naturally corrupted patches, but under adversarial attacks it can be induced to focus more on perturbed patches, leading to misclassification. Based on this analysis, the authors propose a simple method based on temperature scaling to improve ViT robustness to adversarial patches, and conduct qualitative and quantitative experiments on a set of Transformer-based architectures.

Read originalarxiv.org