Focal Modulation Networks
Not on the map. Why?
Abstract (arXiv)
We propose focal modulation networks (FocalNets in short), where self-attention (SA) is completely replaced by a focal modulation mechanism for modeling token interactions in vision. Focal modulation comprises three components: (i) hierarchical contextualization, implemented using a stack of depth-wise convolutional layers, to encode visual contexts from short to long ranges, (ii) gated aggregation to selectively gather contexts for each query token based on its content, and (iii) element-wise modulation or affine transformation to inject the aggregated context into the query. Extensive experiments show FocalNets outperform the state-of-the-art SA counterparts (e.g., Swin and Focal Transformers) with similar computational costs on the tasks of image classification, object detection, and segmentation. Specifically, FocalNets with tiny and base size achieve 82.3% and 83.9% top-1 accuracy on ImageNet-1K. After pretrained on ImageNet-22K in 224 resolution, it attains 86.5% and 87.3% top-1 accuracy when finetuned with resolution 224 and 384, respectively. When transferred to downstream tasks, FocalNets exhibit clear superiority. For object detection with Mask R-CNN, FocalNet base trained with 1× outperforms the Swin counterpart by 2.1 points and already surpasses Swin trained with 3× schedule (49.0 v.s. 48.5). For semantic segmentation with UPerNet, FocalNet base at single-scale outperforms Swin by 2.4, and beats Swin at multi-scale (50.5 v.s. 49.7). Using large FocalNet and Mask2former, we achieve 58.5 mIoU for ADE20K semantic segmentation, and 57.9 PQ for COCO Panoptic Segmentation. Using huge FocalNet and DINO, we achieved 64.3 and 64.4 mAP on COCO minival and test-dev, respectively, establishing new SoTA on top of much larger attention-based models like Swinv2-G and BEIT-3. Code and checkpoints are available at https://github.com/microsoft/FocalNet.
Key facts. Cited by 186 papers in the map (data through 7 Oct 2026). Builds on 99 of its 119 references that are in the map. First posted on arXiv 22 Mar 2022.
Builds on
99 of 119 references.
References · 99
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 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
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
38 more
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Going Deeper with Convolutionscited by 4,231
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2022A ConvNet for the 2020scited by 3,545
- 2016Gaussian Error Linear Units (GELUs)cited by 3,431
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2015Learning Deep Features for Discriminative Localizationcited by 2,430
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2017Non-local Neural Networkscited by 2,290
- 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
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2017Random Erasing Data Augmentationcited by 1,235
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2021Grounded Language-Image Pre-trainingcited by 1,147
- 2021Transformers in Vision: A Surveycited by 1,009
- 2016Deep Networks with Stochastic Depthcited by 973
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2021Going deeper with Image Transformerscited by 759
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
50 most cited of 99 All 99 (JSON)
Built on by
Citing papers per year: 2022: 16; 2023: 54; 2024: 49; 2025: 41; 2026: 26.
186 papers.
Sort:
By area:
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 685
- 2023Segment Everything Everywhere All at Oncecited by 546
- 2023DETRs Beat YOLOs on Real-time Object Detectioncited by 526
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2023Florence-2: Advancing a Unified Representation for a Variety of Vision Taskscited by 403
- 2023EVA-02: A Visual Representation for Neon Genesiscited by 377
- 2023Recognize Anything: A Strong Image Tagging Modelcited by 305
- 2022Generalized Decoding for Pixel, Image, and Languagecited by 292
- 2022DETRs with Collaborative Hybrid Assignments Trainingcited by 273
- 2023A Simple Framework for Open-Vocabulary Segmentation and Detectioncited by 197
- 2024MambaOut: Do We Really Need Mamba for Vision?cited by 142
- 2022MetaFormer Baselines for Visioncited by 131
38 more
- 2023VideoLLM: Modeling Video Sequence with Large Language Modelscited by 116
- 2023Foundational Models Defining a New Era in Vision: A Survey and Outlookcited by 109
- 2024BiomedParse: a biomedical foundation model for image parsing of everything everywhere all at oncecited by 107
- 2022HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutionscited by 103
- 2022Group DETR: Fast DETR Training with Group-Wise One-to-Many Assignmentcited by 96
- 2023InceptionNeXt: When Inception Meets ConvNeXtcited by 84
- 2024Rethinking Transformers Pre-training for Multi-Spectral Satellite Imagerycited by 82
- 2022Conv2Former: A Simple Transformer-Style ConvNet for Visual Recognitioncited by 81
- 2023The effectiveness of MAE pre-pretraining for billion-scale pretrainingcited by 68
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2023Omni Aggregation Networks for Lightweight Image Super-Resolutioncited by 62
- 2023TransNeXt: Robust Foveal Visual Perception for Vision Transformerscited by 61
- 2022MogaNet: Multi-order Gated Aggregation Networkcited by 59
- 2023Learning Customized Visual Models with Retrieval-Augmented Knowledgecited by 58
- 2024SHViT: Single-Head Vision Transformer with Memory Efficient Macro Designcited by 55
- 2024Rewrite the Starscited by 55
- 2023Scale-Aware Modulation Meet Transformercited by 49
- 2023Are Natural Domain Foundation Models Useful for Medical Image Classification?cited by 44
- 2024MoH: Multi-Head Attention as Mixture-of-Head Attentioncited by 41
- 2024Surgical-LVLM: Learning to Adapt Large Vision-Language Model for Grounded Visual Question Answering in Robotic Surgerycited by 39
- 2024Frequency-Adaptive Dilated Convolution for Semantic Segmentationcited by 34
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2022HiFuse: Hierarchical Multi-Scale Feature Fusion Network for Medical Image Classificationcited by 30
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2023ACC-UNet: A Completely Convolutional UNet model for the 2020scited by 26
- 2024Kolmogorov-Arnold Convolutions: Design Principles and Empirical Studiescited by 26
- 2022Group DETR v2: Strong Object Detector with Encoder-Decoder Pretrainingcited by 25
- 2023Lightweight Vision Transformer with Bidirectional Interactioncited by 25
- 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspectivecited by 25
- 2023Parameter-efficient is not sufficient: Exploring Parameter, Memory, and Time Efficient Adapter Tuning for Dense Predictionscited by 24
- 2025OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernelscited by 24
- 2024SVTRv2: CTC Beats Encoder-Decoder Models in Scene Text Recognitioncited by 23
- 2024Reversible Decoupling Network for Single Image Reflection Removalcited by 22
- 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
- 2024Historical Test-time Prompt Tuning for Vision Foundation Modelscited by 21
- 2023Video-FocalNets: Spatio-Temporal Focal Modulation for Video Action Recognitioncited by 18
- 2025FocalCodec: Low-Bitrate Speech Coding via Focal Modulation Networkscited by 18
50 most cited of 186 All 186 (JSON)
- 2026LIMODENet: Attention-Free Compact Encoders for Information-Preserving Onboard Satellite Image Restoration13 Sep 2026
- 2026ZipCodec: Ultra-Low-Frame-Rate Streaming Speech Coding10 Sep 2026
- 2026RailGen: Improving Railway Intrusion Detection via Agent-Guided Small-Scale Foreign Object Generation31 Aug 2026
- 2026Corrupting Attention: Evasion-Based Adversarial Attacks on Encoder Attention in Detection Transformers7 Aug 2026
- 2026EvReflection: Event-Driven Micro-Dynamics for Reflection Removal6 Aug 2026
- 2026VCP-DCN: Beyond Visual Concealed Property via Depth Collaborative Network for Camouflaged Object Detection30 Jul 2026
- 2026Benchmarking the Domain Gap: Model Selection Instability Under Domain Shift in Video Capsule Endoscopy22 Jul 2026
- 2026Water Reflection Detection Using Symmetric Attention12 Jul 2026
- 2026SpiS-GAN: Spiral-Modulated Handwriting Synthesis with Star Operation8 Jul 2026
- 2026LUMA: Benchmarking Segmentation via a Lightweight Universal Mask Adapter1 Jul 2026
- 2026Real-Time Source-Free Object Detection30 Jun 2026
- 2026Towards Effective Waste Segmentation for Automated Waste Recycling in Cluttered Background11 Jun 2026
38 more
- 2026Parameter-Efficient Fine-Tuning of Large Pretrained Models for Instance Segmentation Tasks1 Jun 2026
- 2026Learnable Shape Prototypes with Occlusion-Geometry-Guided Injection for Amodal Instance Segmentation23 May 2026
- 2026Entropy-Guided Self-Supervised Learning for Medical Image Classification21 May 2026
- 2026Exploring Token-Space Manipulation in Latent Audio Tokenizers11 May 2026
- 2026ShellfishNet: A Domain-Specific Benchmark for Visual Recognition of Marine Molluscs8 May 2026
- 2026FUN: A Focal U-Net Combining Reconstruction and Object Detection for Snapshot Spectral Imaging30 Apr 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026Image Rotation Angle Estimation: Comparing Circular-Aware Methods26 Mar 2026
- 2026WavSLM: Single-Stream Speech Language Modeling via WavLM Distillation5 Mar 2026
- 2026CGSA: Class-Guided Slot-Aware Adaptation for Source-Free Object Detection26 Feb 2026
- 2026Detecting Hate and Inflammatory Content in Bengali Memes: A New Multimodal Dataset and Co-Attention Framework25 Feb 2026
- 2026EoCD: Encoder only Remote Sensing Change Detection5 Feb 2026
- 2026Beyond Fixed Frames: Dynamic Character-Aligned Speech Tokenization30 Jan 2026
- 2026Context-Aware Semantic Segmentation via Stage-Wise Attention16 Jan 2026
- 2025UniRec-0.1B: Unified Text and Formula Recognition with 0.1B Parameters24 Dec 2025
- 2025DFIR-DETR: Frequency-Domain Iterative Refinement and Dynamic Feature Aggregation for Small Object Detection8 Dec 2025
- 2025Power of Boundary and Reflection: Semantic Transparent Object Segmentation using Pyramid Vision Transformer with Transparent Cues7 Dec 2025
- 2025GSPN-2: Efficient Parallel Sequence Modeling28 Nov 2025
- 2025GrOCE:Graph-Guided Online Concept Erasure for Text-to-Image Diffusion Models17 Nov 2025
- 2025MSLoRA: Multi-Scale Low-Rank Adaptation via Attention Reweighting16 Nov 2025
- 2025AGGRNet: Selective Feature Extraction and Aggregation for Enhanced Medical Image Classification15 Nov 2025
- 2025Cross-Layer Feature Self-Attention Module for Multi-Scale Object Detection16 Oct 2025
- 2025FocalCodec-Stream: Streaming Low-Bitrate Speech Coding via Causal Distillation19 Sep 2025
- 2025SAGA: Selective Adaptive Gating for Efficient and Expressive Linear Attention16 Sep 2025
- 2025LFRA-Net: A Lightweight Focal and Region-Aware Attention Network for Retinal Vessel Segmentatio15 Sep 2025
- 2025NAT: Learning to Attack Neurons for Enhanced Adversarial Transferability23 Aug 2025
- 2025Generalizable Federated Learning using Client Adaptive Focal Modulation14 Aug 2025
- 2025DoorDet: Semi-Automated Multi-Class Door Detection Dataset via Object Detection and Large Language Models11 Aug 2025
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition22 Jul 2025
- 2025Frequency-Dynamic Attention Modulation for Dense Prediction16 Jul 2025
- 2025Smelly, dense, and spreaded: The Object Detection for Olfactory References (ODOR) dataset11 Jul 2025
- 2025TITAN: Query-Token based Domain Adaptive Adversarial Learning26 Jun 2025
- 2025Efficient Star Distillation Attention Network for Lightweight Image Super-Resolution14 Jun 2025
- 2025InceptionMamba: An Efficient Hybrid Network with Large Band Convolution and Bottleneck Mamba10 Jun 2025
- 2025Expressive yet Efficient Feature Expansion with Adaptive Cross-Hadamard Products28 May 2025
- 2025Context Aware Grounded Teacher for Source Free Object Detection21 Apr 2025
- 2025Hadamard product in deep learning: Introduction, Advances and Challenges17 Apr 2025
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learning3 Apr 2025
50 newest of 186 All 186 (JSON)
- 2024MambaOut: Do We Really Need Mamba for Vision?cited by 142
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024GroupMamba: Efficient Group-Based Visual State Space Modelcited by 15
- 2025Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attentioncited by 5
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognitioncited by 1
- 2024StableMamba: Distillation-free Scaling of Large SSMs for Images and Videoscited by 0
- 2025InceptionMamba: An Efficient Hybrid Network with Large Band Convolution and Bottleneck Mambacited by 0
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition22 Jul 2025
- 2025InceptionMamba: An Efficient Hybrid Network with Large Band Convolution and Bottleneck Mamba10 Jun 2025
- 2025Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attention19 Feb 2025
- 2024StableMamba: Distillation-free Scaling of Large SSMs for Images and Videos18 Sep 2024
- 2024VSSD: Vision Mamba with Non-Causal State Space Duality26 Jul 2024
- 2024GroupMamba: Efficient Group-Based Visual State Space Model18 Jul 2024
- 2024MambaOut: Do We Really Need Mamba for Vision?13 May 2024
- 2024Surgical-LVLM: Learning to Adapt Large Vision-Language Model for Grounded Visual Question Answering in Robotic Surgerycited by 39
- 2024@Bench: Benchmarking Vision-Language Models for Human-centered Assistive Technologycited by 2
- 2024Text-Guided Mixup Towards Long-Tailed Image Categorizationcited by 1
- 2024@Bench: Benchmarking Vision-Language Models for Human-centered Assistive Technology21 Sep 2024
- 2024Text-Guided Mixup Towards Long-Tailed Image Categorization5 Sep 2024
- 2024Surgical-LVLM: Learning to Adapt Large Vision-Language Model for Grounded Visual Question Answering in Robotic Surgery22 Mar 2024
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 685
- 2023Segment Everything Everywhere All at Oncecited by 546
- 2023DETRs Beat YOLOs on Real-time Object Detectioncited by 526
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2023Florence-2: Advancing a Unified Representation for a Variety of Vision Taskscited by 403
- 2023EVA-02: A Visual Representation for Neon Genesiscited by 377
- 2023Recognize Anything: A Strong Image Tagging Modelcited by 305
- 2022Generalized Decoding for Pixel, Image, and Languagecited by 292
- 2022DETRs with Collaborative Hybrid Assignments Trainingcited by 273
- 2023A Simple Framework for Open-Vocabulary Segmentation and Detectioncited by 197
- 2022MetaFormer Baselines for Visioncited by 131
- 2023VideoLLM: Modeling Video Sequence with Large Language Modelscited by 116
12 most cited of 171 All 171 (JSON)
- 2026LIMODENet: Attention-Free Compact Encoders for Information-Preserving Onboard Satellite Image Restoration13 Sep 2026
- 2026ZipCodec: Ultra-Low-Frame-Rate Streaming Speech Coding10 Sep 2026
- 2026RailGen: Improving Railway Intrusion Detection via Agent-Guided Small-Scale Foreign Object Generation31 Aug 2026
- 2026Corrupting Attention: Evasion-Based Adversarial Attacks on Encoder Attention in Detection Transformers7 Aug 2026
- 2026EvReflection: Event-Driven Micro-Dynamics for Reflection Removal6 Aug 2026
- 2026VCP-DCN: Beyond Visual Concealed Property via Depth Collaborative Network for Camouflaged Object Detection30 Jul 2026
- 2026Benchmarking the Domain Gap: Model Selection Instability Under Domain Shift in Video Capsule Endoscopy22 Jul 2026
- 2026Water Reflection Detection Using Symmetric Attention12 Jul 2026
- 2026SpiS-GAN: Spiral-Modulated Handwriting Synthesis with Star Operation8 Jul 2026
- 2026LUMA: Benchmarking Segmentation via a Lightweight Universal Mask Adapter1 Jul 2026
- 2026Real-Time Source-Free Object Detection30 Jun 2026
- 2026Towards Effective Waste Segmentation for Automated Waste Recycling in Cluttered Background11 Jun 2026
12 newest of 171 All 171 (JSON)