A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers
Not on the map. Why?
Abstract (arXiv)
The widespread use of image classification models in high-risk, real-world situations necessitates making these models robust to slight disturbances or perturbations, such as blurring or sharpening, in the input images. While vision transformers (ViTs) play an integral role in many modern-day multi-modal models like Vision-Language-Models (VLMs) and Vision-Language-Action (VLA) models, they have received a lack of attention in the setting of robustness. In this work, we analyze the effects of adversarial fine-tuning, a popular method for improving model robustness to image perturbations, on a ViT's performance on perturbed and regular images through a mechanistic lens. We adversarially train a ViT on low-frequency and high-frequency image corruptions, and attempt to explain changes in downstream model performance through an examination of the model's attention mechanisms, internal representations, and knowledge evolution. Overall, our results suggest that, while fine-tuning on inputs with common corruptions improves model performance and certainty on new instances of corrupted data, these improvements do not transfer to other classes of corruptions not seen in the training. Additionally, despite observing changes in visual attention and knowledge evolution across layers, we found that adversarial training did not lead to fundamental changes in the sparse representations learned by ViTs.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 24 references that are in the map. First posted on arXiv 28 May 2026.
Builds on
18 of 24 references.
References · 18
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2024Scaling and evaluating sparse autoencoderscited by 530
- 2020Visual Transformers: Token-based Image Representation and Processing for Computer Visioncited by 333
- 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
- 2023Investigating the Catastrophic Forgetting in Multimodal Large Language Modelscited by 119
6 more
- 2024Diffusion Lens: Interpreting Text Encoders in Text-to-Image Pipelinescited by 28
- 2025Interpretable and Testable Vision Features via Sparse Autoencoderscited by 24
- 2023A Survey on the Robustness of Computer Vision Models against Common Corruptionscited by 20
- 2025Analysing the Robustness of Vision-Language-Models to Common Corruptionscited by 16
- 2022A Closer Look at Robustness to L-infinity and Spatial Perturbations and their Compositioncited by 2
- 2025C-LEAD: Contrastive Learning for Enhanced Adversarial Defensecited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Unifying Adversarially Robust Model Experts in Vision-Language Models
- 2024Towards Adversarially Robust Vision-Language Models: Insights from Design Choices and Prompt Formatting Techniques
- 2026What Makes VLMs Robust? Towards Reconciling Robustness and Accuracy in Vision-Language Models
- 2026A Survey of Adversarial Efficiency Degradation for Vision Transformer by Exploiting Input-adaptive Optimization
- 2025Robust-LLaVA: On the Effectiveness of Large-Scale Robust Image Encoders for Multi-modal Large Language Models
- 2025Harnessing the Computation Redundancy in ViTs to Boost Adversarial Transferability
- 2025R-TPT: Improving Adversarial Robustness of Vision-Language Models through Test-Time Prompt Tuning
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustness