atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

SlowFormer: Adversarial Attack on Compute and Energy Consumption of Efficient Vision Transformers

CVPR 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Adversarial perturbations beyond images · 2 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 SlowFormer, a universal adversarial patch that pastes onto images to increase the compute (FLOPs) of input-adaptive efficient vision transformers (A-ViT, ATS, AdaViT), and tests an adversarial-training defense.

Problem

Input-adaptive efficient vision transformers reduce computation per input, but an adversary can exploit this dependence to increase their compute and power consumption at inference time.

Approach

Optimize a single universal, image-agnostic adversarial patch (not per-image perturbations) that maximizes the efficient model's computation by attacking each method's compute-control objective (ponder loss for A-ViT, usage loss for AdaViT, attention-entropy loss for ATS), with model weights frozen.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply SlowFormer's universal patchA-ViT · ImageNet-1K val, ViT-TinyAttack Success: 100%Helped
apply SlowFormer's universal patchA-ViT · ImageNet-1K val, ViT-SmallAttack Success: 99%Helped
apply SlowFormer's universal patchATS · ImageNet-1K val, ViT-TinyAttack Success: 35%Helped
apply SlowFormer's universal patchATS · ImageNet-1K val, ViT-SmallAttack Success: 60%Helped
apply SlowFormer's universal patchAdaViT · ImageNet-1K val, ViT-SmallAttack Success: 40%Helped
apply SlowFormer's universal patchA-ViT · CIFAR-10 val, ViT-TinyAttack Success: 41%Helped
apply SlowFormer's universal patchATS · CIFAR-10 val, ViT-TinyAttack Success: 34.1%Helped
include task loss to preserve classification accuracy during the compute attack (ablation)A-ViT SlowFormer · ImageNet-1K val, ViT-TinyTop-1 accuracy: 4.7% -> 68.5%Helped
vary patch size from 64 × 64 to 16 × 16 (ablation)A-ViT SlowFormer · ImageNet-1K val, ViT-TinyAttack Success: 100% -> 27%Hurt
randomize the patch location (ablation)A-ViT SlowFormer · ImageNet-1K valAttack Success: 100%No clear effect
train A-ViT with a set of universal adversarial patches (ablation)A-ViT · ImageNet-1K val, ViT-TinyAttack Success: 100% -> 34%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K CIFAR-10

Benchmarks: ImageNet-1K CIFAR-10

Metrics: Top-1 accuracy GFLOPs Attack Success

Baselines: Random Patch TAP NTAP Adversarial training defense

Builds on: A-ViT ATS AdaViT Patch-Fool universal adversarial patch

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