All models

volo_d1_224

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

Image classification · 549 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 (633 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
26.6M
Operations
549
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
m11171
Graph hash
58187c3c33493e59234c96a7e80fa5877b122de76afc90912483075ab92f9bd4
Skeleton hash
49edef7e6a90ea93c241f1941ec39fa1606d0130e5c8604d0e7ad5108492afbf
Architecture hash
53f91ca66a6afcdc2a5401d23da442fc34dcba8d35cee969d1b6afd806713cb4
Diagram SHA-256
51fb28dab00331f91ea2e24b79210e1c513501c2285ae9dc8ee93d5bdaacb1d5
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_d1_224', pretrained=False)

What it is

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