Noise-Tolerant Few-Shot Unsupervised Adapter for Vision-Language Models
Eman Ali, Muhammad Haris Khan
TL;DR
NtUA tackles unsupervised adaptation of vision-language models to target domains with limited unlabeled data by building a weighted key-value cache of CLIP features and pseudo-labels, where weights reflect pseudo-label confidence. It introduces two stages—adaptive cache formation and knowledge-guided cache refinement—using CLIP-distilled predictions from a larger model (ViT-L/14) to update cache values and weights, complemented by a prototype-affinity loss to emphasize reliable signals. Across 11 datasets in a 16-shot setting, NtUA consistently outperforms zero-shot CLIP and several unsupervised baselines, while remaining computationally efficient. This work enables scalable, noise-tolerant adaptation of vision-language models in real-world tasks with scarce labeled data, including domains like medical imaging and specialized translation, where labeled data is hard to obtain.
Abstract
Recent advances in large-scale vision-language models have achieved impressive performance in various zero-shot image classification tasks. While prior studies have demonstrated significant improvements by introducing few-shot labelled target samples, they still require labelling of target samples, which greatly degrades their scalability and generalizability while handling various visual recognition tasks. We design NtUA, a Noise-tolerant Unsupervised Adapter that allows the learning of effective target models with few unlabelled target samples. NtUA works as a key-value cache that formulates visual features and predicted pseudo-labels of the few unlabelled target samples as key-value pairs. It consists of two complementary designs. The first is adaptive cache formation that combats pseudo-label noises by weighting the key-value pairs according to their prediction confidence. The second is knowledge-guided cache refinement, which refines pair values (i.e., pseudo-labels) and cache weights by leveraging knowledge distillation from large-scale vision language models. Extensive experiments show that NtUA achieves superior performance consistently across multiple widely adopted benchmarks.
