acceptodds
Under review as a conference paper at ICLR 2027

T-VSS: Test-Time Visual Subspace Steering for Adversarial Robustness of Vision-Language Models

Abstract

Contrastive vision-language models (VLMs), exemplified by CLIP, enable strong zero-shot visual recognition but remain highly vulnerable to adversarial perturbations. Recent test-time adaptation methods 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 adaptation methods.

Then back it, or bet against it.

Related papers

Open the market on this paper to see 7 more related papers.