SOTAVerified

Visual Attention Network

2022-02-20Code Available4· sign in to hype

Meng-Hao Guo, Cheng-Ze Lu, Zheng-Ning Liu, Ming-Ming Cheng, Shi-Min Hu

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

While originally designed for natural language processing tasks, the self-attention mechanism has recently taken various computer vision areas by storm. However, the 2D nature of images brings three challenges for applying self-attention in computer vision. (1) Treating images as 1D sequences neglects their 2D structures. (2) The quadratic complexity is too expensive for high-resolution images. (3) It only captures spatial adaptability but ignores channel adaptability. In this paper, we propose a novel linear attention named large kernel attention (LKA) to enable self-adaptive and long-range correlations in self-attention while avoiding its shortcomings. Furthermore, we present a neural network based on LKA, namely Visual Attention Network (VAN). While extremely simple, VAN surpasses similar size vision transformers(ViTs) and convolutional neural networks(CNNs) in various tasks, including image classification, object detection, semantic segmentation, panoptic segmentation, pose estimation, etc. For example, VAN-B6 achieves 87.8% accuracy on ImageNet benchmark and set new state-of-the-art performance (58.2 PQ) for panoptic segmentation. Besides, VAN-B2 surpasses Swin-T 4% mIoU (50.1 vs. 46.1) for semantic segmentation on ADE20K benchmark, 2.6% AP (48.8 vs. 46.2) for object detection on COCO dataset. It provides a novel method and a simple yet strong baseline for the community. Code is available at https://github.com/Visual-Attention-Network.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
ImageNetVAN-B4 (22K, 384res)Top 1 Accuracy86.6Unverified
ImageNetVAN-B0Top 1 Accuracy75.4Unverified
ImageNetVAN-B1Top 1 Accuracy81.1Unverified
ImageNetVAN-B2Top 1 Accuracy82.8Unverified
ImageNetVAN-B4 (22K)Top 1 Accuracy85.7Unverified
ImageNetVAN-B5 (22K)Top 1 Accuracy86.3Unverified
ImageNetVAN-B6 (22K, 384res)Top 1 Accuracy87.8Unverified
ImageNetVAN-B5 (22K, 384res)Top 1 Accuracy87Unverified
ImageNetVAN-B6 (22K)Top 1 Accuracy86.9Unverified

Reproductions