SpectFormer: Frequency and Attention is what you need in a Vision Transformer
Not on the map. Why?
Abstract (arXiv)
Vision transformers have been applied successfully for image recognition tasks. There have been either multi-headed self-attention based (ViT citedosovitskiy2020image, DeIT, citetouvron2021training) similar to the original work in textual models or more recently based on spectral layers (Fnetcitelee2021fnet, GFNetciterao2021global, AFNOciteguibas2021efficient). We hypothesize that both spectral and multi-headed attention plays a major role. We investigate this hypothesis through this work and observe that indeed combining spectral and multi-headed attention layers provides a better transformer architecture. We thus propose the novel Spectformer architecture for transformers that combines spectral and multi-headed attention layers. We believe that the resulting representation allows the transformer to capture the feature representation appropriately and it yields improved performance over other transformer representations. For instance, it improves the top-1 accuracy by 2% on ImageNet compared to both GFNet-H and LiT. SpectFormer-S reaches 84.25% top-1 accuracy on ImageNet-1K (state of the art for small version). Further, Spectformer-L achieves 85.7% that is the state of the art for the comparable base version of the transformers. We further ensure that we obtain reasonable results in other scenarios such as transfer learning on standard datasets such as CIFAR-10, CIFAR-100, Oxford-IIIT-flower, and Standford Car datasets. We then investigate its use in downstream tasks such of object detection and instance segmentation on the MS-COCO dataset and observe that Spectformer shows consistent performance that is comparable to the best backbones and can be further optimized and improved. Hence, we believe that combined spectral and attention layers are what are needed for vision transformers.
Key facts. Cited by 48 papers in the map (data through 13 Oct 2026). Builds on 68 of its 90 references that are in the map. First posted on arXiv 13 Apr 2023.
Builds on
68 of 90 references.
References · 68
- 2017Attention Is All You Needcited by 60,106
- 2015Deep Residual Learning for Image Recognitioncited by 51,950
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,043
- 2023GPT-4 Technical Reportcited by 18,278
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,111
- 2017Mask R-CNNcited by 7,266
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,426
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,317
- 2017Squeeze-and-Excitation Networkscited by 4,772
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,574
- 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,857
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,544
38 more
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,368
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,961
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,383
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,219
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2021Going deeper with Image Transformerscited by 762
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 750
- 2021Transformer in Transformercited by 633
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2021MetaFormer Is Actually What You Need for Visioncited by 524
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 517
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2020ResNeSt: Split-Attention Networkscited by 445
- 2022DeiT III: Revenge of the ViTcited by 417
- 2020Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detectioncited by 408
- 2021Pay Attention to MLPscited by 368
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2021FNet: Mixing Tokens with Fourier Transformscited by 346
- 2021ResMLP: Feedforward networks for image classification with data-efficient trainingcited by 338
- 2021CMT: Convolutional Neural Networks Meet Vision Transformerscited by 310
- 2022Vision Transformer with Deformable Attentioncited by 294
- 2021DeepViT: Towards Deeper Vision Transformercited by 288
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 287
- 2022MixFormer: End-to-End Tracking with Iterative Mixed Attentioncited by 279
- 2021Global Filter Networks for Image Classificationcited by 259
- 2021Co-Scale Conv-Attentional Image Transformerscited by 224
- 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
- 2022UniFormer: Unifying Convolution and Self-attention for Visual Recognitioncited by 206
- 2022DaViT: Dual Attention Vision Transformerscited by 174
- 2021VOLO: Vision Outlooker for Visual Recognitioncited by 164
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
- 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
- 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 127
50 most cited of 68 All 68 (JSON)
Built on by
Citing papers per year: 2023: 4; 2024: 15; 2025: 11; 2026: 18.
48 papers.
Sort:
By area:
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time seriescited by 82
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024P-Mamba: Marrying Perona Malik Diffusion with Mamba for Efficient Pediatric Echocardiographic Left Ventricular Segmentationcited by 21
- 2023Scattering Vision Transformer: Spectral Mixing Matterscited by 17
- 2024LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image Recognitioncited by 13
- 2023Graph Convolutions Enrich the Self-Attention in Transformers!cited by 11
- 2023Spectral Prompt Tuning:Unveiling Unseen Classes for Zero-Shot Semantic Segmentationcited by 11
- 2024Fourier Prompt Tuning for Modality-Incomplete Scene Segmentationcited by 11
- 2024FSTA-SNN:Frequency-based Spatial-Temporal Attention Module for Spiking Neural Networkscited by 10
- 2025Frequency-Dynamic Attention Modulation for Dense Predictioncited by 10
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysiscited by 5
- 2025Surya: Foundation Model for Heliophysicscited by 5
36 more
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 2024AI Foundation Model for Heliophysics: Applications, Design, and Implementationcited by 3
- 2024Scalable Event Cloud Network for Event-based Classificationcited by 3
- 2025Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domaincited by 3
- 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNetcited by 3
- 2024Discrete Cosine Transform Based Decorrelated Attention for Vision Transformerscited by 2
- 2024Signal-SGN: A Spiking Graph Convolutional Network for Skeletal Action Recognition via Learning Temporal-Frequency Dynamicscited by 2
- 2025EHCTNet: Enhanced Hybrid of CNN and Transformer Network for Remote Sensing Image Change Detectioncited by 2
- 2026D3R-DETR: DETR with Dual-Domain Density Refinement for Tiny Object Detection in Aerial Imagescited by 2
- 2026Frame2Freq: Spectral Adapters for Fine-Grained Video Understandingcited by 2
- 2023DEFormer: DCT-driven Enhancement Transformer for Low-light Image and Dark Visioncited by 1
- 2024AFIDAF: Alternating Fourier and Image Domain Adaptive Filters as an Efficient Alternative to Attention in ViTscited by 1
- 2024MxT: Mamba x Transformer for Image Inpaintingcited by 1
- 2025SAC-ViT: Semantic-Aware Clustering Vision Transformer with Early Exitcited by 1
- 2025Auto-US: An Ultrasound Video Diagnosis Agent Using Video Classification Framework and LLMscited by 1
- 2026TimeAPN: Adaptive Amplitude-Phase Non-Stationarity Normalization for Time Series Forecastingcited by 1
- 2026Efficiency Follows Global-Local Decouplingcited by 1
- 2026NAKUL-Med: Spectral-Graph State Space Models with Dynamics Kernels for Medical Signalscited by 1
- 2024Retina Vision Transformer (RetinaViT): Introducing Scaled Patches into Vision Transformerscited by 0
- 2025Brain Effective Connectivity Estimation via Fourier Spatiotemporal Attentioncited by 0
- 2025Multi-omic Prognosis of Alzheimer's Disease with Asymmetric Cross-Modal Cross-Attention Networkcited by 0
- 2025A Memory-Efficient Framework for Deformable Transformer with Neural Architecture Searchcited by 0
- 2025Filter then Attend: Improving attention-based Time Series Forecasting with Spectral Filteringcited by 0
- 2025A Spatial-Spectral-Frequency Interactive Network for Multimodal Remote Sensing Classificationcited by 0
- 2026MFC-RFNet: A Multi-scale Guided Rectified Flow Network for Radar Sequence Predictioncited by 0
- 2026Human-inspired Global-to-Parallel Multi-scale Encoding for Lightweight Vision Modelscited by 0
- 2026DuFal: Dual-Frequency-Aware Learning for High-Fidelity Extremely Sparse-view CBCT Reconstructioncited by 0
- 2026HAViT: Historical Attention Vision Transformercited by 0
- 2026WaveSFNet: A Wavelet-Based Codec and Spatial--Frequency Dual-Domain Gating Network for Spatiotemporal Predictioncited by 0
- 2026Text-Guided Multi-Scale Frequency Representation Adaptationcited by 0
- 2026FrequencyFormer: A Co-Designed Sensor-to-Processor Pipeline for Frequency-Domain Vision Transformer Inferencecited by 0
- 2026DDSNet: Dual-domain Symmetry-aware Network for PCSEL Property Predictioncited by 0
- 2026HAFI-VLM: A Frequency Perspective for Diagnosing and Enhancing Visual Perception in Vision-Language Modelscited by 0
- 2026DyFrDet: Towards Accurate Small Object Detection via Dynamic Frequency Suppression with Label Disambiguationcited by 0
- 2026QiT: Quantum-Inspired Transformer for Visual Recognition Taskcited by 0
- 2026Riemannian--Lorentz Fusion of Vision Transformers and State-Space Modelscited by 0
- 2026Riemannian--Lorentz Fusion of Vision Transformers and State-Space Models16 Sep 2026
- 2026QiT: Quantum-Inspired Transformer for Visual Recognition Task15 Sep 2026
- 2026DyFrDet: Towards Accurate Small Object Detection via Dynamic Frequency Suppression with Label Disambiguation3 Aug 2026
- 2026HAFI-VLM: A Frequency Perspective for Diagnosing and Enhancing Visual Perception in Vision-Language Models3 Aug 2026
- 2026DDSNet: Dual-domain Symmetry-aware Network for PCSEL Property Prediction22 Jun 2026
- 2026FrequencyFormer: A Co-Designed Sensor-to-Processor Pipeline for Frequency-Domain Vision Transformer Inference17 Jun 2026
- 2026Text-Guided Multi-Scale Frequency Representation Adaptation5 May 2026
- 2026NAKUL-Med: Spectral-Graph State Space Models with Dynamics Kernels for Medical Signals24 Apr 2026
- 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNet16 Apr 2026
- 2026WaveSFNet: A Wavelet-Based Codec and Spatial--Frequency Dual-Domain Gating Network for Spatiotemporal Prediction24 Mar 2026
- 2026Efficiency Follows Global-Local Decoupling20 Mar 2026
- 2026HAViT: Historical Attention Vision Transformer19 Mar 2026
36 more
- 2026TimeAPN: Adaptive Amplitude-Phase Non-Stationarity Normalization for Time Series Forecasting18 Mar 2026
- 2026Frame2Freq: Spectral Adapters for Fine-Grained Video Understanding21 Feb 2026
- 2026DuFal: Dual-Frequency-Aware Learning for High-Fidelity Extremely Sparse-view CBCT Reconstruction21 Jan 2026
- 2026Human-inspired Global-to-Parallel Multi-scale Encoding for Lightweight Vision Models13 Jan 2026
- 2026MFC-RFNet: A Multi-scale Guided Rectified Flow Network for Radar Sequence Prediction7 Jan 2026
- 2026D3R-DETR: DETR with Dual-Domain Density Refinement for Tiny Object Detection in Aerial Images6 Jan 2026
- 2025Auto-US: An Ultrasound Video Diagnosis Agent Using Video Classification Framework and LLMs11 Nov 2025
- 2025A Spatial-Spectral-Frequency Interactive Network for Multimodal Remote Sensing Classification6 Oct 2025
- 2025Filter then Attend: Improving attention-based Time Series Forecasting with Spectral Filtering27 Aug 2025
- 2025Surya: Foundation Model for Heliophysics18 Aug 2025
- 2025Frequency-Dynamic Attention Modulation for Dense Prediction16 Jul 2025
- 2025A Memory-Efficient Framework for Deformable Transformer with Neural Architecture Search13 Jul 2025
- 2025Multi-omic Prognosis of Alzheimer's Disease with Asymmetric Cross-Modal Cross-Attention Network9 Jul 2025
- 2025Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domain13 May 2025
- 2025Brain Effective Connectivity Estimation via Fourier Spatiotemporal Attention14 Mar 2025
- 2025SAC-ViT: Semantic-Aware Clustering Vision Transformer with Early Exit27 Feb 2025
- 2025EHCTNet: Enhanced Hybrid of CNN and Transformer Network for Remote Sensing Image Change Detection2 Jan 2025
- 2024Scalable Event Cloud Network for Event-based Classification30 Dec 2024
- 2024FSTA-SNN:Frequency-based Spatial-Temporal Attention Module for Spiking Neural Networks15 Dec 2024
- 2024AI Foundation Model for Heliophysics: Applications, Design, and Implementation30 Sep 2024
- 2024Signal-SGN: A Spiking Graph Convolutional Network for Skeletal Action Recognition via Learning Temporal-Frequency Dynamics3 Aug 2024
- 2024MxT: Mamba x Transformer for Image Inpainting23 Jul 2024
- 2024AFIDAF: Alternating Fourier and Image Domain Adaptive Filters as an Efficient Alternative to Attention in ViTs16 Jul 2024
- 2024Discrete Cosine Transform Based Decorrelated Attention for Vision Transformers22 May 2024
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr 2024
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insights28 Mar 2024
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysis26 Mar 2024
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time series22 Mar 2024
- 2024Retina Vision Transformer (RetinaViT): Introducing Scaled Patches into Vision Transformers20 Mar 2024
- 2024P-Mamba: Marrying Perona Malik Diffusion with Mamba for Efficient Pediatric Echocardiographic Left Ventricular Segmentation13 Feb 2024
- 2024Fourier Prompt Tuning for Modality-Incomplete Scene Segmentation30 Jan 2024
- 2024LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image Recognition8 Jan 2024
- 2023Spectral Prompt Tuning:Unveiling Unseen Classes for Zero-Shot Semantic Segmentation20 Dec 2023
- 2023Graph Convolutions Enrich the Self-Attention in Transformers!7 Dec 2023
- 2023Scattering Vision Transformer: Spectral Mixing Matters2 Nov 2023
- 2023DEFormer: DCT-driven Enhancement Transformer for Low-light Image and Dark Vision13 Sep 2023
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time seriescited by 82
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024P-Mamba: Marrying Perona Malik Diffusion with Mamba for Efficient Pediatric Echocardiographic Left Ventricular Segmentationcited by 21
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysiscited by 5
- 2024MxT: Mamba x Transformer for Image Inpaintingcited by 1
- 2024MxT: Mamba x Transformer for Image Inpainting23 Jul 2024
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr 2024
- 2024Heracles: A Hybrid SSM-Transformer Model for High-Resolution Image and Time-Series Analysis26 Mar 2024
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time series22 Mar 2024
- 2024P-Mamba: Marrying Perona Malik Diffusion with Mamba for Efficient Pediatric Echocardiographic Left Ventricular Segmentation13 Feb 2024
- 2023Scattering Vision Transformer: Spectral Mixing Matterscited by 17
- 2024LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image Recognitioncited by 13
- 2023Graph Convolutions Enrich the Self-Attention in Transformers!cited by 11
- 2023Spectral Prompt Tuning:Unveiling Unseen Classes for Zero-Shot Semantic Segmentationcited by 11
- 2024Fourier Prompt Tuning for Modality-Incomplete Scene Segmentationcited by 11
- 2024FSTA-SNN:Frequency-based Spatial-Temporal Attention Module for Spiking Neural Networkscited by 10
- 2025Frequency-Dynamic Attention Modulation for Dense Predictioncited by 10
- 2025Surya: Foundation Model for Heliophysicscited by 5
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 2024AI Foundation Model for Heliophysics: Applications, Design, and Implementationcited by 3
- 2024Scalable Event Cloud Network for Event-based Classificationcited by 3
- 2025Learning Advanced Self-Attention for Linear Transformers in the Singular Value Domaincited by 3
12 most cited of 41 All 41 (JSON)
- 2026Riemannian--Lorentz Fusion of Vision Transformers and State-Space Models16 Sep 2026
- 2026QiT: Quantum-Inspired Transformer for Visual Recognition Task15 Sep 2026
- 2026DyFrDet: Towards Accurate Small Object Detection via Dynamic Frequency Suppression with Label Disambiguation3 Aug 2026
- 2026DDSNet: Dual-domain Symmetry-aware Network for PCSEL Property Prediction22 Jun 2026
- 2026FrequencyFormer: A Co-Designed Sensor-to-Processor Pipeline for Frequency-Domain Vision Transformer Inference17 Jun 2026
- 2026Text-Guided Multi-Scale Frequency Representation Adaptation5 May 2026
- 2026NAKUL-Med: Spectral-Graph State Space Models with Dynamics Kernels for Medical Signals24 Apr 2026
- 2026HAMSA: Scanning-Free Vision State Space Models via SpectralPulseNet16 Apr 2026
- 2026WaveSFNet: A Wavelet-Based Codec and Spatial--Frequency Dual-Domain Gating Network for Spatiotemporal Prediction24 Mar 2026
- 2026Efficiency Follows Global-Local Decoupling20 Mar 2026
- 2026HAViT: Historical Attention Vision Transformer19 Mar 2026
- 2026TimeAPN: Adaptive Amplitude-Phase Non-Stationarity Normalization for Time Series Forecasting18 Mar 2026
12 newest of 41 All 41 (JSON)