Skip to content
AI News HubLIVE
Original source2 min read

A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers

Summary

Researchers at MIT analyzed adversarial fine-tuning of Vision Transformers (ViTs) to improve robustness to image perturbations. They found that fine-tuning on specific corruptions (low/high frequency) improves performance on those corruptions but does not generalize to unseen types. Despite changes in attention and knowledge, sparse representations remained unchanged.

SourcearXiv Computer VisionAuthor: Hannah Gao (Massachusetts Institute of Technology), Isha Agarwal (Massachusetts Institute of Technology), Dylan Hadfield-Menell (Massachusetts Institute of Technology), Rachel Ma (Massachusetts Institute of Technology)
A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[2606.07593] A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers

[Submitted on 28 May 2026]

Title:A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers

View a PDF of the paper titled A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers, by Hannah Gao (Massachusetts Institute of Technology) and 3 other authors

View PDF HTML (experimental)

Abstract: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.

Subjects:

Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI)

Cite as: arXiv:2606.07593 [cs.CV]

(or arXiv:2606.07593v1 [cs.CV] for this version)

https://doi.org/10.48550/arXiv.2606.07593

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Hannah Gao [view email] [v1] Thu, 28 May 2026 17:30:49 UTC (1,536 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers, by Hannah Gao (Massachusetts Institute of Technology) and 3 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.CV

new | recent | 2026-06

Change to browse by:

cs cs.AI

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • Adversarial fine-tuning improves ViT performance on seen corruptions but fails to transfer to unseen ones.
  • Training on low/high-frequency corruptions does not generalize to other corruption classes.
  • While attention mechanisms and knowledge evolution change across layers, sparse representations remain fundamentally unchanged.

Highlights and analysis are generated automatically and may contain errors. Check the original source.