Skip to main content
QUICK REVIEW

[Paper Review] So-ViT: Mind Visual Tokens for Vision Transformer.

Jiangtao Xie, Ruiren Zeng|arXiv (Cornell University)|Apr 22, 2021
Advanced Neural Network ApplicationsComputer Science14 references11 citations
TL;DR

So-ViT proposes a novel Vision Transformer architecture that improves performance when trained from scratch by leveraging second-order cross-covariance pooling of visual tokens alongside the class token, and introducing a lightweight, hierarchical convolution-based token embedding module. The method achieves state-of-the-art accuracy on ImageNet-1K without pretraining, outperforming both ViT variants and CNNs.

ABSTRACT

Recently the vision transformer (ViT) architecture, where the backbone purely consists of self-attention mechanism, has achieved very promising performance in visual classification. However, the high performance of the original ViT heavily depends on pretraining using ultra large-scale datasets, and it significantly underperforms on ImageNet-1K if trained from scratch. This paper makes the efforts toward addressing this problem, by carefully considering the role of visual tokens. First, for classification head, existing ViT only exploits class token while entirely neglecting rich semantic information inherent in high-level visual tokens. Therefore, we propose a new classification paradigm, where the second-order, cross-covariance pooling of visual tokens is combined with class token for final classification. Meanwhile, a fast singular value power normalization is proposed for improving the second-order pooling. Second, the original ViT employs the naive embedding of fixed-size image patches, lacking the ability to model translation equivariance and locality. To alleviate this problem, we develop a light-weight, hierarchical module based on off-the-shelf convolutions for visual token embedding. The proposed architecture, which we call So-ViT, is thoroughly evaluated on ImageNet-1K. The results show our models, when trained from scratch, outperform the competing ViT variants, while being on par with or better than state-of-the-art CNN models. Code is available at this https URL

Motivation & Objective

  • Address the poor performance of Vision Transformers when trained from scratch on ImageNet-1K, despite strong pretraining dependence.
  • Overcome the limitation of ViT's class token by exploiting rich semantic information from high-level visual tokens.
  • Improve token representation learning by introducing a hierarchical, convolution-based embedding module that models locality and translation equivariance.
  • Develop a fast normalization technique for second-order pooling to enhance computational efficiency and stability.
  • Achieve competitive or superior accuracy compared to state-of-the-art CNNs and ViT variants without ImageNet-1K pretraining.

Proposed method

  • Propose a new classification head that combines the class token with second-order cross-covariance pooling of all visual tokens to capture inter-token relationships.
  • Introduce a fast singular value power normalization method to stabilize and accelerate the second-order pooling operation.
  • Design a lightweight, hierarchical convolutional module to replace the standard fixed-size patch embedding, enabling better modeling of local patterns and translation equivariance.
  • Integrate the hierarchical convolutional embedding into the ViT backbone to generate more informative visual tokens from the input image.
  • Train the full So-ViT model end-to-end from scratch on ImageNet-1K without any ImageNet pretraining.
  • Use a learnable class token that attends to all visual tokens, with the final prediction derived from the pooled visual token features and the class token.

Experimental results

Research questions

  • RQ1Can leveraging high-level visual tokens beyond the class token improve zero-shot and from-scratch ViT performance?
  • RQ2How effective is second-order cross-covariance pooling of visual tokens in capturing discriminative features for image classification?
  • RQ3Can a lightweight convolutional module improve visual token representation learning while preserving ViT’s self-attention efficiency?
  • RQ4Does the proposed fast singular value power normalization enhance the stability and speed of second-order pooling?
  • RQ5Can a ViT variant trained from scratch match or exceed the accuracy of state-of-the-art CNNs on ImageNet-1K?

Key findings

  • So-ViT achieves state-of-the-art accuracy on ImageNet-1K when trained from scratch, outperforming existing ViT variants.
  • The proposed second-order cross-covariance pooling significantly improves classification performance by utilizing rich semantic information from high-level visual tokens.
  • The hierarchical convolutional embedding module enhances local inductive bias and translation equivariance, leading to better feature representation.
  • The fast singular value power normalization enables efficient and stable second-order pooling, improving training convergence.
  • So-ViT achieves performance on par with or better than state-of-the-art CNN models on ImageNet-1K without any pretraining.
  • The ablation study confirms that both the pooled visual token head and the hierarchical embedding contribute significantly to the final accuracy gain.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.