Contrastive Spatio-Temporal Pretext Learning for Self-supervised Video Representation

Yujia Zhang, Lai-Man Po, Xuyuan Xu, Mengyang Liu, Yexin Wang +3 more
12/16/2021
cs.CV
contrastive-ssl

Official code: KT27-A/CSTP (10 stars, Python, last commit 2022-05-05).

Abstract

Spatio-temporal representation learning is critical for video self-supervised representation. Recent approaches mainly use contrastive learning and pretext tasks.

Show full abstract

However, these approaches learn representation by discriminating sampled instances via feature similarity in the latent space while ignoring the intermediate state of the learned representations, which limits the overall performance. In this work, taking into account the degree of similarity of sampled instances as the intermediate state, we propose a novel pretext task - spatio-temporal overlap rate (STOR) prediction. It stems from the observation that humans are capable of discriminating the overlap rates of videos in space and time. This task encourages the model to discriminate the STOR of two generated samples to learn the representations. Moreover, we employ a joint optimization combining pretext tasks with contrastive learning to further enhance the spatio-temporal representation learning. We also study the mutual influence of each component in the proposed scheme. Extensive experiments demonstrate that our proposed STOR task can favor both contrastive learning and pretext tasks. The joint optimization scheme can significantly improve the spatio-temporal representation in video understanding. The code is available at https://github.com/Katou2/CSTP.

View on arXivView PDF

Code Implementations(1)

KT27-A/CSTPOfficial100%

The code for paper "Contrastive Spatio-Temporal Pretext Learning for Self-supervised Video Representation" which is accepted by AAAI 2022

100Python, ShellDec 15, 20214 years ago

Similar Papers

Cite this paper

@article{zhang2021contrastive,
  title  = {Contrastive Spatio-Temporal Pretext Learning for Self-supervised Video Representation},
  author = {Yujia Zhang and Lai-Man Po and Xuyuan Xu and Mengyang Liu and Yexin Wang and Weifeng Ou and Yuzhi Zhao and Wing-Yin Yu},
  year   = {2021},
  eprint = {2112.08913},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.08913}
}

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/2112.08913.svg)](https://codeofpaper.com/paper/2112.08913)

Discussion