DualFormer: Local-Global Stratified Transformer for Efficient Video Recognition
Not on the map. Why?
Abstract (arXiv)
While transformers have shown great potential on video recognition with their strong capability of capturing long-range dependencies, they often suffer high computational costs induced by the self-attention to the huge number of 3D tokens. In this paper, we present a new transformer architecture termed DualFormer, which can efficiently perform space-time attention for video recognition. Concretely, DualFormer stratifies the full space-time attention into dual cascaded levels, i.e., to first learn fine-grained local interactions among nearby 3D tokens, and then to capture coarse-grained global dependencies between the query token and global pyramid contexts. Different from existing methods that apply space-time factorization or restrict attention computations within local windows for improving efficiency, our local-global stratification strategy can well capture both short- and long-range spatiotemporal dependencies, and meanwhile greatly reduces the number of keys and values in attention computation to boost efficiency. Experimental results verify the superiority of DualFormer on five video benchmarks against existing methods. In particular, DualFormer achieves 82.9%/85.2% top-1 accuracy on Kinetics-400/600 with ~1000G inference FLOPs which is at least 3.2x fewer than existing methods with similar performance. We have released the source code at https://github.com/sail-sg/dualformer.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 54 of its 66 references that are in the map. First posted on arXiv 9 Dec 2021.
Builds on
54 of 66 references.
References · 54
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2016Layer Normalizationcited by 5,669
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
- 2017Quo Vadis, Action Recognition? A New Model and the Kinetics Datasetcited by 3,270
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,332
38 more
- 2017Non-local Neural Networkscited by 2,293
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2017The Kinetics Human Action Video Datasetcited by 1,909
- 2018SlowFast Networks for Video Recognitioncited by 1,867
- 2021Vision Transformers for Dense Predictioncited by 1,803
- 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,620
- 2021ViViT: A Video Vision Transformercited by 1,620
- 2017A Closer Look at Spatiotemporal Convolutions for Action Recognitioncited by 1,143
- 2017The "something something" video database for learning and evaluating visual common sensecited by 1,103
- 2021Video Swin Transformercited by 1,091
- 2016Deep Networks with Stochastic Depthcited by 979
- 2021Multiscale Vision Transformerscited by 897
- 2018TSM: Temporal Shift Module for Efficient Video Understandingcited by 856
- 2014Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognitioncited by 720
- 2020X3D: Expanding Architectures for Efficient Video Recognitioncited by 637
- 2013Network In Networkcited by 605
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2017Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet?cited by 551
- 2017Rethinking Spatiotemporal Feature Learning: Speed-Accuracy Trade-offs in Video Classificationcited by 521
- 2020End-to-End Video Instance Segmentation with Transformerscited by 443
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2020A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospectscited by 397
- 2017Learning Spatio-Temporal Representation with Pseudo-3D Residual Networkscited by 387
- 2020Spatiotemporal Contrastive Video Representation Learningcited by 372
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2019Video Classification with Channel-Separated Convolutional Networkscited by 290
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
- 2017Temporal Segment Networks for Action Recognition in Videoscited by 279
- 2021Video Transformer Networkcited by 272
- 2021Keeping Your Eye on the Ball: Trajectory Attention in Video Transformerscited by 224
- 2017Learning Spatio-Temporal Features with 3D Residual Networks for Action Recognitioncited by 178
- 2020How Much Position Information Do Convolutional Neural Networks Encode?cited by 172
- 2021VOLO: Vision Outlooker for Visual Recognitioncited by 165
- 2017R-C3D: Region Convolutional 3D Network for Temporal Activity Detectioncited by 161
- 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
- 2019STM: SpatioTemporal and Motion Encoding for Action Recognitioncited by 142
- 2020TAM: Temporal Adaptive Module for Video Recognitioncited by 139
- 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 127
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2022: 5; 2023: 1; 2024: 3; 2025: 2.
11 papers.
- 2022Mugs: A Multi-Granular Self-Supervised Learning Frameworkcited by 54
- 2022STAR-Transformer: A Spatio-temporal Cross Attention Transformer for Human Action Recognitioncited by 43
- 2022An Efficient Spatio-Temporal Pyramid Transformer for Action Detectioncited by 16
- 2024Learning Correlation Structures for Vision Transformerscited by 15
- 2024X-Light: Cross-City Traffic Signal Control Using Transformer on Transformer as Meta Multi-Agent Reinforcement Learnercited by 10
- 2022Linear Video Transformer with Feature Fixationcited by 6
- 2022Transformer in Transformer as Backbone for Deep Reinforcement Learningcited by 6
- 2023PDiT: Interleaving Perception and Decision-making Transformers for Deep Reinforcement Learningcited by 5
- 2025TRIFFID: Autonomous Robotic Aid For Increasing First Responders Efficiencycited by 5
- 2025DVFL-Net: A Lightweight Distilled Video Focal Modulation Network for Spatio-Temporal Action Recognitioncited by 2
- 2024Efficient Selective Audio Masked Multimodal Bottleneck Transformer for Audio-Video Classificationcited by 1
- 2025DVFL-Net: A Lightweight Distilled Video Focal Modulation Network for Spatio-Temporal Action Recognition16 Jul 2025
- 2025TRIFFID: Autonomous Robotic Aid For Increasing First Responders Efficiency13 Feb 2025
- 2024X-Light: Cross-City Traffic Signal Control Using Transformer on Transformer as Meta Multi-Agent Reinforcement Learner18 Apr 2024
- 2024Learning Correlation Structures for Vision Transformers5 Apr 2024
- 2024Efficient Selective Audio Masked Multimodal Bottleneck Transformer for Audio-Video Classification8 Jan 2024
- 2023PDiT: Interleaving Perception and Decision-making Transformers for Deep Reinforcement Learning26 Dec 2023
- 2022Transformer in Transformer as Backbone for Deep Reinforcement Learning30 Dec 2022
- 2022Linear Video Transformer with Feature Fixation15 Oct 2022
- 2022STAR-Transformer: A Spatio-temporal Cross Attention Transformer for Human Action Recognition14 Oct 2022
- 2022An Efficient Spatio-Temporal Pyramid Transformer for Action Detection21 Jul 2022
- 2022Mugs: A Multi-Granular Self-Supervised Learning Framework27 Mar 2022