Source-linked AI summary
VOLO: Vision Outlooker for Visual Recognition
Li Yuan, Qibin Hou, Zihang Jiang, Jiashi Feng, Shuicheng Yan
TL;DR
ViTs lagged behind leading CNNs partly because they encoded fine-level features and contexts into tokens inefficiently. VOLO introduces Outlooker attention and a two-stage architecture for fine-level encoding followed by global aggregation, achieving leading classification and segmentation results without extra training data.
Problem
ViTs remained below state-of-the-art CNNs on ImageNet without extra data, while fine-level token encoding was identified as a performance-limiting gap.
Source: §1 · p. 1Method
VOLO uses lightweight Outlooker attention for efficient fine-level token encoding before transformer-based global information aggregation.
Source: §1 · p. 2Results
Takeaways & Limitations
The reported results support fine-level feature learning as a valuable direction for attention-based visual recognition models.
Source: §5 · p. 9
Abstract
from arXiv · showhide
Visual recognition has been dominated by convolutional neural networks (CNNs) for years. Though recently the prevailing vision transformers (ViTs) have shown great potential of self-attention based models in ImageNet classification, their performance is still inferior to that of the latest SOTA CNNs if no extra data are provided. In this work, we try to close the performance gap and demonstrate that attention-based models are indeed able to outperform CNNs. We find a major factor limiting the performance of ViTs for ImageNet classification is their low efficacy in encoding fine-level features into the token representations. To resolve this, we introduce a novel outlook attention and present a simple and general architecture, termed Vision Outlooker (VOLO). Unlike self-attention that focuses on global dependency modeling at a coarse level, the outlook attention efficiently encodes finer-level features and contexts into tokens, which is shown to be critically beneficial to recognition performance but largely ignored by the self-attention. Experiments show that our VOLO achieves 87.1% top-1 accuracy on ImageNet-1K classification, which is the first model exceeding 87% accuracy on this competitive benchmark, without using any extra training data In addition, the pre-trained VOLO transfers well to downstream tasks, such as semantic segmentation. We achieve 84.3% mIoU score on the cityscapes validation set and 54.3% on the ADE20K validation set. Code is available at \url{https://github.com/sail-sg/volo}.
1. Introduction
VOLO addresses ViTs’ remaining ImageNet gap by efficiently encoding fine-level features and contexts before global aggregation. Its attention-based architecture achieves leading classification and segmentation results without extra training data.
- ViTs still lagged behind state-of-the-art CNNs on ImageNet without extra data, with CaiT reaching 86.5% versus NFNet-F5’s 86.8%.Source: §1 · p. 1
- Fine-level feature encoding limits ViT performance, while finer tokenization increases self-attention complexity quadratically.Source: §1 · p. 1
- Outlooker efficiently enriches tokens with fine-level information using linear projections instead of expensive dot-product attention.Source: §1 · p. 2
- VOLO uses fine-level Outlookers before coarse-level self-attention to combine expressive local representations with global information aggregation.For 224 × 224 inputs, it uses 8 × 8 patches for 28 × 28 fine-level tokens before 14 × 14 coarse modeling.Source: §1 · p. 2
- 87.1% top-1 accuracy on ImageNet was achieved by the 296M-parameter VOLO, alongside 90.6% on ImageNet-ReaL and 78.0% on ImageNet-V2.The results were reported without extra training data and described as new SOTA performance on all three classification benchmarks.Source: §1 · p. 2
- 84.3% mIoU on Cityscapes and 54.3% on ADE20K demonstrate strong transfer to semantic segmentation.The Cityscapes result was 0.3% above SegFormer-B5, while the ADE20K result improved on Swin Transformer’s 53.5%.Source: §1 · p. 2
2. Method
VOLO uses Outlookers to encode fine-level token information before Transformers aggregate global information. Outlook attention generates local weights efficiently and densely aggregates neighboring value representations.
Network Architecture
- VOLO uses two stages: Outlookers generate fine-level token representations, then Transformer blocks aggregate global information.Patch embedding modules map inputs to designed token shapes at the beginning of each stage.Source: §2 · p. 2, §2.2 · p. 4
Outlooker
- Outlooker combines outlook attention for spatial encoding with an MLP for inter-channel interaction.LayerNorm is applied before the residual Outlooker operation.Source: §2.1 · p. 2
Outlook Attention
- Outlook attention generates local weights from token features and avoids the dot-product attention computation through efficient linear projections.It measures local token similarities while using a reshaping operation instead of Query-Key matrix multiplication.Source: §2.1.1 · p. 3
- Outlook attention projects each token into outlook weights and value representations, then reshapes and normalizes local weights for aggregation.The weights are generated through linear projections, reshaped to K^2 × K^2, and passed through Softmax.Source: §2.1.1 · p. 3
- Dense aggregation sums weighted values contributing to the same spatial location from different local windows.This local, dense aggregation is intended to encode fine-level information efficiently.Source: §2.1.1 · pp. 2–3
Multi-Head Outlook Attention
- Multi-head outlook attention splits outlook weights and value embeddings into N segments, computes attention separately per head, and concatenates the outputs.Each head has dimension C_N satisfying C_N × N = C.Source: §2.1.2 · p. 3
Discussion
- For C = 384, K = 3, and N = 6, outlook attention satisfies NK^4 < 2C and is described as more computationally efficient.The comparison is made for a normal configuration of the attention mechanism.Source: §2.1.3 · p. 4
Network Architecture
- VOLO tokenizes 224 × 224 images into 8 × 8 patches for fine-level processing before downsampling and applying Transformers to coarser tokens.The fine-level tokens are arranged at 28 × 28, while global self-attention operates at 14 × 14.Source: §2.2 · p. 4
3. Experiments
Experiments show that VOLO consistently outperforms prior models across ImageNet classification and downstream segmentation, while ablations validate the contributions and scaling behavior of Outlookers.
Main Results
- 84.2% top-1 accuracy is obtained with VOLO-D1 at 224 resolution, increasing to 85.2% after finetuning at 384 resolution.VOLO-D1 uses 26.6M parameters.Source: §3.1 · p. 5
- VOLO-D3 improves ImageNet-V2 accuracy by 0.8% over the previous best result while using 86M rather than 356M parameters.VOLO-D5 further reaches 78.0% on ImageNet-V2.Source: §3.1 · p. 5
Ablation Analysis
- Replacing the LV-ViT-S baseline with smaller patches and Outlookers raises ImageNet accuracy from 83.3% to 83.9%, while further changes and 384-resolution finetuning reach 85.2%.Changing the patch size from 16 × 16 to 8 × 8 initially provides a 0.4% gain; adding two more Outlookers raises performance to 83.9%.Source: §3.2 · p. 5
- Classification performance saturates at four Outlookers, while increasing Outlooker head count helps only slightly and stops improving beyond six heads.The default is six heads for 384 hidden dimensions and twelve heads for 768 hidden dimensions.Source: §3.3 · p. 7
Downstream Segmentation
- 84.3% mIoU on Cityscapes and 54.3% mIoU on ADE20K demonstrate strong transfer to semantic segmentation.The Cityscapes result is 0.3% above SegFormer-B5, while the ADE20K result improves on 53.5% by Swin Transformer.Source: §3.4.1 · p. 8, §3.4.2 · p. 8
4. Related Work
Related work progresses from CNNs to attention-based and transformer-based models, while VOLO adds fine-level token encoding through Outlooker alongside long-range dependency modeling.
CNN-based models
- CNN classifiers evolved from stacked convolutions and poolings toward deeper architectures using skip connections and specialized multi-path building blocks.Source: §4 · p. 8
Transformer-based models
VOLO
- Outlooker differs from convolution-based hybrid architectures by using local pair-wise token similarities to encode fine-level features and spatial context.Source: §4 · p. 9
5. Conclusions
VOLO establishes strong results across image classification and semantic segmentation, with its performance attributed to outlook attention’s dense dynamic aggregation of fine-level features.
Conclusions
- VOLO outperforms CNN- and Transformer-based models across image classification and semantic segmentation experiments.Source: §5 · p. 9
- The model’s performance superiority is attributed to outlook attention dynamically aggregating fine-level features in a dense manner.Source: §5 · p. 9
- The authors identify better fine-level feature learning as a direction for follow-up research and plan to investigate other applications.Source: §5 · p. 9
Related papers
This paper cites
- Attention Is All You Need2017
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2018
- Language Models are Few-Shot Learners2020
- Very Deep Convolutional Networks for Large-Scale Image Recognition2014
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale2020
- PyTorch: An Imperative Style, High-Performance Deep Learning Library2019