Nested Hierarchical Transformer: Towards Accurate, Data-Efficient and Interpretable Visual Understanding
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
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 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
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2016Layer Normalizationcited by 5,669
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
38 more
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2016Wide Residual Networkscited by 3,070
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
- 2015Learning Deep Features for Discriminative Localizationcited by 2,436
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,085
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
- 2017Decoupled Weight Decay Regularizationcited by 1,831
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2017Deformable Convolutional Networkscited by 1,488
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,380
- 2017Random Erasing Data Augmentationcited by 1,239
- 2016Real-Time Single Image and Video Super-Resolution Using an Efficient Sub-Pixel Convolutional Neural Networkcited by 1,204
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2016Deep Networks with Stochastic Depthcited by 979
- 2020Designing Network Design Spacescited by 960
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 947
- 2017Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networkscited by 939
- 2018Self-Attention Generative Adversarial Networkscited by 809
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2018Image Transformercited by 772
- 2021Going deeper with Image Transformerscited by 764
- 2018Which Training Methods for GANs do actually Converge?cited by 679
- 2021Transformer in Transformercited by 633
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2021VATT: Transformers for Multimodal Self-Supervised Learning from Raw Video, Audio and Textcited by 429
- 2021Bottleneck Transformers for Visual Recognitioncited by 364
- 2020MaX-DeepLab: End-to-End Panoptic Segmentation with Mask Transformerscited by 355
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 320
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 300
- 2021Video Transformer Networkcited by 272
- 2021Escaping the Big Data Paradigm with Compact Transformerscited by 264
- 2021Cross-Modal Contrastive Learning for Text-to-Image Generationcited by 259
- 2021LocalViT: Analyzing Locality in Vision Transformerscited by 228
- 2021Scaling Local Self-Attention for Parameter Efficient Visual Backbonescited by 220
- 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
Citing papers per year: 2021: 1; 2022: 38; 2023: 29; 2024: 15; 2025: 11; 2026: 3.
97 papers.
Sort:
By area:
- 2021Learning to Prompt for Continual Learningcited by 944
- 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 642
- 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 359
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 241
- 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
- 2022A Generalist Framework for Panoptic Segmentation of Images and Videoscited by 99
- 20223D UX-Net: A Large Kernel Volumetric ConvNet Modernizing Hierarchical Transformer for Medical Image Segmentationcited by 94
- 2024State Space Models for Event Camerascited by 75
- 2023GET: Group Event Transformer for Event-Based Visioncited by 73
- 2022Uniform Masking: Enabling MAE Pre-training for Pyramid-based Vision Transformers with Localitycited by 57
- 2023Efficient 3D Semantic Segmentation with Superpoint Transformercited by 57
- 2022The Lie Derivative for Measuring Learned Equivariancecited by 54
38 more
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 48
- 2022Mitigating spectral bias for the multiscale operator learningcited by 44
- 2024Scene Adaptive Sparse Transformer for Event-based Object Detectioncited by 39
- 2023DilateFormer: Multi-Scale Dilated Transformer for Visual Recognitioncited by 34
- 2023LipsFormer: Introducing Lipschitz Continuity to Vision Transformerscited by 34
- 2022Locality Guidance for Improving Vision Transformers on Tiny Datasetscited by 33
- 2022Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasetscited by 29
- 2023Semantic Prompt for Few-Shot Image Recognitioncited by 29
- 2025Neighboring Autoregressive Modeling for Efficient Visual Generationcited by 29
- 2022ViT-CX: Causal Explanation of Vision Transformerscited by 28
- 2022BiViT: Extremely Compressed Binary Vision Transformercited by 28
- 2022TokenMixup: Efficient Attention-guided Token-level Data Augmentation for Transformerscited by 26
- 2022VLTinT: Visual-Linguistic Transformer-in-Transformer for Coherent Video Paragraph Captioningcited by 25
- 2022Self-Promoted Supervision for Few-Shot Transformercited by 22
- 2024ZipAR: Parallel Auto-regressive Image Generation through Spatial Localitycited by 21
- 2022Eye-gaze-guided Vision Transformer for Rectifying Shortcut Learningcited by 20
- 2023HTNet for micro-expression recognitioncited by 20
- 2023FIT: Far-reaching Interleaved Transformerscited by 16
- 2022NAR-Former: Neural Architecture Representation Learning towards Holistic Attributes Predictioncited by 13
- 2022BOAT: Bilateral Local Attention Vision Transformercited by 12
- 2022Comparing the Decision-Making Mechanisms by Transformers and CNNs via Explanation Methodscited by 12
- 2022Momentum Stiefel Optimizer, with Applications to Suitably-Orthogonal Attention, and Optimal Transportcited by 11
- 2022GPViT: A High Resolution Non-Hierarchical Vision Transformer with Group Propagationcited by 11
- 2022Aggregating Global Features into Local Vision Transformercited by 10
- 2022D3Former: Debiased Dual Distilled Transformer for Incremental Learningcited by 10
- 2022Exploring Vision Transformers as Diffusion Learnerscited by 10
- 2023HOT: Higher-Order Dynamic Graph Representation Learning with Efficient Transformerscited by 10
- 2023SBCFormer: Lightweight Network Capable of Full-size ImageNet Classification at 1 FPS on Single Board Computerscited by 9
- 2023Enhancing Performance of Vision Transformers on Small Datasets through Local Inductive Bias Incorporationcited by 6
- 2022Deeper Insights into the Robustness of ViTs towards Common Corruptionscited by 5
- 2023DeDA: Deep Directed Accumulatorcited by 5
- 2023Multi-scale Efficient Graph-Transformer for Whole Slide Image Classificationcited by 5
- 2023Federated Class-Incremental Learning with Promptingcited by 5
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
- 2023Factorization Vision Transformer: Modeling Long Range Dependency with Local Window Costcited by 5
- 2025Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attentioncited by 5
- 2022ViT-P: Rethinking Data-efficient Vision Transformers from Localitycited by 4
- 2022Positional Label for Self-Supervised Vision Transformercited by 4
50 most cited of 97 All 97 (JSON)
- 2026Grid-Preserving Knowledge Distillation: Transferring Convolutional Inductive Bias to Vision Transformers under Data Scarcity11 Aug 2026
- 2026Balancing Uncertainty and Diversity of Samples: Leveraging Diversity of Least, High Confidence Samples for Effective Active Learning21 May 2026
- 2026Are Candidate Models Really Needed for Active Learning?14 May 2026
- 2025RestoRect: Degraded Image Restoration via Latent Rectified Flow & Feature Distillation27 Sep 2025
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems18 Sep 2025
- 2025BATR-FST: Bi-Level Adaptive Token Refinement for Few-Shot Transformers16 Sep 2025
- 2025A Lightweight Convolution and Vision Transformer integrated model with Multi-scale Self-attention Mechanism23 Aug 2025
- 2025Scalable Event-Based Video Streaming for Machines with MoQ20 Aug 2025
- 2025Towards White-Box Deep Wireless Sensing29 Jul 2025
- 2025DFYP: A Dynamic Fusion Framework with Spectral Channel Attention and Adaptive Operator learning for Crop Yield Prediction8 Jul 2025
- 2025EHGCN: Hierarchical Euclidean-Hyperbolic Fusion via Motion-Aware GCN for Hybrid Event Stream Perception23 Apr 2025
- 2025StFT: Spatio-temporal Fourier Transformer for Long-term Dynamics Prediction14 Mar 2025
38 more
- 2025Neighboring Autoregressive Modeling for Efficient Visual Generation12 Mar 2025
- 2025Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attention19 Feb 2025
- 2024ZipAR: Parallel Auto-regressive Image Generation through Spatial Locality5 Dec 2024
- 2024Evaluating Vision Transformer Models for Visual Quality Control in Industrial Manufacturing22 Nov 2024
- 2024Sparks of Artificial General Intelligence(AGI) in Semiconductor Material Science: Early Explorations into the Next Frontier of Generative AI-Assisted Electron Micrograph Analysis17 Sep 2024
- 2024Buffer-based Gradient Projection for Continual Federated Learning3 Sep 2024
- 2024Multi-Modal Instruction-Tuning Small-Scale Language-and-Vision Assistant for Semiconductor Electron Micrograph Analysis27 Aug 2024
- 2024Parameter-Efficient Quantized Mixture-of-Experts Meets Vision-Language Instruction Tuning for Semiconductor Electron Micrograph Analysis27 Aug 2024
- 2024Hierarchical Network Fusion for Multi-Modal Electron Micrograph Representation Learning with Foundational Large Language Models24 Aug 2024
- 2024Preliminary Investigations of a Multi-Faceted Robust and Synergistic Approach in Semiconductor Electron Micrograph Analysis: Integrating Vision Transformers with Large Language and Multimodal Models24 Aug 2024
- 2024Foundational Model for Electron Micrograph Analysis: Instruction-Tuning Small-Scale Language-and-Vision Assistant for Enterprise Adoption23 Aug 2024
- 2024Vision HgNN: An Electron-Micrograph is Worth Hypergraph of Hypernodes21 Aug 2024
- 2024HybridHash: Hybrid Convolutional and Self-Attention Deep Hashing for Image Retrieval13 May 2024
- 2024Scene Adaptive Sparse Transformer for Event-based Object Detection2 Apr 2024
- 2024depyf: Open the Opaque Box of PyTorch Compiler for Machine Learning Researchers14 Mar 2024
- 2024State Space Models for Event Cameras23 Feb 2024
- 2024Do deep neural networks utilize the weight space efficiently?26 Jan 2024
- 2023Factorization Vision Transformer: Modeling Long Range Dependency with Local Window Cost14 Dec 2023
- 2023HOT: Higher-Order Dynamic Graph Representation Learning with Efficient Transformers30 Nov 2023
- 2023Vision Big Bird: Random Sparsification for Full Attention10 Nov 2023
- 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalability8 Nov 2023
- 2023SBCFormer: Lightweight Network Capable of Full-size ImageNet Classification at 1 FPS on Single Board Computers7 Nov 2023
- 2023Federated Class-Incremental Learning with Prompting13 Oct 2023
- 2023EViT: An Eagle Vision Transformer with Bi-Fovea Self-Attention10 Oct 2023
- 2023GET: Group Event Transformer for Event-Based Vision4 Oct 2023
- 2023Changes-Aware Transformer: Learning Generalized Changes Representation24 Sep 2023
- 2023SparseSwin: Swin Transformer with Sparse Transformer Block11 Sep 2023
- 2023RACR-MIL: Rank-aware contextual reasoning for weakly supervised grading of squamous cell carcinoma using whole slide images29 Aug 2023
- 2023Patch Is Not All You Need21 Aug 2023
- 2023High-Level Parallelism and Nested Features for Dynamic Inference Cost and Top-Down Attention9 Aug 2023
- 2023Distributionally Robust Classification on a Data Budget7 Aug 2023
- 2023HTNet for micro-expression recognition27 Jul 2023
- 2023Efficient 3D Semantic Segmentation with Superpoint Transformer13 Jun 2023
- 2023Caterpillar: A Pure-MLP Architecture with Shifted-Pillars-Concatenation28 May 2023
- 2023Multi-scale Efficient Graph-Transformer for Whole Slide Image Classification25 May 2023
- 2023FIT: Far-reaching Interleaved Transformers22 May 2023
- 2023CageViT: Convolutional Activation Guided Efficient Vision Transformer17 May 2023
- 2023Enhancing Performance of Vision Transformers on Small Datasets through Local Inductive Bias Incorporation15 May 2023
50 newest of 97 All 97 (JSON)
- 2021Learning to Prompt for Continual Learningcited by 944
- 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 642
- 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 359
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 241
- 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
- 2022A Generalist Framework for Panoptic Segmentation of Images and Videoscited by 99
- 20223D UX-Net: A Large Kernel Volumetric ConvNet Modernizing Hierarchical Transformer for Medical Image Segmentationcited by 94
- 2024State Space Models for Event Camerascited by 75
- 2023GET: Group Event Transformer for Event-Based Visioncited by 73
- 2022Uniform Masking: Enabling MAE Pre-training for Pyramid-based Vision Transformers with Localitycited by 57
- 2023Efficient 3D Semantic Segmentation with Superpoint Transformercited by 57
- 2022The Lie Derivative for Measuring Learned Equivariancecited by 54
12 most cited of 91 All 91 (JSON)
- 2026Balancing Uncertainty and Diversity of Samples: Leveraging Diversity of Least, High Confidence Samples for Effective Active Learning21 May 2026
- 2026Are Candidate Models Really Needed for Active Learning?14 May 2026
- 2025Hierarchical Self-Attention: Generalizing Neural Attention Mechanics to Multi-Scale Problems18 Sep 2025
- 2025BATR-FST: Bi-Level Adaptive Token Refinement for Few-Shot Transformers16 Sep 2025
- 2025A Lightweight Convolution and Vision Transformer integrated model with Multi-scale Self-attention Mechanism23 Aug 2025
- 2025Scalable Event-Based Video Streaming for Machines with MoQ20 Aug 2025
- 2025Towards White-Box Deep Wireless Sensing29 Jul 2025
- 2025DFYP: A Dynamic Fusion Framework with Spectral Channel Attention and Adaptive Operator learning for Crop Yield Prediction8 Jul 2025
- 2025EHGCN: Hierarchical Euclidean-Hyperbolic Fusion via Motion-Aware GCN for Hybrid Event Stream Perception23 Apr 2025
- 2025StFT: Spatio-temporal Fourier Transformer for Long-term Dynamics Prediction14 Mar 2025
- 2025Neighboring Autoregressive Modeling for Efficient Visual Generation12 Mar 2025
- 2024Evaluating Vision Transformer Models for Visual Quality Control in Industrial Manufacturing22 Nov 2024
12 newest of 91 All 91 (JSON)