CAB: Comprehensive Attention Benchmarking on Long Sequence Modeling
Not on the map. Why?
Abstract (arXiv)
Transformer has achieved remarkable success in language, image, and speech processing. Recently, various efficient attention architectures have been proposed to improve transformer's efficiency while largely preserving its efficacy, especially in modeling long sequences. A widely-used benchmark to test these efficient methods' capability on long-range modeling is Long Range Arena (LRA). However, LRA only focuses on the standard bidirectional (or noncausal) self attention, and completely ignores cross attentions and unidirectional (or causal) attentions, which are equally important to downstream applications. In this paper, we propose Comprehensive Attention Benchmark (CAB) under a fine-grained attention taxonomy with four distinguishable attention patterns, namely, noncausal self, causal self, noncausal cross, and causal cross attentions. CAB collects seven real-world tasks from different research areas to evaluate efficient attentions under the four attention patterns. Among these tasks, CAB validates efficient attentions in eight backbone networks to show their generalization across neural architectures. We conduct exhaustive experiments to benchmark the performances of nine widely-used efficient attention architectures designed with different philosophies on CAB. Extensive experimental results also shed light on the fundamental problems of efficient attentions, such as efficiency length against vanilla attention, performance consistency across attention patterns, the benefit of attention mechanisms, and interpolation/extrapolation on long-context language modeling.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 80 of its 105 references that are in the map. First posted on arXiv 14 Oct 2022.
Builds on
80 of 105 references.
References · 80
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Longformer: The Long-Document Transformercited by 3,362
38 more
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2021Image Super-Resolution via Iterative Refinementcited by 1,506
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,100
- 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
- 2020Efficient Transformers: A Surveycited by 784
- 2020FastSpeech 2: Fast and High-Quality End-to-End Text to Speechcited by 710
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
- 2017Non-Autoregressive Neural Machine Translationcited by 457
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
- 2021A Survey of Transformerscited by 399
- 2018Efficient Attention: Attention with Linear Complexitiescited by 366
- 2019Axial Attention in Multidimensional Transformerscited by 350
- 2021Random Feature Attentioncited by 350
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2021FNet: Mixing Tokens with Fourier Transformscited by 343
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
- 2017A Structured Self-attentive Sentence Embeddingcited by 318
- 2021PoinTr: Diverse Point Cloud Completion with Geometry-Aware Transformerscited by 284
- 2019What Do Single-view 3D Reconstruction Networks Learn?cited by 259
- 2020Sparse Sinkhorn Attentioncited by 250
50 most cited of 80 All 80 (JSON)
Built on by
Citing papers per year: 2023: 4; 2024: 4; 2025: 0; 2026: 2.
10 papers.
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
- 2023In-Context Learning with Many Demonstration Examplescited by 39
- 2024DetectiveQA: Evaluating Long-Context Reasoning on Detective Novelscited by 21
- 2024TaylorShift: Shifting the Complexity of Self-Attention from Squared to Linear (and Back) using Taylor-Softmaxcited by 6
- 2023Linear Attention via Orthogonal Memorycited by 4
- 2023Attentive Multi-Layer Perceptron for Non-autoregressive Generationcited by 0
- 2024A Framework to Enable Algorithmic Design Choice Exploration in DNNscited by 0
- 2026Beyond Subtokens: A Rich Character Embedding for Low-resource and Morphologically Complex Languagescited by 0
- 2026A Multi-Agent Framework for Automated Exploit Generation with Constraint-Guided Comprehension and Reflectioncited by 0
- 2026A Multi-Agent Framework for Automated Exploit Generation with Constraint-Guided Comprehension and Reflection6 Apr 2026
- 2026Beyond Subtokens: A Rich Character Embedding for Low-resource and Morphologically Complex Languages24 Feb 2026
- 2024A Framework to Enable Algorithmic Design Choice Exploration in DNNs10 Oct 2024
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modeling11 Sep 2024
- 2024DetectiveQA: Evaluating Long-Context Reasoning on Detective Novels4 Sep 2024
- 2024TaylorShift: Shifting the Complexity of Self-Attention from Squared to Linear (and Back) using Taylor-Softmax5 Mar 2024
- 2023Linear Attention via Orthogonal Memory18 Dec 2023
- 2023Attentive Multi-Layer Perceptron for Non-autoregressive Generation14 Oct 2023
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Models20 Jul 2023
- 2023In-Context Learning with Many Demonstration Examples9 Feb 2023