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

STA-VPT:时空对齐的视觉提示微调

STA-VPT: SpatioTemporally Aligned Visual Prompt Tuning

Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));vivo Mobile Communication Co., Ltd.(维沃移动通信有限公司);Shenyang Institute of Automation, Chinese Academy of Sciences(中国科学院沈阳自动化研究所);Pengcheng Laboratory(鹏城实验室)

Wenjie Pei, Tongqi Xia, Qizhong Tan, Jiandong Tian, Guangming Lu, Jun Yu

AI总结:

针对现有视觉提示微调无法捕捉空间关系、缺乏细粒度提示能力的问题,提出时空对齐的视觉提示微调模型STA-VPT,通过空间/时空对齐的提示令牌实现个性化区域提示,提升提示性能。

摘要:

典型的视觉提示微调方法遵循源自自然语言处理(NLP)的序列建模范式,学习一组无序的参数化令牌作为视觉提示,然后将这些提示前缀添加到展平的图像表示中以实现模型适配。尽管这种序列提示范式已展现出巨大潜力,但它存在两个潜在局限:其一,以无序序列形式呈现的学习到的视觉提示,无法捕捉输入图像中对有效图像编码至关重要的底层空间关系;其二,所有提示令牌均发挥相同作用,对所有图像令牌执行无差别的提示,缺乏细粒度提示能力——即无法针对不同视觉令牌进行个性化提示,以捕捉特定区域的语义模式。本研究提出一种新颖的视觉提示范式STA-VPT模型,该模型学习用于图像提示的二维提示令牌图,或用于视频提示的三维令牌体积,确保与输入图像令牌图(或视频令牌体积)实现空间(或时空)对齐。这种对齐使视觉提示能够保留空间(或时空)结构,从而学习视觉输入内部的底层关系。此外,每个提示令牌作为专门的提示专家,被指定为仅对空间(或时空)对应的视觉令牌进行提示。因此,STA-VPT能够对不同时空区域执行个性化提示,通过遵循混合专家(MoE)原则对提示能力进行细粒度分配,有望提升提示性能。

英文摘要:

Typical methods for visual prompt tuning follow the sequential modeling paradigm originating from NLP, learning a sequence of unordered parameterized tokens as visual prompts, which are then prefixed to the flattened image representation for model adaptation. While such a sequential prompting paradigm has exhibited great promise, it presents two potential limitations. First, the learned visual prompts, presented in an unordered sequential form, are unable to capture the underlying spatial relations in the input image which are crucial for effective image encoding. Second, all prompt tokens serve the same role by performing uniform prompting for all image tokens without distinction, lacking fine-grained prompting capability\---i.e., individualized prompting for different visual tokens to capture region-specific semantic patterns. In this work, we introduce the \mymodel model (\emph{STA-VPT}), a novel visual prompting paradigm, which learns a two-dimensional prompt token map for image prompting or a three-dimensional token volume for video prompting, ensuring spatial (or spatiotemporal) alignment with the input image token map (or video token volume). This alignment enables the visual prompts to preserve the spatial (or spatiotemporal) structure, thereby learning the underlying relations within the visual input. Furthermore, each prompt token serves as a specialized prompting expert and is designated to exclusively prompt for the spatially (or spatiotemporally) corresponding visual tokens. Consequently, our \emph{STA-VPT} is capable of performing individualized prompting for different spatiotemporal regions, potentially improving the prompting performance through fine-grained allocation of prompting capacity, in line with mixture of experts (MoE) principles.

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

↑