arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.00414cs.CVcs.MM
收藏

视觉-语言模型学习超级图像以实现高效的部分相关视频检索

Vision-Language Models Learn Super Images for Efficient Partially Relevant Video Retrieval

LY Corporation(LY公司)

Taichi Nishimura, Shota Nakada, Masayoshi Kondo

AI总结:

针对部分相关长视频检索中密集帧编码计算成本高的问题,提出基于超级图像的QASIR方法,通过零样本、微调及混合模式实现VLM的高效检索,平衡性能与计算开销。

摘要:

本文提出了一种高效且高性能的部分相关视频检索方法,该任务旨在检索包含至少一个与输入文本查询相关片段的长视频。该任务的挑战在于使用视觉骨干网络编码密集帧,这要求模型处理数量增多的帧,导致长视频的计算成本极高。为降低成本,已有研究采用轻量级视觉骨干网络,但由于其能力有限,检索性能欠佳。然而,直接用高性能的大型视觉-语言模型(VLM)替换骨干网络也不可取,因为这类模型效率低下。为解决这一矛盾,我们不再聚焦密集帧,转而关注超级图像——即将视频帧以$N \times N$网格布局重新排列生成的图像。这一做法将视觉编码的数量减少至原来的$\frac{1}{N^2}$,缓解了大型VLM的低效率问题。基于这一思路,我们做出两项贡献。第一,我们探究了VLM在零样本设置下能否泛化到超级图像。为此,我们提出了名为查询注意力超级图像检索(QASIR)的方法,该方法可关注与输入查询相关的部分片段。零样本QASIR带来两个发现:(1)它使VLM能够泛化到超级图像;(2)网格大小$N$、图像分辨率和VLM规模是性能与计算成本之间的关键权衡参数。第二,我们引入了微调QASIR以及结合高效与低效率模型的混合QASIR,以在性能和计算成本之间取得平衡。这揭示了两个结论:(1)微调QASIR可增强VLM有效学习超级图像的能力;(2)混合QASIR在降低计算成本的同时,将大型VLM的性能下降幅度降至最低。

英文摘要:

In this paper, we propose an efficient and high-performance method for partially relevant video retrieval, which aims to retrieve long videos that contain at least one moment relevant to the input text query. The challenge lies in encoding dense frames using visual backbones. This requires models to handle the increased frames, resulting in significant computation costs for long videos. To mitigate the costs, previous studies use lightweight visual backbones, yielding sub-optimal retrieval performance due to their limited capabilities. However, it is undesirable to simply replace the backbones with high-performance large vision-and-language models (VLMs) due to their low efficiency. To address this dilemma, instead of dense frames, we focus on super images, which are created by rearranging the video frames in an $N \times N$ grid layout. This reduces the number of visual encodings to $\frac{1}{N^2}$ and mitigates the low efficiency of large VLMs. Based on this idea, we make two contributions. First, we explore whether VLMs generalize to super images in a zero-shot setting. To this end, we propose a method called query-attentive super image retrieval (QASIR), which attends to partial moments relevant to the input query. The zero-shot QASIR yields two discoveries: (1) it enables VLMs to generalize to super images and (2) the grid size $N$, image resolution, and VLM size are key trade-off parameters between performance and computation costs. Second, we introduce fine-tuning and hybrid QASIR that combines high- and low-efficiency models to strike a balance between performance and computation costs. This reveals two findings: (1) the fine-tuning QASIR enhances VLMs to learn super images effectively, and (2) the hybrid QASIR minimizes the performance drop of large VLMs while reducing the computation costs.

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

↑