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

DGL:面向文本-视频检索的动态全局-局部提示调优

DGL: Dynamic Global-Local Prompt Tuning for Text-Video Retrieval

University of Technology Sydney(悉尼科技大学);Zhejiang University(浙江大学)

Xiangpeng Yang, Linchao Zhu, Xiaohan Wang, Yi Yang

AI总结:

针对文本-视频检索中提示调优缺乏全局视频信息且跨模态交互不足的问题,本文提出 DGL,通过共享潜在空间生成跨模态提示并结合全局-局部视频注意力,仅调优 0.67% 参数即取得优于或媲美全面微调的性能。

摘要:

文本-视频检索是一项关键的多模态任务,旨在为文本查询找到最相关的视频。尽管 CLIP 等预训练模型已在该领域展现出令人瞩目的潜力,但随着模型规模不断增大,全面微调这些模型的成本持续上升,仍是一个难题。为应对这一挑战,提示调优作为一种替代方案应运而生。然而,在将预训练图像-文本模型适配到下游视频-文本任务时,现有工作仍面临两个问题:(1)视觉编码器只能编码帧级特征,无法提取全局层面的通用视频信息;(2)为视觉编码器和文本编码器配备彼此分离的提示,未能缓解视觉-文本模态鸿沟。为此,我们提出 DGL,这是一种具有全局-局部视频注意力的跨模态动态提示调优方法。与以往的提示调优方法不同,我们采用共享潜在空间来生成局部级别的文本提示和帧提示,以促进模态间交互。此外,我们提出以全局-局部注意力机制对视频进行建模,从提示调优的角度捕捉全局视频信息。大量实验表明,在仅调优 0.67% 参数的情况下,我们的跨模态提示调优策略 DGL 在 MSR-VTT、VATEX、LSMDC 和 ActivityNet 数据集上优于或可媲美全面微调方法。代码将在 https://github.com/knightyxp/DGL 提供。

英文摘要:

Text-video retrieval is a critical multi-modal task to find the most relevant video for a text query. Although pretrained models like CLIP have demonstrated impressive potential in this area, the rising cost of fully finetuning these models due to increasing model size continues to pose a problem. To address this challenge, prompt tuning has emerged as an alternative. However, existing works still face two problems when adapting pretrained image-text models to downstream video-text tasks: (1) The visual encoder could only encode frame-level features and failed to extract global-level general video information. (2) Equipping the visual and text encoder with separated prompts failed to mitigate the visual-text modality gap. To this end, we propose DGL, a cross-modal Dynamic prompt tuning method with Global-Local video attention. In contrast to previous prompt tuning methods, we employ the shared latent space to generate local-level text and frame prompts that encourage inter-modal interaction. Furthermore, we propose modeling video in a global-local attention mechanism to capture global video information from the perspective of prompt tuning. Extensive experiments reveal that when only 0.67% parameters are tuned, our cross-modal prompt tuning strategy DGL outperforms or is comparable to fully finetuning methods on MSR-VTT, VATEX, LSMDC, and ActivityNet datasets. Code will be available at https://github.com/knightyxp/DGL

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

↑