Grafting Vision Transformers
Jongwoo Park, Kumara Kahatapitiya, Donghyun Kim, Shivchander, Sudalairaj, Quanfu Fan, Michael S. Ryoo

TL;DR
This paper introduces GrafT, a simple add-on for Vision Transformers that enhances global and multi-scale feature integration, leading to consistent accuracy improvements across various models, especially benefiting mobile-sized networks.
Contribution
The paper proposes GrafT, a flexible, parameter-sharing add-on that improves global dependency modeling in Vision Transformers without significant complexity increase.
Findings
GrafT improves top-1 accuracy by up to 3.9% on ImageNet-1k.
It benefits both hybrid and pure Transformer models.
GrafT enhances mobile-size models significantly.
Abstract
Vision Transformers (ViTs) have recently become the state-of-the-art across many computer vision tasks. In contrast to convolutional networks (CNNs), ViTs enable global information sharing even within shallow layers of a network, i.e., among high-resolution features. However, this perk was later overlooked with the success of pyramid architectures such as Swin Transformer, which show better performance-complexity trade-offs. In this paper, we present a simple and efficient add-on component (termed GrafT) that considers global dependencies and multi-scale information throughout the network, in both high- and low-resolution features alike. It has the flexibility of branching out at arbitrary depths and shares most of the parameters and computations of the backbone. GrafT shows consistent gains over various well-known models which includes both hybrid and pure Transformer types, both…
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.
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 · Advanced Image and Video Retrieval Techniques
MethodsMulti-Head Attention · Attention Is All You Need · Adam · Position-Wise Feed-Forward Layer · Label Smoothing · Linear Layer · Absolute Position Encodings · Layer Normalization · Byte Pair Encoding · Residual Connection
