Top Research Papers on Transformers
Delve into the transformative world of Transformer models with our curated list of top research papers. Whether you're a novice or an expert, these papers provide valuable insights and advancements in deep learning technology. Discover the latest trends and findings in Transformer research here.
Looking for research-backed answers?Try AI Search
Synthesizer: Rethinking Self-Attention for Transformer Models
374 Citations 2020Yi Tay, Dara Bahri, Donald Metzler + 3 more
journal unavailable
This paper proposes \textsc{Synthesizer}, a model that learns synthetic attention weights without token-token interactions, and shows that simple factorized Synthesizers can outperform Linformers on encoding only tasks.
Synthesizer: Rethinking Self-Attention in Transformer Models
186 Citations 2020Yi Tay, Dara Bahri, Donald Metzler + 3 more
arXiv (Cornell University)
The true importance and contribution of the dot product-based self-attention mechanism on the performance of Transformer models is investigated and a model that learns synthetic attention weights without token-token interactions is proposed, called Synthesizer.
An Attention Free Transformer
159 Citations 2021Shuangfei Zhai, Walter A. Talbott, Nitish Srivastava + 4 more
ArXiv
Attention Free Transformer (AFT), an efficient variant of Transformers that eliminates the need for dot product self attention, is introduced and demonstrates competitive performance on all the benchmarks, while providing excellent efficiency at the same time.
Neighborhood Attention Transformer
482 Citations 2023Ali Hassani, Steven Walton, Jiachen Li + 2 more
IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings
NA is a pixel-wise operation, localizing self attention to the nearest neighboring pixels, and therefore enjoys a linear time and space complexity compared to the quadratic complexity of SA, and is the first efficient and scalable sliding window attention mechanism for vision.
Keyword Transformer: A Self-Attention Model for Keyword Spotting
147 Citations 2021Axel Berg, Mark O’Connor, Miguel Tairum Cruz
Interspeech (USB)
The Keyword Transformer (KWT), a fully self-attentional architecture that exceeds state-of-the-art performance across multiple tasks without any pre-training or additional data, is introduced.
Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
285 Citations 2020Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas + 1 more
arXiv (Cornell University)
This work expresses the self-attention as a linear dot-product of kernel feature maps and makes use of the associativity property of matrix products to reduce the complexity from O(N) to N, where N is the sequence length.
AiATrack: Attention in Attention for Transformer Visual Tracking
351 Citations 2022Shenyuan Gao, Chunluan Zhou, Chao Ma + 2 more
Lecture notes in computer science
Transformer trackers have achieved impressive advancements recently, where the attention mechanism plays an important role. However, the independent correlation computation in the attention mechanism could result in noisy and ambiguous attention weights, which inhibits further performance improvement. To address this issue, we propose an attention in attention (AiA) module, which enhances appropriate correlations and suppresses erroneous ones by seeking consensus among all correlation vectors. Our AiA module can be readily applied to both self-attention blocks and cross-attention blocks to fac...
Fast Transformers with Clustered Attention
170 Citations 2020Apoorv Vyas, Angelos Katharopoulos, Franccois Fleuret
ArXiv
Closed attention is proposed, which instead of computing the attention for every query, groups queries into clusters and computes attention just for the centroids, which results in a model with linear complexity with respect to the sequence length for a fixed number of clusters.
QuadTree Attention for Vision Transformers
184 Citations 2022Shitao Tang, Jiahui Zhang, Siyu Zhu + 1 more
ArXiv
This work introduces QuadTree Attention, which reduces the computational complexity from quadratic to linear, builds token pyramids and computes attention in a coarse-to-fine manner, and achieves state-of-the-art performance in various vision tasks.
Quantifying Attention Flow in Transformers
923 Citations 2020Samira Abnar, Willem H. Zuidema
Annual Meeting of the Association for Computational Linguistics (ACL)
This paper proposes two methods for approximating the attention to input tokens given attention weights, attention rollout and attention flow, as post hoc methods when the authors use attention weights as the relative relevance of the input tokens.
Vision Transformer with Deformable Attention
974 Citations 2022Zhuofan Xia, Xuran Pan, Shiji Song + 2 more
IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings
A novel deformable selfatt attention module is proposed, where the positions of key and value pairs in selfattention are selected in a data-dependent way, which enables the self-attention module to focus on relevant re-gions and capture more informative features.
Transformers are RNNs: Fast Autoregressive Transformers with Linear\n Attention
338 Citations 2020Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas + 1 more
arXiv (Cornell University)
Transformers achieve remarkable performance in several tasks but due to their quadratic complexity, with respect to the input's length, they are prohibitively slow for very long sequences. To address this limitation, we express the self-attention as a linear dot-product of kernel feature maps and make use of the associativity property of matrix products to reduce the complexity from $\\mathcal{O}\\left(N^2\\right)$ to $\\mathcal{O}\\left(N\\right)$, where $N$ is the sequence length. We show that this formulation permits an iterative implementation that dramatically accelerates autoregressive t...
Slide-Transformer: Hierarchical Vision Transformer with Local Self-Attention
107 Citations 2023Xuran Pan, Tianzhu Ye, Zhuofan Xia + 2 more
IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings
A novel local attention module, Slide Attention, which leverages common convolution operations to achieve high efficiency, flexibility and generalizability and is applicable to a variety of advanced Vision Transformer models and compatible with various hardware devices, and achieves consistently improved performances on comprehensive benchmarks.
FLatten Transformer: Vision Transformer using Focused Linear Attention
333 Citations 2023Dongchen Han, Xuran Pan, Yizeng Han + 2 more
IEEE/CVF International Conference on Computer Vision (ICCV)
This paper proposes a novel Focused Linear Attention module, which introduces a simple yet effective mapping function and an efficient rank restoration module to enhance the expressiveness of self-attention while maintaining low computation complexity.
Rethinking Graph Transformers with Spectral Attention
674 Citations 2021Devin Kreuzer, D. Beaini, William L. Hamilton + 2 more
ArXiv
The Spectral Attention Network (SAN) is presented, which uses a learned positional encoding (LPE) that can take advantage of the full Laplacian spectrum to learn the position of each node in a given graph, becoming the first fully-connected architecture to perform well on graph benchmarks.
Fast Vision Transformers with HiLo Attention
147 Citations 2022Zizheng Pan, Jianfei Cai, Bohan Zhuang
neural information processing systems
Vision Transformers (ViTs) have triggered the most recent and significant breakthroughs in computer vision. Their efficient designs are mostly guided by the indirect metric of computational complexity, i.e., FLOPs, which however has a clear gap with the direct metric such as throughput. Thus, we propose to use the direct speed evaluation on the target platform as the design principle for efficient ViTs. Particularly, we introduce LITv2, a simple and effective ViT which performs favourably against the existing state-of-the-art methods across a spectrum of different model sizes with faster speed...
Transformer Interpretability Beyond Attention Visualization
848 Citations 2021Hila Chefer, Shir Gur, Lior Wolf
IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings
This work proposes a novel way to compute relevancy for Transformer networks that assigns local relevance based on the Deep Taylor Decomposition principle and then propagates these releVancy scores through the layers.
Sinkformers: Transformers with Doubly Stochastic Attention
107 Citations 2021Michael E. Sander, Pierre Ablin, Mathieu Blondel + 1 more
ArXiv
This paper proposes to use Sinkhorn's algorithm to make attention matrices doubly stochastic, and shows that Sinkformers enhance model accuracy in vision and natural language processing tasks, and leads to a significant improvement on 3D shapes classification.
DaViT: Dual Attention Vision Transformers
382 Citations 2022Mingyu Ding, Bin Xiao, Noel Codella + 3 more
Lecture notes in computer science
In this work, we introduce Dual Attention Vision Transformers (DaViT), a simple yet effective vision transformer architecture that is able to capture global context while maintaining computational efficiency. We propose approaching the problem from an orthogonal angle: exploiting self-attention mechanisms with both “spatial tokens” and “channel tokens”. With spatial tokens, the spatial dimension defines the token scope, and the channel dimension defines the token feature dimension. With channel tokens, we have the inverse: the channel dimension defines the token scope, and the spatial dimensio...
RealFormer: Transformer Likes Residual Attention
100 Citations 2021Ruining He, Anirudh Ravula, Bhargav Kanagal + 1 more
journal unavailable
RealFormer is proposed, a simple and generic technique to create Residual Attention Layer Transformer networks that significantly outperform the canonical Transformer and its variants on a wide spectrum of tasks including Masked Language Modeling, GLUE, SQuAD, Neural Machine Translation, WikiHop, HotpotQA, Natural Questions, and OpenKP.
