Early Convolutions Help Transformers See Better
Not on the map. Why?
Abstract (arXiv)
Vision transformer (ViT) models exhibit substandard optimizability. In particular, they are sensitive to the choice of optimizer (AdamW vs. SGD), optimizer hyperparameters, and training schedule length. In comparison, modern convolutional neural networks are easier to optimize. Why is this the case? In this work, we conjecture that the issue lies with the patchify stem of ViT models, which is implemented by a stride-p p*p convolution (p=16 by default) applied to the input image. This large-kernel plus large-stride convolution runs counter to typical design choices of convolutional layers in neural networks. To test whether this atypical design choice causes an issue, we analyze the optimization behavior of ViT models with their original patchify stem versus a simple counterpart where we replace the ViT stem by a small number of stacked stride-two 3*3 convolutions. While the vast majority of computation in the two ViT designs is identical, we find that this small change in early visual processing results in markedly different training behavior in terms of the sensitivity to optimization settings as well as the final model accuracy. Using a convolutional stem in ViT dramatically increases optimization stability and also improves peak performance (by ~1-2% top-1 accuracy on ImageNet-1k), while maintaining flops and runtime. The improvement can be observed across the wide spectrum of model complexities (from 1G to 36G flops) and dataset scales (from ImageNet-1k to ImageNet-21k). These findings lead us to recommend using a standard, lightweight convolutional stem for ViT models in this regime as a more robust architectural choice compared to the original ViT model design.
Key facts. Cited by 396 papers in the map (data through 14 Oct 2026). Builds on 45 of its 54 references that are in the map. First posted on arXiv 28 Jun 2021.
Builds on
45 of 54 references.
References · 45
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2017Mask R-CNNcited by 7,277
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
33 more
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2014Going Deeper with Convolutionscited by 4,241
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
- 2017Non-local Neural Networkscited by 2,293
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2017Random Erasing Data Augmentationcited by 1,239
- 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,135
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2020Designing Network Design Spacescited by 960
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2021Multiscale Vision Transformerscited by 897
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 769
- 2021Going deeper with Image Transformerscited by 764
- 2018AutoAugment: Learning Augmentation Policies from Datacited by 730
- 2021ImageNet-21K Pretraining for the Massescited by 613
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2020Exploring Self-attention for Image Recognitioncited by 313
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 300
- 2021Incorporating Convolution Designs into Visual Transformerscited by 248
- 2021Visformer: The Vision-friendly Transformercited by 137
- 2019MultiGrain: a unified image embedding for classes and instancescited by 85
- 2019On Network Design Spaces for Visual Recognitioncited by 68
- 2021Fast and Accurate Model Scalingcited by 46
- 2019Augment your batch: better training with larger batchescited by 37
- 2020FBNetV3: Joint Architecture-Recipe Search using Predictor Pretrainingcited by 35
Built on by
Citing papers per year: 2021: 42; 2022: 127; 2023: 95; 2024: 79; 2025: 30; 2026: 23.
396 papers.
Sort:
By area:
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2022A ConvNet for the 2020scited by 3,579
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2021SimVLM: Simple Visual Language Model Pretraining with Weak Supervisioncited by 647
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 642
- 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 502
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2022Activating More Pixels in Image Super-Resolution Transformercited by 438
- 2022DeiT III: Revenge of the ViTcited by 419
- 2022ActionFormer: Localizing Moments of Actions with Transformerscited by 311
38 more
- 2022How Do Vision Transformers Work?cited by 307
- 2022Vision Transformer with Deformable Attentioncited by 295
- 2022Spikformer: When Spiking Neural Network Meets Transformercited by 271
- 2022Vision Transformers for Single Image Dehazingcited by 260
- 2022Masked Visual Pre-training for Motor Controlcited by 248
- 2022Real-World Robot Learning with Masked Visual Pre-trainingcited by 245
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 235
- 2022TinyViT: Fast Pretraining Distillation for Small Vision Transformerscited by 234
- 2021AdaViT: Adaptive Vision Transformers for Efficient Image Recognitioncited by 228
- 2022MAT: Mask-Aware Transformer for Large Hole Image Inpaintingcited by 218
- 2022UniFormer: Unifying Convolution and Self-attention for Visual Recognitioncited by 206
- 2022Patches Are All You Need?cited by 201
- 2022Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Modelscited by 174
- 2023EfficientViT: Memory Efficient Vision Transformer with Cascaded Group Attentioncited by 172
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
- 2022Masked World Models for Visual Controlcited by 170
- 2023FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterizationcited by 162
- 2022Masked Discrimination for Self-Supervised Learning on Point Cloudscited by 155
- 2021HRFormer: High-Resolution Transformer for Dense Predictioncited by 149
- 2022Scene Text Recognition with Permuted Autoregressive Sequence Modelscited by 149
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 124
- 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
- 2022EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applicationscited by 121
- 2021PhysFormer: Facial Video-based Physiological Measurement with Temporal Difference Transformercited by 120
- 2022DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimationcited by 118
- 2021A Survey of Visual Transformerscited by 117
- 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
- 2022UniFormerV2: Spatiotemporal Learning by Arming Image ViTs with Video UniFormercited by 116
- 2022Cost Aggregation with 4D Convolutional Swin Transformer for Few-Shot Segmentationcited by 114
- 2021ViTGAN: Training GANs with Vision Transformerscited by 110
- 2022MobileOne: An Improved One millisecond Mobile Backbonecited by 109
- 2023OctFormer: Octree-based Transformers for 3D Point Cloudscited by 109
- 2022ConvMAE: Masked Convolution Meets Masked Autoencoderscited by 105
- 2022HorNet: Efficient High-Order Spatial Interactions with Recursive Gated Convolutionscited by 103
- 2024Spike-driven Transformer V2: Meta Spiking Neural Network Architecture Inspiring the Design of Next-generation Neuromorphic Chipscited by 103
- 2022Inception Transformercited by 99
- 2023Extracting Motion and Appearance via Inter-Frame Attention for Efficient Video Frame Interpolationcited by 98
- 2022Improving Chest X-Ray Report Generation by Leveraging Warm Startingcited by 95
50 most cited of 396 All 396 (JSON)
- 2026LiteEMG-FM: An Efficient and Deployable Foundation Model for Robust EMG Sensing1 Oct 2026
- 2026Pixels to Keys: Exploring Spatial and Motion Cues in Gameplay Inverse Dynamics29 Sep 2026
- 2026Why MLLMs Struggle to Count: Overcoming Individuation and Aggregation Bottlenecks with ConvStack29 Sep 2026
- 2026Forensic Twins: Self-Supervised Residual Learning for AI-Generated Image Forensics25 Sep 2026
- 2026Training Trajectories Determine Circuit Removability in Annealable Soft-Prior Transformers9 Sep 2026
- 2026GAN-Blot: A Controllable Structure-Style Synthesis Benchmark for Western Blot Forensics6 Sep 2026
- 2026nnMNet: Baseline for Martian Terrain Semantic Segmentation30 Aug 2026
- 2026Listening Forward: Next Patch Embedding Prediction Enables Scalable Audio Learners20 Aug 2026
- 2026Generative Optimization for Incentivized Advertising with Global Level Constraints5 Aug 2026
- 2026Active Spatial Guidance: Eliminating Injected Positional Mechanisms in Vision Transformers1 Jul 2026
- 2026Structure-Preserving Document Translation via Multi-Stage LLM Pipeline: A Case Study in Marathi27 Jun 2026
- 2026Tensorion: A Tensor-Aware Generalization of the Muon Optimizer24 Jun 2026
38 more
- 2026Beyond a Single Explanation of the Adam--SGD Gap12 Jun 2026
- 2026Phase Marginalization for Patch-Grid Instability in Vision Transformers6 Jun 2026
- 2026Beyond Compression: Quantifying Spectral Accessibility in Vision Representations2 Jun 2026
- 2026Is an Image Also Worth 16x16=256 Superpixels? A Framework for Attentional Image Classification26 May 2026
- 2026OlmoEarth v1.2: A more efficient family of OlmoEarth models20 May 2026
- 2026Harnessing Lightweight Transformer with Contextual Synergic Enhancement for Efficient 3D Medical Image Segmentation24 Mar 2026
- 2026EdgeCrafter: Compact ViTs for Edge Dense Prediction via Task-Specialized Distillation19 Mar 2026
- 2026Does Sparse Connectivity Improve Generalization? Convolutional Networks Below the Edge of Stability5 Mar 2026
- 2026PinCLIP: Large-scale Foundational Multimodal Representation at Pinterest3 Mar 2026
- 2026Interpretable Vision Transformers in Image Classification via SVDA11 Feb 2026
- 2026FOVI: A biologically-inspired foveated interface for deep vision models3 Feb 2026
- 2025KAN-FPN-Stem:A KAN-Enhanced Feature Pyramid Stem for Boosting ViT-based Pose Estimation23 Dec 2025
- 2025Graph Embedding with Mel-spectrograms for Underwater Acoustic Target Recognition12 Dec 2025
- 2025Self-Supervised Multisensory Pretraining for Contact-Rich Robot Reinforcement Learning18 Nov 2025
- 2025MSAD: A Deep Dive into Model Selection for Time series Anomaly Detection30 Oct 2025
- 2025Beyond Motion Cues and Structural Sparsity: Revisiting Small Moving Target Detection9 Sep 2025
- 2025Hybrid Swin Attention Networks for Simultaneously Low-Dose PET and CT Denoising8 Sep 2025
- 2025LGBP-OrgaNet: Learnable Gaussian Band Pass Fusion of CNN and Transformer Features for Robust Organoid Segmentation and Tracking3 Sep 2025
- 2025MUJICA: Reforming SISR Models for PBR Material Super-Resolution via Cross-Map Attention13 Aug 2025
- 2025M-SpecGene: Generalized Foundation Model for RGBT Multispectral Vision22 Jul 2025
- 2025SpaRTAN: Spatial Reinforcement Token-based Aggregation Network for Visual Recognition15 Jul 2025
- 2025Multimodal Fusion for Sim2real Transfer in Visual Reinforcement Learning12 Jul 2025
- 2025RoadFormer : Local-Global Feature Fusion for Road Surface Classification in Autonomous Driving3 Jun 2025
- 2025S2AFormer: Strip Self-Attention for Efficient Vision Transformer28 May 2025
- 2025Burst Image Super-Resolution via Multi-Cross Attention Encoding and Multi-Scan State-Space Decoding26 May 2025
- 2025Expert-Like Reparameterization of Heterogeneous Pyramid Receptive Fields in Efficient CNNs for Fair Medical Image Classification19 May 2025
- 2025AdaFortiTran: An Adaptive Transformer Model for Robust OFDM Channel Estimation14 May 2025
- 2025Variational diffusion transformers for conditional sampling of supernovae spectra5 May 2025
- 2025Vision Transformers in Precision Agriculture: A Comprehensive Survey30 Apr 2025
- 2025Graph Network for Sign Language Tasks16 Apr 2025
- 2025Multi-Token Attention1 Apr 2025
- 2025LSNet: See Large, Focus Small29 Mar 2025
- 2025Enhancing Learnable Descriptive Convolutional Vision Transformer for Face Anti-Spoofing29 Mar 2025
- 2025Atlas: Multi-Scale Attention Improves Long Context Image Modeling16 Mar 2025
- 2025BEVDiffLoc: End-to-End LiDAR Global Localization in BEV View based on Diffusion Model14 Mar 2025
- 2025DTU-Net: A Multi-Scale Dilated Transformer Network for Nonlinear Hyperspectral Unmixing5 Mar 2025
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Compute27 Feb 2025
- 2025Escaping The Big Data Paradigm in Self-Supervised Representation Learning25 Feb 2025
50 newest of 396 All 396 (JSON)
- 2022DearKD: Data-Efficient Early Knowledge Distillation for Vision Transformerscited by 65
- 2023Distilling Efficient Vision Transformers from CNNs for Semantic Segmentationcited by 18
- 2023Knowledge Distillation in Vision Transformers: A Critical Reviewcited by 13
- 2022CMKD: CNN/Transformer-Based Cross-Model Knowledge Distillation for Audio Classificationcited by 12
- 2022Revisiting Architecture-aware Knowledge Distillation: Smaller Models and Faster Searchcited by 2
- 2023ClST: A Convolutional Transformer Framework for Automatic Modulation Recognition by Knowledge Distillationcited by 0
- 2024Stereo-Knowledge Distillation from dpMV to Dual Pixels for Light Field Video Reconstructioncited by 0
- 2024EFCM: Efficient Fine-tuning on Compressed Models for deployment of large models in medical image analysiscited by 0
- 2024EFCM: Efficient Fine-tuning on Compressed Models for deployment of large models in medical image analysis18 Sep 2024
- 2024Stereo-Knowledge Distillation from dpMV to Dual Pixels for Light Field Video Reconstruction20 May 2024
- 2023ClST: A Convolutional Transformer Framework for Automatic Modulation Recognition by Knowledge Distillation29 Dec 2023
- 2023Distilling Efficient Vision Transformers from CNNs for Semantic Segmentation11 Oct 2023
- 2023Knowledge Distillation in Vision Transformers: A Critical Review4 Feb 2023
- 2022Revisiting Architecture-aware Knowledge Distillation: Smaller Models and Faster Search27 Jun 2022
- 2022DearKD: Data-Efficient Early Knowledge Distillation for Vision Transformers27 Apr 2022
- 2022CMKD: CNN/Transformer-Based Cross-Model Knowledge Distillation for Audio Classification13 Mar 2022
- 2021SimVLM: Simple Visual Language Model Pretraining with Weak Supervisioncited by 647
- 2024ViTamin: Designing Scalable Vision Models in the Vision-Language Eracited by 39
- 2023Prismer: A Vision-Language Model with Multi-Task Expertscited by 28
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustnesscited by 12
- 2026Beyond Compression: Quantifying Spectral Accessibility in Vision Representationscited by 1
- 2026PinCLIP: Large-scale Foundational Multimodal Representation at Pinterestcited by 0
- 2026Why MLLMs Struggle to Count: Overcoming Individuation and Aggregation Bottlenecks with ConvStackcited by 0
- 2026Why MLLMs Struggle to Count: Overcoming Individuation and Aggregation Bottlenecks with ConvStack29 Sep 2026
- 2026Beyond Compression: Quantifying Spectral Accessibility in Vision Representations2 Jun 2026
- 2026PinCLIP: Large-scale Foundational Multimodal Representation at Pinterest3 Mar 2026
- 2024ViTamin: Designing Scalable Vision Models in the Vision-Language Era2 Apr 2024
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustness8 Dec 2023
- 2023Prismer: A Vision-Language Model with Multi-Task Experts4 Mar 2023
- 2021SimVLM: Simple Visual Language Model Pretraining with Weak Supervision24 Aug 2021
- 2022All are Worth Words: A ViT Backbone for Diffusion Modelscited by 502
- 2024The Ingredients for Robotic Diffusion Transformerscited by 73
- 2023LLCaps: Learning to Illuminate Low-Light Capsule Endoscopy with Curved Wavelet Attention and Reverse Diffusioncited by 15
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Computecited by 12
- 2024Image-Conditional Diffusion Transformer for Underwater Image Enhancementcited by 2
- 2025Variational diffusion transformers for conditional sampling of supernovae spectracited by 1
- 2025Variational diffusion transformers for conditional sampling of supernovae spectra5 May 2025
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Compute27 Feb 2025
- 2024The Ingredients for Robotic Diffusion Transformers14 Oct 2024
- 2024Image-Conditional Diffusion Transformer for Underwater Image Enhancement7 Jul 2024
- 2023LLCaps: Learning to Illuminate Low-Light Capsule Endoscopy with Curved Wavelet Attention and Reverse Diffusion5 Jul 2023
- 2022All are Worth Words: A ViT Backbone for Diffusion Models25 Sep 2022
- 2024MambaDFuse: A Mamba-based Dual-phase Model for Multi-modality Image Fusioncited by 35
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networkscited by 14
- 2024Wave-U-Mamba: An End-To-End Framework For High-Quality And Efficient Speech Super Resolutioncited by 9
- 2024A Deep Learning-Based Approach for Mangrove Monitoringcited by 1
- 2024StableMamba: Distillation-free Scaling of Large SSMs for Images and Videoscited by 0
- 2024A Deep Learning-Based Approach for Mangrove Monitoring7 Oct 2024
- 2024StableMamba: Distillation-free Scaling of Large SSMs for Images and Videos18 Sep 2024
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networks15 Sep 2024
- 2024Wave-U-Mamba: An End-To-End Framework For High-Quality And Efficient Speech Super Resolution14 Sep 2024
- 2024MambaDFuse: A Mamba-based Dual-phase Model for Multi-modality Image Fusion12 Apr 2024
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2022Masked World Models for Visual Controlcited by 170
- 2022Scalable Diffusion Models with Transformers19 Dec 2022
- 2022Masked World Models for Visual Control28 Jun 2022
- 2024Locality Alignment Improves Vision-Language Modelscited by 13
- 2024Locality Alignment Improves Vision-Language Models14 Oct 2024
- 2024One Pixel is All I Needcited by 0
- 2024One Pixel is All I Need14 Dec 2024
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2022A ConvNet for the 2020scited by 3,579
- 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 642
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2022Activating More Pixels in Image Super-Resolution Transformercited by 438
- 2022DeiT III: Revenge of the ViTcited by 419
- 2022ActionFormer: Localizing Moments of Actions with Transformerscited by 311
- 2022How Do Vision Transformers Work?cited by 307
- 2022Vision Transformer with Deformable Attentioncited by 295
- 2022Spikformer: When Spiking Neural Network Meets Transformercited by 271
12 most cited of 363 All 363 (JSON)
- 2026LiteEMG-FM: An Efficient and Deployable Foundation Model for Robust EMG Sensing1 Oct 2026
- 2026Pixels to Keys: Exploring Spatial and Motion Cues in Gameplay Inverse Dynamics29 Sep 2026
- 2026Forensic Twins: Self-Supervised Residual Learning for AI-Generated Image Forensics25 Sep 2026
- 2026GAN-Blot: A Controllable Structure-Style Synthesis Benchmark for Western Blot Forensics6 Sep 2026
- 2026nnMNet: Baseline for Martian Terrain Semantic Segmentation30 Aug 2026
- 2026Listening Forward: Next Patch Embedding Prediction Enables Scalable Audio Learners20 Aug 2026
- 2026Generative Optimization for Incentivized Advertising with Global Level Constraints5 Aug 2026
- 2026Active Spatial Guidance: Eliminating Injected Positional Mechanisms in Vision Transformers1 Jul 2026
- 2026Structure-Preserving Document Translation via Multi-Stage LLM Pipeline: A Case Study in Marathi27 Jun 2026
- 2026Tensorion: A Tensor-Aware Generalization of the Muon Optimizer24 Jun 2026
- 2026Beyond a Single Explanation of the Adam--SGD Gap12 Jun 2026
- 2026Phase Marginalization for Patch-Grid Instability in Vision Transformers6 Jun 2026
12 newest of 363 All 363 (JSON)