Demystify Transformers & Convolutions in Modern Image Deep Networks

Vision transformers have gained popularity recently, leading to the development of new vision backbones with improved features and consistent performance gains. However, these advancements are not solely attributable to novel feature transformation designs; certain benefits also arise from advanced network-level and block-level architectures. This paper aims to identify the real gains of popular convolution and attention operators through a detailed study. We find that the key difference among these feature transformation modules, such as attention or convolution, lies in their spatial feature aggregation approach, known as the "spatial token mixer" (STM). To facilitate an impartial comparison, we introduce a unified architecture to neutralize the impact of divergent network-level and block-level designs. Subsequently, various STMs are integrated into this unified framework for comprehensive comparative analysis. Our experiments on various tasks and an analysis of inductive bias show a significant performance boost due to advanced network-level and block-level designs, but performance differences persist among different STMs. Our detailed analysis also reveals various findings about different STMs, including effective receptive fields, invariance, and adversarial robustness tests.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Pattern Analysis and Machine Intelligence
Published
2024-12-20
DOI
https://doi.org/10.1109/tpami.2024.3520508
Citations
1
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.25
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Demystify Transformers & Convolutions in Modern Image Deep Networks

Lewei Lu, Sitong Wu, Jifeng Dai, Xiaowei Hu et al.
1 citations
IEEE Transactions on Pattern Analysis and Machine Intelligence
Advanced Neural Network Applications
0.25
article

Demystify Transformers & Convolutions in Modern Image Deep Networks

Lewei Lu, Sitong Wu, Jifeng Dai, Xiaowei Hu, Xiaogang Wang, Wei‐Yun Wang, Min Shi, Wenhai Wang, Linjie Xing, Jie Zhou, Yu Qiao, Xizhou Zhu
article en
1 citations

Abstract

Vision transformers have gained popularity recently, leading to the development of new vision backbones with improved features and consistent performance gains. However, these advancements are not solely attributable to novel feature transformation designs; certain benefits also arise from advanced network-level and block-level architectures. This paper aims to identify the real gains of popular convolution and attention operators through a detailed study. We find that the key difference among these feature transformation modules, such as attention or convolution, lies in their spatial feature aggregation approach, known as the "spatial token mixer" (STM). To facilitate an impartial comparison, we introduce a unified architecture to neutralize the impact of divergent network-level and block-level designs. Subsequently, various STMs are integrated into this unified framework for comprehensive comparative analysis. Our experiments on various tasks and an analysis of inductive bias show a significant performance boost due to advanced network-level and block-level designs, but performance differences persist among different STMs. Our detailed analysis also reveals various findings about different STMs, including effective receptive fields, invariance, and adversarial robustness tests.

IEEE Transactions on Pattern Analysis and Machine IntelligenceVol. 47(4)
Chinese University of Hong Kong (HK), Beijing Academy of Artificial Intelligence (CN), Group Sense (China) (CN), Shanghai Artificial Intelligence Laboratory (CN), South China University of Technology (CN), Tsinghua University (CN)
Industry, innovation and infrastructure
Openalex Percentile: Top 43%
Advanced Neural Network Applications
0.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.