PapersWithELO
← ICLR 2024 leaderboard

SpecFormer: Guarding Vision Transformer Robustness via Maximum Singular Value Penalization

Xixu HU, Runkai Zheng, Jindong Wang, Cheuk Hang LEUNG, Qi WU, Xing Xie

fairness, safety & privacyVision TransformerAdversarial RobustnessLipschitz ContinuityComputer Vision
64.80100
Fused
band ≈ ±16 pct pts (from σ = 0.33)
43.90100
Mimo
band ≈ ±23 pct pts (from σ = 0.45)
81.80100
DeepSeek
band ≈ ±24 pct pts (from σ = 0.48)

OpenReview ground truth

Rejected

TL;DR — We enhance robustness in adversarial settings by introducing local Lipschitz continuity to the self-attention layer and introducing the robust ViT SpecFormer with Maximum Singular Value Penalization.

Abstract

Vision Transformers (ViTs) have gained prominence as a preferred choice for a wide range of computer vision tasks due to their exceptional performance. However, their widespread adoption has raised concerns about security in the face of malicious attacks. Most existing methods rely on empirical adjustments during the training process, lacking a clear theoretical foundations. In this study, we address this gap by introducing SpecFormer, specifically designed to enhance ViTs' resilience against adversarial attacks, with support from carefully derived theoretical guarantees. We establish local Lipschitz bounds for the self-attention layer and introduce a novel approach, Maximum Singular Value Penalization (MSVP), to attain precise control over these bounds. We seamlessly integrating MSVP into ViTs' attention layers, using the power iteration method for enhanced computational efficiency. The modified model, SpecFormer, effectively reduces the spectral norms of attention weight matrices, thereby enhancing network local Lipschitzness. This, in turn, leads to improved training efficiency and robustness. Extensive experiments on CIFAR and ImageNet datasets confirm SpecFormer's superior performance in defending against adversarial attacks.

Author context

Most prolific author: 15 submissions (credibility 0.79).

No mass-submission penalty for this paper (authors within normal submission volume).

Aggregate statistics only — no individual author rankings.

Ranking trajectory

Percentile by tournament round — convergence indicates rating stability.

Judge assessments

Mean overall score 0.0 ± 0.0 (n = 28)