Green Hierarchical Vision Transformer for Masked Image Modeling
Not on the map. Why?
Abstract (arXiv)
We present an efficient approach for Masked Image Modeling (MIM) with hierarchical Vision Transformers (ViTs), allowing the hierarchical ViTs to discard masked patches and operate only on the visible ones. Our approach consists of three key designs. First, for window attention, we propose a Group Window Attention scheme following the Divide-and-Conquer strategy. To mitigate the quadratic complexity of the self-attention w.r.t. the number of patches, group attention encourages a uniform partition that visible patches within each local window of arbitrary size can be grouped with equal size, where masked self-attention is then performed within each group. Second, we further improve the grouping strategy via the Dynamic Programming algorithm to minimize the overall computation cost of the attention on the grouped patches. Third, as for the convolution layers, we convert them to the Sparse Convolution that works seamlessly with the sparse data, i.e., the visible patches in MIM. As a result, MIM can now work on most, if not all, hierarchical ViTs in a green and efficient way. For example, we can train the hierarchical ViTs, e.g., Swin Transformer and Twins Transformer, about 2.7× faster and reduce the GPU memory usage by 70%, while still enjoying competitive performance on ImageNet classification and the superiority on downstream COCO object detection benchmarks. Code and pre-trained models have been made publicly available at https://github.com/LayneH/GreenMIM.
Key facts. Cited by 50 papers in the map (data through 14 Oct 2026). Builds on 71 of its 83 references that are in the map. First posted on arXiv 26 May 2022.
Builds on
71 of 83 references.
References · 71
- 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
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
38 more
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2017Mask R-CNNcited by 7,277
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
- 2017Neural Discrete Representation Learningcited by 4,712
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2020Exploring Simple Siamese Representation Learningcited by 2,866
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,857
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,162
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,838
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
- 2018Unsupervised Representation Learning by Predicting Image Rotationscited by 1,591
- 2016Context Encoders: Feature Learning by Inpaintingcited by 1,428
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
- 2016Unsupervised Learning of Visual Representations by Solving Jigsaw Puzzlescited by 1,382
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 20194D Spatio-Temporal ConvNets: Minkowski Convolutional Neural Networkscited by 1,208
- 2017Mixed Precision Trainingcited by 1,156
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
- 2016Deep Networks with Stochastic Depthcited by 979
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
- 2021Multiscale Vision Transformerscited by 897
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 20173D Semantic Segmentation with Submanifold Sparse Convolutional Networkscited by 748
- 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 727
- 2019Green AIcited by 627
- 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 596
- 2021Masked Feature Prediction for Self-Supervised Visual Pre-Trainingcited by 576
50 most cited of 71 All 71 (JSON)
Built on by
Citing papers per year: 2022: 10; 2023: 21; 2024: 11; 2025: 5; 2026: 3.
50 papers.
Sort:
By area:
- 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 290
- 2022Learning 3D Representations from 2D Pre-trained Models via Image-to-Point Masked Autoencoderscited by 144
- 2022A Survey on Masked Autoencoder for Self-supervised Learning in Vision and Beyondcited by 58
- 2022AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoderscited by 43
- 2023Masked Image Modeling with Local Multi-Scale Reconstructioncited by 43
- 2022A Unified View of Masked Image Modelingcited by 36
- 2023TorchSparse++: Efficient Training and Inference Framework for Sparse Convolution on GPUscited by 36
- 2024Masked Image Modeling: A Surveycited by 29
- 2023Anatomical Invariance Modeling and Semantic Alignment for Self-supervised Learning in 3D Medical Image Analysiscited by 26
- 2023Stitchable Neural Networkscited by 26
- 2022CAE v2: Context Autoencoder with CLIP Targetcited by 25
- 2022Fast-iTPN: Integrally Pre-Trained Transformer Pyramid Network with Token Migrationcited by 24
38 more
- 2024Masked Angle-Aware Autoencoder for Remote Sensing Imagescited by 22
- 2022Swin MAE: Masked Autoencoders for Small Datasetscited by 17
- 2024One Leaf Reveals the Season: Occlusion-Based Contrastive Learning with Semantic-Aware Views for Efficient Visual Representationcited by 16
- 2023CM-MaskSD: Cross-Modality Masked Self-Distillation for Referring Image Segmentationcited by 15
- 2024RingMo-Aerial: An Aerial Remote Sensing Foundation Model With Affine Transformation Contrastive Learningcited by 15
- 2024Salience-Based Adaptive Masking: Revisiting Token Dynamics for Enhanced Pre-trainingcited by 14
- 2023Masked Modeling for Self-supervised Representation Learning on Vision and Beyondcited by 13
- 2023Mimic before Reconstruct: Enhancing Masked Autoencoders with Feature Mimickingcited by 12
- 2023SimMatchV2: Semi-Supervised Learning with Graph Consistencycited by 12
- 2023UniM2AE: Multi-modal Masked Autoencoders with Unified 3D Representation for 3D Perception in Autonomous Drivingcited by 12
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustnesscited by 12
- 2024Emerging Property of Masked Token for Effective Pre-trainingcited by 10
- 2022FastMIM: Expediting Masked Image Modeling Pre-training for Visioncited by 7
- 2022Disjoint Masking with Joint Distillation for Efficient Masked Image Modelingcited by 6
- 2023Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?cited by 4
- 2023Aerial Image Object Detection With Vision Transformer Detector (ViTDet)cited by 3
- 2023You Can Mask More For Extremely Low-Bitrate Image Compressioncited by 3
- 2024Sparse Refinement for Efficient High-Resolution Semantic Segmentationcited by 3
- 2025Learning Mask Invariant Mutual Information for Masked Image Modelingcited by 3
- 2025Wavelet-Driven Masked Image Modeling: A Path to Efficient Visual Representationcited by 3
- 2023Remote Sensing Scene Classification with Masked Image Modeling (MIM)cited by 2
- 2023Enhancing Representations through Heterogeneous Self-Supervised Learningcited by 2
- 2024DailyMAE: Towards Pretraining Masked Autoencoders in One Daycited by 2
- 2024SemanticMIM: Marring Masked Image Modeling with Semantics Compression for General Visual Representationcited by 2
- 2025Image Recognition with Online Lightweight Vision Transformer: A Surveycited by 2
- 2025Revealing Latent Information: A Physics-inspired Self-supervised Pre-training Framework for Noisy and Sparse Eventscited by 2
- 2022Rethinking Hierarchies in Pre-trained Plain Vision Transformercited by 1
- 2023Local Masking Meets Progressive Freezing: Crafting Efficient Vision Transformers for Self-Supervised Learningcited by 1
- 2024Pseudo Labelling for Enhanced Masked Autoencoderscited by 1
- 2025MINR: Implicit Neural Representations with Masked Image Modellingcited by 1
- 20262K Retrofit: Entropy-Guided Efficient Sparse Refinement for High-Resolution 3D Geometry Predictioncited by 1
- 2026Topology-Driven Transferability Estimation for 3D Medical Vision Foundation Modelscited by 1
- 2023SRMAE: Masked Image Modeling for Scale-Invariant Deep Representationscited by 0
- 2023Masked Feature Modelling: Feature Masking for the Unsupervised Pre-training of a Graph Attention Network Block for Bottom-up Video Event Recognitioncited by 0
- 2023Bridging The Gaps Between Token Pruning and Full Pre-training via Masked Fine-tuningcited by 0
- 2023Deep Tensor Networkcited by 0
- 2024PR-MIM: Delving Deeper into Partial Reconstruction in Masked Image Modelingcited by 0
- 2026AFFMAE: Scalable Vision Pre-Training for High-Resolution Microscopy Segmentation on Desktop Hardwarecited by 0
- 2026Topology-Driven Transferability Estimation for 3D Medical Vision Foundation Models5 Jul 2026
- 20262K Retrofit: Entropy-Guided Efficient Sparse Refinement for High-Resolution 3D Geometry Prediction20 Mar 2026
- 2026AFFMAE: Scalable Vision Pre-Training for High-Resolution Microscopy Segmentation on Desktop Hardware18 Feb 2026
- 2025Revealing Latent Information: A Physics-inspired Self-supervised Pre-training Framework for Noisy and Sparse Events7 Aug 2025
- 2025MINR: Implicit Neural Representations with Masked Image Modelling30 Jul 2025
- 2025Image Recognition with Online Lightweight Vision Transformer: A Survey6 May 2025
- 2025Wavelet-Driven Masked Image Modeling: A Path to Efficient Visual Representation2 Mar 2025
- 2025Learning Mask Invariant Mutual Information for Masked Image Modeling27 Feb 2025
- 2024PR-MIM: Delving Deeper into Partial Reconstruction in Masked Image Modeling24 Nov 2024
- 2024One Leaf Reveals the Season: Occlusion-Based Contrastive Learning with Semantic-Aware Views for Efficient Visual Representation15 Nov 2024
- 2024RingMo-Aerial: An Aerial Remote Sensing Foundation Model With Affine Transformation Contrastive Learning20 Sep 2024
- 2024Masked Image Modeling: A Survey13 Aug 2024
38 more
- 2024Masked Angle-Aware Autoencoder for Remote Sensing Images4 Aug 2024
- 2024Sparse Refinement for Efficient High-Resolution Semantic Segmentation26 Jul 2024
- 2024Pseudo Labelling for Enhanced Masked Autoencoders25 Jun 2024
- 2024SemanticMIM: Marring Masked Image Modeling with Semantics Compression for General Visual Representation15 Jun 2024
- 2024Emerging Property of Masked Token for Effective Pre-training12 Apr 2024
- 2024Salience-Based Adaptive Masking: Revisiting Token Dynamics for Enhanced Pre-training12 Apr 2024
- 2024DailyMAE: Towards Pretraining Masked Autoencoders in One Day31 Mar 2024
- 2023Masked Modeling for Self-supervised Representation Learning on Vision and Beyond31 Dec 2023
- 2023MIMIR: Masked Image Modeling for Mutual Information-based Adversarial Robustness8 Dec 2023
- 2023Local Masking Meets Progressive Freezing: Crafting Efficient Vision Transformers for Self-Supervised Learning2 Dec 2023
- 2023Deep Tensor Network18 Nov 2023
- 2023Bridging The Gaps Between Token Pruning and Full Pre-training via Masked Fine-tuning26 Oct 2023
- 2023TorchSparse++: Efficient Training and Inference Framework for Sparse Convolution on GPUs25 Oct 2023
- 2023Enhancing Representations through Heterogeneous Self-Supervised Learning8 Oct 2023
- 2023Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?2 Oct 2023
- 2023Masked Feature Modelling: Feature Masking for the Unsupervised Pre-training of a Graph Attention Network Block for Bottom-up Video Event Recognition24 Aug 2023
- 2023UniM2AE: Multi-modal Masked Autoencoders with Unified 3D Representation for 3D Perception in Autonomous Driving21 Aug 2023
- 2023SRMAE: Masked Image Modeling for Scale-Invariant Deep Representations17 Aug 2023
- 2023SimMatchV2: Semi-Supervised Learning with Graph Consistency13 Aug 2023
- 2023You Can Mask More For Extremely Low-Bitrate Image Compression27 Jun 2023
- 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistles1 Jun 2023
- 2023CM-MaskSD: Cross-Modality Masked Self-Distillation for Referring Image Segmentation19 May 2023
- 2023Mimic before Reconstruct: Enhancing Masked Autoencoders with Feature Mimicking9 Mar 2023
- 2023Masked Image Modeling with Local Multi-Scale Reconstruction9 Mar 2023
- 2023Remote Sensing Scene Classification with Masked Image Modeling (MIM)28 Feb 2023
- 2023Stitchable Neural Networks13 Feb 2023
- 2023Anatomical Invariance Modeling and Semantic Alignment for Self-supervised Learning in 3D Medical Image Analysis11 Feb 2023
- 2023Aerial Image Object Detection With Vision Transformer Detector (ViTDet)28 Jan 2023
- 2022Disjoint Masking with Joint Distillation for Efficient Masked Image Modeling31 Dec 2022
- 2022Swin MAE: Masked Autoencoders for Small Datasets28 Dec 2022
- 2022Learning 3D Representations from 2D Pre-trained Models via Image-to-Point Masked Autoencoders13 Dec 2022
- 2022FastMIM: Expediting Masked Image Modeling Pre-training for Vision13 Dec 2022
- 2022Fast-iTPN: Integrally Pre-Trained Transformer Pyramid Network with Token Migration23 Nov 2022
- 2022CAE v2: Context Autoencoder with CLIP Target17 Nov 2022
- 2022AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoders16 Nov 2022
- 2022Rethinking Hierarchies in Pre-trained Plain Vision Transformer3 Nov 2022
- 2022A Unified View of Masked Image Modeling19 Oct 2022
- 2022A Survey on Masked Autoencoder for Self-supervised Learning in Vision and Beyond30 Jul 2022
- 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 290
- 2022Learning 3D Representations from 2D Pre-trained Models via Image-to-Point Masked Autoencoderscited by 144
- 2022A Survey on Masked Autoencoder for Self-supervised Learning in Vision and Beyondcited by 58
- 2022AdaMAE: Adaptive Masking for Efficient Spatiotemporal Learning with Masked Autoencoderscited by 43
- 2023Masked Image Modeling with Local Multi-Scale Reconstructioncited by 43
- 2022A Unified View of Masked Image Modelingcited by 36
- 2023TorchSparse++: Efficient Training and Inference Framework for Sparse Convolution on GPUscited by 36
- 2024Masked Image Modeling: A Surveycited by 29
- 2023Anatomical Invariance Modeling and Semantic Alignment for Self-supervised Learning in 3D Medical Image Analysiscited by 26
- 2023Stitchable Neural Networkscited by 26
- 2022CAE v2: Context Autoencoder with CLIP Targetcited by 25
- 2022Fast-iTPN: Integrally Pre-Trained Transformer Pyramid Network with Token Migrationcited by 24
12 most cited of 47 All 47 (JSON)
- 2026Topology-Driven Transferability Estimation for 3D Medical Vision Foundation Models5 Jul 2026
- 20262K Retrofit: Entropy-Guided Efficient Sparse Refinement for High-Resolution 3D Geometry Prediction20 Mar 2026
- 2026AFFMAE: Scalable Vision Pre-Training for High-Resolution Microscopy Segmentation on Desktop Hardware18 Feb 2026
- 2025Revealing Latent Information: A Physics-inspired Self-supervised Pre-training Framework for Noisy and Sparse Events7 Aug 2025
- 2025MINR: Implicit Neural Representations with Masked Image Modelling30 Jul 2025
- 2025Image Recognition with Online Lightweight Vision Transformer: A Survey6 May 2025
- 2025Wavelet-Driven Masked Image Modeling: A Path to Efficient Visual Representation2 Mar 2025
- 2025Learning Mask Invariant Mutual Information for Masked Image Modeling27 Feb 2025
- 2024PR-MIM: Delving Deeper into Partial Reconstruction in Masked Image Modeling24 Nov 2024
- 2024One Leaf Reveals the Season: Occlusion-Based Contrastive Learning with Semantic-Aware Views for Efficient Visual Representation15 Nov 2024
- 2024RingMo-Aerial: An Aerial Remote Sensing Foundation Model With Affine Transformation Contrastive Learning20 Sep 2024
- 2024Masked Image Modeling: A Survey13 Aug 2024
12 newest of 47 All 47 (JSON)