Training-Free Test-Time Adaptation via Shape and Style Guidance for Vision-Language Models

Sheng Zhou, M. Yin, Leiyu Sun, Shi-Cai Yang, Di Xie +1 more
1/1/2025

No confident code implementation found for this paper.

Abstract

Test-time adaptation with pre-trained vision-language models shows impressive zero-shot classification abilities, and training-free methods further improve the performance without any optimization burden. However, existing training-free test-time adaptation methods typically rely on entropy criteria to select the visual features and update the visual caches, while ignoring the generalizable factors, such as shape-sensitive and style-insensitive factors.

Show full abstract

In this paper, we propose a novel shape and style guidance method (SSG) for training-free test-time adaptation in vision-language models, aiming to highlight the shape-sensitive (SHS) and style-insensitive (STI) factors. Specifically, SSG perturbs the raw test image with shape and style corruption operations, and measures the prediction difference between the raw and corrupted ones as perturbed prediction difference (PPD). Based on the PPD measurement, SSG reweights the high-confidence visual features and corresponding predictions, aiming to highlight the effect of SHS and STI factors during the test-time procedure. Furthermore, SSG takes both PPD and entropy into consideration to update the visual cache, aiming to maintain the stored sample with high entropy and generalizable factors. Extensive experimental results on out-of-distribution and cross-domain benchmark datasets demonstrate that our proposed SSG consistently outperforms previous state-of-the-art methods while also exhibiting promising computational efficiency.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhou2025trainingfree,
  title  = {Training-Free Test-Time Adaptation via Shape and Style Guidance for Vision-Language Models},
  author = {Sheng Zhou and M. Yin and Leiyu Sun and Shi-Cai Yang and Di Xie and Jiang Zhu},
  year   = {2025},
  doi    = {10.52202/085713-5115},
  url    = {https://doi.org/10.52202/085713-5115},
  journal = {Neural Information Processing Systems}
}

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/e40d8954dfb7aef055c5b29fb95c278b34aee4f0.svg)](https://codeofpaper.com/paper/e40d8954dfb7aef055c5b29fb95c278b34aee4f0)

Discussion