Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models
AI-generated Key Points
⚠The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.
- The paper proposes a method called Test-Time Prompt Tuning (TPT) to improve the zero-shot generalization capability of pre-trained vision-language models like CLIP.
- TPT can learn adaptive prompts on the fly with a single test sample, which addresses the limitation of training on domain-specific data and improves model's ability to generalize to unseen domains.
- TPT optimizes the prompt by minimizing entropy with confidence selection for image classification tasks, so that the model has consistent predictions across different augmented views of each test sample.
- TPT outperforms previous prompt tuning approaches that require additional task-specific training data in two scenarios: natural distribution shifts and cross-dataset generalization with unseen categories.
- TPT improves CLIP's zero-shot top-1 accuracy by 3.6% on average when evaluating generalization to natural distribution shifts.
- TPT performs on par with state-of-the-art approaches that use additional training data when evaluating cross dataset generalization with unseen categories.
- The proposed method has significant implications for real world applications where models need to generalize to new domains without access to large amounts of labeled data.
- Interested readers can find more information about the work and access code implementations on the authors' project page.
Authors: Manli Shu, Weili Nie, De-An Huang, Zhiding Yu, Tom Goldstein, Anima Anandkumar, Chaowei Xiao
Abstract: Pre-trained vision-language models (e.g., CLIP) have shown promising zero-shot generalization in many downstream tasks with properly designed text prompts. Instead of relying on hand-engineered prompts, recent works learn prompts using the training data from downstream tasks. While effective, training on domain-specific data reduces a model's generalization capability to unseen new domains. In this work, we propose test-time prompt tuning (TPT), a method that can learn adaptive prompts on the fly with a single test sample. For image classification, TPT optimizes the prompt by minimizing the entropy with confidence selection so that the model has consistent predictions across different augmented views of each test sample. In evaluating generalization to natural distribution shifts, TPT improves the zero-shot top-1 accuracy of CLIP by 3.6% on average, surpassing previous prompt tuning approaches that require additional task-specific training data. In evaluating cross-dataset generalization with unseen categories, TPT performs on par with the state-of-the-art approaches that use additional training data. Project page: https://azshue.github.io/TPT.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
⚠The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.
Assess the quality of the AI-generated content by voting
Score: 0
Why do we need votes?
Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
⚠The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.