HiViT: Hierarchical Vision Transformer Meets Masked Image Modeling

By Xiaosong Zhang, Yunjie Tian, Wei Huang, Qixiang Ye, Qi Dai, Lingxi Xie, Qi Tian. 2022

46 citations recorded by the source corpus.

Recently, masked image modeling (MIM) has offered a new methodology of self-supervised pre-training of vision transformers. A key idea of efficient implementation is to discard the masked image patches (or tokens) throughout the target network (encoder), which requires the encoder to be a plain vision transformer (e.g., ViT), albeit hierarchical vision transformers (e.g., Swin Transformer) have potentially better properties in formulating vision inputs. In this paper, we offer a new design of hierarchical vision transformers named HiViT (short for Hierarchical ViT) that enjoys both high efficiency and good performance in MIM. The key is to remove the unnecessary"local inter-unit operations", deriving structurally simple hierarchical vision transformers in which mask-units can be serialized like plain vision transformers. For this purpose, we start with Swin Transformer and (i) set the masking unit size to be the token size in the main stage of Swin Transformer, (ii) switch off inter-unit self-attentions before the main stage, and (iii) eliminate all operations after the main stage. Empirical studies demonstrate the advantageous performance of HiViT in terms of fully-supervised, self-supervised, and transfer learning. In particular, in running MAE on ImageNet-1K, HiViT-B reports a +0.6% accuracy gain over ViT-B and a 1.9$\times$ speed-up over Swin-B, and the performance gain generalizes to downstream tasks of detection and segmentation. Code will be made publicly available.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Neurology, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Zhenlin Xu
  2. Marc Niethammer
  3. John Seon Keun Yi
  4. Qin Liu
  5. Kang Zhang
  6. In-So Kweon
  7. Chaoning Zhang
  8. Gedas Bertasius

In Computer Vision and Pattern Recognition

  1. In-So Kweon
  2. Gedas Bertasius
  3. Luc Van Gool
  4. Qin Liu
  5. Marc Niethammer
  6. Zhenlin Xu
  7. John Seon Keun Yi
  8. Kang Zhang

In Neurology

  1. Marc Niethammer
  2. In-So Kweon
  3. Gedas Bertasius

In Model Architectures

  1. Zhenlin Xu
  2. Marc Niethammer
  3. Qin Liu
  4. In-So Kweon
  5. Chaoning Zhang
  6. Gedas Bertasius

Citations in the corpus