Slide-Transformer: Hierarchical Vision Transformer with Local Self-Attention
Not on the map. Why?
Abstract (arXiv)
Self-attention mechanism has been a key factor in the recent progress of Vision Transformer (ViT), which enables adaptive feature extraction from global contexts. However, existing self-attention methods either adopt sparse global attention or window attention to reduce the computation complexity, which may compromise the local feature learning or subject to some handcrafted designs. In contrast, local attention, which restricts the receptive field of each query to its own neighboring pixels, enjoys the benefits of both convolution and self-attention, namely local inductive bias and dynamic feature selection. Nevertheless, current local attention modules either use inefficient Im2Col function or rely on specific CUDA kernels that are hard to generalize to devices without CUDA support. In this paper, we propose a novel local attention module, Slide Attention, which leverages common convolution operations to achieve high efficiency, flexibility and generalizability. Specifically, we first re-interpret the column-based Im2Col function from a new row-based perspective and use Depthwise Convolution as an efficient substitution. On this basis, we propose a deformed shifting module based on the re-parameterization technique, which further relaxes the fixed key/value positions to deformed features in the local region. In this way, our module realizes the local attention paradigm in both efficient and flexible manner. Extensive experiments show that our slide attention module is applicable to a variety of advanced Vision Transformer models and compatible with various hardware devices, and achieves consistently improved performances on comprehensive benchmarks. Code is available at https://github.com/LeapLabTHU/Slide-Transformer.
Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). Builds on 38 of its 42 references that are in the map. First posted on arXiv 9 Apr 2023.
Builds on
38 of 42 references.
References · 38
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
26 more
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2017Deformable Convolutional Networkscited by 1,481
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2021Multiscale Vision Transformerscited by 896
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
- 2019Panoptic Feature Pyramid Networkscited by 644
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021RepVGG: Making VGG-style ConvNets Great Againcited by 520
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
- 2021Early Convolutions Help Transformers See Bettercited by 395
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2022Neighborhood Attention Transformercited by 235
- 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
- 2021Rethinking and Improving Relative Position Encoding for Vision Transformercited by 206
- 20203D Object Detection with Pointformercited by 194
- 2022Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNscited by 155
- 2015Fast Algorithms for Convolutional Neural Networkscited by 102
- 2021On the Integration of Self-Attention and Convolutioncited by 74
- 2022Contrastive Language-Image Pre-Training with Knowledge Graphscited by 34
- 2021Learned Queries for Efficient Local Attentioncited by 27
Built on by
Citing papers per year: 2023: 5; 2024: 14; 2025: 14; 2026: 5.
38 papers.
Sort:
By area:
- 2023GSVA: Generalized Segmentation via Multimodal Large Language Modelscited by 153
- 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 45
- 2025ART: Anonymous Region Transformer for Variable Multi-Layer Transparent Image Generationcited by 37
- 2023HiDiffusion: Unlocking Higher-Resolution Creativity and Efficiency in Pretrained Diffusion Modelscited by 27
- 2024Efficient Diffusion Transformer with Step-wise Dynamic Attention Mediatorscited by 24
- 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
- 2024Cross-Layer Feature Pyramid Transformer for Small Object Detection in Aerial Imagescited by 11
- 2024CurveFormer++: 3D Lane Detection by Curve Propagation with Temporal Curve Queries and Attentioncited by 10
- 2023SBCFormer: Lightweight Network Capable of Full-size ImageNet Classification at 1 FPS on Single Board Computerscited by 9
- 2025DAMamba: Vision State Space Model with Dynamic Adaptive Scancited by 9
- 2024On Inductive Biases That Enable Generalization of Diffusion Transformerscited by 7
26 more
- 2024Data-independent Module-aware Pruning for Hierarchical Vision Transformerscited by 6
- 2024Efficient Partitioning Vision Transformer on Edge Devices for Distributed Inferencecited by 6
- 2025DVHGNN: Multi-Scale Dilated Vision HGNN for Efficient Vision Recognitioncited by 6
- 2024MAT: Multi-Range Attention Transformer for Efficient Image Super-Resolutioncited by 5
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 2024RepNeXt: A Fast Multi-Scale CNN using Structural Reparameterizationcited by 4
- 2024DeBiFormer: Vision Transformer with Deformable Agent Bi-level Routing Attentioncited by 4
- 2025Comparative and Interpretative Analysis of CNN and Transformer Models in Predicting Wildfire Spread Using Remote Sensing Datacited by 4
- 2025Linear Differential Vision Transformer: Learning Visual Contrasts via Pairwise Differentialscited by 4
- 2024FViT: A Focal Vision Transformer with Gabor Filtercited by 3
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learningcited by 3
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformercited by 3
- 2025PAN-Crafter: Learning Modality-Consistent Alignment for PAN-Sharpeningcited by 3
- 2024DiDA: Video Object Segmentation with Distillation Learning of Deformable Attentioncited by 2
- 2025Local Information Matters: Inference Acceleration For Grounded Conversation Generation Models Through Adaptive Local-Aware Token Pruningcited by 2
- 2025InterMamba: Efficient Human-Human Interaction Generation with Adaptive Spatio-Temporal Mambacited by 2
- 2024LMLT: Low-to-high Multi-Level Vision Transformer for Image Super-Resolutioncited by 1
- 2025A Retrospective Systematic Study on Hierarchical Sparse Query Transformer-assisted Ultrasound Screening for Early Hepatocellular Carcinomacited by 1
- 2025Hilbert-Guided Sparse Local Attentioncited by 1
- 2026Few-Shot Video Object Segmentation in X-Ray Angiography Using Local Matching and Spatio-Temporal Consistency Losscited by 1
- 2026MegaSlide-DiT: Memory-Centric Adaptation and Deformable Local Attention for Efficient Video Diffusioncited by 1
- 2025Shaken or Stirred? An Analysis of MetaFormer's Token Mixing for Medical Imagingcited by 0
- 2025A Generic Machine Learning Framework for Radio Frequency Fingerprintingcited by 0
- 2026How to Build Robust, Scalable Models for GSV-Based Indicators in Neighborhood Researchcited by 0
- 2026HSSDCT: Factorized Spatial-Spectral Correlation for Hyperspectral Image Fusioncited by 0
- 2026Rethinking Multi-Condition DiTs: Eliminating Redundant Attention via Position-Alignment and Keyword-Scopingcited by 0
- 2026MegaSlide-DiT: Memory-Centric Adaptation and Deformable Local Attention for Efficient Video Diffusion17 Jul 2026
- 2026Rethinking Multi-Condition DiTs: Eliminating Redundant Attention via Position-Alignment and Keyword-Scoping6 Feb 2026
- 2026HSSDCT: Factorized Spatial-Spectral Correlation for Hyperspectral Image Fusion31 Jan 2026
- 2026How to Build Robust, Scalable Models for GSV-Based Indicators in Neighborhood Research10 Jan 2026
- 2026Few-Shot Video Object Segmentation in X-Ray Angiography Using Local Matching and Spatio-Temporal Consistency Loss2 Jan 2026
- 2025Hilbert-Guided Sparse Local Attention8 Nov 2025
- 2025Linear Differential Vision Transformer: Learning Visual Contrasts via Pairwise Differentials2 Nov 2025
- 2025A Generic Machine Learning Framework for Radio Frequency Fingerprinting10 Oct 2025
- 2025Shaken or Stirred? An Analysis of MetaFormer's Token Mixing for Medical Imaging7 Oct 2025
- 2025InterMamba: Efficient Human-Human Interaction Generation with Adaptive Spatio-Temporal Mamba3 Jun 2025
- 2025PAN-Crafter: Learning Modality-Consistent Alignment for PAN-Sharpening29 May 2025
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformer22 May 2025
26 more
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learning3 Apr 2025
- 2025Local Information Matters: Inference Acceleration For Grounded Conversation Generation Models Through Adaptive Local-Aware Token Pruning31 Mar 2025
- 2025DVHGNN: Multi-Scale Dilated Vision HGNN for Efficient Vision Recognition19 Mar 2025
- 2025Comparative and Interpretative Analysis of CNN and Transformer Models in Predicting Wildfire Spread Using Remote Sensing Data18 Mar 2025
- 2025ART: Anonymous Region Transformer for Variable Multi-Layer Transparent Image Generation25 Feb 2025
- 2025DAMamba: Vision State Space Model with Dynamic Adaptive Scan18 Feb 2025
- 2025A Retrospective Systematic Study on Hierarchical Sparse Query Transformer-assisted Ultrasound Screening for Early Hepatocellular Carcinoma6 Feb 2025
- 2024MAT: Multi-Range Attention Transformer for Efficient Image Super-Resolution26 Nov 2024
- 2024On Inductive Biases That Enable Generalization of Diffusion Transformers28 Oct 2024
- 2024Efficient Partitioning Vision Transformer on Edge Devices for Distributed Inference15 Oct 2024
- 2024DeBiFormer: Vision Transformer with Deformable Agent Bi-level Routing Attention11 Oct 2024
- 2024LMLT: Low-to-high Multi-Level Vision Transformer for Image Super-Resolution5 Sep 2024
- 2024Efficient Diffusion Transformer with Step-wise Dynamic Attention Mediators11 Aug 2024
- 2024Cross-Layer Feature Pyramid Transformer for Small Object Detection in Aerial Images29 Jul 2024
- 2024RepNeXt: A Fast Multi-Scale CNN using Structural Reparameterization23 Jun 2024
- 2024On the Role of Attention Masks and LayerNorm in Transformers29 May 2024
- 2024Data-independent Module-aware Pruning for Hierarchical Vision Transformers21 Apr 2024
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insights28 Mar 2024
- 2024FViT: A Focal Vision Transformer with Gabor Filter17 Feb 2024
- 2024CurveFormer++: 3D Lane Detection by Curve Propagation with Temporal Curve Queries and Attention9 Feb 2024
- 2024DiDA: Video Object Segmentation with Distillation Learning of Deformable Attention25 Jan 2024
- 2023GSVA: Generalized Segmentation via Multimodal Large Language Models15 Dec 2023
- 2023HiDiffusion: Unlocking Higher-Resolution Creativity and Efficiency in Pretrained Diffusion Models29 Nov 2023
- 2023SBCFormer: Lightweight Network Capable of Full-size ImageNet Classification at 1 FPS on Single Board Computers7 Nov 2023
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognition30 Oct 2023
- 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attention4 Sep 2023
- 2023HiDiffusion: Unlocking Higher-Resolution Creativity and Efficiency in Pretrained Diffusion Modelscited by 27
- 2024Efficient Diffusion Transformer with Step-wise Dynamic Attention Mediatorscited by 24
- 2024On Inductive Biases That Enable Generalization of Diffusion Transformerscited by 7
- 2026MegaSlide-DiT: Memory-Centric Adaptation and Deformable Local Attention for Efficient Video Diffusioncited by 1
- 2026MegaSlide-DiT: Memory-Centric Adaptation and Deformable Local Attention for Efficient Video Diffusion17 Jul 2026
- 2024On Inductive Biases That Enable Generalization of Diffusion Transformers28 Oct 2024
- 2024Efficient Diffusion Transformer with Step-wise Dynamic Attention Mediators11 Aug 2024
- 2023HiDiffusion: Unlocking Higher-Resolution Creativity and Efficiency in Pretrained Diffusion Models29 Nov 2023
- 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 45
- 2025ART: Anonymous Region Transformer for Variable Multi-Layer Transparent Image Generationcited by 37
- 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
- 2024Cross-Layer Feature Pyramid Transformer for Small Object Detection in Aerial Imagescited by 11
- 2024CurveFormer++: 3D Lane Detection by Curve Propagation with Temporal Curve Queries and Attentioncited by 10
- 2023SBCFormer: Lightweight Network Capable of Full-size ImageNet Classification at 1 FPS on Single Board Computerscited by 9
- 2025DAMamba: Vision State Space Model with Dynamic Adaptive Scancited by 9
- 2024Data-independent Module-aware Pruning for Hierarchical Vision Transformerscited by 6
- 2024Efficient Partitioning Vision Transformer on Edge Devices for Distributed Inferencecited by 6
- 2025DVHGNN: Multi-Scale Dilated Vision HGNN for Efficient Vision Recognitioncited by 6
- 2024MAT: Multi-Range Attention Transformer for Efficient Image Super-Resolutioncited by 5
12 most cited of 30 All 30 (JSON)
- 2026Rethinking Multi-Condition DiTs: Eliminating Redundant Attention via Position-Alignment and Keyword-Scoping6 Feb 2026
- 2026HSSDCT: Factorized Spatial-Spectral Correlation for Hyperspectral Image Fusion31 Jan 2026
- 2026How to Build Robust, Scalable Models for GSV-Based Indicators in Neighborhood Research10 Jan 2026
- 2026Few-Shot Video Object Segmentation in X-Ray Angiography Using Local Matching and Spatio-Temporal Consistency Loss2 Jan 2026
- 2025Hilbert-Guided Sparse Local Attention8 Nov 2025
- 2025Linear Differential Vision Transformer: Learning Visual Contrasts via Pairwise Differentials2 Nov 2025
- 2025A Generic Machine Learning Framework for Radio Frequency Fingerprinting10 Oct 2025
- 2025Shaken or Stirred? An Analysis of MetaFormer's Token Mixing for Medical Imaging7 Oct 2025
- 2025PAN-Crafter: Learning Modality-Consistent Alignment for PAN-Sharpening29 May 2025
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformer22 May 2025
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learning3 Apr 2025
- 2025DVHGNN: Multi-Scale Dilated Vision HGNN for Efficient Vision Recognition19 Mar 2025
12 newest of 30 All 30 (JSON)