All models

volo_d2_384

Vision transformer whose first stage uses outlook attention to encode fine-level features before global self-attention.

Image classification · 707 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 (28 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
VOLO
Parameters
58.9M
Operations
707
Framework
PyTorch
Recurrent
No
Published
IEEE TPAMI (arXiv 2021)
Cited by
278 (as of 9 October 2026)
Authors
Li Yuan, Qibin Hou, Zihang Jiang 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
m11174
Graph hash
117ad3503f0e8f7c44df7394c57d28a692b9242d34e3d613bb426076d4df4269
Skeleton hash
c3d2924fee6a577bd093e46ff9e169b8f7203bc703a7ac12f0d3dbe850681085
Architecture hash
f7b466e0b1bc2147f004f9a14b29c5971aca8683ceb2e5c7cfc90d5480d1b176
Diagram SHA-256
4a18e108f97d6a8eb25b5b2715552f554655a79d63021c596e2c1cc3783f3951
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('volo_d2_384', pretrained=False)

What it is

About this model's family

VOLO (Vision Outlooker) is an image classification backbone built around one complaint about vision transformers: they are poor at getting fine-level features into their tokens. Its answer is outlook attention, which, unlike self-attention focused on global dependencies at a coarse level, encodes finer-level features and contexts into the tokens. The authors report 87.1% top-1 accuracy on ImageNet-1K without extra training data, which they describe as the first model to pass 87% on that benchmark.

The network has two separate stages: a stack of Outlookers that produces fine-level token representations, then a sequence of transformer blocks that aggregates global information. For a 224 × 224 input, VOLO tokenizes the image on small 8 × 8 patches and runs the Outlookers before self-attention builds global dependencies at a coarse 14 × 14 level. Outlook attention produces the weights for aggregating a token's neighbours directly from the anchor token's own feature through linear projections, with no dot-product attention at all. Those weights come from a simple reshaping operation rather than a query-key matrix multiplication, which is where the computational saving lies. The attention runs in a sliding window at the fine level, which the paper argues preserves positional information to some extent.

Five sizes exist, VOLO-D1 through VOLO-D5. The ratio is a stated design rule: in all versions it stays around 1:3, which the authors found empirically works best. Two class attention layers sit in the final stage to update the class embedding, and the Outlookers use half the hidden dimension of the Transformers. The timm copies traced here start at VOLO-D1 with 27M parameters. The largest, VOLO-D5, has 296M parameters. The paper notes that models over 100M parameters overfit, which the authors counter with a large stochastic depth rate. Fine-tuning the paper's 26.6M-parameter example at a 384 × 384 input resolution lifts its accuracy from 84.2% to 85.2%.

Key idea. Outlook attention: a sliding-window attention whose aggregation weights are produced by linear projection and reshaping of the anchor token instead of query-key dot products, so a first stage of Outlookers can encode fine-level token features before a second stage of transformer blocks aggregates global context.

  • volo
  • vision outlooker
  • outlook attention
  • outlooker
  • image classification
  • imagenet
  • vision transformer
  • timm
  • volo-d1
  • volo-d5

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

Cite the paper

@misc{yuan2021volovisionoutlookervisual,
      title={VOLO: Vision Outlooker for Visual Recognition}, 
      author={Li Yuan and Qibin Hou and Zihang Jiang and Jiashi Feng and Shuicheng Yan},
      year={2021},
      eprint={2106.13112},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2106.13112}, 
}