Fine-Grained Spatiotemporal Motion Alignment for Contrastive Video Representation Learning
Authors:
- Minghao ZhuMZMinghao Zhu
- Xiao LinXLXiao Lin
- Ronghao DangRDRonghao Dang
- Chengju LiuCLChengju Liu
- Qijun ChenQCQijun Chen
Preprint
Abstract
As the most essential property in a video, motion information is critical to a robust and generalized video representation. To inject motion dynamics, recent works have adopted frame difference as the source of motion information in video contrastive learning, considering the trade-off between quality and cost. However, existing works align motion features at the instance level, which suffers from spatial and temporal weak alignment across modalities. In this paper, we present a \textbf{Fi}ne-grained \textbf{M}otion \textbf{A}lignment (FIMA) framework, capable of introducing well-aligned and significant motion information. Specifically, we first develop a dense contrastive learning framework in the spatiotemporal domain to generate pixel-level motion supervision. Then, we design a motion decoder and a foreground sampling strategy to eliminate the weak alignments in terms of time and space. Moreover, a frame-level motion contrastive loss is presented to improve the temporal diversity of the motion features. Extensive experiments demonstrate that the representations learned by FIMA possess great motion-awareness capabilities and achieve state-of-the-art or competitive results on downstream tasks across UCF101, HMDB51, and Diving48 datasets. Code is available at \url{https://github.com/ZMHH-H/FIMA}.Keywords
All Related Versions
This publication has 3 references indexed in Scilit:
- TCLR: Temporal contrastive learning for video representationComputer Vision and Image Understanding, 2022
- An Improved Inter-Intra Contrastive Learning Framework on Self-Supervised Video RepresentationIEEE Transactions on Circuits and Systems for Video Technology, 2022
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019