All models

hiera_small_224

A hierarchical vision transformer with the specialized modules removed, relying on MAE pretraining instead.

Image classification · 455 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (35 KB)

Open in a new tab

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.

At a glance

Family
Hiera
Parameters
35M
Operations
455
Framework
PyTorch
Recurrent
No
Published
ICML 2023
Cited by
91 (as of 28 October 2026)
Authors
Chaitanya Ryali, Yuan-Ting Hu, Daniel Bolya and others
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m5340
Graph hash
bfc4cd502d27d599a0821c413a7a4dced93781e8fca1d75e0694f4c3fe731eaf
Skeleton hash
c14bd7dda94464b65043fc1a45ea34aa10f8c8eba4fde4cee78c8003057c76d7
Architecture hash
5c809fe6a3ce8cae1938cc61b9319548e34816d5b3810085f9531aa676e55888
Diagram SHA-256
d9961dd698a25cb215190ac59e7d25179f515edfcb12ffac1ccc5f2e391cc4d0
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

timm.create_model('hiera_small_224', pretrained=False)

What it is

This model is the Hiera-S size; the official repository lists its fine-tuned checkpoint at 83.8% ImageNet-1K top-1.

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.

  • Hiera
  • hierarchical vision transformer
  • hierarchical ViT
  • vision transformer backbone
  • image classification
  • ImageNet-1K
  • video recognition
  • Hiera-B

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@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}, 
}