Plug-and-play Class-aware Knowledge Injection for Prompt Learning with Visual-Language Model
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
Prompt learning has become an effective and widely used technique in enhancing vision-language models (VLMs) such as CLIP for various downstream tasks, particularly in zero-shot classification within specific domains. Existing methods typically focus on either learning class-shared prompts for a given domain or generating instance-specific prompts through conditional prompt learning. While these methods have achieved promising performance, they often overlook class-specific knowledge in prompt design, leading to suboptimal outcomes. The underlying reasons are: 1) class-specific prompts offer more fine-grained supervision compared to coarse class-shared prompts, which helps prevent misclassification of data from different classes into a single class; 2) compared to class-specific prompts, instance-specific prompts neglect the richer class-level information across multiple instances, potentially causing data from the same class to be divided into multiple classes. To effectively supplement the class-specific knowledge into existing methods, we propose a plug-and-play Class-Aware Knowledge Injection (CAKI) framework. CAKI comprises two key components, i.e., class-specific prompt generation and query-key prompt matching. The former encodes class-specific knowledge into prompts from few-shot samples that belong to the same class and stores the learned prompts in a class-level knowledge bank. The latter provides a plug-and-play mechanism for each test instance to retrieve relevant class-level knowledge from the knowledge bank and inject such knowledge to refine model predictions. Extensive experiments demonstrate that our CAKI effectively improves the performance of existing methods on base and novel classes. Code is publicly available at hrefhttps://github.com/yjh576/CAKIthis https URL.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 32 of its 42 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
32 of 42 references.
Closest ancestors · 13
Same direction, newest first
- 2024GalLoP: Learning Global and Local Prompts for Vision-Language Models1 Jul
- 2024PromptSync: Bridging Domain Gaps in Vision-Language Models through Class-Aware Prototype Alignment and Discrimination11 Apr
- 2024Efficient Test-Time Adaptation of Vision-Language Models27 Mar
- 2023TCP:Textual-based Class-aware Prompt tuning for Visual-Language Model30 Nov
- 2023Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization2 Nov
- 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning11 Aug
- 2022Unified Vision and Language Prompt Learning13 Oct
- 2022UniCLIP: Unified Framework for Contrastive Language-Image Pre-training27 Sep
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
- 2022Conditional Prompt Learning for Vision-Language Models10 Mar
- 2021Tip-Adapter: Training-free CLIP-Adapter for Better Vision-Language Modeling6 Nov
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapters9 Oct
1 more
Other references · 19
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2013Describing Textures in the Wildcited by 2,110
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2022Visual Prompt Tuningcited by 1,674
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2021Learning to Prompt for Continual Learningcited by 938
- 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
7 more
- 2022MaPLe: Multi-modal Prompt Learningcited by 685
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 353
- 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
- 2017Unbounded cache model for online language modeling with open vocabularycited by 37
- 2025Learning to Adapt Frozen CLIP for Few-Shot Test-Time Domain Adaptationcited by 14
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023Knowledge-Aware Prompt Tuning for Generalizable Vision-Language Models
- 2025InPK: Infusing Prior Knowledge into Prompt for Vision-Language Models
- 2024Improving Zero-shot Generalization of Learned Prompts via Unsupervised Knowledge Distillation
- 2024Active Prompt Learning with Vision-Language Model Priors
- 2024PromptKD: Unsupervised Prompt Distillation for Vision-Language Models
- 2025Accelerating Conditional Prompt Learning via Masked Image Modeling for Vision-Language Models
- 2024Learning to Prompt with Text Only Supervision for Vision-Language Models
- 2025Replication Study: Federated Text-Driven Prompt Generation for Vision-Language Models