[Paper Review] Meta-Adapter: An Online Few-shot Learner for Vision-Language Model
Meta-Adapter presents a lightweight online few-shot learner for CLIP that refines category embeddings with a gated multi-head attention-based meta-adapter, achieving better generalization and efficiency than prior online methods without fine-tuning.
The contrastive vision-language pre-training, known as CLIP, demonstrates remarkable potential in perceiving open-world visual concepts, enabling effective zero-shot image recognition. Nevertheless, few-shot learning methods based on CLIP typically require offline fine-tuning of the parameters on few-shot samples, resulting in longer inference time and the risk of over-fitting in certain domains. To tackle these challenges, we propose the Meta-Adapter, a lightweight residual-style adapter, to refine the CLIP features guided by the few-shot samples in an online manner. With a few training samples, our method can enable effective few-shot learning capabilities and generalize to unseen data or tasks without additional fine-tuning, achieving competitive performance and high efficiency. Without bells and whistles, our approach outperforms the state-of-the-art online few-shot learning method by an average of 3.6\% on eight image classification datasets with higher inference speed. Furthermore, our model is simple and flexible, serving as a plug-and-play module directly applicable to downstream tasks. Without further fine-tuning, Meta-Adapter obtains notable performance improvements in open-vocabulary object detection and segmentation tasks.
Motivation & Objective
- Motivate robust few-shot learning for vision-language models without offline fine-tuning.
- Introduce a lightweight Meta-Adapter that refines textual category embeddings using few-shot visual support.
- Improve generalization across datasets, tasks, and distribution shifts while maintaining efficiency.
- Demonstrate applicability as a plug-and-play module for downstream CLIP-based tasks.
Proposed method
- Propose a Meta-Adapter based on gated multi-head attention that uses textual category embeddings as queries and few-shot visual supports as keys/values.
- Compute refined category embeddings via a cross-attention and a learnable gating block that modulates the update strength (ŵ = w + g(w) ⊙ F̂).
- Aggregate support features F̂ through cross-attention with a simple MLP-based query/key pathway, without altering value transforms.
- Maintain zero-shot capabilities by not transforming value features and keeping a lightweight residual structure.
- Replace handcrafted modulation in Tip-Adapter with a learnable, meta-tested module that adapts to data distributions without explicit hyper-parameter search.

Experimental results
Research questions
- RQ1Can a learnable, online meta-adapter improve few-shot CLIP performance without fine-tuning across diverse datasets?
- RQ2Does replacing handcrafted modulation with a trainable module reduce over-fitting and improve cross-dataset and cross-task generalization?
- RQ3How does Meta-Adapter perform on open-vocabulary downstream tasks like object detection and segmentation compared to online baselines?
- RQ4What is the impact of model size and components (MHA, VP, LGB) on performance and efficiency?
Key findings
- Meta-Adapter achieves an average of 3.6% absolute gains over Tip-Adapter on novel classes across eight 16-shot image classification datasets.
- Meta-Adapter shows higher gains as shots increase, and improves over Tip-Adapter on ImageNet pre-trained backbones across multiple datasets.
- On open-vocabulary object detection (LVIS) with ViLD, Meta-Adapter provides 1.0% absolute gains on rare-category AP without extra fine-tuning.
- Across cross-dataset and cross-task settings, Meta-Adapter demonstrates better generalization and transferability than Tip-Adapter and other baselines.
- Compared with offline methods, Meta-Adapter delivers strong generalization on novel classes without requiring fine-tuning, and maintains efficiency.
![(b) Top-1 accuracy on ImageNet [ 29 ] -Novel.](https://ar5iv.labs.arxiv.org/html/2311.03774/assets/x2.png)
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.