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 401–500 of 613
Dual-level dynamic heterogeneous graph network for video question answering
Zhang, Z., Li, Y., Zhang, W., & Bai, T. (2025) · Neural Networks · doi:10.1016/j.neunet.2025.108094 · Cited by 5
A method for semantic textual similarity on long texts
Zatarain, O. A., González-Castolo, J. C., & Ramos-Cabral, S. (2025) · PeerJ Computer Science · doi:10.7717/peerj-cs.3202 · Cited by 2
Xing, Z., Zhang, D.-F., Xie, K., Fang, J., & Bi, X.-A. (2025) · Information Fusion · doi:10.1016/j.inffus.2025.103734 · Cited by 3
AA-DiT: An Algorithm–Architecture Co-Design for Diffusion Transformer Acceleration
Li, S., Ponzina, F., & Rosing, T. (2026) · IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems · doi:10.1109/tcad.2026.3674447 · Cited by 3
“[29], [30], [31] have been introduced.”
Memory-Efficient Generative Models via Product Quantization
Shao, J., Zhang, H., Yu, H., & Wu, J. (2025) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51701.2025.01567 · Cited by 3
“Vector quantization [15] provides an efficient approach for compressing model weights and has been applied to CNN [37, 56], LLM [9, 30, 49, 59, 60], and 3DGS [40, 62].”
Socialformer: Social Network Inspired Long Document Modeling for Document Ranking
Zhou, Y., Dou, Z., Yuan, H., & Ma, Z.-Y. (2022) · International World Wide Web Conference (WWW) · doi:10.1145/3485447.3511962 · Cited by 6
“Another idea to solve the problem of long document representation is to design sparse attention patterns [3, 20, 30, 51], so as to avoid computing the full quadratic attention matrix multiplication.”
BackgroundAutomated Aircraft Recognition via Vision Transformers
Huo, Y., Peng, Y. F., & Lyu, M. R.-T. (2023) · IEEE Aerospace Conference (AERO) · doi:10.1109/aero55745.2023.10115895 · Cited by 2
The Information Pathways Hypothesis: Transformers are Dynamic Self-Ensembles
Hussain, M. S., Zaki, M. J., & Subramanian, D. (2023) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3580305.3599520 · Cited by 5
“10, whereas specialized architectures such as [12, 54] use a longer input length to achieve a test BPB of 0.”
BackgroundResultDeng, Y., Weng, Z., & Zhang, T. (2023) · Journal of Multimedia Information System · doi:10.33851/jmis.2023.10.2.199 · Cited by 2
Li, W., Yi, X., Hu, J., Sun, M., & Xie, X. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.745 · Cited by 6
Analysis of Transformer Model Applications
Cabrera-Bermejo, M. I., del Jesús, M. J., Rivera, A. J., Elizondo, D. A., Charte, F., & Pérez-Godoy, M. D. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-40725-3_20 · Cited by 2
Spatial Gene Expression Prediction Using Hierarchical Sparse Attention
Cui, C., Zhang, Z., & Tang, P. (2023) · Communications in computer and information science · doi:10.1007/978-981-99-8141-0_44 · Cited by 2
Fovea Transformer: Efficient Long-Context Modeling with Structured Fine-To-Coarse Attention
He, Z., Yuan, J., Zhou, L., Leng, J., & Jiang, B. (2024) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp48485.2024.10446483 · Cited by 4
“The other line of research targets at sparsifying the attention matrix, by following some predefined patterns [8, 9, 10].”
BackgroundInfluentialLayer-Wise Sparse Training of Transformer via Convolutional Flood Filling
Yoon, B., Han, Y., & Moon, G. E. (2024) · Lecture notes in computer science · doi:10.1007/978-981-97-2253-2_13 · Cited by 2
Li, G., Togo, R., Maeda, K., Sako, A., Yamauchi, I., HAYAKAWA, T., Nakamae, S., Ogawa, T., & Haseyama, M. (2024) · Remote Sensing · doi:10.3390/rs16101742 · Cited by 3
Efficiency-oriented approaches for self-supervised speech representation learning
Lugo, L., & Vielzeuf, V. (2024) · International Journal of Speech Technology · doi:10.1007/s10772-024-10121-9 · Cited by 2
“…layers use linear (Schlag et al., 2021; Zhai et al., 2021), learnable (Kitaev et al., 2020; Wang et al., 2021), sparse (Child et al., 2019; Roy et al., 2021; Tu et al., 2022), or low-rank (Choromanski et al., 2021; Wang et al., 2020) approximations to accelerate layer calculations (Poli…”
Fused Transformers: Fused Information of Arabic long Article for Summarization
Ezzat, Z., Khalfallah, A., & Khoriba, G. (2024) · Procedia Computer Science · doi:10.1016/j.procs.2024.10.182 · Cited by 2
All You Should Know About Large Language Models (LLMs)
Alaktif, A., Chergui, M., Daoudi, I., & Ammoumou, A. (2024) · International Conference on Advanced Communication Technologies and Networking (CommNet) · doi:10.1109/commnet63022.2024.10793270 · Cited by 2
“The Routing Transformer [11] improves Transformer efficiency by using learnable patterns to identify input sequence relevance.”
Exploring the Potential of Fungal Biomass in the Evolution of Polylactic Acid (PLA) Biocomposites
Ali, A., Noreen, W., Baig, S. N., Layly, I. R., Franco, M., & Irfan, M. I. (2025) · Fungal biology · doi:10.1007/978-3-031-82599-6_7 · Cited by 2
CacheFormer: High-Attention-Based Segment Caching
Singh, S. K., & Mahmood, A. (2025) · AI · doi:10.3390/ai6040085 · Cited by 2
“Sparse attention [16,17] approximates full attention by only computing attention between a subset of token pairs that drastically cuts computation costs.”
Smart contract classification based on neural clustering and semantic feature enhancement
Tian, G., Wang, P., Wang, R., & Du, Y. (2025) · Blockchain Research and Applications · doi:10.1016/j.bcra.2025.100303 · Cited by 5
Hestrio, Y. F., Mantau, A. J., & Jatmiko, W. (2025) · IEEE Access · doi:10.1109/access.2025.3593389 · Cited by 5
“Notwithstanding these benefits, transformer-based methodologies continue to have quadratic computing difficulty concerning sequence length, thereby constraining their scalability for extended temporal sequences commonly found in agricultural monitoring applications [44], [45], [46].”
Multi-split Reversible Transformers Can Enhance Neural Machine Translation
Zhao, Y., Zhou, S., & Zhang, Z. (2021) · Conference of the European Chapter of the Association for Computational Linguistics · doi:10.18653/v1/2021.eacl-main.19 · Cited by 3
Concentration or distraction? A synergetic-based attention weights optimization method
Wang, Z., Li, H., Ma, L., & Jiang, F. (2023) · Complex & Intelligent Systems · doi:10.1007/s40747-023-01133-0 · Cited by 2
Pre-trained Models for Representation Learning
Lin, Y., Ding, N., Liu, Z., & Sun, M. (2023) · Springer eBooks · doi:10.1007/978-981-99-1600-9_5 · Cited by 2
Text Chunking to Improve Website Classification
Koufi, M. Z., Guessoum, Z., Keziou, A., Yahiaoui, I., Martineau, C., & Domin, W. (2024) · Communications in computer and information science · doi:10.1007/978-3-031-53025-8_15 · Cited by 2
Wu, T.-H., Hsieh, C.-C., Chen, Y.-H., Chi, P.-H., & Lee, H.-Y. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.05174 · Cited by 2
“Routing Transform-ers [10] uses K-means clustering to determine the candidates for each query in self-attention, while Reformer [11] tries to address this issue by introducing the hashing algorithm.”
An Optimized Dataflow for Mitigating Attention Performance BottlenecksPreprint
Kao, S.-C., Subramanian, S., Agrawal, G., & Krishna, T. (2021) · arXiv (Cornell University) · Cited by 2
StreaMulT: Streaming Multimodal Transformer for Heterogeneous and Arbitrary Long Sequential DataPreprint
Pellegrain, V., Tami, M., Batteux, M., & Hudelot, C. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.08021 · Cited by 3
SimpleTRON: Simple Transformer with O(N) ComplexityPreprint
Yorsh, U., Kovalenko, A., Vančura, V., Vašata, D., Kordík, P., & Mikolov, T. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2111.15588 · Cited by 2
“Among the solutions to rationalize the Transformer complexity, there were engineering approaches such as sparse attention [12, 13], graph attention [14] or compressive attention [15] that maps past hidden activations to a smaller set of compressed representations, allowed to use longer sequences at comparable compute.”
Joint Fine-tuning and Conversion of Pretrained Speech and Language Models towards Linear ComplexityPreprint
He, M., & Garner, P. N. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2410.06846 · Cited by 3
Fast attention mechanisms: a tale of parallelismPreprint
Liu, J., Yu, H., Sanford, C., Andoni, A., & Hsu, D. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2509.09001 · Cited by 2
“…employ a variety of techniques, ranging from low-rank approximation (Choromanski et al., 2021; Wang et al., 2020; Kacham et al., 2024; Arora et al., 2024; Chen et al., 2021) to efficient nearest neighbor search (Kitaev et al., 2020; Han et al., 2024; Zandieh et al., 2023; Roy et al., 2021).”
Beyond Sparse Weights: When Is Attention Compressible?Preprint
Yang, C.-W., & Li, X. (2026) · arXiv.org · doi:10.48550/arxiv.2608.21541 · Cited by 1
“This design space descends from training-time sparse patterns (Child et al., 2019; Beltagy et al., 2020; Zaheer et al., 2020; Kitaev et al., 2020; Roy et al., 2021) and kernel or low-rank approximations (Choromanski et al., 2020; Katharopoulos et al., 2020; Xiong et al., 2021; Qin et al., 2022).”
SMat-Attention: Structured Long-Context Sequence ModelingPreprint
Anand, E., Ateyeh, A., Wang, A., & Soljacic, M. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.36062 · Cited by 2
“Additionally, the Reformer’s LSH attention (Kitaev et al., 2020) and the Routing Transformer (Roy et al., 2020) restrict each query to the keys sharing its hash or cluster, and our content-based assignment uses a similar device.”
Preston, L. D., van der Merwe, W., Fouché, E., & Ramadie, K. J. (2023) · doi:10.4102/aosis.2023.bk412.03 · Cited by 1
Praveenkumar, S. M., Patil, P. R., & Hiremath, P. S. (2024) · International Journal of Pattern Recognition and Artificial Intelligence · doi:10.1142/s0218001424500058 · Cited by 1
Swin on Axes: Extending Swin Transformers to Quadtree Image Representations
Oliu, M., Nasrollahi, K., Escalera, S., & Moeslund, T. B. (2024) · IEEE/CVF Winter Conference on Applications of Computer Vision Workshops (WACVW) · doi:10.1109/wacvw60836.2024.00028 · Cited by 1
“2, previous approaches rely either on a manual selection of shortcut tokens [1,12], a two-stage local/global attentional mechanism [16] or the iterative, sequential refinement of the attention matrix [15].”
MethodAS-NeRF: Learning Auxiliary Sampling for Generalizable Novel View Synthesis from Sparse Views
Tang, J., Li, L., Qi, X., Chen, Y., Fan, C., & Yu, X. (2024) · IEEE International Conference on Multimedia and Expo (ICME) · doi:10.1109/icme57554.2024.10688126 · Cited by 2
FilterGNN: Image feature matching with cascaded outlier filters and linear attention
Cai, J., Mu, T., & Lai, Y. (2024) · Computational Visual Media · doi:10.1007/s41095-023-0363-3 · Cited by 1
“ClusterGNN [36] and RoutingTransformer [27] divide the complete graph into multiple subgraphs in terms of semantic similarity by clustering, and then only perform self-attention within each sub-graph.”
BackgroundPerceiving Copulas for Multimodal Time Series Forecasting
Le, C. P., Cannella, C., Hasan, A., Ng, Y., & Tarokh, V. (2024) · Winter Simulation Conference · doi:10.1109/wsc63780.2024.10838953 · Cited by 1
“This approach restricts conditioning and effectively embodies a form of sparse attention (Child et al. 2019; Tay et al. 2020; Roy et al. 2021), although the sparsity pattern is determined through a gap-filling process.”
Unsupervised Context-Linking Retriever for Question Answering on Long Narrative Books
Ateeq, M. A., Tiun, S. B., Abdelhaq, H., & Kaur, W. (2025) · IEEE Access · doi:10.1109/access.2025.3578497 · Cited by 1
Towards Efficient Hypergraph Representation Learning for Multi-Behaviour Recommender Systems
Mukande, T., Ali, E., Caputo, A., Dong, R., & O'Connor, N. E. (2025) · International World Wide Web Conference (WWW) · doi:10.1145/3701716.3715572 · Cited by 1
“These include low-rank approximations [18, 23], kernel-based approaches [18] and sparse attention methods that reduce computation time and memory usage [13].”
Huang, J., & Cui, J. (2025) · The Journal of Supercomputing · doi:10.1007/s11227-025-07664-2 · Cited by 1
“Roy et al. [31] proposed a data-based approach to complexity reduction, which combines the flexibility and effectiveness of sparse attention.”
Liu, S., He, Q., Chen, Y.-T., Zhang, F., & Liu, A. (2025) · IEEE Internet of Things Journal · doi:10.1109/jiot.2025.3616339 · Cited by 3
“To address this, several studies have proposed alternatives such as sparse attention [22], [23], sliding window mechanisms [24], and hierarchical temporal fusion [25], [26].”
Nousias, A., & Nousias, S. (2026) · IEEE Winter Conference on Applications of Computer Vision · doi:10.1109/wacv61042.2026.00657 · Cited by 2
“SHREC-11 is a dataset of 600 meshes representing 30 categories of 20 shapes each.”
UltraAttn: Efficiently Parallelizing Attention through Hierarchical Context-Tiling
Yang, H., Zong, Z., Jin, Y., Lei, K., He, J., Yang, Q., & Zhai, J. (2025) · International Conference for High Performance Computing, Networking, Storage and Analysis (SC) · doi:10.1145/3712285.3759894 · Cited by 1
“At the algorithm level, block sparse attention [3, 5, 7, 15, 16, 20, 28, 38, 46, 51] is proposed to accelerate the attention module.”
Beyond the Utterance: An Empirical Study of Very Long Context Speech Recognition
Flynn, R., & Ragni, A. (2026) · IEEE Transactions on Audio Speech and Language Processing · doi:10.1109/taslpro.2026.3658246 · Cited by 3
“Similar results are found in [23] when testing local [24], [25], [26] and routing [27] transformers, with performance plateauing beyond 1024-2048 tokens.”
Accelerating Sparse Transformer Inference on GPU
Dai, W., Deng, H., Rong, M., Yang, X., Liu, H., Liu, F., Yang, H., Cao, Q., & Sun, Q. (2026) · ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming · doi:10.1145/3774934.3786434 · Cited by 1
I/O Analysis is All You Need: An I/O Analysis for Long-Sequence Attention
Lu, X., Long, B., Chen, X., Han, Y., & Sun, X. (2026) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3779212.3790174 · Cited by 2
“To address these challenges, several approximate self-attention methods have been proposed to reduce I/O overhead, including sparsity-based techniques and lossy approximations [3, 13, 17, 33, 42, 59, 62].”
Jiang, K., Chen, T., Li, H. T., & Zhang, Y. (2026) · International Journal of Image and Data Fusion · doi:10.1080/19479832.2026.2643291 · Cited by 1
SPALM: A Sparsity-Pattern-Adaptive Library for Matrices
Kim, J., & Ross, K. (2026) · Proc. ACM Manag. Data · doi:10.1145/3802113 · Cited by 2
“…deep learning architecture, which is used in many common applications such as Large Language Models, much research effort has been given to introducing sparsity to the attention mechanism [10, 11, 42, 62], which is the transformer’s core operation and can be done via matrix multiplication.”
LDS-Net: a lightweight detection network for real-time steel surface-defect detection
Xue, C., & Wang, J. (2026) · Journal of Real-Time Image Processing · doi:10.1007/s11554-026-01927-8 · Cited by 1
“Representative meth-ods include Reformer [34], which approximates full attention through locality-sensitive hashing; Routing Transformer [35], which learns content-based sparse routing patterns using online k -means clustering; and Top-k Attention [36], which approximates vanilla attention by…”
Zhang, Y., Chang, J., Huang, Y., Guo, Y., & Liu, S. (2026) · Journal of Systems Architecture · doi:10.1016/j.sysarc.2026.103912 · Cited by 1
Lu, Q., Wu, S., Liu, Y., Huang, Z., Zhou, Y., Dong, B., Zhang, T., Li, L., Zhu, K., Shu, H., et al. (2026) · Nature Reviews Electrical Engineering · doi:10.1038/s44287-026-00319-1 · Cited by 1
“To address these memory and computational bottlenecks, efficient attention mechanisms 68 , low-rank approximations 69 and sparsity-based techniques 70 have been developed 71 .”
MSBR-KT: knowledge tracing via multifaceted structured-bias routing
Ma, F., Jiang, Y., Li, H., & Yang, F. (2026) · Journal of King Saud University - Computer and Information Sciences · doi:10.1007/s44443-026-01029-2 · Cited by 1
“Relatedly, Roy et al. (2021) studied routing-based Transformers for efficient content-based sparse attention, illustrating how routing can also induce sparse dependency patterns along a sequence.”
AVQ-Attention: Adaptive Vector-Quantized Attention
van den Dool, W., Forré, P. D., Habibian, A., Asano, Y. M., & Welling, M. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-37013-6_10 · Cited by 2
Generalized Neighborhood Attention: Multi-Dimensional Sparse Attention at the Speed of Light
Hassani, A., Zhou, F., Kane, A., Huang, J., Chen, C.-Y., Shi, M., Walton, S., Hoehnerbach, M., Thakkar, V., Isaev, M., et al. (2026) · doi:10.1109/cvprf71909.2026.00293 · Cited by 4
“Dynamic approaches [6, 8, 37] are typically more effective without further fine-tuning, whereas static approaches [5, 7, 9, 33, 36] can achieve better speedups [10, 25, 31].”
Adaptive Multi-Resolution Attention with Linear Complexity
Zhang, Y., Ma, Y., Seidl, T., & Volker Tresp, C. (2023) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn54540.2023.10191567 · Cited by 1
“To encode the context information, we produce compressed keys and values using certain compressive operations, which can be selected from k - means clustering [Vyas et al., 2020, Roy et al., 2021], projection [Wang et al., 2020b], and convolution [Rae et al., 2019], etc.”
BackgroundMethodContextualizer: Connecting the Dots of Context with Second-Order Attention
Maupomé, D., & Meurs, M. (2022) · Information · doi:10.3390/info13060290 · Cited by 1
“Rather than determining neighbors by position, tokens can be bucketed by locality-sensitive hashing [21] or clustering [22].”
BackgroundInformer: An Efficient Transformer Architecture Using Convolutional Layers
Estupiñán-Ojeda, C., Guerra-Artal, C., & Tejera, F. M. H. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-10161-8_11 · Cited by 2
Linear Self-attention Approximation via Trainable Feedforward Kernel
Yorsh, U., & Kovalenko, A. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-15934-3_67 · Cited by 1
“In pursue of the faster computation, Efficient Transformers demonstrate an impressive variety of approaches—models attaining sub-quadratic attention complexity can utilize a notion of sparsity [2, 3, 15] or a low-rank approximation of inputs [19, 20] to reduce an amount of attended keys; another ways to reduce complex…”
BackgroundXie, B., Yang, L., Yang, Z., Wei, A., Weng, X., & Li, B. (2022) · IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · doi:10.1109/iros47612.2022.9981047 · Cited by 2
“The third type is to learn data-dependent sparse attention [20].”
BackgroundAn Efficient Transformer with Distance-aware Attention
Duan, G., Zheng, X., Zhu, Y., Ren, T., & Yan, Y. (2023) · IEEE International Conference on Big Data Security on Cloud, IEEE International Conference on High Performance and Smart Computing, and IEEE International Conference on Intelligent Data and Security (BigDataSecurity/HPSC/IDS) · doi:10.1109/bigdatasecurity-hpsc-ids58521.2023.00027 · Cited by 1
“The Routing Transformer [11] uses K-means clustering to classify these tokens which the correlation between each token can be learned automatic.”
MethodEEG Convolutional Sparse Transformer for Epilepsy Detection and Related Drug Classification
He, Z., Chen, L., Lv, H., Zhou, R.-N., Xu, J., Chen, Y., Hu, J., & Gao, Y. (2023) · Lecture notes in computer science · doi:10.1007/978-981-99-4749-2_63 · Cited by 1
Jang, Y., Choi, H., Won, K., & Shin, S. Y. (2023) · ACM Conference on Research in Adaptive and Convergent Systems (RACS) · doi:10.1145/3599957.3606231 · Cited by 1
“(2020), the authors of the Longformer model, introduce various existing models that can efficiently process long text by using sparsity in attention, such as Reformer (2020) [11], Sparse (2019) [3], Routing (2020) [13], BPTransformer (2019) [17], and Blockwise (2019) [12].”
BackgroundAttentive Multi-Layer Perceptron for Non-autoregressive Generation
Jiang, S., Zhang, J., Feng, J., Lin, Z., & Kong, L. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-43415-0_36 · Cited by 1
“Due to the the sparsity of attention matrix, many researchers propose to explicitly model a sparse attention mechanism to obtain fast computation without harming performance [21,51,28,5,58,47].”
BackgroundSegmented Recurrent Transformer: An Efficient Sequence-to-Sequence Model
Long, Y., Chowdhury, S., & Roy, K. (2023) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2023.findings-emnlp.558 · Cited by 2
An Efficient Transformer For Demosaicing Via Compressed Multi-Branch Attention Mechanism
Wu, X., Meng, F., Wu, Y., Zhang, J., & Zhang, F. (2024) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp48485.2024.10447776 · Cited by 1
Empowering LLMs for Long-Text Information Extraction in Chinese Legal Documents
Shen, C., Ji, C., Yue, S., Shen, X., Song, Y. S., Huang, X., & Wei, Z. (2024) · Lecture notes in computer science · doi:10.1007/978-981-97-9431-7_35 · Cited by 4
Efficient learnable collaborative attention for single-image super-resolution
Zhao, Y.-G., Zheng, C., Su, J.-N., & Chen, G. (2024) · Journal of Electronic Imaging · doi:10.1117/1.jei.33.6.063005 · Cited by 1
“Inspired by the successful application of Routing Transformer [26] in natural language processing, we utilized the k -means clustering to construct an Learnable Sparse Pattern (LSP) block to learn relevant sparse prior knowledge from rich training data, adapting to different images and reducing…”
MethodIn-Depth Review of Neural Network Architectures for Forecasting Heart Rate Time Series Data
Popovska-Slavova, E., & Georgieva-Tsaneva, G. N. (2024) · Innovative STEM Education · doi:10.55630/stem.2024.0624 · Cited by 1
“Techniques such as sparse attention, memory-efficient transformers, and hierarchical transformers have been proposed to mitigate the computational overhead associated with standard transformers [32].”
EADR: Entropy Adjusted Dynamic Routing Capsule Networks
Babaei, R., Pham, H., Cheng, S. S. M., & Zhao, S. (2025) · Conference on Information Sciences and Systems · doi:10.1109/ciss64860.2025.10944763 · Cited by 1
“This is the foundational objective of capsule networks, which are specifically designed to capture these hierarchical relationships explicitly [8]–[10], [13], [16].”
Dejean, T., Ferrell, B. D., Harrigan, W., Schreiber, Z. D., Sawhney, R., Wommack, K. E., Polson, S. W., & Belcaid, M. (2026) · GigaScience · doi:10.1093/gigascience/giag081 · Cited by 2
“For example, the Routing Transformer [ 24 ] employs K -means clustering on key and query vectors to construct sparse, content-dependent attention matrices.”
RDLSH: Adaptive Entity Recognition and Relation Extraction for IoT Knowledge Graph
He, D., Tu, C., & Chan, S. (2025) · IEEE Internet of Things Journal · doi:10.1109/jiot.2025.3586835 · Cited by 1
“Roy et al. [15] used a dynamic routing mechanism to dynamically allocate tokens in the input sequence to different attention heads, optimizing the processing efficiency of long texts and enhancing the extraction of cross-paragraph relations.”
Transformer with a Mixture of Gaussian Keys.Preprint
Nguyen, T., Nguyen, T. M., Le, D. D., Nguyen, K. C. D., Tran, A. N., Baraniuk, R. G., Ho, N., & Osher, S. (2021) · arXiv (Cornell University) · Cited by 1
Boosting coherence of language models.Preprint
Malkin, N., Wang, Z., & Jojić, N. (2021) · arXiv (Cornell University) · Cited by 1
Ahn, D., Lee, D., & Hosanagar, K. (2021) · SSRN Electronic Journal · doi:10.2139/ssrn.3969455 · Cited by 1
Foolad, S., & Kiani, K. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2307.10443 · Cited by 1
“The objective of research lines like Routing Transformer [17], Reformer [13], and Sinkhorn Transformer [18] is to acquire knowledge of sparsity patterns.”
BackgroundMethodSAMSA: Efficient Transformer for Many Data ModalitiesPreprint
Lenhat, M., Nguyen, L. T. K., Nguyen, K., Hieu, D. D., Hung, D. H., & Hy, T. S. (2024) · arXiv · doi:10.48550/arxiv.2408.05391 · Cited by 1
“However, intuitively, no pattern or finite set of patterns fits all problems; therefore, there is also a line of work dedicated to a differentiable sparsity.”
BackgroundExact Causal Attention with 10% Fewer OperationsPreprint
Rybin, D., Zhang, Y., Tian, D., Lin, Z., & Luo, Z.-Q. T. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2510.05175 · Cited by 1
“These methods are commonly based on low-rank [Wang et al., 2020, Choromanski et al., 2022, Xiong et al., 2021, Hu et al., 2025, Child et al., 2019, Brown et al., 2020, Zhang et al., 2025] or sparsity structures [Zaheer et al., 2020, Kitaev et al., 2020, Roy et al., 2021, Guo et al., 2025].”
Khan, H., & Khan, S. H. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2601.01260 · Cited by 1
“Routing transformers [38] precisely 91% token-level interaction, but they are specific to transformer frameworks and are usually designed to balance the workload evenly instead of focusing on how efficiently the computation is done.”
Mixture of Chapters: Scaling Learnt Memory in TransformersPreprint
Tibrewal, T. P., Saha, P., Meda, A., Singh, K., & Moturi, P. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2603.21096 · Cited by 1
“Inspired by sparse routing in MoE models [17, 43] and routing-based sparsification [40], we partition memory into chapters and route each input to a small subset, enabling predictable scaling at tractable cost.”
Deep learning methods for music style transfer
Cífka, O. (2021) · theses.fr (ABES) · doi:10.70675/fb591beeza958z4897z936dz180fad412ad9 · Cited by 1
Pal, S., & Rojkova, V. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2607.09889 · Cited by 1
TileMix: Tile-Centric Mixed-Precision Attention for LLM Inference AccelerationPreprint
Zhang, H.-Z., Zhang, Q., Cao, Q.-L., Fan, H., Huang, Y., Sha, K.-W., & Feng, Y.-H. (2026) · arXiv.org · doi:10.48550/arxiv.2608.17336
“Other systems use content-based selection and clustering (Roy et al., 2020; Wang et al., 2021; Ki-taev et al., 2020), positional mechanisms (Dai et al., 2019a; Zhang et al., 2023), adaptive architectures (Correia et al., 2019), or dynamically constructed active block sets (Jiang et al., 2024; Lai…”
Spectral Analysis for Sparse Matrix Computation: Insights and PotentialPreprint
Zhang, R., & Shen, X. (2026) · arXiv · doi:10.48550/arxiv.2608.29362 · Cited by 1
“Sparse computation is essential for various applications, such as scientific simulations [11, 21], Graph Neural Networks (GNNs) [17, 36], and Deep Neural Networks (DNNs) and modern LLM-based AI [9, 22, 25, 46].”
T-EMDE: Sketching-based global similarity for cross-modal retrievalPreprint
Rychalska, B., Wieczorek, M., & Dabrowski, J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2105.04242 · Cited by 1
“[40, 54] introduced centroids/clusters into the Transformer self-attention.”
Accessing Diverse Web Knowledge with Natural Language Interface
chen, W. (2021) · eScholarship (California Digital Library)
Sparse Attention with Linear Units
Zhang, B., Titov, I., & Sennrich, R. (2021) · Zurich Open Repository and Archive (University of Zurich) · doi:10.5167/uzh-208886 · Cited by 4
Pureformer: Do We Even Need Attention?Preprint
Yorsh, U., Kordík, P., & Kovalenko, A. (2021) · arXiv (Cornell University)
Graph Conditioned Sparse-Attention for Improved Source Code UnderstandingPreprint
Cheng, J., Fostiropoulos, I., & BOEHM, B. W. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2112.00663 · Cited by 1
“Different approaches have been proposed on deciding a good rule to generate a mask, like Child et al. (2019), Roy et al. (2020).”
BackgroundSimpleTron: Eliminating Softmax from Attention Computation.Preprint
Yorsh, U., Kordík, P., & Kovalenko, A. (2021) · arXiv (Cornell University)
Sun, S., Dillon, B., & Iyyer, M. (2022) · Workshop on Insights from Negative Results in NLP (Insights) · doi:10.18653/v1/2022.insights-1.6 · Cited by 1
“Instead of us-ing the standard self-attention, we adopt local attention , where the attention window is limited to only k tokens immediately preceding the target to-ken (Child et al., 2019; Roy et al., 2021; Sun and Iyyer, 2021).”
MethodSingle-Phase Fault Detection Based on GCN-TCN Sparse-Attention Model
Ouyang, Y., Dou, W., Rong, G., Ye, Z., & Кочан, О. В. (2022) · International Conference on Advanced Computer Information Technologies (ACIT) · doi:10.1109/acit54803.2022.9913084
“3 ) RT-SA model [32] 4 is the performance comparison table after the experiment, which lists the experimental results based on LSTM, wavelet transform combined with BP neural network and other models.”
MethodBae, J., Cheon, B. D., & Kim, H. Y. (2022) · IEEE Access · doi:10.1109/access.2022.3229055 · Cited by 1
“Similar to the above models, Routing Transformer [19] also adopts a sparse attention to achieve the complexity of 1.”
ResultInfluentialAdaptive Sparse Self-attention for Object Detection
Xu, M., Song, Y., Xie, K., Guo, P., Mu, J., Liu, W., & Wang, Z. (2022) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn55064.2022.9892410 · Cited by 1
“Note that our sparsity is learnable and adaptive, which can adaptively fuse effective long-range contextual information instead of dropping the features by predefined rule [11], [19], [20], [23], [26].”
BackgroundTIG-DETR: Enhancing Texture Preservation and Information Interaction for Target Detection
Liu, Z., Wang, K., Li, C., Luo, G., & Wang, Y. (2023) · Applied Sciences · doi:10.3390/app13148037
Grounded Keys-to-Text Generation: Towards Factual Open-Ended Generation
Brahman, F., Peng, B., Galley, M., Rao, S., Dolan, B., Chaturvedi, S., & Gao, J. (2022) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2022.findings-emnlp.547 · Cited by 5
Recurrent Transformers for Long Document Understanding
Hao, C., Zhang, P., Xie, M., & Zhao, D. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-44693-1_5
A Progression of Transformer Architectures towards CognitionPreprint
Kumar, M. (2023) · doi:10.36227/techrxiv.24548053 · Cited by 1
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.