Salvato in:
Dettagli Bibliografici
Autori principali: Zhou, Shuchang, Wei, Jiwei, He, Shiyuan, Zhou, Yuyang, Zhang, Chaoning, Zou, Jie, Xie, Ning, Yang, Yang
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2502.19777
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912301604405248
author Zhou, Shuchang
Wei, Jiwei
He, Shiyuan
Zhou, Yuyang
Zhang, Chaoning
Zou, Jie
Xie, Ning
Yang, Yang
author_facet Zhou, Shuchang
Wei, Jiwei
He, Shiyuan
Zhou, Yuyang
Zhang, Chaoning
Zou, Jie
Xie, Ning
Yang, Yang
contents Prompt tuning has become a popular strategy for adapting Vision-Language Models (VLMs) to zero/few-shot visual recognition tasks. Some prompting techniques introduce prior knowledge due to its richness, but when learnable tokens are randomly initialized and disconnected from prior knowledge, they tend to overfit on seen classes and struggle with domain shifts for unseen ones. To address this issue, we propose the InPK model, which infuses class-specific prior knowledge into the learnable tokens during initialization, thus enabling the model to explicitly focus on class-relevant information. Furthermore, to mitigate the weakening of class information by multi-layer encoders, we continuously reinforce the interaction between learnable tokens and prior knowledge across multiple feature levels. This progressive interaction allows the learnable tokens to better capture the fine-grained differences and universal visual concepts within prior knowledge, enabling the model to extract more discriminative and generalized text features. Even for unseen classes, the learned interaction allows the model to capture their common representations and infer their appropriate positions within the existing semantic structure. Moreover, we introduce a learnable text-to-vision projection layer to accommodate the text adjustments, ensuring better alignment of visual-text semantics. Extensive experiments on 11 recognition datasets show that InPK significantly outperforms state-of-the-art methods in multiple zero/few-shot image classification tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2502_19777
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle InPK: Infusing Prior Knowledge into Prompt for Vision-Language Models
Zhou, Shuchang
Wei, Jiwei
He, Shiyuan
Zhou, Yuyang
Zhang, Chaoning
Zou, Jie
Xie, Ning
Yang, Yang
Computer Vision and Pattern Recognition
Prompt tuning has become a popular strategy for adapting Vision-Language Models (VLMs) to zero/few-shot visual recognition tasks. Some prompting techniques introduce prior knowledge due to its richness, but when learnable tokens are randomly initialized and disconnected from prior knowledge, they tend to overfit on seen classes and struggle with domain shifts for unseen ones. To address this issue, we propose the InPK model, which infuses class-specific prior knowledge into the learnable tokens during initialization, thus enabling the model to explicitly focus on class-relevant information. Furthermore, to mitigate the weakening of class information by multi-layer encoders, we continuously reinforce the interaction between learnable tokens and prior knowledge across multiple feature levels. This progressive interaction allows the learnable tokens to better capture the fine-grained differences and universal visual concepts within prior knowledge, enabling the model to extract more discriminative and generalized text features. Even for unseen classes, the learned interaction allows the model to capture their common representations and infer their appropriate positions within the existing semantic structure. Moreover, we introduce a learnable text-to-vision projection layer to accommodate the text adjustments, ensuring better alignment of visual-text semantics. Extensive experiments on 11 recognition datasets show that InPK significantly outperforms state-of-the-art methods in multiple zero/few-shot image classification tasks.
title InPK: Infusing Prior Knowledge into Prompt for Vision-Language Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2502.19777