GMMFormer: Gaussian-Mixture-Model Based Transformer for Efficient Partially Relevant Video Retrieval
Yuting Wang, Jinpeng Wang, Bin Chen, Ziyun Zeng, Shu-Tao Xia
TL;DR
GMMFormer tackles partially relevant video retrieval by replacing costly explicit clip scanning with implicit clip modeling using multi-scale Gaussian blocks within a Transformer architecture. A Gaussian-Mixture-Model constraint focuses frame interactions on nearby frames to encode multi-length clip information, while a novel query-diverse loss preserves semantic distinctions among text queries tied to the same video. The approach achieves state-of-the-art results on TVR, ActivityNet Captions, and Charades-STA, with substantial efficiency gains over prior methods. This combination of accuracy and efficiency enhances PRVR applicability in real-world video search scenarios.
Abstract
Given a text query, partially relevant video retrieval (PRVR) seeks to find untrimmed videos containing pertinent moments in a database. For PRVR, clip modeling is essential to capture the partial relationship between texts and videos. Current PRVR methods adopt scanning-based clip construction to achieve explicit clip modeling, which is information-redundant and requires a large storage overhead. To solve the efficiency problem of PRVR methods, this paper proposes GMMFormer, a Gaussian-Mixture-Model based Transformer which models clip representations implicitly. During frame interactions, we incorporate Gaussian-Mixture-Model constraints to focus each frame on its adjacent frames instead of the whole video. Then generated representations will contain multi-scale clip information, achieving implicit clip modeling. In addition, PRVR methods ignore semantic differences between text queries relevant to the same video, leading to a sparse embedding space. We propose a query diverse loss to distinguish these text queries, making the embedding space more intensive and contain more semantic information. Extensive experiments on three large-scale video datasets (i.e., TVR, ActivityNet Captions, and Charades-STA) demonstrate the superiority and efficiency of GMMFormer. Code is available at \url{https://github.com/huangmozhi9527/GMMFormer}.
