atlas

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

Harnessing Edge Information for Improved Robustness in Vision Transformers

AAAI 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 EdgeNet, a lightweight plug-and-play side branch that processes Canny edges of images and injects them via zero-convolution sandwich blocks into a frozen pretrained ViT-B/16 to improve adversarial robustness without hurting clean accuracy.

Problem

Improving adversarial robustness of high-accuracy pretrained vision transformers without sacrificing clean ImageNet accuracy, which prior robust fine-tuning (TORA-ViT) handles only via a accuracy-robustness trade-off hyperparameter.

Approach

Edge maps (from the Canny detector) carry relevant, robust shape/foreground features; a side branch of ViT blocks wrapped in zero convolutions injects these features into intermediate layers of a frozen backbone, with a joint clean+adversarial loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add EdgeNet processing edge information to ViT-B/16ViT-B/16 · ImageNet-1K FGSMaccuracy (%): 54.7 -> 69.8Helped
Add EdgeNet processing edge information to ViT-B/16ViT-B/16 · ImageNet-1K PGDaccuracy (%): 38.0 -> 48.8Helped
Add EdgeNet processing edge information to ViT-B/16ViT-B/16 · ImageNet-1K cleantop-1 accuracy (%): 83.7 -> 83.7No clear effect
Add EdgeNet processing edge information to ViT-B/16ViT-B/16 · ImageNet-Atop-1 accuracy (%): 39.2 -> 39.6Helped
Add EdgeNet processing edge information to ViT-B/16ViT-B/16 · ImageNet-Rtop-1 accuracy (%): 56.3 -> 56.9Helped
Add EdgeNet processing edge information to ViT-B/16ViT-B/16 · ImageNet-CmCE: 34.4 -> 34.4No clear effect
Use 4 new EdgeNet blocks (# Intervals = 3) instead of fine-tuning only the classification head (ablation)ViT-B/16 · ImageNet-1K FGSMaccuracy (%): 41.1 -> 69.8Helped
Use 4 new EdgeNet blocks (# Intervals = 3) instead of fine-tuning only the classification head (ablation)ViT-B/16 · ImageNet-1K cleantop-1 accuracy (%): 80.2 -> 83.7Helped
Use 12 new EdgeNet blocks (# Intervals = 1) instead of 4 new blocks (ablation)EdgeNet-ViT-B/16 · ImageNet-1K FGSMaccuracy (%): 69.8 -> 69.0No clear effect
Use 2 new EdgeNet blocks (# Intervals = 6) instead of 4 new blocks (ablation)EdgeNet-ViT-B/16 · ImageNet-1K FGSMaccuracy (%): 69.8 -> 66.8Hurt
Replace edge inputs with image inputs (ablation)EdgeNet-ViT-B/16 · ImageNet-1K FGSMaccuracy (%): 69.8 -> 64.4Hurt
Replace edge inputs with image inputs (ablation)EdgeNet-ViT-B/16 · ImageNet-1K cleantop-1 accuracy (%): 83.7 -> 82.7Hurt

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K

Benchmarks: ImageNet-1K ImageNet-A ImageNet-R ImageNet-C

Metrics: top-1 accuracy FGSM accuracy PGD accuracy mCE

Baselines: TORA-ViT-B/16 RVT-B PyramidAT DeiT-B/16 Swin-B ConvNeXt-B ResNet-50 ViT-B/16 classification-head fine-tuning

Builds on: Adversarial training (FGSM) TORA-ViTs ControlNet zero convolution Adapter Canny edge detector

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