CoLA: Weakly-Supervised Temporal Action Localization with Snippet Contrastive Learning

Can Zhang, Meng Cao, Dongming Yang, Jie Chen, Yuexian Zou
3/30/2021
cs.CV
contrastive-ssl

Official code: zhang-can/CoLA (65 stars, Python, MIT, last commit 2022-02-15).

Abstract

Weakly-supervised temporal action localization (WS-TAL) aims to localize actions in untrimmed videos with only video-level labels. Most existing models follow the "localization by classification" procedure: locate temporal regions contributing most to the video-level classification.

Show full abstract

Generally, they process each snippet (or frame) individually and thus overlook the fruitful temporal context relation. Here arises the single snippet cheating issue: "hard" snippets are too vague to be classified. In this paper, we argue that learning by comparing helps identify these hard snippets and we propose to utilize snippet Contrastive learning to Localize Actions, CoLA for short. Specifically, we propose a Snippet Contrast (SniCo) Loss to refine the hard snippet representation in feature space, which guides the network to perceive precise temporal boundaries and avoid the temporal interval interruption. Besides, since it is infeasible to access frame-level annotations, we introduce a Hard Snippet Mining algorithm to locate the potential hard snippets. Substantial analyses verify that this mining strategy efficaciously captures the hard snippets and SniCo Loss leads to more informative feature representation. Extensive experiments show that CoLA achieves state-of-the-art results on THUMOS'14 and ActivityNet v1.2 datasets. CoLA code is publicly available at https://github.com/zhang-can/CoLA.

View on arXivView PDF

Code Implementations(1)

zhang-can/CoLAOfficial100%
MIT

[CVPR2021] CoLA: Weakly-Supervised Temporal Action Localization with Snippet Contrastive Learning

6511PythonJun 24, 20214 years agoMIT
action-detectioncontrastive-learningtemporal-action-localizationvideo-understandingweakly-supervised-learning

Similar Papers

Cite this paper

@article{zhang2021cola,
  title  = {CoLA: Weakly-Supervised Temporal Action Localization with Snippet Contrastive Learning},
  author = {Can Zhang and Meng Cao and Dongming Yang and Jie Chen and Yuexian Zou},
  year   = {2021},
  eprint = {2103.16392},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.16392}
}

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

Discussion