BiFormer: Vision Transformer with Bi-Level Routing Attention
Not on the map. Why?
Abstract (arXiv)
As the core building block of vision transformers, attention is a powerful tool to capture long-range dependency. However, such power comes at a cost: it incurs a huge computation burden and heavy memory footprint as pairwise token interaction across all spatial locations is computed. A series of works attempt to alleviate this problem by introducing handcrafted and content-agnostic sparsity into attention, such as restricting the attention operation to be inside local windows, axial stripes, or dilated windows. In contrast to these approaches, we propose a novel dynamic sparse attention via bi-level routing to enable a more flexible allocation of computations with content awareness. Specifically, for a query, irrelevant key-value pairs are first filtered out at a coarse region level, and then fine-grained token-to-token attention is applied in the union of remaining candidate regions (ie, routed regions). We provide a simple yet effective implementation of the proposed bi-level routing attention, which utilizes the sparsity to save both computation and memory while involving only GPU-friendly dense matrix multiplications. Built with the proposed bi-level routing attention, a new general vision transformer, named BiFormer, is then presented. As BiFormer attends to a small subset of relevant tokens in a query adaptive manner without distraction from other irrelevant ones, it enjoys both good performance and high computational efficiency, especially in dense prediction tasks. Empirical results across several computer vision tasks such as image classification, object detection, and semantic segmentation verify the effectiveness of our design. Code is available at urlhttps://github.com/rayleizhu/BiFormer.
Key facts. Cited by 150 papers in the map (data through 7 Oct 2026). Builds on 48 of its 55 references that are in the map. First posted on arXiv 15 Mar 2023.
Builds on
48 of 55 references.
References · 48
- 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
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 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
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
36 more
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2017Deformable Convolutional Networkscited by 1,481
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2016Deep Networks with Stochastic Depthcited by 973
- 2020Designing Network Design Spacescited by 954
- 2020Efficient Transformers: A Surveycited by 784
- 2017Focal Loss for Dense Object Detectioncited by 749
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
- 2019Panoptic Feature Pyramid Networkscited by 644
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2022Vision Transformer Adapter for Dense Predictionscited by 564
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2019Axial Attention in Multidimensional Transformerscited by 350
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2022UniFormer: Unified Transformer for Efficient Spatiotemporal Representation Learningcited by 182
- 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
- 2021CrossFormer: A Versatile Vision Transformer Hinging on Cross-scale Attentioncited by 139
- 2022QuadTree Attention for Vision Transformerscited by 129
- 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 126
- 2022Not All Tokens Are Equal: Human-centric Visual Analysis via Token Clustering Transformercited by 99
- 2021Shunted Self-Attention via Multi-Scale Token Aggregationcited by 90
- 2022Wave-ViT: Unifying Wavelet and Transformers for Visual Representation Learningcited by 78
- 2021Memory-efficient Transformers via Top-k Attentioncited by 59
- 2021DPT: Deformable Patch-based Transformer for Visual Recognitioncited by 43
- 2022ScalableViT: Rethinking the Context-oriented Generalization of Vision Transformercited by 36
Built on by
Citing papers per year: 2023: 21; 2024: 55; 2025: 51; 2026: 23.
150 papers.
Sort:
By area:
- 2023SCLIP: Rethinking Self-Attention for Dense Vision-Language Inferencecited by 169
- 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2025VSA: Faster Video Diffusion with Trainable Sparse Attentioncited by 100
- 2023Agent Attention: On the Integration of Softmax and Linear Attentioncited by 90
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2024Multi-Scale VMamba: Hierarchy in Hierarchy Visual State Space Modelcited by 62
- 2023TransNeXt: Robust Foveal Visual Perception for Vision Transformerscited by 61
- 2024UniMatch V2: Pushing the Limit of Semi-Supervised Semantic Segmentationcited by 53
- 2023SpectFormer: Frequency and Attention is what you need in a Vision Transformercited by 48
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2024Frequency-Spatial Entanglement Learning for Camouflaged Object Detectioncited by 46
38 more
- 2024SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attentioncited by 39
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2024SegMAN: Omni-scale Context Modeling with State Space Models and Local Attention for Semantic Segmentationcited by 31
- 2025DFormerv2: Geometry Self-Attention for RGBD Semantic Segmentationcited by 30
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024RhythmFormer: Extracting Patterned rPPG Signals based on Periodic Sparse Attentioncited by 28
- 2025OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernelscited by 24
- 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
- 2024Hierarchical Graph Interaction Transformer with Dynamic Token Clustering for Camouflaged Object Detectioncited by 18
- 2024SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-parameterized Batch Normalizationcited by 17
- 2025Hypergraph Vision Transformers: Images are More than Nodes, More than Edgescited by 16
- 2025Rectifying Magnitude Neglect in Linear Attentioncited by 16
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 15
- 2024Depth-Wise Convolutions in Vision Transformers for Efficient Training on Small Datasetscited by 14
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networkscited by 14
- 2024DenseNets Reloaded: Paradigm Shift Beyond ResNets and ViTscited by 12
- 2024SmartMem: Layout Transformation Elimination and Adaptation for Efficient DNN Execution on Mobilecited by 12
- 2024CAS-ViT: Convolutional Additive Self-attention Vision Transformers for Efficient Mobile Applicationscited by 12
- 2024UNIT: Unifying Image and Text Recognition in One Vision Encodercited by 12
- 2023Advancing Vision Transformers with Group-Mix Attentioncited by 11
- 2025KVQ: Boosting Video Quality Assessment via Saliency-guided Local Perceptioncited by 11
- 2024Perceiving Longer Sequences With Bi-Directional Cross-Attention Transformerscited by 10
- 2024Snakes and Ladders: Two Steps Up for VideoMambacited by 10
- 2024GLCONet: Learning Multi-source Perception Representation for Camouflaged Object Detectioncited by 10
- 2025Bokehlicious: Photorealistic Bokeh Rendering with Controllable Aperturescited by 10
- 2025MMTL-UniAD: A Unified Framework for Multimodal and Multi-Task Learning in Assistive Driving Perceptioncited by 10
- 2023SBCFormer: Lightweight Network Capable of Full-size ImageNet Classification at 1 FPS on Single Board Computerscited by 9
- 2024LeMeViT: Efficient Vision Transformer with Learnable Meta Tokens for Remote Sensing Image Interpretationcited by 9
- 2025iFormer: Integrating ConvNet and Transformer for Mobile Applicationcited by 9
- 2025DAMamba: Vision State Space Model with Dynamic Adaptive Scancited by 9
- 2024PSFHS Challenge Report: Pubic Symphysis and Fetal Head Segmentation from Intrapartum Ultrasound Imagescited by 8
- 2023BGF-YOLO: Enhanced YOLOv8 with Multiscale Attentional Feature Fusion for Brain Tumor Detectioncited by 7
- 2023Triplet Attention Transformer for Spatiotemporal Predictive Learningcited by 7
- 2024BRAU-Net++: U-Shaped Hybrid CNN-Transformer Network for Medical Image Segmentationcited by 7
- 2024Building Vision Models upon Heat Conductioncited by 7
- 2024LOGCAN++: Adaptive Local-global class-aware network for semantic segmentation of remote sensing imagerycited by 7
- 2024MSVM-UNet: Multi-Scale Vision Mamba UNet for Medical Image Segmentationcited by 7
- 2024Language-Driven Visual Consensus for Zero-Shot Semantic Segmentationcited by 6
50 most cited of 150 All 150 (JSON)
- 2026Physics and Data Driven Transformer-Mamba Framework for Flow Field24 Sep 2026
- 2026Bi-Level Routing and Sparse Spatial Attention based Multi-View BEV 3D Object Detection for Autonomous Driving12 Sep 2026
- 2026SAS: Simple Attention Sparsification via End-to-End Optimization of Context Ranking11 Sep 2026
- 2026HSMLA: Hierarchical Softmax Multi-scale Linear Attention for Efficient Vision Transformers7 Aug 2026
- 2026DynImmune-BERT: Dynamic Immune Repertoire Modeling with Neural ODE Driven Continuous Transformers19 Jul 2026
- 2026Thresholded Cross-Attention for Reliable Intensity-Chromaticity Fusion in Low-Light Image Enhancement15 Jul 2026
- 2026Vision Non-Causal Trapezoidal Mamba: Eliminating Directional Scanning in Vision SSMs with Second-Order Dynamics3 Jul 2026
- 2026Explaining RhythmFormer: A Systematic XAI Analysis of Periodic Sparse Attention for Remote Photoplethysmography11 Jun 2026
- 2026PRISM: Progressive Reasoning through Iterative Slot Memory for Vision29 May 2026
- 2026Activation-Free Backbones for Image Recognition: Polynomial Alternatives within MetaFormer-Style Vision Models20 May 2026
- 2026Representative Attention For Vision Transformers14 May 2026
- 2026Can Graphs Help Vision SSMs See Better?11 May 2026
38 more
- 2026Linearizing Vision Transformer with Test-Time Training4 May 2026
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernel22 Apr 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNet16 Apr 2026
- 2026Beyond MACs: Hardware Efficient Architecture Design for Vision Backbones27 Mar 2026
- 2026CPUBone: Efficient Vision Backbone Design for Devices with Low Parallelization Capabilities27 Mar 2026
- 2026Locality-Attending Vision Transformer5 Mar 2026
- 2026Random Wins All: Rethinking Grouping Strategies for Vision Tokens28 Feb 2026
- 2026UV-M3TL: A Unified and Versatile Multimodal Multi-Task Learning Framework for Assistive Driving Perception2 Feb 2026
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weights1 Feb 2026
- 2026SwiftRepertoire: Few-Shot Immune-Signature Synthesis via Dynamic Kernel Codes1 Feb 2026
- 2025Vision Transformers are Circulant Attention Learners25 Dec 2025
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
- 2025GSPN-2: Efficient Parallel Sequence Modeling28 Nov 2025
- 2025DetailSemNet: Elevating Signature Verification through Detail-Semantic Integration20 Nov 2025
- 2025AGGRNet: Selective Feature Extraction and Aggregation for Enhanced Medical Image Classification15 Nov 2025
- 2025Differentiable Hierarchical Visual Tokenization4 Nov 2025
- 2025Linear Differential Vision Transformer: Learning Visual Contrasts via Pairwise Differentials2 Nov 2025
- 2025PT-DETR: Small Target Detection Based on Partially-Aware Detail Focus30 Oct 2025
- 2025Attentive Convolution: Unifying the Expressivity of Self-Attention with Convolutional Efficiency23 Oct 2025
- 2025MIORe & VAR-MIORe: Benchmarks to Push the Boundaries of Restoration8 Sep 2025
- 2025Multimodal Feature Fusion Network with Text Difference Enhancement for Remote Sensing Change Detection4 Sep 2025
- 2025A Lightweight Convolution and Vision Transformer integrated model with Multi-scale Self-attention Mechanism23 Aug 2025
- 2025Learning Spatial Decay for Vision Transformers13 Aug 2025
- 2025TEFormer: Texture-Aware and Edge-Guided Transformer for Semantic Segmentation of Urban Remote Sensing Images8 Aug 2025
- 2025CoCAViT: Compact Vision Transformer with Robust Global Coordination7 Aug 2025
- 2025TCSAFormer: Efficient Vision Transformer with Token Compression and Sparse Attention for Medical Image Segmentation6 Aug 2025
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition22 Jul 2025
- 2025Habitat Classification from Ground-Level Imagery Using Deep Neural Networks5 Jul 2025
- 2025MedFormer: Hierarchical Medical Vision Transformer with Content-Aware Dual Sparse Selection Attention3 Jul 2025
- 2025Rectifying Magnitude Neglect in Linear Attention1 Jul 2025
- 2025Enhancing Image Restoration Transformer via Adaptive Translation Equivariance23 Jun 2025
- 2025Polyline Path Masked Attention for Vision Transformer19 Jun 2025
- 2025Convolutional Feature Enhancement and Attention Fusion BiFPN for Ship Detection in SAR Images18 Jun 2025
- 2025MGDFIS: Multi-scale Global-detail Feature Integration Strategy for Small Object Detection15 Jun 2025
- 2025DSSAU-Net:U-Shaped Hybrid Network for Pubic Symphysis and Fetal Head Segmentation4 Jun 2025
- 2025Lightweight Relational Embedding in Task-Interpolated Few-Shot Networks for Enhanced Gastrointestinal Disease Classification30 May 2025
- 2025MSLAU-Net: A Hybrid CNN-Transformer Network for Medical Image Segmentation24 May 2025
50 newest of 150 All 150 (JSON)
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networkscited by 14
- 2024Snakes and Ladders: Two Steps Up for VideoMambacited by 10
- 2024MSVM-UNet: Multi-Scale Vision Mamba UNet for Medical Image Segmentationcited by 7
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysiscited by 5
- 2025Mamba-Adaptor: State Space Model Adaptor for Visual Recognitioncited by 2
- 2025MedVKAN: Efficient Feature Extraction with Mamba and KAN for Medical Image Segmentationcited by 1
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognitioncited by 1
- 2026Vision Non-Causal Trapezoidal Mamba: Eliminating Directional Scanning in Vision SSMs with Second-Order Dynamicscited by 1
- 2026Can Graphs Help Vision SSMs See Better?cited by 0
- 2026Physics and Data Driven Transformer-Mamba Framework for Flow Fieldcited by 0
- 2026Physics and Data Driven Transformer-Mamba Framework for Flow Field24 Sep 2026
- 2026Vision Non-Causal Trapezoidal Mamba: Eliminating Directional Scanning in Vision SSMs with Second-Order Dynamics3 Jul 2026
- 2026Can Graphs Help Vision SSMs See Better?11 May 2026
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition22 Jul 2025
- 2025Mamba-Adaptor: State Space Model Adaptor for Visual Recognition19 May 2025
- 2025MedVKAN: Efficient Feature Extraction with Mamba and KAN for Medical Image Segmentation17 May 2025
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networks15 Sep 2024
- 2024MSVM-UNet: Multi-Scale Vision Mamba UNet for Medical Image Segmentation25 Aug 2024
- 2024VSSD: Vision Mamba with Non-Causal State Space Duality26 Jul 2024
- 2024Snakes and Ladders: Two Steps Up for VideoMamba27 Jun 2024
- 2024Demystify Mamba in Vision: A Linear Attention Perspective26 May 2024
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysis26 Mar 2024
- 2026Representative Attention For Vision Transformerscited by 0
- 2026Representative Attention For Vision Transformers14 May 2026
- 2023SCLIP: Rethinking Self-Attention for Dense Vision-Language Inferencecited by 169
- 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
- 2023Agent Attention: On the Integration of Softmax and Linear Attentioncited by 90
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2024Multi-Scale VMamba: Hierarchy in Hierarchy Visual State Space Modelcited by 62
- 2023TransNeXt: Robust Foveal Visual Perception for Vision Transformerscited by 61
- 2024UniMatch V2: Pushing the Limit of Semi-Supervised Semantic Segmentationcited by 53
- 2023SpectFormer: Frequency and Attention is what you need in a Vision Transformercited by 48
- 2024Bridging the Divide: Reconsidering Softmax and Linear Attentioncited by 48
- 2024Frequency-Spatial Entanglement Learning for Camouflaged Object Detectioncited by 46
- 2024SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attentioncited by 39
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
12 most cited of 133 All 133 (JSON)
- 2026Bi-Level Routing and Sparse Spatial Attention based Multi-View BEV 3D Object Detection for Autonomous Driving12 Sep 2026
- 2026SAS: Simple Attention Sparsification via End-to-End Optimization of Context Ranking11 Sep 2026
- 2026HSMLA: Hierarchical Softmax Multi-scale Linear Attention for Efficient Vision Transformers7 Aug 2026
- 2026DynImmune-BERT: Dynamic Immune Repertoire Modeling with Neural ODE Driven Continuous Transformers19 Jul 2026
- 2026Thresholded Cross-Attention for Reliable Intensity-Chromaticity Fusion in Low-Light Image Enhancement15 Jul 2026
- 2026Explaining RhythmFormer: A Systematic XAI Analysis of Periodic Sparse Attention for Remote Photoplethysmography11 Jun 2026
- 2026PRISM: Progressive Reasoning through Iterative Slot Memory for Vision29 May 2026
- 2026Activation-Free Backbones for Image Recognition: Polynomial Alternatives within MetaFormer-Style Vision Models20 May 2026
- 2026Linearizing Vision Transformer with Test-Time Training4 May 2026
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernel22 Apr 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNet16 Apr 2026
12 newest of 133 All 133 (JSON)