mlsanityData to 14 Oct 2026

Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding

arXiv 2105.12723 ↗First posted 26 May 2021cs.CVcited by 97

Not on the map. Why?

Abstract (arXiv)

Hierarchical structures are popular in recent vision transformers, however, they require sophisticated designs and massive datasets to work well. In this paper, we explore the idea of nesting basic local transformers on non-overlapping image blocks and aggregating them in a hierarchical way. We find that the block aggregation function plays a critical role in enabling cross-block non-local information communication. This observation leads us to design a simplified architecture that requires minor code changes upon the original vision transformer. The benefits of the proposed judiciously-selected design are threefold: (1) NesT converges faster and requires much less training data to achieve good generalization on both ImageNet and small datasets like CIFAR; (2) when extending our key ideas to image generation, NesT leads to a strong decoder that is 8× faster than previous transformer-based generators; and (3) we show that decoupling the feature learning and abstraction processes via this nested hierarchy in our design enables constructing a novel method (named GradCAT) for visually interpreting the learned model. Source code is available https://github.com/google-research/nested-transformer.

Key facts. Cited by 97 papers in the map (data through 14 Oct 2026). Builds on 63 of its 71 references that are in the map. First posted on arXiv 26 May 2021.

Builds on

63 of 71 references.

References · 63

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  7. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  8. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  9. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  10. 2016Layer Normalizationcited by 5,669
  11. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  12. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
38 more
  1. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
  2. 2020Longformer: The Long-Document Transformercited by 3,413
  3. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  4. 2016Wide Residual Networkscited by 3,070
  5. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  6. 2015Learning Deep Features for Discriminative Localizationcited by 2,436
  7. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  8. 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,085
  9. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
  10. 2017Decoupled Weight Decay Regularizationcited by 1,831
  11. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  12. 2017Deformable Convolutional Networkscited by 1,488
  13. 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,380
  14. 2017Random Erasing Data Augmentationcited by 1,239
  15. 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,204
  16. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  17. 2016Deep Networks with Stochastic Depthcited by 979
  18. 2020Designing Network Design Spacescited by 960
  19. 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
  20. 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 939
  21. 2018Self-Attention Generative Adversarial Networkscited by 809
  22. 2020Quantifying Attention Flow in Transformerscited by 775
  23. 2018Image Transformercited by 772
  24. 2021Going deeper with Image Transformerscited by 764
  25. 2018Which Training Methods for GANs do actually Converge?cited by 679
  26. 2021Transformer in Transformercited by 633
  27. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  28. 2021VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Textcited by 429
  29. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  30. 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
  31. 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
  32. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 300
  33. 2021Video Transformer Networkcited by 272
  34. 2021Escaping the Big Data Paradigm with Compact Transformerscited by 264
  35. 2021Cross-Modal Contrastive Learning for Text-to-Image Generationcited by 259
  36. 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
  37. 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
  38. 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 1; 2022: 38; 2023: 29; 2024: 15; 2025: 11; 2026: 3.

97 papers.

Sort:

By area:

  1. 2021Learning to Prompt for Continual Learningcited by 944
  2. 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 642
  3. 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 359
  4. 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 241
  5. 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
  6. 2022A Generalist Framework for Panoptic Segmentation of Images and Videoscited by 99
  7. 20223D UX-Net: A Large Kernel Volumetric ConvNet Modernizing Hierarchical Transformer for Medical Image Segmentationcited by 94
  8. 2024State Space Models for Event Camerascited by 75
  9. 2023GET: Group Event Transformer for Event-Based Visioncited by 73
  10. 2022Uniform Masking: Enabling MAE Pre-training for Pyramid-based Vision Transformers with Localitycited by 57
  11. 2023Efficient 3D Semantic Segmentation with Superpoint Transformercited by 57
  12. 2022The Lie Derivative for Measuring Learned Equivariancecited by 54
38 more
  1. 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 48
  2. 2022Mitigating spectral bias for the multiscale operator learningcited by 44
  3. 2024Scene Adaptive Sparse Transformer for Event-based Object Detectioncited by 39
  4. 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognitioncited by 34
  5. 2023LipsFormer: Introducing Lipschitz Continuity to Vision Transformerscited by 34
  6. 2022Locality Guidance for Improving Vision Transformers on Tiny Datasetscited by 33
  7. 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 29
  8. 2023Semantic Prompt for Few-Shot Image Recognitioncited by 29
  9. 2025Neighboring Autoregressive Modeling for Efficient Visual Generationcited by 29
  10. 2022ViT-CX: Causal Explanation of Vision Transformerscited by 28
  11. 2022BiViT: Extremely Compressed Binary Vision Transformercited by 28
  12. 2022TokenMixup: Efficient Attention-guided Token-level Data Augmentation for Transformerscited by 26
  13. 2022VLTinT: Visual-Linguistic Transformer-in-Transformer for Coherent Video Paragraph Captioningcited by 25
  14. 2022Self-Promoted Supervision for Few-Shot Transformercited by 22
  15. 2024ZipAR: Parallel Auto-regressive Image Generation through Spatial Localitycited by 21
  16. 2022Eye-gaze-guided Vision Transformer for Rectifying Shortcut Learningcited by 20
  17. 2023HTNet for micro-expression recognitioncited by 20
  18. 2023FIT: Far-reaching Interleaved Transformerscited by 16
  19. 2022NAR-Former: Neural Architecture Representation Learning towards Holistic Attributes Predictioncited by 13
  20. 2022BOAT: Bilateral Local Attention Vision Transformercited by 12
  21. 2022Comparing the Decision-Making Mechanisms by Transformers and CNNs via Explanation Methodscited by 12
  22. 2022Momentum Stiefel Optimizer, with Applications to Suitably-Orthogonal Attention, and Optimal Transportcited by 11
  23. 2022GPViT: A High Resolution Non-Hierarchical Vision Transformer with Group Propagationcited by 11
  24. 2022Aggregating Global Features into Local Vision Transformercited by 10
  25. 2022D3Former: Debiased Dual Distilled Transformer for Incremental Learningcited by 10
  26. 2022Exploring Vision Transformers as Diffusion Learnerscited by 10
  27. 2023HOT: Higher-Order Dynamic Graph Representation Learning with Efficient Transformerscited by 10
  28. 2023SBCFormer: Lightweight Network Capable of Full-size ImageNet Classification at 1 FPS on Single Board Computerscited by 9
  29. 2023Enhancing Performance of Vision Transformers on Small Datasets through Local Inductive Bias Incorporationcited by 6
  30. 2022Deeper Insights into the Robustness of ViTs towards Common Corruptionscited by 5
  31. 2023DeDA: Deep Directed Accumulatorcited by 5
  32. 2023Multi-scale Efficient Graph-Transformer for Whole Slide Image Classificationcited by 5
  33. 2023Federated Class-Incremental Learning with Promptingcited by 5
  34. 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
  35. 2023Factorization Vision Transformer: Modeling Long Range Dependency with Local Window Costcited by 5
  36. 2025Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attentioncited by 5
  37. 2022ViT-P: Rethinking Data-efficient Vision Transformers from Localitycited by 4
  38. 2022Positional Label for Self-Supervised Vision Transformercited by 4

50 most cited of 97 All 97 (JSON)