On the test-time zero-shot generalization of vision-language models: Do we really need prompt learning?
Authors:
- Maxime ZanellaMZMaxime Zanella
- Ismail Ben AyedIAIsmail Ben Ayed
Preprint
Abstract
The development of large vision-language models, notably CLIP, has catalyzed research into effective adaptation techniques, with a particular focus on soft prompt tuning. Conjointly, test-time augmentation, which utilizes multiple augmented views of a single image to enhance zero-shot generalization, is emerging as a significant area of interest. This has predominantly directed research efforts toward test-time prompt tuning. In contrast, we introduce a robust MeanShift for Test-time Augmentation (MTA), which surpasses prompt-based methods without requiring this intensive training procedure. This positions MTA as an ideal solution for both standalone and API-based applications. Additionally, our method does not rely on ad hoc rules (e.g., confidence threshold) used in some previous test-time augmentation techniques to filter the augmented views. Instead, MTA incorporates a quality assessment variable for each view directly into its optimization process, termed as the inlierness score. This score is jointly optimized with a density mode seeking process, leading to an efficient training- and hyperparameter-free approach. We extensively benchmark our method on 15 datasets and demonstrate MTA's superiority and computational efficiency. Deployed easily as plug-and-play module on top of zero-shot models and state-of-the-art few-shot methods, MTA shows systematic and consistent improvements.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- A Comprehensive Survey on Test-Time Adaptation Under Distribution ShiftsInternational Journal of Computer Vision, 2024
- Vision-Language Models for Vision Tasks: A SurveyIEEE Transactions on Pattern Analysis and Machine Intelligence, 2024
- CLIP-Adapter: Better Vision-Language Models with Feature AdaptersInternational Journal of Computer Vision, 2023
- A Comprehensive Survey of Few-shot Learning: Evolution, Applications, Challenges, and OpportunitiesACM Computing Surveys, 2023
- The Gradient of Generative AI Release: Methods and Considerations2023
- Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language ProcessingACM Computing Surveys, 2023
- Transductive Learning for Textual Few-Shot Classification in API-based Embedding Models2023
- Multimodal Neurons in Artificial Neural NetworksDistill, 2021
- The Power of Scale for Parameter-Efficient Prompt Tuning2021
- SUN database: Large-scale scene recognition from abbey to zoo2010