All models

volo_d5_224

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

Image classification · 1,319 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 (19 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
295.5M
Operations
1,319
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
m11179
Graph hash
4fa418736030ca454473b2f9c3402fbf07f452950b573fb8db0b6f3e4818fda0
Skeleton hash
5676c5fef373bfe9e8b5cd0f4cc7eb7cfbb52fe1429f9971c688e2065d887b37
Architecture hash
2d845e801f289fffd39d2c494a65f57db3c108aef2d3da67c369482e1ed029b7
Diagram SHA-256
f70c1be0a4780f4e94ca7b894233d66be4f75734e3d87dc89c76a16142a9d3eb
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_d5_224', pretrained=False)

What it is

VOLO-D5 at the 224 input size, with 296M parameters.

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