T-VSS: Test-Time Visual Subspace Steering for Adversarial Robustness of Vision-Language Models
About
Vision-language models (VLMs) achieve strong zero-shot recognition, but they remain highly vulnerable to adversarial perturbations. Recent test-time adaptations improve robustness without retraining, but they do not directly adapt the corrupted visual representation itself. Prompt-based methods adapt the learnable text prompts, while input-space methods optimize pixels or padding at test time. These approaches can improve predictions, but they do so through an indirect and expensive optimization path. We propose Test-time Visual Subspace Steering (T-VSS), a lightweight defense that performs test-time adaptation directly in the visual feature space. T-VSS first builds a sample-specific low-rank subspace from multi-view feature residuals anchored at the attacked image. It then learns a shared feature correction within this subspace using reliability-weighted entropy minimization. By constraining adaptation to a compact visual geometry, T-VSS steers attacked features toward more stable and discriminative predictions while avoiding noisy full-space updates. Experiments on fine-grained, ImageNet, and ImageNet-OOD benchmarks show that T-VSS improves adversarial robustness while maintaining competitive clean accuracy and better efficiency than prior test-time adaptations.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Action Recognition | UCF101 (test) | Accuracy52.5 | 376 | |
| Fine grained classification | EuroSAT | Accuracy29.8 | 138 | |
| Fine grained classification | UCF101 | Accuracy61.7 | 98 | |
| Fine grained classification | Caltech101 | Accuracy91.7 | 76 | |
| Image Classification | FGVC Aircraft | Robust Accuracy2.9 | 62 | |
| Fine-grained Image Classification | Oxford-IIIT Pets | Accuracy85.3 | 55 | |
| Image Classification | EuroSAT | Top-1 Clean Accuracy45.1 | 53 | |
| Fine grained classification | FGVC Aircraft | Accuracy19.6 | 51 | |
| Fine-grained Image Classification | Oxford Flowers 102 | Accuracy62.4 | 45 | |
| Fine-grained Image Classification | 8 Fine-grained Dataset Suite Average | Robustness22 | 42 |