arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.05949cs.CV
收藏

AttriPrompt:面向CLIP的动态提示组合学习

AttriPrompt: Dynamic Prompt Composition Learning for CLIP

Beihang University(北京航空航天大学);Hangzhou Innovation Institute(杭州创新院)

Qiqi Zhan, Shiwei Li, Qingjie Liu, Yunhong Wang

AI总结:

针对深度文本提示方法忽视细粒度特征和静态提示的局限,提出AttriPrompt框架,利用CLIP视觉中间层特征检索属性提示并引入双流对比学习与自正则化,在三个基准上实现最高7.37%的性能提升。

摘要:

提示学习方法的演进推动了更深层提示设计的探索,以提升模型性能。然而,当前的深度文本提示方法存在两个关键局限:过度依赖对比学习目标,该目标优先考虑高层语义对齐,而忽略了细粒度特征优化;以及所有输入类别使用静态提示,无法实现内容感知的自适应。为解决这些局限,我们提出了AttriPrompt——一种新颖的框架,通过利用CLIP视觉编码器的中间层特征来增强和细化文本语义表示。我们设计了一个属性检索模块,该模块首先对每一层的视觉特征进行聚类。聚合后的视觉特征从提示池中检索语义相似的提示,然后将这些提示拼接至文本编码器每一层的输入。利用嵌入在提示文本特征中的层级视觉信息,我们引入了双流对比学习以实现细粒度对齐。此外,我们引入了一种自正则化机制,通过在提示文本特征与非提示文本特征之间施加显式正则化约束,以防止在有限训练数据上过拟合。在三个基准上的大量实验表明,AttriPrompt优于现有最先进方法,在基类到新类设置中实现了高达7.37%的提升。我们方法在跨域知识迁移中展现出的优势,使得视觉-语言预训练模型成为更可行的现实世界部署方案。

英文摘要:

The evolution of prompt learning methodologies has driven exploration of deeper prompt designs to enhance model performance. However, current deep text prompting approaches suffer from two critical limitations: Over-reliance on constrastive learning objectives that prioritize high-level semantic alignment, neglecting fine-grained feature optimization; Static prompts across all input categories, preventing content-aware adaptation. To address these limitations, we propose AttriPrompt-a novel framework that enhances and refines textual semantic representations by leveraging the intermediate-layer features of CLIP's vision encoder. We designed an Attribute Retrieval module that first clusters visual features from each layer. The aggregated visual features retrieve semantically similar prompts from a prompt pool, which are then concatenated to the input of every layer in the text encoder. Leveraging hierarchical visual information embedded in prompted text features, we introduce Dual-stream Contrastive Learning to realize fine-grained alignment. Furthermore, we introduce a Self-Regularization mechanism by applying explicit regularization constraints between the prompted and non-prompted text features to prevent overfitting on limited training data. Extensive experiments across three benchmarks demonstrate AttriPrompt's superiority over state-of-the-art methods, achieving up to 7.37\% improvement in the base-to-novel setting. The observed strength of our method in cross-domain knowledge transfer positions vision-language pre-trained models as more viable solutions for real-world implementation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑