Evaluating Transformers for Lightweight Action Recognition
arXiv:2111.09641
Abstract
In video action recognition, transformers consistently reach state-of-the-art accuracy. However, many models are too heavyweight for the average researcher with limited hardware resources. In this work, we explore the limitations of video transformers for lightweight action recognition. We benchmark 13 video transformers and baselines across 3 large-scale datasets and 10 hardware devices. Our study is the first to evaluate the efficiency of action recognition models in depth across multiple devices and train a wide range of video transformers under the same conditions. We categorize current methods into three classes and show that composite transformers that augment convolutional backbones are best at lightweight action recognition, despite lacking accuracy. Meanwhile, attention-only models need more motion modeling capabilities and stand-alone attention block models currently incur too much latency overhead. Our experiments conclude that current video transformers are not yet capable of lightweight action recognition on par with traditional convolutional baselines, and that the previously mentioned shortcomings need to be addressed to bridge this gap. Code to reproduce our experiments will be made publicly available.
arXiv commentpre-print
References in corpus (9)
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Res2Net: A New Multi-scale Backbone Architecture
- Accurate, Large Minibatch SGD: Training ImageNet in 1 Hour
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- A Comprehensive Study of Deep Video Action Recognition
- An Image is Worth 16x16 Words, What is a Video Worth?
- Video Swin Transformer
- VideoMix: Rethinking Data Augmentation for Video Classification
- Knowing What, Where and When to Look: Efficient Video Action Modeling with Attention