Reproduce “AutoCLIP: Auto-tuning Zero-Shot Classifiers for Vision-Language Models” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Jan Hendrik Metzen, Piyapat Saranrittichai, Chaithanya Kumar Mummadi
A method developed by Bosch Center for Artificial Intelligence, AutoCLIP, dynamically tunes the influence of different prompt templates for each image during inference in zero-shot Vision-Language Model classification. This unsupervised approach consistently enhances accuracy by an average of 0.45 percentage points with minimal additional computational cost.
Key insights
- Dynamically weighting prompt templates based on their similarity to an individual image's embedding significantly improves zero-shot classification performance over uniform averaging.
- An efficient, unsupervised adaptation mechanism can be achieved entirely within the VLM's embedding space, avoiding costly encoder re-evaluation during inference.
- Controlling the entropy of prompt weights allows for automatic and robust step-size tuning, making the adaptation hyperparameter-free and suitable for true zero-shot scenarios.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.