mlsanityData to 14 Oct 2026

DualFormer: Local-Global Stratified Transformer for Efficient Video Recognition

arXiv 2112.04674 ↗First posted 9 Dec 2021cs.CV cs.AIcited by 11

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  8. 2016Layer Normalizationcited by 5,669
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  10. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  11. 2017Quo Vadis, Action Recognition? A New Model and the Kinetics Datasetcited by 3,270
  12. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,332
38 more
  1. 2017Non-local Neural Networkscited by 2,293
  2. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  3. 2017The Kinetics Human Action Video Datasetcited by 1,909
  4. 2018SlowFast Networks for Video Recognitioncited by 1,867
  5. 2021Vision Transformers for Dense Predictioncited by 1,803
  6. 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,620
  7. 2021ViViT: A Video Vision Transformercited by 1,620
  8. 2017A Closer Look at Spatiotemporal Convolutions for Action Recognitioncited by 1,143
  9. 2017The "something something" video database for learning and evaluating visual common sensecited by 1,103
  10. 2021Video Swin Transformercited by 1,091
  11. 2016Deep Networks with Stochastic Depthcited by 979
  12. 2021Multiscale Vision Transformerscited by 897
  13. 2018TSM: Temporal Shift Module for Efficient Video Understandingcited by 856
  14. 2014Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognitioncited by 720
  15. 2020X3D: Expanding Architectures for Efficient Video Recognitioncited by 637
  16. 2013Network In Networkcited by 605
  17. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  18. 2017Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet?cited by 551
  19. 2017Rethinking Spatiotemporal Feature Learning: Speed-Accuracy Trade-offs in Video Classificationcited by 521
  20. 2020End-to-End Video Instance Segmentation with Transformerscited by 443
  21. 2021Conditional Positional Encodings for Vision Transformerscited by 406
  22. 2020A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospectscited by 397
  23. 2017Learning Spatio-Temporal Representation with Pseudo-3D Residual Networkscited by 387
  24. 2020Spatiotemporal Contrastive Video Representation Learningcited by 372
  25. 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
  26. 2019Video Classification with Channel-Separated Convolutional Networkscited by 290
  27. 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
  28. 2017Temporal Segment Networks for Action Recognition in Videoscited by 279
  29. 2021Video Transformer Networkcited by 272
  30. 2021Keeping Your Eye on the Ball: Trajectory Attention in Video Transformerscited by 224
  31. 2017Learning Spatio-Temporal Features with 3D Residual Networks for Action Recognitioncited by 178
  32. 2020How Much Position Information Do Convolutional Neural Networks Encode?cited by 172
  33. 2021VOLO: Vision Outlooker for Visual Recognitioncited by 165
  34. 2017R-C3D: Region Convolutional 3D Network for Temporal Activity Detectioncited by 161
  35. 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
  36. 2019STM: SpatioTemporal and Motion Encoding for Action Recognitioncited by 142
  37. 2020TAM: Temporal Adaptive Module for Video Recognitioncited by 139
  38. 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 127

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year

Citing papers per year: 2022: 5; 2023: 1; 2024: 3; 2025: 2.

11 papers.