Lune

AAAI2023Top-tier venue

CF-ViT: A General Coarse-to-Fine Method for Vision Transformer

Mengzhao Chen, Mingbao Lin, Ke Li, Yunhang Shen, Yongjian Wu, Fei Chao, Rongrong Ji

Abstract

Vision Transformers (ViT) have made many breakthroughs in computer vision tasks. However, considerable redundancy arises in the spatial dimension of an input image, leading to massive computational costs. Therefore, We propose a coarse-to-fine vision transformer (CF-ViT) to relieve computational burden while retaining performance in this paper. Our proposed CF-ViT is motivated by two important observations in modern ViT models: (1) The coarse-grained patch splitting can locate informative regions of an input image. (2) Most images can be well recognized by a ViT model in a small-length token sequence. Therefore, our CF-ViT implements network inference in a two-stage manner. At coarse inference stage, an input image is split into a small-length patch sequence for a computationally economical classification. If not well recognized, the informative patches are identified and further re-split in a fine-grained granularity. Extensive experiments demonstrate the efficacy of our CF-ViT. For example, without any compromise on performance, CF-ViT reduces 53% FLOPs of LV-ViT, and also achieves 2.01× throughput. Code of this project is at https://github.com/ChenMnZ/CF-ViT .

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

  • MogaNet: Multi-order Gated Aggregation Network cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Leveraging Vision-Centric Multi-Modal Expertise for 3D Object Detection cites DiffRate : Differentiable Compression Rate for Efficient Vision Transformers
  • Leveraging Vision-Centric Multi-Modal Expertise for 3D Object Detection cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • DiffRate : Differentiable Compression Rate for Efficient Vision Transformers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • DiffRate : Differentiable Compression Rate for Efficient Vision Transformers cites DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification
  • DiffRate : Differentiable Compression Rate for Efficient Vision Transformers cites SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers
  • DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification cites CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification
  • DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers cites CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification
  • SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image Recognition cites CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classification
  • LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image Recognition cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image Recognition cites DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification
  • SHaRPose: Sparse High-Resolution Representation for Human Pose Estimation cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • SHaRPose: Sparse High-Resolution Representation for Human Pose Estimation cites DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsification
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers26

  1. MogaNet: Multi-order Gated Aggregation NetworkSiyuan Li, Zedong Wang, Zicheng Liu, Cheng Tan et al.ICLR 2024 · 151 citations
  2. DiffRate : Differentiable Compression Rate for Efficient Vision TransformersMengzhao Chen, Wenqi Shao, Peng Xu, Mingbao Lin et al.ICCV 2023 · 87 citations
  3. SHaRPose: Sparse High-Resolution Representation for Human Pose EstimationXiaoqi An, Lin Zhao, Chen Gong, Nannan Wang et al.AAAI 2024 · 36 citations
  4. Leveraging Vision-Centric Multi-Modal Expertise for 3D Object DetectionLinyan Huang, Zhiqi Li, Chonghao Sima, Wenhai Wang et al.NeurIPS 2023 · 26 citations
  5. LF-ViT: Reducing Spatial Redundancy in Vision Transformer for Efficient Image RecognitionYoubing Hu, Yun Cheng, Anqi Lu, Zhiqiang Cao et al.AAAI 2024 · 25 citations

Builds on25

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. SegFormer: Simple and Efficient Design for Semantic Segmentation with TransformersEnze Xie, Wenhai Wang, Zhiding Yu, Anima Anandkumar et al.NeurIPS 2021 · 9,661 citations
  3. CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image ClassificationChun-Fu (Richard) Chen, Quanfu Fan, Rameswar PandaICCV 2021 · 2,072 citations
  4. DynamicViT: Efficient Vision Transformers with Dynamic Token SparsificationYongming Rao, Wenliang Zhao, Benlin Liu, Jiwen Lu et al.NeurIPS 2021 · 1,343 citations
  5. Going deeper with Image TransformersHugo Touvron, Matthieu Cord, Alexandre Sablayrolles, Gabriel Synnaeve et al.ICCV 2021 · 1,279 citations

Related papers

  1. 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
  2. Scalable Vision Transformers with Hierarchical PoolingZizheng Pan, Bohan Zhuang, Jing Liu, Haoyu He et al.ICCV 2021 · 154 citations
  3. EViT: Expediting Vision Transformers via Token ReorganizationsYouwei Liang, Chongjian Ge, Zhan Tong, Yibing Song et al.ICLR 2022 · 137 citations
  4. A-ViT: Adaptive Tokens for Efficient Vision TransformerHongxu Yin, Arash Vahdat, José M. Álvarez, Arun Mallya et al.CVPR 2022 · 288 citations
  5. Not All Images are Worth 16x16 Words: Dynamic Transformers for Efficient Image RecognitionYulin Wang, Rui Huang, Shiji Song, Zeyi Huang et al.NeurIPS 2021 · 283 citations
Dusk over the sea between two cliffs drawn in fine vertical lines