Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Test-Time Low Rank Adaptation via Confidence Maximization for Zero-Shot Generalization of Vision-Language Models

About

The conventional modus operandi for adapting pre-trained vision-language models (VLMs) during test-time involves tuning learnable prompts, ie, test-time prompt tuning. This paper introduces Test-Time Low-rank adaptation (TTL) as an alternative to prompt tuning for zero-shot generalization of large-scale VLMs. Taking inspiration from recent advancements in efficiently fine-tuning large language models, TTL offers a test-time parameter-efficient adaptation approach that updates the attention weights of the transformer encoder by maximizing prediction confidence. The self-supervised confidence maximization objective is specified using a weighted entropy loss that enforces consistency among predictions of augmented samples. TTL introduces only a small amount of trainable parameters for low-rank adapters in the model space while keeping the prompts and backbone frozen. Extensive experiments on a variety of natural distribution and cross-domain tasks show that TTL can outperform other techniques for test-time optimization of VLMs in strict zero-shot settings. Specifically, TTL outperforms test-time prompt tuning baselines with a significant improvement on average. Our code is available at at https://github.com/Razaimam45/TTL-Test-Time-Low-Rank-Adaptation.

Raza Imam, Hanan Gani, Muhammad Huzaifa, Karthik Nandakumar• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-R
Top-1 Acc77.76
622
Image ClassificationFGVC
Accuracy63.99
140
Fine grained classificationEuroSAT
Accuracy39.02
138
Fine grained classificationAircraft
Top-1 Acc24.75
105
Image ClassificationImageNet A
Accuracy59
98
Medical Image SegmentationISIC 2018 (test)
Dice Score75.61
83
Fine grained classificationPets
Accuracy87.22
58
Fine grained classificationFood101
Top-1 Acc83.99
52
Fine-grained Image ClassificationUCF101
Accuracy67.3
47
Fine-grained Image ClassificationFlowers
Top-1 Accuracy66.38
43
Showing 10 of 24 rows

Other info

Follow for update