Robustness Tokens: Towards Adversarial Robustness of Transformers

Brian Pulfer, Yury Belousov, Slava Voloshynovskiy
3/13/2025
cs.LGcs.AIcs.CV
transformer-attention

No confident code implementation found for this paper.

Abstract

Recently, large pre-trained foundation models have become widely adopted by machine learning practitioners for a multitude of tasks. Given that such models are publicly available, relying on their use as backbone models for downstream tasks might result in high vulnerability to adversarial attacks crafted with the same public model.

Show full abstract

In this work, we propose Robustness Tokens, a novel approach specific to the transformer architecture that fine-tunes a few additional private tokens with low computational requirements instead of tuning model parameters as done in traditional adversarial training. We show that Robustness Tokens make Vision Transformer models significantly more robust to white-box adversarial attacks while also retaining the original downstream performances.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pulfer2025robustness,
  title  = {Robustness Tokens: Towards Adversarial Robustness of Transformers},
  author = {Brian Pulfer and Yury Belousov and Slava Voloshynovskiy},
  year   = {2025},
  eprint = {2503.10191},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.10191v1},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.10191.svg)](https://codeofpaper.com/paper/2503.10191)

Discussion