paper-with-me

홈 › Papers

X-volution: On the unification of convolution and self-attention

2021-06-04 · Xuanhong Chen, Hang Wang, Bingbing Ni

Convolution and self-attention are acting as two fundamental building blocks in deep neural networks, where the former extracts local image features in a linear way while the latter non-locally encodes high-order contextual relationships. Though essentially complementary to each other, i.e., first-/high-order, stat-of-the-art architectures, i.e., CNNs or transformers lack a principled way to simultaneously apply both operations in a single computational module, due to their heterogeneous computing pattern and excessive burden of global dot-product for visual tasks. In this work, we theoretically derive a global self-attention approximation scheme, which approximates a self-attention via the convolution operation on transformed features. Based on the approximated scheme, we establish a multi-branch elementary module composed of both convolution and self-attention operation, capable of unifying both local and non-local feature interaction. Importantly, once trained, this multi-branch module could be conditionally converted into a single standard convolution operation via structural re-parameterization, rendering a pure convolution styled operator named X-volution, ready to be plugged into any modern networks as an atomic operation. Extensive experiments demonstrate that the proposed X-volution, achieves highly competitive visual understanding improvements (+1.2% top-1 accuracy on ImageNet classification, +1.7 box AP and +1.5 mask AP on COCO detection and segmentation).

📄 PDF Abstract BibTeX arXiv:2106.02253

Code (0)

등록된 구현이 없습니다.

Tasks

Image ClassificationInstance SegmentationObject Detection

Methods 이 논문이 사용한 방법론

Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…

Similar Papers 제목 키워드 기반

Evolution: A Unified Formula for Feature Operators from a High-level Perspective

2023-05-23 · Zhicheng Cai

Traditionally, different types of feature operators (e.g., convolution, self-attention and involution) utilize different approaches to extract and aggregate the features. Resemblance can be hardly discovered from their m…

Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Models

2021-06-10 · ACL 2021 5 · Tyler A. Chang, Yifan Xu, Weijian Xu, Zhuowen Tu

In this paper, we detail the relationship between convolutions and self-attention in natural language tasks. We show that relative position embeddings in self-attention layers are equivalent to recently-proposed dynamic …

Language ModelingLanguage ModellingPosition

EAANet: Efficient Attention Augmented Convolutional Networks

2022-06-03 · Runqing Zhang, Tianshu Zhu

Humans can effectively find salient regions in complex scenes. Self-attention mechanisms were introduced into Computer Vision (CV) to achieve this. Attention Augmented Convolutional Network (AANet) is a mixture of convol…

Searching for TrioNet: Combining Convolution with Local and Global Self-Attention

2021-11-15 · Huaijin Pi, Huiyu Wang, Yingwei Li, Zizhang Li 외

Recently, self-attention operators have shown superior performance as a stand-alone building block for vision models. However, existing self-attention models are often hand-designed, modified from CNNs, and obtained by s…

Neural Architecture Search

Pay Less Attention with Lightweight and Dynamic Convolutions

2019-01-29 · ICLR 2019 5 · Felix Wu, Angela Fan, Alexei Baevski, Yann N. Dauphin 외

Self-attention is a useful mechanism to build generative models for language and images. It determines the importance of context elements by comparing each element to the current time step. In this paper, we show that a …

Abstractive Text SummarizationLanguage ModelingLanguage ModellingMachine Translation+1