Lite Vision Transformer with Enhanced Self-Attention

Chenglin Yang, Yilin Wang, Jianming Zhang, He Zhang, Zijun Wei +2 more
12/20/2021
cs.CV
transformer-attention

Official code: Chenglin-Yang/LVT (144 stars, Python, last commit 2022-10-21).

Abstract

Despite the impressive representation capacity of vision transformer models, current light-weight vision transformer models still suffer from inconsistent and incorrect dense predictions at local regions. We suspect that the power of their self-attention mechanism is limited in shallower and thinner networks.

Show full abstract

We propose Lite Vision Transformer (LVT), a novel light-weight transformer network with two enhanced self-attention mechanisms to improve the model performances for mobile deployment. For the low-level features, we introduce Convolutional Self-Attention (CSA). Unlike previous approaches of merging convolution and self-attention, CSA introduces local self-attention into the convolution within a kernel of size 3x3 to enrich low-level features in the first stage of LVT. For the high-level features, we propose Recursive Atrous Self-Attention (RASA), which utilizes the multi-scale context when calculating the similarity map and a recursive mechanism to increase the representation capability with marginal extra parameter cost. The superiority of LVT is demonstrated on ImageNet recognition, ADE20K semantic segmentation, and COCO panoptic segmentation. The code is made publicly available.

View on arXivView PDF

Code Implementations(1)

Chenglin-Yang/LVTOfficial100%

Lite Vision Transformer (CVPR 2022)

14417Python, Jupyter NotebookMar 2, 20224 years agoNOASSERTION

Similar Papers

Cite this paper

@article{yang2021lite,
  title  = {Lite Vision Transformer with Enhanced Self-Attention},
  author = {Chenglin Yang and Yilin Wang and Jianming Zhang and He Zhang and Zijun Wei and Zhe Lin and Alan Yuille},
  year   = {2021},
  eprint = {2112.10809},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.10809}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.10809.svg)](https://codeofpaper.com/paper/2112.10809)

Discussion