Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Efficient and Context-Aware Label Propagation for Zero-/Few-Shot Training-Free Adaptation of Vision-Language Model

About

Vision-language models (VLMs) have revolutionized machine learning by leveraging large pre-trained models to tackle various downstream tasks. Although label, training, and data efficiency have improved, many state-of-the-art VLMs still require task-specific hyperparameter tuning and fail to fully exploit test samples. To overcome these challenges, we propose a graph-based approach for label-efficient adaptation and inference. Our method dynamically constructs a graph over text prompts, few-shot examples, and test samples, using label propagation for inference without task-specific tuning. Unlike existing zero-shot label propagation techniques, our approach requires no additional unlabeled support set and effectively leverages the test sample manifold through dynamic graph expansion. We further introduce a context-aware feature re-weighting mechanism to improve task adaptation accuracy. Additionally, our method supports efficient graph expansion, enabling real-time inductive inference. Extensive evaluations on downstream tasks, such as fine-grained categorization and out-of-distribution generalization, demonstrate the effectiveness of our approach. The source code is available at https://github.com/Yushu-Li/ECALP.

Yushu Li, Yongyi Su, Adam Goodge, Kui Jia, Xun Xu• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10C Severity Level 5 (test)
Average Error Rate (Severity 5)63.96
62
Image ClassificationCIFAR-100-C v1 (test)
Error Rate (Average)32.85
60
Image ClassificationImageNet-C 1.0 (test)--
53
Image ClassificationAverage 11 datasets--
52
Image ClassificationCIFAR-100C Level 5 (test)
Gaussian Acc23.15
45
Image ClassificationCIFAR-100-C
Accuracy (Corruption)50.73
44
Image ClassificationImageNet-C Severity 5 (test)
Error Rate (Gaussian)13.34
42
Image ClassificationCIFAR-10-C v1 (test)--
28
Image ClassificationCIFAR10-C
Acc (Gauss)70.41
13
Image ClassificationImageNet-C
Gaussian Blur Error Rate29.48
13
Showing 10 of 11 rows

Other info

Follow for update