Efficient Attention-free Video Shift Transformers
Bulat, Adrian, Martinez, Brais, Tzimiropoulos, Georgios
–arXiv.org Artificial Intelligence
This paper tackles the problem of efficient video recognition. In this area, video transformers have recently dominated the efficiency (top-1 accuracy vs FLOPs) spectrum. At the same time, there have been some attempts in the image domain which challenge the necessity of the self-attention operation within the transformer architecture, advocating the use of simpler approaches for token mixing. However, there are no results yet for the case of video recognition, where the selfattention operator has a significantly higher impact (compared to the case of images) on efficiency. To address this gap, in this paper, we make the following contributions: (a) we construct a highly efficient & accurate attention-free block based on the shift operator, coined Affine-Shift block, specifically designed to approximate as closely as possible the operations in the MHSA block of a Transformer layer. Based on our Affine-Shift block, we construct our Affine-Shift Transformer and show that it already outperforms all existing shift/MLP-based architectures for ImageNet classification. Code will be made available. Video recognition is the problem of recognizing specific events of interest (e.g.
arXiv.org Artificial Intelligence
Aug-23-2022
- Genre:
- Research Report (0.82)
- Technology:
- Information Technology > Artificial Intelligence
- Vision (1.00)
- Natural Language (0.87)
- Machine Learning
- Statistical Learning (0.93)
- Neural Networks > Deep Learning (0.88)
- Information Technology > Artificial Intelligence