atlas

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

Language-Driven Anchors for Zero-Shot Adversarial Robustness

CVPR 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Vision-language model robustness · 10 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 LAAT, an anchor-based adversarial training method that uses fixed CLIP text-embedding anchors (after an expansion algorithm that reduces their high cosine similarity) plus an alignment cross-entropy loss and smoothness loss, to give image classifiers zero-shot adversarial robustness.

Problem

Adversarial robustness has been studied mainly in the fully supervised setting; extending adversarial training to zero-shot recognition of novel categories is hard, and prior CLIP-based attempts (TeCoA) only work at tiny perturbation budgets.

Approach

Use CLIP text encoder embeddings of class names as fixed normalized anchors for adversarial training. CLIP anchors have very high mutual cosine similarity, which hampers AT, so an expansion algorithm in spherical coordinates spreads them over the hemisphere while preserving semantic neighborhoods; an alignment cross-entropy loss and a benign-adversarial smoothness loss complete the objective.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use LAAT rather than GR5-way zero-shot CIFAR-FS · CIFAR-FSPGD accuracy: 38.03 ± 0.46 -> 40.12 ± 0.44Helped
Use LAAT rather than GR5-way zero-shot MiniImageNet · MiniImageNetPGD accuracy: 27.57 ± 0.38 -> 29.27 ± 0.31Helped
Train on ImageNet-1K with LAAT rather than TeCoAViT-B/16 · CIFAR100PGD-20 adversarial accuracy: 0.20 -> 7.32Helped
Train on ImageNet-1K with LAAT rather than TeCoAViT-B/16 · aPYPGD-20 adversarial accuracy: 6.45 -> 34.97Helped
Train on ImageNet-1K with LAAT rather than TeCoAViT-B/16 · AwA2PGD-20 adversarial accuracy: 1.95 -> 26.21Helped
Add expansion to the anchors (ablation)Anchor-based adversarial training on CIFAR-FS · CIFAR-FSRobust accuracyHelped
Add A-CE loss (ablation)Expanded-anchor adversarial training on CIFAR-FS · CIFAR-FSRobust accuracy: 32.71 -> 37.69Helped
Add smoothness loss (ablation)EXP + A-CE on CIFAR-FS · CIFAR-FSRobust accuracy: 37.69 -> 40.12Helped
Replace smoothness loss with TRADES (1/λ = 1) (ablation)EXP + A-CE on CIFAR-FS · CIFAR-FSRobust accuracy: 40.12 -> 19.22Hurt
Replace smoothness loss with TRADES (1/λ = 6) (ablation)EXP + A-CE on CIFAR-FS · CIFAR-FSRobust accuracy: 40.12 -> 25.02Hurt
Set smoothness-loss α to 1.0 rather than 3.0 (ablation)EXP + A-CE + SM on CIFAR-FS · CIFAR-FSRobust accuracy: 40.12 -> 39.95No clear effect
Set smoothness-loss α to 6.0 rather than 3.0 (ablation)EXP + A-CE + SM on CIFAR-FS · CIFAR-FSRobust accuracy: 40.12 -> 40.29No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-FS MiniImageNet ImageNet-1K Cifar100

Benchmarks: CIFAR-FS MiniImageNet AwA2 aPY COCO Object STL10 OxfordPet DTD Caltech101 Caltech256 SUN Cifar100

Metrics: clean accuracy robust accuracy under FGSM, PGD-20, CW, AutoAttack

Baselines: AQ R-MAML GR TeCoA TRADES ITS-MAML

Builds on: CLIP TeCoA MMC loss Hypersphere Embedding (cos theta) TRADES GR

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