paper-with-me

홈 › Papers

Interpret Vision Transformers as ConvNets with Dynamic Convolutions

2023-09-19 · Chong Zhou, Chen Change Loy, Bo Dai

There has been a debate about the superiority between vision Transformers and ConvNets, serving as the backbone of computer vision models. Although they are usually considered as two completely different architectures, in this paper, we interpret vision Transformers as ConvNets with dynamic convolutions, which enables us to characterize existing Transformers and dynamic ConvNets in a unified framework and compare their design choices side by side. In addition, our interpretation can also guide the network design as researchers now can consider vision Transformers from the design space of ConvNets and vice versa. We demonstrate such potential through two specific studies. First, we inspect the role of softmax in vision Transformers as the activation function and find it can be replaced by commonly used ConvNets modules, such as ReLU and Layer Normalization, which results in a faster convergence rate and better performance. Second, following the design of depth-wise convolution, we create a corresponding depth-wise vision Transformer that is more efficient with comparable performance. The potential of the proposed unified interpretation is not limited to the given examples and we hope it can inspire the community and give rise to more advanced network architectures.

📄 PDF Abstract BibTeX arXiv:2309.10713

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
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…
Residual Connection 설명 없음
Adam 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

Conv2Former: A Simple Transformer-Style ConvNet for Visual Recognition

2022-11-22 · Qibin Hou, Cheng-Ze Lu, Ming-Ming Cheng, Jiashi Feng

This paper does not attempt to design a state-of-the-art method for visual recognition but investigates a more efficient way to make use of convolutions to encode spatial features. By comparing the design principles of t…

object-detectionObject DetectionSemantic Segmentation

Designing Concise ConvNets with Columnar Stages

2024-10-05 · Ashish Kumar, Jaesik Park

In the era of vision Transformers, the recent success of VanillaNet shows the huge potential of simple and concise convolutional neural networks (ConvNets). Where such models mainly focus on runtime, it is also crucial t…

ParC-Net: Position Aware Circular Convolution with Merits from ConvNets and Transformer

2022-03-08 · Haokui Zhang, Wenze Hu, Xiaoyu Wang

Recently, vision transformers started to show impressive results which outperform large convolution based models significantly. However, in the area of small models for mobile or resource constrained devices, ConvNet sti…

Image Classificationobject-detectionObject DetectionPosition+1

A ConvNet for the 2020s

2022-01-10 · CVPR 2022 1 · Zhuang Liu, Hanzi Mao, Chao-yuan Wu, Christoph Feichtenhofer 외

The "Roaring 20s" of visual recognition began with the introduction of Vision Transformers (ViTs), which quickly superseded ConvNets as the state-of-the-art image classification model. A vanilla ViT, on the other hand, f…

ClassificationDomain Generalizationimage-classificationImage Classification+3

Fast-ParC: Capturing Position Aware Global Feature for ConvNets and ViTs

2022-10-08 · Tao Yang, Haokui Zhang, Wenze Hu, Changwen Chen 외

Transformer models have made tremendous progress in various fields in recent years. In the field of computer vision, vision transformers (ViTs) also become strong alternatives to convolutional neural networks (ConvNets),…

image-classificationImage ClassificationInductive BiasPosition