Fine-Grained Spatiotemporal Motion Alignment for Contrastive Video Representation Learning

Minghao Zhu, Xiao Lin, Ronghao Dang, Chengju Liu, Qijun Chen
9/1/2023
cs.CV

Official code: ZMHH-H/FIMA (6 stars, Apache-2.0, last commit 2023-11-10).

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}.

View on arXivView PDF

Code Implementations(1)

ZMHH-H/FIMAOfficial100%
Apache-2.0

[MM' 2023] Fine-Grained Spatiotemporal Motion Alignment for Contrastive Video Representation Learning

60Shell, PythonAug 4, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhu2023finegrained,
  title  = {Fine-Grained Spatiotemporal Motion Alignment for Contrastive Video Representation Learning},
  author = {Minghao Zhu and Xiao Lin and Ronghao Dang and Chengju Liu and Qijun Chen},
  year   = {2023},
  eprint = {2309.00297},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.00297v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.00297.svg)](https://codeofpaper.com/paper/2309.00297)

Discussion