
hiera_tiny_224
Image classification347 ops27.9M params
A hierarchical vision transformer with the specialized modules removed, relying on MAE pretraining instead.
Image classification · 466 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
timm.create_model('hiera_small_abswin_256', pretrained=False) About this model's family
Hiera is a hierarchical vision transformer built to be simple and fast. A plain ViT keeps the same spatial resolution and number of features through the whole network, which the authors call inefficient because early layers do not need that many features and later layers do not need that much resolution. The paper argues that the vision-specific components added to modern hierarchical transformers make them slower than their vanilla ViT counterparts.
Rather than adding spatial biases through architectural changes, the authors teach them to the model. By training with MAE, they report being able to simplify or remove all of these modules and increase accuracy in the process. The paper evaluates Hiera on image and video recognition tasks.
In the official implementation, Hiera re-orders its tokens at the start of the network for efficiency, so tokens are not in spatial order by default. The models do not include the MAE decoder by default.
Key idea. The paper shows that training with MAE lets the specialized modules of hierarchical vision transformers be simplified or removed while accuracy increases, giving a simpler and faster model.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{ryali2023hierahierarchicalvisiontransformer,
title={Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistles},
author={Chaitanya Ryali and Yuan-Ting Hu and Daniel Bolya and Chen Wei and Haoqi Fan and Po-Yao Huang and Vaibhav Aggarwal and Arkabandhu Chowdhury and Omid Poursaeed and Judy Hoffman and Jitendra Malik and Yanghao Li and Christoph Feichtenhofer},
year={2023},
eprint={2306.00989},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2306.00989},
}