mlsanityData to 7 Oct 2026

CAB: Comprehensive Attention Benchmarking on Long Sequence Modeling

arXiv 2210.07661 ↗First posted 14 Oct 2022cs.LGcited by 10

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  9. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  10. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  11. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  12. 2020Longformer: The Long-Document Transformercited by 3,362
38 more
  1. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,967
  2. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  3. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,141
  4. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  5. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  6. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  7. 2020Reformer: The Efficient Transformercited by 1,658
  8. 2020Rethinking Attention with Performerscited by 1,584
  9. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  10. 2021Image Super-Resolution via Iterative Refinementcited by 1,506
  11. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  12. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  13. 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,100
  14. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
  15. 2020Efficient Transformers: A Surveycited by 784
  16. 2020FastSpeech 2: Fast and High-Quality End-to-End Text to Speechcited by 710
  17. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  18. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  19. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
  20. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
  21. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  22. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  23. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  24. 2017Non-Autoregressive Neural Machine Translationcited by 457
  25. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  26. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
  27. 2021A Survey of Transformerscited by 399
  28. 2018Efficient Attention: Attention with Linear Complexitiescited by 366
  29. 2019Axial Attention in Multidimensional Transformerscited by 350
  30. 2021Random Feature Attentioncited by 350
  31. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  32. 2021FNet: Mixing Tokens with Fourier Transformscited by 343
  33. 2021XCiT: Cross-Covariance Image Transformerscited by 335
  34. 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
  35. 2017A Structured Self-attentive Sentence Embeddingcited by 318
  36. 2021PoinTr: Diverse Point Cloud Completion with Geometry-Aware Transformerscited by 284
  37. 2019What Do Single-view 3D Reconstruction Networks Learn?cited by 259
  38. 2020Sparse Sinkhorn Attentioncited by 250

50 most cited of 80 All 80 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 4; 2024: 4; 2025: 0; 2026: 2.

10 papers.