Lune

ICLR2024Top-tier venue

FasterViT: Fast Vision Transformers with Hierarchical Attention

Ali Hatamizadeh, Greg Heinrich, Hongxu Yin, Andrew Tao, José M. Álvarez, Jan Kautz, Pavlo Molchanov

Abstract

We design a new family of hybrid CNN-ViT neural networks, named FasterViT, with a focus on high image throughput for computer vision (CV) applications. FasterViT combines the benefits of fast local representation learning in CNNs and global modeling properties in ViT. Our newly introduced Hierarchical Attention (HAT) approach decomposes global self-attention with quadratic complexity into a multi-level attention with reduced computational costs. We benefit from efficient window-based self-attention. Each window has access to dedicated carrier tokens that participate in local and global representation learning. At a high level, global self-attentions enable the efficient cross-window communication at lower costs. FasterViT achieves a SOTA Pareto-front in terms of accuracy and image throughput. We have extensively validated its effectiveness on various CV tasks including classification, object detection and segmentation. We also show that HAT can be used as a plug-and-play module for existing networks and enhance them. We further demonstrate significantly faster and more accurate performance than competitive counterparts for images with high resolution. Code is available at https://github.com/NVlabs/FasterViT.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

26 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A ConvNet for the 2020s cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • A ConvNet for the 2020s cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • A ConvNet for the 2020s cites Training data-efficient image transformers & distillation through attention
  • MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training cites A ConvNet for the 2020s
  • MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Training cites Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • AsCAN: Asymmetric Convolution-Attention Networks for Efficient Recognition and Generation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AsCAN: Asymmetric Convolution-Attention Networks for Efficient Recognition and Generation cites A ConvNet for the 2020s
  • AsCAN: Asymmetric Convolution-Attention Networks for Efficient Recognition and Generation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • AsCAN: Asymmetric Convolution-Attention Networks for Efficient Recognition and Generation cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • MG-ViT: A Multi-Granularity Method for Compact and Efficient Vision Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • MG-ViT: A Multi-Granularity Method for Compact and Efficient Vision Transformers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • MG-ViT: A Multi-Granularity Method for Compact and Efficient Vision Transformers cites Training data-efficient image transformers & distillation through attention
  • MG-ViT: A Multi-Granularity Method for Compact and Efficient Vision Transformers cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • Spike-driven Transformer V2: Meta Spiking Neural Network Architecture Inspiring the Design of Next-generation Neuromorphic Chips cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Spike-driven Transformer V2: Meta Spiking Neural Network Architecture Inspiring the Design of Next-generation Neuromorphic Chips cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Spike-driven Transformer V2: Meta Spiking Neural Network Architecture Inspiring the Design of Next-generation Neuromorphic Chips cites Training data-efficient image transformers & distillation through attention
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers26

  1. Spike-driven Transformer V2: Meta Spiking Neural Network Architecture Inspiring the Design of Next-generation Neuromorphic ChipsMan Yao, Jiakui Hu, Tianxiang Hu, Yifan Xu et al.ICLR 2024 · 154 citations
  2. AM-RADIO: Agglomerative Vision Foundation Model Reduce All Domains Into OneMike Ranzinger, Greg Heinrich, Jan Kautz, Pavlo MolchanovCVPR 2024 · 31 citations
  3. MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced TrainingPavan Kumar Anasosalu Vasu, Hadi Pouransari, Fartash Faghri, Raviteja Vemulapalli et al.CVPR 2024 · 29 citations
  4. MG-ViT: A Multi-Granularity Method for Compact and Efficient Vision TransformersYu Zhang, Yepeng Liu, Duoqian Miao, Qi Zhang et al.NeurIPS 2023 · 23 citations
  5. AsCAN: Asymmetric Convolution-Attention Networks for Efficient Recognition and GenerationAnil Kag, Huseyin Coskun, Jierun Chen, Junli Cao et al.NeurIPS 2024 · 8 citations

Builds on44

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
  4. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  5. A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations

Related papers

  1. Scalable Vision Transformers with Hierarchical PoolingZizheng Pan, Bohan Zhuang, Jing Liu, Haoyu He et al.ICCV 2021 · 154 citations
  2. RegionViT: Regional-to-Local Attention for Vision TransformersChun-Fu Chen, Rameswar Panda, Quanfu FanICLR 2022 · 246 citations
  3. Global Context Vision TransformersAli Hatamizadeh, Hongxu Yin, Greg Heinrich, Jan Kautz et al.ICML 2023 · 213 citations
  4. Learned Queries for Efficient Local AttentionMoab Arar, Ariel Shamir, Amit H. BermanoCVPR 2022 · 28 citations
  5. CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image ClassificationChun-Fu (Richard) Chen, Quanfu Fan, Rameswar PandaICCV 2021 · 2,072 citations
Dusk over the sea between two cliffs drawn in fine vertical lines