SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Models

Sunoh Kim, Daeho Um
6/5/2026
cs.CVcs.AI
lora-peft-merging

Official code: sunoh-kim/SS-TPT (3 stars, Python, MIT, last commit 2026-06-09).

Abstract

Vision-language models (VLMs) such as CLIP achieve strong zero-shot recognition but remain highly fragile under adversarial perturbations. Recent test-time adaptation defenses improve robustness by leveraging many augmented views, but this leads to impractical slowdown and a clear robustness-throughput trade-off.

Show full abstract

To address this challenge, we present Stability and Suitability-guided Test-time Prompt Tuning (SS-TPT), evaluating the quality of each augmented view via two complementary scores: (1) stability, measuring prediction invariance to weak augmentations, and (2) suitability, measuring feature-space density among views. These stability and suitability (SS) scores guide both adaptation and inference through an SS-guided consistency loss and an SS-weighted prediction, amplifying trustworthy views while suppressing corrupted ones. Extensive experiments demonstrate that SS-TPT significantly outperforms prior state-of-the-art methods, achieving superior robustness-throughput trade-offs across diverse datasets and varying numbers of views, thereby demonstrating both strong practicality and generality. Our code is available at https://github.com/sunoh-kim/SS-TPT.

View on arXivView PDF

Code Implementations(1)

sunoh-kim/SS-TPTOfficial100%
MIT

Official PyTorch implementation of the ICML 2026 paper: "SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Models".

31Python, ShellMay 15, 20265 months agoMIT

Similar Papers

Cite this paper

@article{kim2026sstpt,
  title  = {SS-TPT: Stability and Suitability-Guided Test-Time Prompt Tuning for Adversarially Robust Vision-Language Models},
  author = {Sunoh Kim and Daeho Um},
  year   = {2026},
  eprint = {2606.06943},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.06943v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.06943.svg)](https://codeofpaper.com/paper/2606.06943)

Discussion