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

学习视觉提示以引导视觉Transformer的注意力

Learning Visual Prompts for Guiding the Attention of Vision Transformers

School of Computation, Information and Technology(计算、信息与技术学院);Technical University of Munich(慕尼黑工业大学);AI Innovation, Data:Lab Munich(慕尼黑人工智能创新数据实验室);Volkswagen AG(大众汽车集团);Department of Engineering Science(工程科学系);University of Oxford(牛津大学)

Razieh Rezaei, Masoud Jalili Sabet, Jindong Gu, Daniel Rueckert, Philip Torr, Ashkan Khakzar

AI总结:

本文提出一种自监督学习视觉提示的方法,通过将学习到的提示添加到输入图像中,无需标注或微调即可重定向预训练视觉Transformer的注意力,有效引导模型关注目标区域。

摘要:

视觉提示将视觉信息注入输入图像,以使模型适应特定的预测和任务。最近,手工制作的标记(如红圈)被证明可以引导模型关注图像上的目标区域。然而,这些标记仅在用包含这些标记的数据训练的模型上有效。此外,寻找这些提示需要猜测或对模型训练领域的先验知识。本研究通过提出学习视觉提示来引导视觉Transformer的注意力,从而规避了手动设计的限制。学习到的视觉提示被添加到任何输入图像时,会将预训练视觉Transformer的注意力重定向到其在图像上的空间位置。具体而言,该提示以自监督方式学习,无需标注,也无需微调视觉Transformer。我们的实验证明了所提出的基于优化的视觉提示策略在各种预训练视觉编码器上的有效性。

英文摘要:

Visual prompting infuses visual information into the input image to adapt models toward specific predictions and tasks. Recently, manually crafted markers such as red circles are shown to guide the model to attend to a target region on the image. However, these markers only work on models trained with data containing those markers. Moreover, finding these prompts requires guesswork or prior knowledge of the domain on which the model is trained. This work circumvents manual design constraints by proposing to learn the visual prompts for guiding the attention of vision transformers. The learned visual prompt, added to any input image would redirect the attention of the pre-trained vision transformer to its spatial location on the image. Specifically, the prompt is learned in a self-supervised manner without requiring annotations and without fine-tuning the vision transformer. Our experiments demonstrate the effectiveness of the proposed optimization-based visual prompting strategy across various pre-trained vision encoders.

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

↑