Vicinity Vision Transformer
Weixuan Sun, Zhen Qin, Hui Deng, Jianyuan Wang, Yi Zhang, Kaihao, Zhang, Nick Barnes, Stan Birchfield, Lingpeng Kong, Yiran Zhong

TL;DR
The Vicinity Vision Transformer introduces a locality-biased attention mechanism with linear complexity, enabling efficient high-resolution image processing and achieving state-of-the-art accuracy with fewer parameters.
Contribution
It proposes Vicinity Attention with locality bias and a new VVT structure to reduce feature dimension, improving efficiency and accuracy in vision transformers.
Findings
Achieves state-of-the-art accuracy on multiple datasets.
Reduces parameter count by 50% compared to previous methods.
Grows GFlops more slowly with increased resolution.
Abstract
Vision transformers have shown great success on numerous computer vision tasks. However, its central component, softmax attention, prohibits vision transformers from scaling up to high-resolution images, due to both the computational complexity and memory footprint being quadratic. Although linear attention was introduced in natural language processing (NLP) tasks to mitigate a similar issue, directly applying existing linear attention to vision transformers may not lead to satisfactory results. We investigate this problem and find that computer vision tasks focus more on local information compared with NLP tasks. Based on this observation, we present a Vicinity Attention that introduces a locality bias to vision transformers with linear complexity. Specifically, for each image patch, we adjust its attention weight based on its 2D Manhattan distance measured by its neighbouring patches.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Domain Adaptation and Few-Shot Learning · Brain Tumor Detection and Classification
MethodsMulti-Head Attention · Attention Is All You Need · Linear Layer · Dropout · Position-Wise Feed-Forward Layer · Absolute Position Encodings · Byte Pair Encoding · Label Smoothing · Adam · Transformer
