Visual Transformers: Token-based Image Representation and Processing for Computer Vision

arXiv:2006.03677 First posted 2020-06-05 v4
Cite this paper ×
BibTeX
@misc{wu2020visual,
  title = {Visual Transformers: Token-based Image Representation and Processing for Computer Vision},
  author = {Bichen Wu and Chenfeng Xu and Xiaoliang Dai and Alvin Wan and Peizhao Zhang and Zhicheng Yan and Masayoshi Tomizuka and Joseph Gonzalez and Kurt Keutzer and Peter Vajda},
  year = {2020},
  eprint = {2006.03677},
  archivePrefix = {arXiv},
  primaryClass = {cs.CV},
  url = {https://arxiv.org/abs/2006.03677}
}
APA
Wu, B., Xu, C., Dai, X., Wan, A., Zhang, P., Yan, Z., Tomizuka, M., Gonzalez, J., Keutzer, K., & Vajda, P. (2020). Visual Transformers: Token-based Image Representation and Processing for Computer Vision [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2006.03677
GB/T 7714
WU B, XU C, DAI X, et al. Visual Transformers: Token-based Image Representation and Processing for Computer Vision[EB/OL]. (2020-06-05)[2026-11-29]. https://arxiv.org/abs/2006.03677.

Abstract

Computer vision has achieved remarkable success by (a) representing images as uniformly-arranged pixel arrays and (b) convolving highly-localized features. However, convolutions treat all image pixels equally regardless of importance; explicitly model all concepts across all images, regardless of content; and struggle to relate spatially-distant concepts. In this work, we challenge this paradigm by (a) representing images as semantic visual tokens and (b) running transformers to densely model token relationships. Critically, our Visual Transformer operates in a semantic token space, judiciously attending to different image parts based on context. This is in sharp contrast to pixel-space transformers that require orders-of-magnitude more compute. Using an advanced training recipe, our VTs significantly outperform their convolutional counterparts, raising ResNet accuracy on ImageNet top-1 by 4.6 to 7 points while using fewer FLOPs and parameters. For semantic segmentation on LIP and COCO-stuff, VT-based feature pyramid networks (FPN) achieve 0.35 points higher mIoU while reducing the FPN module's FLOPs by 6.5x.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!