All models

volo_d4_224

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

Image classification · 1,003 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
193M
Operations
1,003
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
m11177
Graph hash
0fd9af24d6fa6722d98f0d3afe3a039016caa7b83ccff3da8fb36aa66d0d5b80
Skeleton hash
64e921d21d8aa90b484a2a2d40229f7fce167eda9c31fc904316b11f5dd3d4fc
Architecture hash
edee1a60eff2e026b8b99b644d923ae0fbfdcd32249557da716af19123b63cbf
Diagram SHA-256
5a412ab64c41a0fdb429925ef577bf491771d88e9df7340536314d2ccd6bae31
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_d4_224', pretrained=False)

What it is

VOLO-D4 at the 224 input size, with 193M 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}, 
}