atlas

Research map / Adversarial robustness and security / Certified and empirical robustness

Random Entangled Tokens for Adversarially Robust Vision Transformer

CVPR 2024 · Adversarial robustness and security › Certified and empirical robustness · approach: Adversarial training with feature consistency · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ReiT, a randomized adversarial-robustness defense for ViTs that concatenates random tokens into self-attention (II-ReSA, with a second optimized "entangled" token) combined with adversarial training.

Problem

Adversarial vulnerability of Vision Transformers; standard randomization defenses designed for CNNs (e.g., randomized normalization) do not transfer directly to ViT architectures.

Approach

Concatenate a random token to the ViT input and replace global softmax with a local softmax so the random token adds an additive random term to self-attention; at test time, optimize a second random "entangled" token via gradient sign steps to make gradients dissimilar, then randomly sample one of the two tokens per inference.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add II-ReSA random entangled tokensPGD-trained ViT-S · CIFAR-10PGD accuracy: 51.51 -> 52.86Helped
Add II-ReSA random entangled tokensPGD-trained ViT-S · CIFAR-10DeepFool accuracy: 0.92 -> 26.60Helped
Add II-ReSA random entangled tokensDeiT-T · CIFAR-10AutoAttack accuracy: 45.54 -> 50.39Helped
Add II-ReSA random entangled tokensPGD-trained DeiT-T · ImageNetPGD accuracy: 21.68 -> 22.15Helped
Use only random token r1; do not optimize r2 (ablation)ReiT with DeiT-T · CIFAR-10PGD accuracy: 50.07 -> 49.34Hurt
Remove normalization of optimized r2 (ablation)ReiT with DeiT-T · CIFAR-10PGD accuracy: 50.07 -> 46.65Hurt
Remove iterative optimization of r2 (ablation)ReiT with DeiT-T · CIFAR-10PGD accuracy: 50.07 -> 49.47Hurt
Set randomness intensity to 0.01 (ablation)ReiT with DeiT-T · CIFAR-10PGD accuracy: 50.07 -> 49.38Hurt
Set randomness intensity to 0.05 (ablation)ReiT with DeiT-T · CIFAR-10PGD accuracy: 50.07 -> 49.53Hurt
Set randomness intensity to 0.2 (ablation)ReiT with DeiT-T · CIFAR-10PGD accuracy: 50.07 -> 48.24Hurt
Set randomness intensity to 0.4 (ablation)ReiT with DeiT-T · CIFAR-10PGD accuracy: 50.07 -> 38.13Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 ImageNette ImageNet-1K

Benchmarks: CIFAR-10 CIFAR-100 ImageNette ImageNet-1K

Metrics: clean accuracy adversarial accuracy under NAT, FGSM, MIFGSM, PGD, DeepFool,

Baselines: PGD adversarial training FGSM adversarial training TRADES ARD & PRM NAT

Builds on: PGD adversarial training TRADES Vision Transformer DeiT Swin Transformer

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy