Litcius/Paper detail

X-Pool: Cross-Modal Language-Video Attention for Text-Video Retrieval

Satya Krishna Gorti, Noël Vouitsis, Junwei Ma, Keyvan Golestan, Maksims Volkovs, Animesh Garg, Guangwei Yu

20222022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)204 citationsDOI

Abstract

In text-video retrieval, the objective is to learn a cross-modal similarity function between a text and a video that ranks relevant text-video pairs higher than irrelevant pairs. However, videos inherently express a much wider gamut of information than texts. Instead, texts often capture sub-regions of entire videos and are most semantically similar to certain frames within videos. Therefore, for a given text, a retrieval model should focus on the text's most semantically similar video sub-regions to make a more relevant comparison. Yet, most existing works aggregate entire videos with-out directly considering text. Common text-agnostic ag-gregations schemes include mean-pooling or self-attention over the frames, but these are likely to encode misleading vi-sual information not described in the given text. To address this, we propose a cross-modal attention model called X-Pool that reasons between a text and the frames of a video. Our core mechanism is a scaled dot product attention for a text to attend to its most semantically similar frames. We then generate an aggregated video representation conditioned on the text's attention weights over the frames. We evaluate our method on three benchmark datasets of MSR-VTT, MSVD and LSMDC, achieving new state-of-the-art re-sults by up to 12% in relative improvement in Recall@ 1. Our findings thereby highlight the importance of joint text-video reasoning to extract important visual cues according to text. Full code and demo can be found at: layer6ai-labs.github.iolxpooll.

Topics & Concepts

Computer scienceFocus (optics)Information retrievalRepresentation (politics)ENCODEPoolingRecallNatural language processingArtificial intelligenceSimilarity (geometry)Text retrievalCode (set theory)Function (biology)Image (mathematics)LinguisticsEvolutionary biologyBiochemistryOpticsPhysicsProgramming languagePolitical sciencePhilosophySet (abstract data type)BiologyPoliticsChemistryLawGeneMultimodal Machine Learning ApplicationsHuman Pose and Action RecognitionVideo Analysis and Summarization
X-Pool: Cross-Modal Language-Video Attention for Text-Video Retrieval | Litcius