Efficient Content-Based Sparse Attention with Routing Transformers
Open accessThe DOI matches its Crossref record; 42 of the 46 references it cites were found in a registry or an index.
Abstract
Self-attention has recently been adopted for a wide range of sequence modeling problems. Despite its effectiveness, self-attention suffers from quadratic computation and memory requirements with respect to sequence length. Successful approaches to reduce this complexity focused on attending to local sliding windows or a small set of locations independent of content. Our work proposes to learn dynamic sparse attention patterns that avoid allocating computation and memory to attend to content unrelated to the query of interest. This work builds upon two lines of research: It combines the modeling flexibility of prior work on content-based sparse attention with the efficiency gains from approaches based on local, temporal sparse attention. Our model, the Routing Transformer, endows self-attention with a sparse routing module based on online k-means while reducing the overall complexity of attention to O( n 1.5 d) from O( n 2 d) for sequence length n and hidden dimension d. We show that our model outperforms comparable sparse attention models on language modeling on Wikitext-103 (15.8 vs 18.3 perplexity), as well as on image generation on ImageNet-64 (3.43 vs 3.44 bits/dim) while using fewer self-attention layers. Additionally, we set a new state-of-the-art on the newly released PG-19 data-set, obtaining a test perplexity of 33.2 with a 22 layer Routing Transformer model trained on sequences of length 8192. We open-source the code for Routing Transformer in Tensorflow. 1
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Approximate attention methods have attempted to address this problem by trading off model quality to reduce the compute complexity, but often do not achieve wall-clock speedup.”
From FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness (2022) · cites this paper as [74]
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
Self-citationAdam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1179 · Cited by 25,545 · cited 1×
“In particular, (Bahdanau et al., 2014; Cho et al., 2014; Vaswani et al., 2017) relied on attention to drastically improve the state-of-the art in machine translation.”
BackgroundEffective Approaches to Attention-based Neural Machine Translation
Luong, T., Pham, H., & Manning, C. D. (2015) · Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d15-1166 · Cited by 8,382
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
Xu, K., Ba, J., Kiros, R., Cho, K., Courville, A., Salakhutdinov, R., Zemel, R., & Bengio, Y. (2015) · arXiv · doi:10.48550/arxiv.1502.03044 · Cited by 8,248
XLNet: Generalized Autoregressive Pretraining for Language Understanding
Yang, Z., Dai, Z., Yang, Y., Carbonell, J., Salakhutdinov, R., & Le, Q. V. (2019) · arXiv · doi:10.48550/arxiv.1906.08237 · Cited by 6,687
Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1406.1078 · Cited by 3,317 · cited 1×
“In particular, (Bahdanau et al., 2014; Cho et al., 2014; Vaswani et al., 2017) relied on attention to drastically improve the state-of-the art in machine translation.”
BackgroundTransformer-XL: Attentive language models beyond a fixed-length context
Dai, Z., Yang, Z., Yang, Y., Carbonell, J., Le, Q., & Salakhutdinov, R. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1285 · Cited by 3,169
Self-Attention with Relative Position Representations
Shaw, P., Uszkoreit, J., & Vaswani, A. (2018) · Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers) · doi:10.18653/v1/n18-2074 · Cited by 2,505
Self-citation
Research works printed but not linked: 14
- Rami Al-Rfou, Dokook Choe, Noah Constant, Mandy Guo, and Llion Jones. 2019. Characterlevel language modeling with deeper selfattention. In Proceedings of the AAAI Conference on Artificial Intelligence , volume 33, pages 3159-3166.
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. 2015. Neural machine translation by jointly learning to align and translate. In 3rd International Conference on Learning Representations, ICLR 2015 .
- Xi Chen, Nikhil Mishra, Mostafa Rohaninejad, and Pieter Abbeel. 2018. Pixelsnail: An improved autoregressive generative model. In International Conference on Machine Learning , pages 864-872.
- Chung-Cheng Chiu* and Colin Raffel*. 2018. Monotonic chunkwise attention. In International Conference on Learning Representations .
- Cheng-Zhi Anna Huang, Ashish Vaswani, Jakob Uszkoreit, Ian Simon, Curtis Hawthorne, Noam Shazeer, Andrew M Dai, Matthew D Hoffman, Monica Dinculescu, and Douglas Eck. 2018. Music transformer: Generating music with long-term structure. In International Conference on Learning Representations .
- Navdeep Jaitly, Quoc V Le, Oriol Vinyals, Ilya Sutskever, David Sussillo, and Samy Bengio. 2016. An online sequence-to-sequence model using partial conditioning. In Advances in Neural Information Processing Systems , pages 5067-5075.
- Durk P Kingma and Prafulla Dhariwal. 2018. Glow: Generative flow with invertible 1x1 convolutions. In Advances in Neural Information Processing Systems , pages 10215-10224.
- Guillaume Lample, Alexandre Sablayrolles, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. 2019. Large memory layers with product keys. In Advances in Neural Information Processing Systems , pages 8548-8559.
- Peter J Liu, Mohammad Saleh, Etienne Pot, Ben Goodrich, Ryan Sepassi, Lukasz Kaiser, and Noam Shazeer. 2018. Generating wikipedia by summarizing long sequences. In International Conference on Learning Representations .
- André F. T. Martins and Julia Kreutzer. 2017. Learning what's easy: Fully differentiable neural easy-first taggers. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing , pages 349-362, Copenhagen, Denmark. Association for Computational Linguistics.
- Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. 2017. Pointer sentinel mixture models. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings . OpenReview.net.
- Jack Rae and Ali Razavi. 2020. Do transformers need deep long-range memory? In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics , pages 7524-7529, Online. Association for Computational Linguistics.
- Jack W. Rae, Anna Potapenko, Siddhant M. Jayakumar, Chloe Hillier, and Timothy P. Lillicrap. 2020. Compressive transformers for longrange sequence modelling. In International Conference on Learning Representations .
- Hinton, and Jeff Dean. 2017. Outrageously large neural networks: The sparsely-gated mixture-ofexperts layer. In 5th International Conference on Learning Representations, ICLR 2017, Toulon, France, April 24-26, 2017, Conference Track Proceedings . OpenReview.net.
Cited by
Items 201–300 of 613
CA-Captioner: A novel concentrated attention for image captioning
Yang, X., Yang, Y., Wu, J., Sun, W., Ma, S., & Hou, Z. (2024) · Expert Systems with Applications · doi:10.1016/j.eswa.2024.123847 · Cited by 17
GFSNet: Gaussian Fourier with sparse attention network for visual question answering
Shen, X., Han, D., Chang, C., Oad, A., & Wu, H. (2025) · Artificial Intelligence Review · doi:10.1007/s10462-025-11163-4 · Cited by 19
“The second type is content-based sparse attention [18, 41–43], which dynamically computes attention weights for input data, adaptively allocating attention to prioritize essential information while minimizing processing of irrelevant details, thereby demonstrating enhanced flexibility and…”
Predicting Attention Sparsity in Transformers
Treviso, M., Góis, A., Fernandes, P., Fonseca, E., & Martins, A. F. T. (2022) · Workshop on Structured Prediction for NLP (SPNLP) · doi:10.18653/v1/2022.spnlp-1.7 · Cited by 24
EPC-DARTS: Efficient partial channel connection for differentiable architecture search
Cai, Z., Chen, L., & Liu, H. (2023) · Neural Networks · doi:10.1016/j.neunet.2023.07.029 · Cited by 19
Not All Memories are Created Equal: Learning to Forget by ExpiringPreprint
Sukhbaatar, S., Ju, D., Poff, S., Roller, S., Szlam, A. D., Weston, J., & Fan, A. (2021) · International Conference on Machine Learning · doi:10.48550/arxiv.2105.06548 · Cited by 43
“(Roy et al., 2020) - 0.99 Feedback Trans.”
InfluentialLinear-Time Self Attention with Codeword Histogram for Efficient Recommendation
Wu, Y., Lian, D., Gong, N. Z., Yin, L., Yin, M., Zhou, J., & Yang, H. (2021) · International World Wide Web Conference (WWW) · doi:10.1145/3442381.3449946 · Cited by 26
“[27] assign tokens to buckets through clustering.”
BackgroundInfluentialPre-trained language models for keyphrase prediction: A review
Umair, M., Sultana, T., & Lee, Y.-K. (2024) · ICT Express · doi:10.1016/j.icte.2024.05.015 · Cited by 17
“[154].”
Guo, R., Yue, Z., Wang, Y., Li, H., Hu, T., Wang, Y., Sun, H., Hsu, J.-L., Zhang, Y., Yan, B., et al. (2024) · IEEE Journal of Solid-State Circuits · doi:10.1109/jssc.2024.3419808 · Cited by 16
∞-former: Infinite Memory Transformer-former: Infinite Memory Transformer
Martins, P. H., Marinho, Z., & Martins, A. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2022.acl-long.375 · Cited by 15
BERT4Loc: BERT for Location—POI Recommender System
Bashir, S. R., Raza, S., & Mišić, V. B. (2023) · Future Internet · doi:10.3390/fi15060213 · Cited by 17
CMC: Video Transformer Acceleration via CODEC Assisted Matrix Condensing
Song, Z., Qi, C., Liu, F., Jing, N., & Liang, X. (2024) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3620665.3640393 · Cited by 18
Kumar, R., Kim, Y., & Byun, Y.-C. (2025) · IEEE Access · doi:10.1109/access.2025.3600622 · Cited by 17
“This unique design allows TabNet to perform dynamic feature selection while maintaining model interpretability and robust performance [62].”
Zheng, W., Yan, L., Gou, C., & Wang, F. (2022) · Artificial Intelligence Review · doi:10.1007/s10462-022-10166-9 · Cited by 15
CSDM: A context-sensitive deep matching model for medical dialogue information extraction
Zeng, D., Peng, R., Jiang, C., Li, Y., & Dai, J. (2022) · Information Sciences · doi:10.1016/j.ins.2022.05.099 · Cited by 15
ClusterFormer: Neural Clustering Attention for Efficient and Effective Transformer
Wang, N., Gan, G., Zhang, P., Zhang, S., Wei, V. J., Liu, Q., & Jiang, X. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.170 · Cited by 28
“Reformer (Kitaev et al., 2020) and Routing Transformer (Roy et al., 2021) use Locality Sensitive Hashing (LSH) and K-Means algorithms, respectively, to divide the words in the sequence into different clusters, and then the attention operation is restricted within each cluster independently.”
MethodMeta-Learning Fast Weight Language Models
Clark, K., Guu, K., Chang, M.-W., Pasupat, P., Hinton, G. E., & Norouzi, M. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.661 · Cited by 19
How Far Does BERT Look At: Distance-based Clustering and Analysis of BERT’s Attention
Guan, Y., Leng, J., Li, C., Chen, Q., & Guo, M. (2020) · International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.342 · Cited by 23
EchoFilter: End-to-End Neural Network for Acoustic Echo CancellationPreprint
Ma, L., Yang, S., Gong, Y., Wang, X., & Wu, Z. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2105.14666 · Cited by 15
“Since time delay and severe reverberation may exist at the near-end with respect to the far-end, a local attention [22,23] is employed for alignment.”
BackgroundMethodH-Transformer-1D: Fast One-Dimensional Hierarchical Attention for SequencesPreprint
Zhu, Z., & Soricut, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2107.11906 · Cited by 24
“The nonzero entry selection is either content-based (Kitaev et al., 2020; Roy et al., 2020; Tay et al., 2020b; Zhou et al., 2020), hand-crafted (Beltagy et al.”
BackgroundThe NLP Task Effectiveness of Long-Range Transformers
Qin, G., Feng, Y., & Van Durme, B. (2023) · Proceedings of the 17th Conference of the European Chapter of the Association for Computational Linguistics · doi:10.18653/v1/2023.eacl-main.273 · Cited by 14
“…use content-based patterns so they become learnable, with techniques including locality sensitive hashing (Kitaev et al., 2020), the differentiable Sinkhorn algorithm (Tay et al., 2020a), or the learnable routing algorithm (Roy et al., 2020). re-solving fragmentation with the recurrence evaluation.”
MethodExpediting Large-Scale Vision Transformer for Dense Prediction Without Fine-Tuning
Yuan, Y., Liang, W., Ding, H., Liang, Z., Zhang, C., & Hu, H. (2024) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2023.3327511 · Cited by 14
“EfficientVisionTransformer: Thesuccessofvisiontransform-ers has incentivised many recent efforts [34], [35], [36], [39], [65], [66], [67], [68], [69], [70], [71], [72], [73], [74] to exploit the spatial redundancies of intermediate token representations.”
Survey on Efficient Large Language Models: Principles, Algorithms, Applications, and Open Issues
Cheng, J., Kang, H., Shao, Y., Li, N., Chen, P., Wang, R., Long, S., Yang, X., & Ma, L. (2025) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2025.3628671 · Cited by 25
“In addition, while they enhance scalability, there can be tradeo ff s in accuracy depending on the specific decomposition techniques used [88], [89], [90], [91].”
SensorFormer: Efficient Many-to-Many Sensor Calibration With Learnable Input Subsampling
Cheng, Y., Saukh, O., & Thiele, L. (2022) · IEEE Internet of Things Journal · doi:10.1109/jiot.2022.3177948 · Cited by 16
“In contrast to fixed attention patterns, researchers have recently proposed learnable sparse attention [19], [34], i.”
BackgroundFarewell to Aimless Large-scale Pretraining: Influential Subset Selection for Language Model
Wang, X., Zhou, W., Zhang, Q., Zhou, J., Gao, S., Wang, J., Zhang, M., Gao, X., Chen, Y. W., & Gui, T. (2023) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2023.findings-acl.35 · Cited by 21
Sub-Linear Memory: How to Make Performers SLiMPreprint
Likhosherstov, V., Choromanski, K., Davis, J., Song, X.-Y., & Weller, A. (2020) · Neural Information Processing Systems · doi:10.48550/arxiv.2012.11346 · Cited by 26
“A recent line of work aimed to address this restriction, using either structured sparsity [8], truncated back-propagation [12], clustering [20, 31] or linear attention methods [18, 10, 11, 33, 23].”
BackgroundChapterBreak: A Challenge Dataset for Long-Range Language Models
Sun, S., Thai, K., & Iyyer, M. (2022) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2022.naacl-main.271 · Cited by 19
Maneeroj, S., & Sritrakool, N. (2022) · IEEE Access · doi:10.1109/access.2022.3182390 · Cited by 13
Liu, C., & Meng, Z. (2024) · Computers & Electrical Engineering · doi:10.1016/j.compeleceng.2024.109132 · Cited by 13
Adaptive-Attention Completing Network for Remote Sensing Image
Huang, W., Deng, Y., Hui, S., & Wang, J. (2023) · Remote Sensing · doi:10.3390/rs15051321 · Cited by 14
On Learning the Transformer KernelPreprint
Chowdhury, S. P., Solomou, A., Dubey, A., & Sachan, M. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.08323 · Cited by 17
“This limitation has spawned several efficient Transformer designs (Liu et al., 2018; Parmar et al., 2018; Child et al., 2019; Zaheer et al., 2020; Beltagy et al., 2020; Roy et al., 2020; Tay et al., 2020a; Kitaev et al., 2020).”
BackgroundFlash-KMeans: Fast and Memory-Efficient Exact K-MeansPreprint
Yang, S., Xi, H., Zhao, Y., Li, M., Fan, X., Zhang, J., Cai, H., Lin, Y., Li, X., Keutzer, K., et al. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2603.09229 · Cited by 15
“…in modern AI workloads. k -means usage is undergoing a clear paradigm shift, evolving from an offline analytics tool into a high-frequency, online operator within training and inference pipelines (e.g., vector quantization and sparse routing) (Roy et al., 2020; Zhu et al., 2025; Liu et al., 2025).”
He, Z., Chen, L., Xu, J., Lv, H., Zhou, R.-N., Hu, J., Chen, Y., & Gao, Y. (2024) · Biology · doi:10.3390/biology13040203 · Cited by 14
Song, Z., Qi, C., Yao, Y., Zhou, P., Zi, Y., Wang, N., & Liang, X. (2024) · ACM/IEEE Design Automation Conference (DAC) · doi:10.1145/3649329.3655982 · Cited by 14
“The large computation overhead of attention-based models attracts many researchers to enhance their efficiency [4, 6, 7, 9, 11, 13, 17] by hardware-software co-design.”
Reducing Sequence Length by Predicting Edit Spans with Large Language Models
Kaneko, M., & Okazaki, N. (2023) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2023.emnlp-main.619 · Cited by 28
“One crucial aspect of learning patterns is to establish a concept of token relevance and subsequently assign tokens to buckets or clusters (Vyas et al., 2020; Wang et al., 2021; Kitaev et al., 2020; Tay et al., 2020; Roy et al., 2021).”
BackgroundRevisiting Simple Neural Probabilistic Language Models
Sun, S., & Iyyer, M. (2021) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2021.naacl-main.407 · Cited by 22
Discourse-Aware Soft Prompting for Text Generation
Ghazvininejad, M., Karpukhin, V., Gor, V., & Çelikyılmaz, A. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.303 · Cited by 16
“Several work investigate novel approaches to learn the sparsity in attention matrix (Li et al., 2021; Roy et al., 2021; Shi et al., 2021) using a sampling method to formulate the right amount of sparsity.”
BackgroundFMMformer: Efficient and Flexible Transformer via Decomposed Near-field and Far-field AttentionPreprint
Nguyen, T. M., Suliafu, V., Osher, S., Chen, L., & Bao, W. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2108.02347 · Cited by 11
“Attention matrices have been enforced with different sparsity patterns to gain efficiency, including fixed sparsity patterns [41, 39, 7, 1, 65], a combination of different sparsity patterns [12, 24], and data-dependent/learnable sparsity patterns [33, 60, 52, 53, 29, 46, 59].”
BackgroundReducing the Barriers to Entry for Foundation Model TrainingPreprint
Faraboschi, P., Giles, E. R., Hotard, J., Owczarek, K., & Wheeler, A. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2404.08811 · Cited by 13
“…sections we described Mixture-of-Experts (MoE) and Switch Transformers that are in active development today, but other techniques, such as Routing Transformers [30] can reduce the overall complexity of an attention layer for sequence length n and hidden dimension d to O(n 1.5 d) from O(n 2 d).”
InfluentialParallelizing Linear Transformers with the Delta Rule over Sequence Length
Yang, S., Wang, B., Zhang, Y., Shen, Y., & Kim, Y. (2024) · arXiv · doi:10.48550/arxiv.2406.06484 · Cited by 12
“For example, this framing makes it difficult to (neatly) capture other subquadratic models that have been shown to be effective [117, 48, 95, 81].”
Better Language Model with Hypernym Class Prediction
Bai, H., Wang, T., Sordoni, A., & Shi, P. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.96 · Cited by 20
Fast multipole attention: A scalable multilevel attention mechanism for text and images
Kang, Y., Tran, G., & Sterck, H. D. (2026) · Neural Networks · doi:10.1016/j.neunet.2026.109847 · Cited by 13
Self-Supervised Hyperspectral Anomaly Detection Based on Finite Spatialwise Attention
Wang, Z., Ma, D., Yue, G., Li, B., Cong, R., & Wu, Z. (2023) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2023.3347270 · Cited by 15
“Thus, when q i and k j are close and belong to the same cluster, the corresponding attention values between them should be large [53].”
BackgroundAdaptive Patching for High-resolution Image Segmentation with Transformers
Zhang, E., Lyngaas, I., Chen, P., Wang, X., Igarashi, J., Huo, Y., Munetomo, M., & Wahib, M. (2024) · International Conference for High Performance Computing, Networking, Storage and Analysis (SC) · doi:10.1109/sc41406.2024.00082 · Cited by 18
“The approximation attention approaches approximate the self-attention mechanism through spectral attention [22], [23], [24], low-rank approximation [25], [26], sparse attention matrix sampling [27], [28], [29], [30], [31], infrequent self-attention updates [32], [33], or their combinations [34].”
Wang, Y., & Zhao, J. (2025) · Electronics · doi:10.3390/electronics14112188 · Cited by 13
Neural network-based anomalous diffusion parameter estimation approaches for Gaussian processes
Szarek, D. (2021) · International Journal of Advances in Engineering Sciences and Applied Mathematics · doi:10.1007/s12572-021-00298-6 · Cited by 12
Link of Transformers in CV and NLP: A Brief Survey
Jia, J., Chen, X., Yang, A., He, Q., Dai, P., & Liu, M. (2022) · International Conference on Pattern Recognition and Artificial Intelligence (PRAI) · doi:10.1109/prai55851.2022.9904151 · Cited by 13
“Roy et al. [23] further proposed a dynamic sparse attention mechanism to reduce the overall complexity of the model.”
BackgroundNIOT: A Novel Inference Optimization of Transformers on Modern CPUs
Zhang, Z., Chen, Y., He, B., & Zhang, Z. (2023) · IEEE Transactions on Parallel and Distributed Systems · doi:10.1109/tpds.2023.3269530 · Cited by 11
“[54] which trades accuracy for inference speed and memory footprint, and sparsification [15], [32], [47] which approximates attention [51] results by leveraging prior knowledge of locality.”
BackgroundMethodSparsifying Transformer Models with Trainable Representation Pooling
Pietruszka, M., Borchmann, Ł., & Garncarek, Ł. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.590 · Cited by 15
“Previous approaches either reduce the full connectivity of its elements to its non-empty subset or approximate the self-attention matrix (Dai et al., 2019; Beltagy et al., 2020; Kitaev et al., 2020; Tay et al., 2020; Zaheer et al., 2020a; Wang et al., 2020; Shen et al., 2021; Choromanski et al., 2021; Roy et al., 2020…”
BackgroundMethodABC: Attention with Bounded-memory Control
Peng, H., Kasai, J., Pappas, N., Yogatama, D., Wu, Z., Kong, L., Schwartz, R., & Smith, N. A. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.515 · Cited by 28
Simple Local Attentions Remain Competitive for Long-Context Tasks
Xiong, W., Oğuz, B., Gupta, A., Chen, X., Liskovich, D., Levy, O., Yih, S., & Mehdad, Y. (2022) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2022.naacl-main.144 · Cited by 20
Cahyawijaya, S. (2021) · arXiv.org · doi:10.14711/thesis-991012980421703412 · Cited by 18
Aghayengejeh, N. P., Balafar, M. A., & Nikzad-Khasmakhi, N. (2025) · Computer Science Review · doi:10.1016/j.cosrev.2025.100792 · Cited by 10
Natural Language Processing with Transformer-Based Models: A Meta-Analysis
Munyao, C., & Ndia, J. (2025) · Journal on artificial intelligence · doi:10.32604/jai.2025.069226 · Cited by 11
“…mechanisms in the Longformer and the BigBird models that reduce computational overhead in long-sequence tasks, and Mixture-of-Experts (MoE) models such as GShard and the Switch Transformer, which dynamically activate model subsets to scale performance while minimizing resource use [14,15].”
Legal Entity Extraction using a Pointer Generator Network
Skylaki, S., Oskooei, A., Bari, O., Herger, N., & Kriegman, Z. (2021) · IEEE ... International Conference on Data Mining workshops · doi:10.1109/icdmw53433.2021.00086 · Cited by 10
Efficient WSI classification with sequence reduction and transformers pretrained on text
Pisula, J. I., & Bożek, K. (2025) · Scientific Reports · doi:10.1038/s41598-025-88139-5 · Cited by 12
Eigen Analysis of Self-Attention and its Reconstruction from Partial ComputationPreprint
Bhojanapalli, S., Chakrabarti, A., Jain, H., Kumar, S., Łukasik, M., & Veit, A. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2106.08823 · Cited by 13
“Others have explored using clustering, hashing, etc. to group tokens and compute attention based on these groupings [10, 17].”
BackgroundM-DETR: Multi-scale DETR for Optical Music Recognition
Luo, F., Dai, Y., Fuentes, J., Ding, W., & Zhang, X. (2024) · Expert Systems with Applications · doi:10.1016/j.eswa.2024.123664 · Cited by 11
A statistical physics framework for optimal learning
Mignacco, F., & Mori, F. (2025) · PNAS Nexus · doi:10.1093/pnasnexus/pgag182 · Cited by 11
“Dynamic attention mechanisms enhance standard attention by adapting its structure in response to input properties or task requirements, for example, by selecting sparse token interactions (53), varying attention spans (54), or pruning attention heads (55).”
Wavelet-Enhanced Transformer for Adaptive Multi-Period Time Series Forecasting
Yu, P., Kong, H., & Li, Z. (2025) · Applied Sciences · doi:10.3390/app152312698 · Cited by 10
MuTrans: Multiple Transformers for Fusing Feature Pyramid on 2D and 3D Object Detection
Xie, B., Yang, L., Wei, A., Weng, X., & Li, B. (2023) · IEEE Transactions on Image Processing · doi:10.1109/tip.2023.3299190 · Cited by 9
A Comprehensive Survey On Efficient Transformers
Elouargui, Y., Zyate, M., Sassioui, A., Chergui, M., Kamili, M. E., & Ouzzif, M. (2023) · International Conference on Wireless Networks and Mobile Communications (WINCOM) · doi:10.1109/wincom59760.2023.10322921 · Cited by 9
“To tackle this issue, a new class of models called efficient Transformers has emerged, as described in the works of [9] [10] [11] [12] [13] .”
BackgroundMethodMF-YOLO: A Lightweight Method for Real-Time Dangerous Driving Behavior Detection
Wang, C., Lin, M., Shao, L., & Xiang, J. (2024) · IEEE Transactions on Instrumentation and Measurement · doi:10.1109/tim.2024.3472868 · Cited by 14
“A traditional multi-head self-attention (MHSA) mechanism is constrained by self-attention, and with an increase in the number of channels in the feature map, it may lead to a significant increase in redundant parameters [33].”
BackgroundWord embedding factor based multi-head attention
Li, Z., Zhao, Y., Zhang, X., Han, H., & Huang, C. F. (2025) · Artificial Intelligence Review · doi:10.1007/s10462-025-11115-y · Cited by 14
“These models, along with the model proposed by Roy et al. (2021) and Reza et al. (2022) have optimized the handling of long sequences by reducing computational complexity and enhancing the model’s ability to capture long-range dependencies.”
Self-Distillation Attention for Efficient and Accurate Motion Prediction in Autonomous Driving
Lu, Z., Cai, Y., Sun, X., Wang, H., Lian, Y., & Chen, L. (2025) · IEEE Transactions on Intelligent Transportation Systems · doi:10.1109/tits.2025.3535772 · Cited by 10
“Sparse attention techniques, such as position-based [27], [28] and content-based approaches [29], have been extensively studied and applied across various domains.”
Improving Pre-trained Language Models
Paaß, G., & Giesselbach, S. (2023) · Artificial intelligence: foundations, theory, and algorithms/Artificial intelligence: Foundations, theory, and algorithms · doi:10.1007/978-3-031-23190-2_3 · Cited by 10
How does momentum benefit deep neural networks architecture design? A few case studies
Wang, B., Xia, H., Nguyen, T., & Osher, S. (2022) · Research in the Mathematical Sciences · doi:10.1007/s40687-022-00352-0 · Cited by 15
“Thus, much recent research on transformers has been focusing on developing efficient transformers, aiming to reduce the memory and computational complexities of the model [71,14,35,66,4,1,107, 90,91,44,77,100,112,107,39,16,84,82,6,76,87,68,111].”
BackgroundFast Semantic Matching via Flexible Contextualized Interaction
Ye, W., Liu, Y., Zou, L., Cai, H., Cheng, S., Wang, S., & Yin, D. (2022) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/3488560.3498442 · Cited by 13
“Many researches have focused on how to make the Transformers more efficient [3, 8, 19, 21, 29, 32].”
BackgroundLanguage models for document understanding
Douzon, T. (2023) · theses.fr (ABES) · doi:10.70675/66ce60f8zcccaz476eza4d6zf801a2256b86 · Cited by 25
Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modeling
Ren, L., Liu, Y., Lu, Y., Shen, Y., Liang, C., & Chen, W. (2024) · arXiv · doi:10.48550/arxiv.2406.07522 · Cited by 8
“…(Vaswani et al., 2017) with a static attention pattern (Child et al., 2019; Zaheer et al., 2020; Beltagy et al., 2020) or a dynamic learnable pattern (Roy et al., 2020; Kitaev et al., 2020; Ren et al., 2023) to model long sequences with subquadratic complexity over the sequence length.”
Schoonen, A., Masunungure, A., Botha, C., Kemp, C., Twine, C., Kruger, C., Toit, D. D., Fouché, E., Wessels, E., Willemse, F., et al. (2023) · doi:10.4102/aosis.2023.bk412
Lu, H., Chen, C., Ma, Y., & Ma, Y. (2025) · Scientific Reports · doi:10.1038/s41598-025-07260-7 · Cited by 8
“window attention 15,16 or dynamic sparse attention 17 .”
Gan, S., Yang, X., & Alataş, B. (2023) · Sustainability · doi:10.3390/su152014977 · Cited by 8
Revisiting Bag of Words Document Representations for Efficient Ranking with Transformers
Rau, D., Dehghani, M., & Kamps, J. (2024) · ACM Transactions on Information Systems · doi:10.1145/3640460 · Cited by 12
“Another line of research to mitigate the input limitation of transformers is to employ self-attention to local windows [8, 46], or finding an approximation to self-attention matrix with lower rank [27, 44, 48, 51], or hybrid approaches [2, 53].”
BackgroundSpARC: Token Similarity-Aware Sparse Attention Transformer Accelerator via Row-wise Clustering
Cho, H., Kim, D., Hwang, S.-E., & Park, J. (2024) · ACM/IEEE Design Automation Conference (DAC) · doi:10.1145/3649329.3655936 · Cited by 14
“Attention Map Row-wise Redundancy : The self-attention mechanism, a key component of transformer architectures, is computationally expensive due to its inherent redundancies [7], [10].”
A road lane detection approach based on reformer model
Li, D., Yang, Z., Nai, W., Xing, Y. Y., & Chen, Z. (2025) · Egyptian Informatics Journal · doi:10.1016/j.eij.2025.100625 · Cited by 10
Optimizing Backbone Networks Through Hybrid–Modal Fusion: A New Strategy for Waste Classification
Zhou, H., Ding, Q., Chang, C., Liao, Q., Wang, Q., Yu, H., Hu, H. R., Zhang, G., Hu, J., & He, T. (2025) · Sensors · doi:10.3390/s25103241 · Cited by 8
“…information, the Agent Attention adds carefully designed agent biases B 1 , B 2 : Based on these designs, the Agent Attention mechanism can be expressed as Modern Transformer models typically use sparse attention [23] or Window Attention [17] to reduce the computational burden of Softmax attention.”
Exploring Temporally-Aware Features for Point Tracking
Kim, I. H., Cho, S., Huang, J., Yi, J., Lee, J., & Kim, S. (2025) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52734.2025.00189 · Cited by 20
“After downsampling, we apply a temporal attention layer that captures dependencies within a local temporal window of size N , focusing on temporal correlations across time [3, 42].”
End-to-End Long Document Summarization using Gradient Caching
Saxena, R., Tang, H., & Keller, F. (2025) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl.a.40 · Cited by 12
Linearizing Transformer with Key-Value Memory
Zhang, Y., & Cai, D. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.24 · Cited by 10
“, 2021) or employ clustering-based attention (Kitaev et al., 2020; Roy et al., 2020; Tay et al., 2020b).”
BackgroundMultimodal Transformer with a Low-Computational-Cost Guarantee
Park, S., & Choi, E. (2024) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp48485.2024.10447954 · Cited by 10
“Specifically, they used fixed patterns [12, 13, 14] or learnable patterns [15, 16] to sparsify the attention matrix.”
MethodImproving Transformer-Kernel Ranking Model Using Conformer and Query Term Independence
Mitra, B., Hofstätter, S., Zamani, H., & Craswell, N. (2021) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/3404835.3463049 · Cited by 12
“this quadratic complexity that broadly fall under: (i) Restricting self-attention to smaller local windows over the input [17, 51, 56, 65], or (ii) operating under the assumption that the attention matrix is low rank r [29, 54, 57, 61] and hence finding alternatives to explicitly computing theQK⊺ matrix, or (iii) hybr…”
BackgroundMaking Every Head Count: Sparse Attention Without the Speed-Performance Trade-offPreprint
Zhao, M., Hu, W., Wang, J., Lai, X., Huang, T., Min, Y., Yan, R., & Zhu, X. (2025) · AAAI Publications (The Association for the Advancement of Artificial Intelligence (AAAI)) · doi:10.48550/arxiv.2511.09596 · Cited by 8
Yang, B., Huang, Y., & Sun, G. (2026) · Aerospace Science and Technology · doi:10.1016/j.ast.2026.112040 · Cited by 7
PODTILE: Facilitating Podcast Episode Browsing with Auto-generated Chapters
Ghazimatin, A., Garmash, E., Penha, G., Sheets, K., Achenbach, M., Semerci, O., Galvez, R., Tannenberg, M., Mantravadi, S., Narayanan, D., et al. (2024) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3627673.3680081 · Cited by 20
Damage detection and localization of structural cracks based on dynamic attention based transformer
Honarjoo, A., Darvishan, E., Rezazadeh, H., & Kosarieh, A. H. (2024) · International Journal of Building Pathology and Adaptation · doi:10.1108/ijbpa-06-2024-0128 · Cited by 7
Fast Monte-Carlo Approximation of the Attention Mechanism
Kim, H., & Ko, J. (2022) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v36i7.20679 · Cited by 10
Element-Arrangement Context Network for Facade Parsing
Tao, Y. X., Zhang, Y., & Chen, X. (2022) · Journal of Computer Science and Technology · doi:10.1007/s11390-022-2189-3 · Cited by 7
“Recently, many efforts have been made to investigate sparse and memory-efficient forms, including hierarchical attention ([34]), clusteringbased sparse attention ([35]), attention to sparse keypoints only ([36]), attention to image patches instead of pixels [37] and attention with linear complexity ([38]).”
BackgroundLearning the degradation distribution for medical image superresolution via sparse swin transformer
Han, X., Xie, Z., Chen, Q., Li, X., & Yang, H. (2023) · Computers & Graphics · doi:10.1016/j.cag.2023.06.003 · Cited by 7
Change Detection Needs Neighborhood Interaction in Transformer
Ma, H., Zhao, L., Li, B., Niu, R., & Wang, Y. (2023) · Remote Sensing · doi:10.3390/rs15235459 · Cited by 8
Conv-Attention: A Low Computation Attention Calculation Method for Swin Transformer
Lou, Z., Luo, S., Huang, X., & Wei, D. (2024) · Neural Processing Letters · doi:10.1007/s11063-024-11483-6 · Cited by 7
Boos, E., Zimmermann, J., Wiemer, H., & Ihlenfeldt, S. (2024) · Procedia CIRP · doi:10.1016/j.procir.2024.01.012 · Cited by 7
Enhanced Transformer-BLSTM Model for Classifying Sentiment of User Comments on Movies and Books
Lin, Y., & Liu, T. (2024) · IEEE Access · doi:10.1109/access.2024.3416755 · Cited by 7
“TheTransformer model, introduced by Roy et al. [32], has become a cornerstone in NLP tasks due to its self-attention mechanism, which efficiently processes sequences of varying lengths and captures global dependencies.”
MethodDBA: Efficient Transformer With Dynamic Bilinear Low-Rank Attention
Qin, B., Li, J., Tang, S., & Zhuang, Y. (2025) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2025.3527046 · Cited by 8
Efficient Transformer for Direct Speech TranslationPreprint
Alastruey, B., Gállego, G. I., & Costa‐jussà, M. R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2107.03069 · Cited by 8
“Other models, like the Re-former [22] and the Routing Transformer [23], only compute attention weights for those queries and keys which are more related.”
MethodLinear Log-Normal Attention with Unbiased Concentration
Nahshan, Y., Kampeas, D.-J., & Haleva, E. (2023) · International Conference on Learning Representations · doi:10.48550/arxiv.2311.13541 · Cited by 14
“Based on the taxonomy proposed by (Zhu et al., 2021), these techniques can be categorized into five types: i) sparse attention mechanisms with predefined patterns, including sliding window-based approaches such as Sparse Transformer (Child et al., 2019), Axial Transformer (Ho et al., 2019), Blockwise Attention (Qiu et…”
MethodWang, Q., Zou, X., Li, C., Peng, Y., Wang, H., Wen, Y., Yeerlan, M., & Chen, C. (2025) · IEEE Internet of Things Journal · doi:10.1109/jiot.2025.3587891 · Cited by 8
“1) Efficient Transformer Methods: Prior works primarily improve transformer efficiency by reducing self-attention’s quadratic complexity through low-rank approximations and sparse attention patterns [27], [28], [29], [30], [31], [32], [33].”
Optimising Time Series Forecasting Transformers to Linear Complexity
Cheng, Y., Zhang, S., & Li, H. (2025) · Energy internet. · doi:10.1049/ein2.70016 · Cited by 10
The infrared–visible multimodal detection algorithm for urban traffic and safety perception
Hu, Q., Peng, Y., KinTak, U., & Chen, J. (2026) · Measurement Science and Technology · doi:10.1088/1361-6501/ae4d6c · Cited by 9
“Subsequently, some studies have reduced the computational cost of global attention by employing compressed-domain self-attention or sample-difficulty-based soft routing gating, activating heavy fusion operators only for high-complexity samples [19, 20].”
LWM-Temporal: Sparse Spatio-Temporal Attention for Wireless Channel Representation Learning
Alikhani, S., Malhotra, A., Hamidi-Rad, S., & Alkhateeb, A. (2026) · International Conference on Communications · doi:10.1109/icc59461.2026.11586824 · Cited by 7
Metadata
- Authors
- Roy, A., Saffar, M., Vaswani, A., & Grangier, D.
- Affiliations
- Google (United States) (US)
- Venue
- Transactions of the Association for Computational Linguistics
- Publisher
- MIT Press
- Published
- 2021-02
- Volume
- 9
- Pages
- 53-68
- ISSN
- 2307-387X (ISSN-L)
- OpenAlex
- W2997517014
- Semantic Scholar
- fdadfb4b43f41d6b0264423b7deb016ff761c4e9
- Cited by
- 509
- References
- 46
- Citations by year
- 2026: 56 · 2025: 79 · 2024: 91 · 2023: 105 · 2022: 77 · 2021: 76
- FWCI
- 30.83
- Type
- journal article
- Language
- en
- Open access
- diamond
- doi.org
- Licence
- cc-by
- Locations
- Transactions of the Association for Computational Linguistics (publishedVersion, cc-by)
- arXiv (Cornell University) (submittedVersion)
- DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
- Keywords
- sparse attention, self-attention, computational efficiency, memory efficiency, language modeling, image generation, long sequence modeling
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.