Temporal Context Aggregation for Video Retrieval with Contrastive Learning

Jie Shao, Xin Wen, Bingchen Zhao, Xiangyang Xue
8/4/2020
cs.CVcs.LGcs.MM
contrastive-ssl

Official code: xwen99/temporal_context_aggregation (29 stars, Python, Apache-2.0, last commit 2021-08-04).

Abstract

The current research focus on Content-Based Video Retrieval requires higher-level video representation describing the long-range semantic dependencies of relevant incidents, events, etc. However, existing methods commonly process the frames of a video as individual images or short clips, making the modeling of long-range semantic dependencies difficult.

Show full abstract

In this paper, we propose TCA (Temporal Context Aggregation for Video Retrieval), a video representation learning framework that incorporates long-range temporal information between frame-level features using the self-attention mechanism. To train it on video retrieval datasets, we propose a supervised contrastive learning method that performs automatic hard negative mining and utilizes the memory bank mechanism to increase the capacity of negative samples. Extensive experiments are conducted on multiple video retrieval tasks, such as CC_WEB_VIDEO, FIVR-200K, and EVVE. The proposed method shows a significant performance advantage (~17% mAP on FIVR-200K) over state-of-the-art methods with video-level features, and deliver competitive results with 22x faster inference time comparing with frame-level features.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

(WACV 2021) Temporal Context Aggregation for Video Retrieval with Contrastive Learning

294PythonApr 18, 20215 years agoApache-2.0
contrastive-learningrepresentation-learningtemporal-context-aggregationvideo-retrievalwacv2021

Similar Papers

Cite this paper

@article{shao2020temporal,
  title  = {Temporal Context Aggregation for Video Retrieval with Contrastive Learning},
  author = {Jie Shao and Xin Wen and Bingchen Zhao and Xiangyang Xue},
  year   = {2020},
  eprint = {2008.01334},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.01334}
}

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

Discussion