paper-with-me

Papers

Vicinity Vision Transformer

2022-06-21 · Weixuan Sun, Zhen Qin, Hui Deng, Jianyuan Wang, Yi Zhang, Kaihao Zhang, Nick Barnes, Stan Birchfield, Lingpeng Kong, Yiran Zhong

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. In this case, the neighbouring patches will receive stronger attention than far-away patches. Moreover, since our Vicinity Attention requires the token length to be much larger than the feature dimension to show its efficiency advantages, we further propose a new Vicinity Vision Transformer (VVT) structure to reduce the feature dimension without degenerating the accuracy. We perform extensive experiments on the CIFAR100, ImageNet1K, and ADE20K datasets to validate the effectiveness of our method. Our method has a slower growth rate of GFlops than previous transformer-based and convolution-based networks when the input resolution increases. In particular, our approach achieves state-of-the-art image classification accuracy with 50% fewer parameters than previous methods.

📄 PDF Abstract BibTeX arXiv:2206.10552

Code (1)

opennlplab/vicinity-vision-transformer 공식 구현 pytorch

Tasks

image-classificationImage Classification

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Position-Wise Feed-Forward Layer 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

AdvAug: Robust Adversarial Augmentation for Neural Machine Translation

2020-06-21 · ACL 2020 6 · Yong Cheng, Lu Jiang, Wolfgang Macherey, Jacob Eisenstein

In this paper, we propose a new adversarial augmentation method for Neural Machine Translation (NMT). The main idea is to minimize the vicinal risk over virtual sentences sampled from two vicinity distributions, of which…

Data AugmentationMachine TranslationNMTSentence+1

ML4C: Seeing Causality Through Latent Vicinity

2021-10-01 · NeurIPS 2021 12 · Haoyue Dai, Rui Ding, Yuanyuan Jiang, Shi Han 외

Supervised Causal Learning (SCL) aims to learn causal relations from observational data by accessing previously seen datasets associated with ground truth causal relations. This paper presents a first attempt at addressi…

Gaze-based dual resolution deep imitation learning for high-precision dexterous robot manipulation

2021-02-02 · Heecheol Kim, Yoshiyuki Ohmura, Yasuo Kuniyoshi

A high-precision manipulation task, such as needle threading, is challenging. Physiological studies have proposed connecting low-resolution peripheral vision and fast movement to transport the hand into the vicinity of a…

Computational EfficiencyImitation LearningRobot Manipulation

AstroSLAM: Autonomous Monocular Navigation in the Vicinity of a Celestial Small Body -- Theory and Experiments

2022-12-01 · Mehregan Dor, Travis Driver, Kenneth Getzandanner, Panagiotis Tsiotras

We propose AstroSLAM, a standalone vision-based solution for autonomous online navigation around an unknown target small celestial body. AstroSLAM is predicated on the formulation of the SLAM problem as an incrementally …

Sensor Fusion

Health Monitoring of Critical Power System Equipments using Identifying Codes

2018-10-22

High voltage power transformers are one of the most critical equipments in the electric power grid. A sudden failure of a power transformer can significantly disrupt bulk power delivery. Before a transformer reaches its …