FlexiViT: One Model for All Patch Sizes
Not on the map. Why?
Abstract (arXiv)
Vision Transformers convert images to sequences by slicing them into patches. The size of these patches controls a speed/accuracy tradeoff, with smaller patches leading to higher accuracy at greater computational cost, but changing the patch size typically requires retraining the model. In this paper, we demonstrate that simply randomizing the patch size at training time leads to a single set of weights that performs well across a wide range of patch sizes, making it possible to tailor the model to different compute budgets at deployment time. We extensively evaluate the resulting model, which we call FlexiViT, on a wide range of tasks, including classification, image-text retrieval, open-world detection, panoptic segmentation, and semantic segmentation, concluding that it usually matches, and sometimes outperforms, standard ViT models trained at a single patch size in an otherwise identical setup. Hence, FlexiViT training is a simple drop-in improvement for ViT that makes it easy to add compute-adaptive capabilities to most models relying on a ViT backbone architecture. Code and pre-trained models are available at https://github.com/google-research/big_vision
Key facts. Cited by 151 papers in the map (data through 7 Oct 2026). Builds on 59 of its 83 references that are in the map. First posted on arXiv 15 Dec 2022.
Builds on
59 of 83 references.
References · 59
- 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
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2016Layer Normalizationcited by 5,579
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2022A ConvNet for the 2020scited by 3,545
- 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,646
38 more
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2019Similarity of Neural Network Representations Revisitedcited by 1,695
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2015Microsoft COCO Captions: Data Collection and Evaluation Servercited by 1,447
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
- 2019Natural Adversarial Examplescited by 1,401
- 2015Flickr30k Entities: Collecting Region-to-Phrase Correspondences for Richer Image-to-Sentence Modelscited by 1,352
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,304
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,215
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2021Scaling Vision Transformerscited by 993
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2018Panoptic Segmentationcited by 796
- 2019Once-for-All: Train One Network and Specialize it for Efficient Deploymentcited by 778
- 2021Going deeper with Image Transformerscited by 759
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 620
- 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 572
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2021VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Textcited by 427
- 2022DeiT III: Revenge of the ViTcited by 417
- 2019On the Efficacy of Knowledge Distillationcited by 377
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 360
- 2020Are we done with ImageNet?cited by 329
- 2022Simple Open-Vocabulary Object Detection with Vision Transformerscited by 303
- 2021Knowledge distillation: A good teacher is patient and consistentcited by 255
- 2021Understanding Robustness of Transformers for Image Classificationcited by 250
- 2020Do Wide and Deep Networks Learn the Same Things? Uncovering How Neural Network Representations Vary with Width and Depthcited by 241
- 2022Multimodal Contrastive Learning with LIMoE: the Language-Image Mixture of Expertscited by 202
- 2020BigNAS: Scaling Up Neural Architecture Search with Big Single-Stage Modelscited by 187
- 2021Does Knowledge Distillation Really Work?cited by 187
- 2022MERLOT Reserve: Neural Script Knowledge through Vision and Language and Soundcited by 184
- 2021Efficient Self-supervised Vision Transformers for Representation Learningcited by 149
- 2021Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image Recognitioncited by 143
- 2022ELEVATER: A Benchmark and Toolkit for Evaluating Language-Augmented Visual Modelscited by 141
50 most cited of 59 All 59 (JSON)
Built on by
Citing papers per year: 2023: 26; 2024: 40; 2025: 45; 2026: 40.
151 papers.
Sort:
By area:
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2024Sora: A Review on Background, Technology, Limitations, and Opportunities of Large Vision Modelscited by 467
- 2023Patch n' Pack: NaViT, a Vision Transformer for any Aspect Ratio and Resolutioncited by 226
- 2024Rotary Position Embedding for Vision Transformercited by 226
- 2024Oryx MLLM: On-Demand Spatial-Temporal Understanding at Arbitrary Resolutioncited by 157
- 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
- 2024Multimodal Autoregressive Pre-training of Large Vision Encoderscited by 108
- 2024RADIOv2.5: Improved Baselines for Agglomerative Vision Foundation Modelscited by 88
- 2023Getting ViT in Shape: Scaling Laws for Compute-Optimal Model Designcited by 87
- 2023MatFormer: Nested Transformer for Elastic Inferencecited by 79
- 2023RangeViT: Towards Vision Transformers for 3D Semantic Segmentation in Autonomous Drivingcited by 76
38 more
- 2025RF-DETR: Neural Architecture Search for Real-Time Detection Transformerscited by 70
- 2025Your ViT is Secretly an Image Segmentation Modelcited by 61
- 2023Which Tokens to Use? Investigating Token Reduction in Vision Transformerscited by 59
- 2025Towards a Unified Copernicus Foundation Model for Earth Visioncited by 52
- 2024Don't Look Twice: Faster Video Transformers with Run-Length Tokenizationcited by 42
- 2025Galileo: Learning Global & Local Features of Many Remote Sensing Modalitiescited by 41
- 2024Adaptive Length Image Tokenization via Recurrent Allocationcited by 40
- 2024Data curation via joint example selection further accelerates multimodal learningcited by 32
- 2026LLaVA-OneVision-2: Towards Next-Generation Perceptual Intelligencecited by 31
- 2024Next Token Prediction Towards Multimodal Intelligence: A Comprehensive Surveycited by 27
- 2023Unlocking Feature Visualization for Deeper Networks with MAgnitude Constrained Optimizationcited by 26
- 2024ViTAR: Vision Transformer with Any Resolutioncited by 25
- 2025FlexiMo: A Flexible Remote Sensing Foundation Modelcited by 24
- 2023FFT-based Dynamic Token Mixer for Visioncited by 22
- 2025OlmoEarth: Stable Latent Image Modeling for Multimodal Earth Observationcited by 20
- 2023MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformerscited by 19
- 2025Training state-of-the-art pathology foundation models with orders of magnitude less datacited by 19
- 2024Token Cropr: Faster ViTs for Quite a Few Taskscited by 18
- 2024PLUTO: Pathology-Universal Transformercited by 17
- 2024AMES: Asymmetric and Memory-Efficient Similarity Estimation for Instance-level Retrievalcited by 16
- 2024BA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything Modelcited by 15
- 2024How to Benchmark Vision Foundation Models for Semantic Segmentation?cited by 15
- 2024Understanding Visual Feature Reliance through the Lens of Complexitycited by 15
- 2025A Survey of Pathology Foundation Model: Progress and Future Directionscited by 14
- 2025SapiensID: Foundation for Human Recognitioncited by 14
- 2023Minimalist and High-Quality Panoramic Imaging with PSF-aware Transformerscited by 13
- 2024Agglomerative Token Clusteringcited by 13
- 2023Win-Win: Training High-Resolution Vision Transformers from Two Windowscited by 12
- 2024On Improved Conditioning Mechanisms and Pre-training Strategies for Diffusion Modelscited by 12
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Computecited by 12
- 2025Accelerating Vision Transformers with Adaptive Patch Sizescited by 12
- 2024Wavelet-Based Image Tokenizer for Vision Transformerscited by 10
- 2023Dual PatchNormcited by 9
- 2023SBCFormer: Lightweight Network Capable of Full-size ImageNet Classification at 1 FPS on Single Board Computerscited by 9
- 2024LookHere: Vision Transformers with Directed Attention Generalize and Extrapolatecited by 9
- 2024A New Era in Computational Pathology: A Survey on Foundation and Vision-Language Modelscited by 9
- 2024HydraViT: Stacking Heads for a Scalable ViTcited by 9
- 2024AdaGlimpse: Active Visual Exploration with Arbitrary Glimpse Position and Scalecited by 7
50 most cited of 151 All 151 (JSON)
- 2026Reading Right, Answering Wrong: How Visual Configuration Changes Affect Evidence Use in VLMs22 Sep 2026
- 2026Geospatial Foundation Models Capture Health-Relevant Dimensions of Place Beyond Conventional Social Risk Indices10 Sep 2026
- 2026Multimodal-Multiresolution Foundation Model for Lunar Remote Sensing8 Sep 2026
- 2026ProgResViT: Progressive Resolution and Width for Adaptive Vision Transformers2 Sep 2026
- 2026Variable-Granularity Tokenization for High-Resolution Object Detection27 Aug 2026
- 2026Invisible Shortcuts: Why Vision Encoders Know Your Camera5 Aug 2026
- 2026Frozen High-Resolution Inference for Cross-City Object Detection: An AI City Challenge 2026 Study4 Aug 2026
- 2026A Scale-adaptive Vision Model Links C. elegans Neuronal Morphology to Behavior for Neurotoxicity Assessment25 Jul 2026
- 2026Now We Know? A Systematic Comparison of TerraMind and THOR20 Jul 2026
- 2026Vision Transformers Learn Gestalt-Like Figure-Ground Cues from Natural Images9 Jul 2026
- 2026UniverSat: Resolution- and Modality-Agnostic Transformers for Earth Observation22 Jun 2026
- 2026Adaptive Volumetric Mechanical Property Fields Invariant to Resolution16 Jun 2026
38 more
- 2026Bounding Box Label Propagation for Re-Annotation of Document Layout Analysis Datasets16 Jun 2026
- 2026FlexiBrain: Resolution-Agnostic Voxel-Level Encoding for Native fMRI9 Jun 2026
- 2026Mitigating Manifold Departure: Uncertainty-Aware Subspace Rectification for Trustworthy MLLM Decoding31 May 2026
- 2026LLaVA-OneVision-2: Towards Next-Generation Perceptual Intelligence25 May 2026
- 2026Universal CT Representations from Anatomy to Disease Phenotype through Agglomerative Pretraining21 May 2026
- 2026OlmoEarth v1.2: A more efficient family of OlmoEarth models20 May 2026
- 2026Reshape and Recur: Improving SSMs with Input Reshaping and Depth Recurrence15 May 2026
- 2026Invaria: Learning Scale and Density Invariance in Point Clouds via Next-Resolution Prediction15 May 2026
- 2026TAP into the Patch Tokens: Leveraging Vision Foundation Model Features for AI-Generated Image Detection29 Apr 2026
- 2026VibeToken: Scaling 1D Image Tokenizers and Autoregressive Models for Dynamic Resolution Generations27 Apr 2026
- 2026Revisiting Token Compression for Accelerating ViT-based Sparse Multi-View 3D Object Detectors16 Apr 2026
- 2026SPAR: Single-Pass Any-Resolution ViT for Open-vocabulary Segmentation2 Apr 2026
- 2026Hierarchical Pre-Training of Vision Encoders with Large Language Model31 Mar 2026
- 2026MuRF: Unlocking the Multi-Scale Potential of Vision Foundation Models26 Mar 2026
- 2026Inverting Neural Networks: New Methods to Generate Neural Network Inputs from Prescribed Outputs20 Mar 2026
- 2026Alternating Gradient Flow Utility: A Unified Metric for Structural Pruning and Dynamic Routing in Deep Networks12 Mar 2026
- 2026Learning Transferable Sensor Models via Language-Informed Pretraining12 Mar 2026
- 2026Does Sparse Connectivity Improve Generalization? Convolutional Networks Below the Edge of Stability5 Mar 2026
- 2026Cross-Scale Pansharpening via ScaleFormer and the PanScale Benchmark28 Feb 2026
- 2026TrajTok: Learning Trajectory Tokens enables better Video Understanding26 Feb 2026
- 2026Effect of Patch Size on Fine-Tuning Vision Transformers in Two-Dimensional and Three-Dimensional Medical Image Classification20 Feb 2026
- 2026DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers19 Feb 2026
- 2026VariViT: A Vision Transformer for Variable Image Sizes16 Feb 2026
- 2026You Can Learn Tokenization End-to-End with Reinforcement Learning15 Feb 2026
- 2026AuroraEdge-V-2B: A Faster And Stronger Edge Visual Large Language Model23 Jan 2026
- 2026THOR: A Versatile Foundation Model for Earth Observation Climate and Society Applications22 Jan 2026
- 2026DeltaDorsal: Enhancing Hand Pose Estimation with Dorsal Features in Egocentric Views21 Jan 2026
- 2026CLIMP: Contrastive Language-Image Mamba Pretraining11 Jan 2026
- 2025DPAR: Dynamic Patchification for Efficient Autoregressive Visual Generation26 Dec 2025
- 2025Any-Optical-Model: A Universal Foundation Model for Optical Remote Sensing19 Dec 2025
- 2025RAMEN: Resolution-Adjustable Multimodal Encoder for Earth Observation4 Dec 2025
- 2025Granular Computing-driven SAM: From Coarse-to-Fine Guidance for Prompt-Free Segmentation24 Nov 2025
- 2025Dynamic Granularity Matters: Rethinking Vision Transformers Beyond Fixed Patch Splitting24 Nov 2025
- 2025AdaPerceiver: Transformers with Adaptive Width, Depth, and Tokens22 Nov 2025
- 2025Weakly Supervised Ephemeral Gully Detection In Remote Sensing Images Using Vision Language Models17 Nov 2025
- 2025OlmoEarth: Stable Latent Image Modeling for Multimodal Earth Observation17 Nov 2025
- 2025GCAgent: Long-Video Understanding via Schematic and Narrative Episodic Memory15 Nov 2025
- 2025RF-DETR: Neural Architecture Search for Real-Time Detection Transformers12 Nov 2025
50 newest of 151 All 151 (JSON)
- 2026LLaVA-OneVision-2: Towards Next-Generation Perceptual Intelligencecited by 31
- 2024A New Era in Computational Pathology: A Survey on Foundation and Vision-Language Modelscited by 9
- 2025CARES: Context-Aware Resolution Selector for VLMscited by 5
- 2025GCAgent: Long-Video Understanding via Schematic and Narrative Episodic Memorycited by 4
- 2025Multilingual Vision-Language Models, A Surveycited by 1
- 2024Self-supervised vision-langage alignment of deep learning representations for bone X-rays analysiscited by 0
- 2026Effect of Patch Size on Fine-Tuning Vision Transformers in Two-Dimensional and Three-Dimensional Medical Image Classificationcited by 0
- 2026Reading Right, Answering Wrong: How Visual Configuration Changes Affect Evidence Use in VLMscited by 0
- 2026Reading Right, Answering Wrong: How Visual Configuration Changes Affect Evidence Use in VLMs22 Sep 2026
- 2026LLaVA-OneVision-2: Towards Next-Generation Perceptual Intelligence25 May 2026
- 2026Effect of Patch Size on Fine-Tuning Vision Transformers in Two-Dimensional and Three-Dimensional Medical Image Classification20 Feb 2026
- 2025GCAgent: Long-Video Understanding via Schematic and Narrative Episodic Memory15 Nov 2025
- 2025CARES: Context-Aware Resolution Selector for VLMs22 Oct 2025
- 2025Multilingual Vision-Language Models, A Survey26 Sep 2025
- 2024A New Era in Computational Pathology: A Survey on Foundation and Vision-Language Models23 Aug 2024
- 2024Self-supervised vision-langage alignment of deep learning representations for bone X-rays analysis14 May 2024
- 2024On Improved Conditioning Mechanisms and Pre-training Strategies for Diffusion Modelscited by 12
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Computecited by 12
- 2025Pyramidal Patchification Flow for Visual Generationcited by 4
- 2026DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformerscited by 3
- 2026VibeToken: Scaling 1D Image Tokenizers and Autoregressive Models for Dynamic Resolution Generationscited by 1
- 2026VibeToken: Scaling 1D Image Tokenizers and Autoregressive Models for Dynamic Resolution Generations27 Apr 2026
- 2026DDiT: Dynamic Patch Scheduling for Efficient Diffusion Transformers19 Feb 2026
- 2025Pyramidal Patchification Flow for Visual Generation30 Jun 2025
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Compute27 Feb 2025
- 2024On Improved Conditioning Mechanisms and Pre-training Strategies for Diffusion Models5 Nov 2024
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2024Sora: A Review on Background, Technology, Limitations, and Opportunities of Large Vision Modelscited by 467
- 2023Patch n' Pack: NaViT, a Vision Transformer for any Aspect Ratio and Resolutioncited by 226
- 2024Rotary Position Embedding for Vision Transformercited by 226
- 2024Oryx MLLM: On-Demand Spatial-Temporal Understanding at Arbitrary Resolutioncited by 157
- 2024Multimodal Autoregressive Pre-training of Large Vision Encoderscited by 108
- 2024RADIOv2.5: Improved Baselines for Agglomerative Vision Foundation Modelscited by 88
- 2023Getting ViT in Shape: Scaling Laws for Compute-Optimal Model Designcited by 87
- 2023MatFormer: Nested Transformer for Elastic Inferencecited by 79
- 2023RangeViT: Towards Vision Transformers for 3D Semantic Segmentation in Autonomous Drivingcited by 76
- 2025RF-DETR: Neural Architecture Search for Real-Time Detection Transformerscited by 70
12 most cited of 132 All 132 (JSON)
- 2026Geospatial Foundation Models Capture Health-Relevant Dimensions of Place Beyond Conventional Social Risk Indices10 Sep 2026
- 2026Multimodal-Multiresolution Foundation Model for Lunar Remote Sensing8 Sep 2026
- 2026ProgResViT: Progressive Resolution and Width for Adaptive Vision Transformers2 Sep 2026
- 2026Variable-Granularity Tokenization for High-Resolution Object Detection27 Aug 2026
- 2026Invisible Shortcuts: Why Vision Encoders Know Your Camera5 Aug 2026
- 2026Frozen High-Resolution Inference for Cross-City Object Detection: An AI City Challenge 2026 Study4 Aug 2026
- 2026A Scale-adaptive Vision Model Links C. elegans Neuronal Morphology to Behavior for Neurotoxicity Assessment25 Jul 2026
- 2026Now We Know? A Systematic Comparison of TerraMind and THOR20 Jul 2026
- 2026Vision Transformers Learn Gestalt-Like Figure-Ground Cues from Natural Images9 Jul 2026
- 2026UniverSat: Resolution- and Modality-Agnostic Transformers for Earth Observation22 Jun 2026
- 2026Adaptive Volumetric Mechanical Property Fields Invariant to Resolution16 Jun 2026
- 2026Bounding Box Label Propagation for Re-Annotation of Document Layout Analysis Datasets16 Jun 2026
12 newest of 132 All 132 (JSON)