CVJun 7, 2021

Refiner: Refining Self-attention for Vision Transformers

arXiv:2106.03714v169 citations
Originality Incremental advance
AI Analysis

This addresses the data-hungry nature of Vision Transformers for computer vision researchers, though it is an incremental improvement focusing on a specific mechanism.

The paper tackles the data-efficiency problem in Vision Transformers by refining self-attention maps through attention expansion and convolution augmentation, achieving 86% top-1 accuracy on ImageNet with only 81M parameters.

Vision Transformers (ViTs) have shown competitive accuracy in image classification tasks compared with CNNs. Yet, they generally require much more data for model pre-training. Most of recent works thus are dedicated to designing more complex architectures or training methods to address the data-efficiency issue of ViTs. However, few of them explore improving the self-attention mechanism, a key factor distinguishing ViTs from CNNs. Different from existing works, we introduce a conceptually simple scheme, called refiner, to directly refine the self-attention maps of ViTs. Specifically, refiner explores attention expansion that projects the multi-head attention maps to a higher-dimensional space to promote their diversity. Further, refiner applies convolutions to augment local patterns of the attention maps, which we show is equivalent to a distributed local attention features are aggregated locally with learnable kernels and then globally aggregated with self-attention. Extensive experiments demonstrate that refiner works surprisingly well. Significantly, it enables ViTs to achieve 86% top-1 classification accuracy on ImageNet with only 81M parameters.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes