MGSampler: An Explainable Sampling Strategy for Video Action Recognition

Yuan Zhi, Zhan Tong, Limin Wang, Gangshan Wu
4/20/2021
cs.CV

Official code: MCG-NJU/MGSampler (53 stars, Python, Apache-2.0, last commit 2022-07-09).

Abstract

Frame sampling is a fundamental problem in video action recognition due to the essential redundancy in time and limited computation resources. The existing sampling strategy often employs a fixed frame selection and lacks the flexibility to deal with complex variations in videos.

Show full abstract

In this paper, we present a simple, sparse, and explainable frame sampler, termed as Motion-Guided Sampler (MGSampler). Our basic motivation is that motion is an important and universal signal that can drive us to adaptively select frames from videos. Accordingly, we propose two important properties in our MGSampler design: motion sensitive and motion uniform. First, we present two different motion representations to enable us to efficiently distinguish the motion-salient frames from the background. Then, we devise a motion-uniform sampling strategy based on the cumulative motion distribution to ensure the sampled frames evenly cover all the important segments with high motion salience. Our MGSampler yields a new principled and holistic sampling scheme, that could be incorporated into any existing video architecture. Experiments on five benchmarks demonstrate the effectiveness of our MGSampler over the previous fixed sampling strategies, and its generalization power across different backbones, video models, and datasets.

View on arXivView PDF

Code Implementations(1)

MCG-NJU/MGSamplerOfficial100%
Apache-2.0

[ICCV 2021] MGSampler: An Explainable Sampling Strategy for Video Action Recognition

537Python, ShellJul 28, 20214 years agoApache-2.0
action-recognitioniccv2021video-representation

Similar Papers

Cite this paper

@article{zhi2021mgsampler,
  title  = {MGSampler: An Explainable Sampling Strategy for Video Action Recognition},
  author = {Yuan Zhi and Zhan Tong and Limin Wang and Gangshan Wu},
  year   = {2021},
  eprint = {2104.09952},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.09952}
}

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

Discussion