All models

hiera (image classification)

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

Image classification · 593 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 (26 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
50.8M
Operations
593
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
Name in source
hiera:image-classification
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
m5334
Graph hash
4001db0bd4529e0ac3ac25e33a12cca66b249249a39eaba21363a06aab4717fc
Skeleton hash
117d7a01794a8f3eec804cb3a0385d97124b1461a62966a3cee13b4900ab2a11
Architecture hash
6b14db3d0ca4a78cf19448ed74cad36195b9baa0c927ec4d0bc9ecd5d848c3b7
Diagram SHA-256
d55e99054241bb673a4eaa38c64e73d33c40379d55e6e1af5ecf09cd8490e9a1
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

transformers.AutoModelForImageClassification.from_config()

What it is

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