MILES: Visual BERT Pre-training with Injected Language Semantics for Video-text Retrieval

26 Apr 2022  ·  Yuying Ge, Yixiao Ge, Xihui Liu, Alex Jinpeng Wang, Jianping Wu, Ying Shan, XiaoHu Qie, Ping Luo ·

Dominant pre-training work for video-text retrieval mainly adopt the "dual-encoder" architectures to enable efficient retrieval, where two separate encoders are used to contrast global video and text representations, but ignore detailed local semantics. The recent success of image BERT pre-training with masked visual modeling that promotes the learning of local visual context, motivates a possible solution to address the above limitation. In this work, we for the first time investigate masked visual modeling in video-text pre-training with the "dual-encoder" architecture. We perform Masked visual modeling with Injected LanguagE Semantics (MILES) by employing an extra snapshot video encoder as an evolving "tokenizer" to produce reconstruction targets for masked video patch prediction. Given the corrupted video, the video encoder is trained to recover text-aligned features of the masked patches via reasoning with the visible regions along the spatial and temporal dimensions, which enhances the discriminativeness of local visual features and the fine-grained cross-modality alignment. Our method outperforms state-of-the-art methods for text-to-video retrieval on four datasets with both zero-shot and fine-tune evaluation protocols. Our approach also surpasses the baseline models significantly on zero-shot action recognition, which can be cast as video-to-text retrieval.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Zero-Shot Video Retrieval DiDeMo MILES text-to-video R@1 27.2 # 17
text-to-video R@5 50.3 # 19
text-to-video R@10 63.6 # 17
text-to-video Median Rank 5.0 # 4
Zero-Shot Video Retrieval LSMDC MILES text-to-video R@1 11.1 # 13
text-to-video R@5 24.7 # 13
text-to-video R@10 30.6 # 13
text-to-video Median Rank 50.7 # 4
Zero-Shot Video Retrieval MSR-VTT MILES text-to-video R@1 26.1 # 21
text-to-video R@5 47.2 # 22
text-to-video R@10 56.9 # 22
text-to-video Median Rank 7 # 5
Zero-Shot Video Retrieval MSVD MILES text-to-video R@1 44.4 # 7
text-to-video R@5 76.2 # 7
text-to-video R@10 87.0 # 5
text-to-video Median Rank 2.0 # 3

Methods