arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.14640cs.CVcs.AIcs.LG
收藏

自适应提示调优:基于交叉注意力的视觉引导提示调优用于细粒度少样本学习

Adaptive Prompt Tuning: Vision Guided Prompt Tuning with Cross-Attention for Fine-Grained Few-Shot Learning

Faculty of Science and Engineering, University of Groningen(格罗宁根大学科学与工程学院);TNO(荷兰国防技术研究院)

Eric Brouwer, Jan Erik van Woerden, Gertjan Burghouts, Matias Valdenegro-Toro, Marco Zullich

AI总结:

提出基于交叉注意力的自适应提示调优方法,利用视觉输入动态优化CLIP文本提示,提升少样本细粒度分类性能,并集成蒙特卡洛Dropout增强预测可靠性。

摘要:

计算机视觉中的少样本细粒度分类因需要在有限数据下区分细微类别差异而面临重大挑战。本文提出了一种新颖方法,通过自适应提示调优增强对比语言-图像预训练(CLIP)模型,并由实时视觉输入引导。与现有技术如上下文优化(CoOp)和视觉提示调优(VPT)受静态提示或视觉令牌依赖限制不同,所提方法利用交叉注意力机制动态细化针对当前图像的文本提示。这使得文本特征与从视觉Transformer提取的图像块实现图像特定的对齐,使模型对类内方差高、类间差异小的数据集更有效。该方法在多个数据集上进行了评估,包括CUBirds、Oxford Flowers和FGVC Aircraft,显示出相对于静态提示调优方法的显著性能提升。为确保这些性能提升转化为可信的预测,我们在方法中集成了蒙特卡洛Dropout,以提高模型预测和不确定性估计的可靠性。这种集成提供了对模型预测置信度的宝贵见解,有助于识别何时可以信任预测以及何时需要额外验证。这种动态方法提供了稳健的解决方案,推动了少样本细粒度分类的最先进水平。

英文摘要:

Few-shot, fine-grained classification in computer vision poses significant challenges due to the need to differentiate subtle class distinctions with limited data. This paper presents a novel method that enhances the Contrastive Language-Image Pre-Training (CLIP) model through adaptive prompt tuning, guided by real-time visual inputs. Unlike existing techniques such as Context Optimization (CoOp) and Visual Prompt Tuning (VPT), which are constrained by static prompts or visual token reliance, the proposed approach leverages a cross-attention mechanism to dynamically refine text prompts for the image at hand. This enables an image-specific alignment of textual features with image patches extracted from the Vision Transformer, making the model more effective for datasets with high intra-class variance and low inter-class differences. The method is evaluated on several datasets, including CUBirds, Oxford Flowers, and FGVC Aircraft, showing significant performance gains over static prompt tuning approaches. To ensure these performance gains translate into trustworthy predictions, we integrate Monte-Carlo Dropout in our approach to improve the reliability of the model predictions and uncertainty estimates. This integration provides valuable insights into the model's predictive confidence, helping to identify when predictions can be trusted and when additional verification is necessary. This dynamic approach offers a robust solution, advancing the state-of-the-art for few-shot fine-grained classification.

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

↑