mlsanityData to 7 Oct 2026

Combiner: Full Attention Transformer with Sparse Computation Cost

arXiv 2107.05768 ↗First posted 12 Jul 2021cs.LG cs.CL cs.CVcited by 64

Not on the map. Why?

Abstract (arXiv)

Transformers provide a class of expressive architectures that are extremely effective for sequence modeling. However, the key limitation of transformers is their quadratic memory and time complexity O(L2) with respect to the sequence length in attention layers, which restricts application in extremely long sequences. Most existing approaches leverage sparsity or low-rank assumptions in the attention matrix to reduce cost, but sacrifice expressiveness. Instead, we propose Combiner, which provides full attention capability in each attention head while maintaining low computation and memory complexity. The key idea is to treat the self-attention mechanism as a conditional expectation over embeddings at each location, and approximate the conditional distribution with a structured factorization. Each location can attend to all other locations, either via direct attention, or through indirect attention to abstractions, which are again conditional expectations of embeddings from corresponding local regions. We show that most sparse attention patterns used in existing sparse transformers are able to inspire the design of such factorization for full attention, resulting in the same sub-quadratic cost (O(Llog(L)) or O(L√L)). Combiner is a drop-in replacement for attention layers in existing transformers and can be easily implemented in common frameworks. An experimental evaluation on both autoregressive and bidirectional sequence tasks demonstrates the effectiveness of this approach, yielding state-of-the-art results on several image and text modeling tasks.

Key facts. Cited by 64 papers in the map (data through 7 Oct 2026). Builds on 35 of its 43 references that are in the map. First posted on arXiv 12 Jul 2021.

Builds on

35 of 43 references.

References · 35

  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. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  9. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  10. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  11. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  12. 2020Reformer: The Efficient Transformercited by 1,658
23 more
  1. 2020Rethinking Attention with Performerscited by 1,584
  2. 2018Glow: Generative Flow with Invertible 1x1 Convolutionscited by 1,539
  3. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  5. 2017Deep Setscited by 1,394
  6. 2016Pixel Recurrent Neural Networkscited by 814
  7. 2018Image Transformercited by 770
  8. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
  9. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  10. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  11. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
  12. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  13. 2017PixelCNN++: Improving the PixelCNN with Discretized Logistic Mixture Likelihood and Other Modificationscited by 415
  14. 2019Axial Attention in Multidimensional Transformerscited by 350
  15. 2021Random Feature Attentioncited by 350
  16. 2018Music Transformercited by 207
  17. 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 147
  18. 2017PixelSNAIL: An Improved Autoregressive Generative Modelcited by 137
  19. 2020ProGen: Language Modeling for Protein Generationcited by 127
  20. 2018The Best of Both Worlds: Combining Recent Advances in Neural Machine Translationcited by 101
  21. 2020O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformerscited by 82
  22. 2018Generating High Fidelity Images with Subscale Pixel Networks and Multidimensional Upscalingcited by 74
  23. 2017Parallel Multiscale Autoregressive Density Estimationcited by 71

Built on by

Cited by year

Citing papers per year: 2021: 2; 2022: 13; 2023: 21; 2024: 16; 2025: 12.

64 papers.

Sort:

By area:

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  2. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  3. 2022Memorizing Transformerscited by 219
  4. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
  5. 2022Transformer Quality in Linear Timecited by 189
  6. 2023EfficientViT: Memory Efficient Vision Transformer with Cascaded Group Attentioncited by 172
  7. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
  8. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
  9. 2021Self-attention Does Not Need O(n2) Memorycited by 152
  10. 2023Token Fusion: Bridging the Gap between Token Pruning and Token Mergingcited by 123
  11. 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
  12. 2022Block-Recurrent Transformerscited by 107
38 more
  1. 2021Hierarchical Transformers Are More Efficient Language Modelscited by 99
  2. 2022Efficient Transformers with Dynamic Token Poolingcited by 75
  3. 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
  4. 2024Prompt Compression for Large Language Models: A Surveycited by 65
  5. 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
  6. 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
  7. 2023AI-Generated Content (AIGC): A Surveycited by 59
  8. 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
  9. 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferencescited by 59
  10. 2022Your Transformer May Not be as Powerful as You Expectcited by 55
  11. 2024SHViT: Single-Head Vision Transformer with Memory Efficient Macro Designcited by 55
  12. 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 51
  13. 2025Fractal Generative Modelscited by 44
  14. 2022Q-ViT: Fully Differentiable Quantization for Vision Transformercited by 36
  15. 2024Accelerating Transformers with Spectrum-Preserving Token Mergingcited by 35
  16. 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
  17. 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
  18. 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encodingcited by 28
  19. 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Reviewcited by 26
  20. 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
  21. 2023Efficient Attention via Control Variatescited by 23
  22. 2022EcoFormer: Energy-Saving Attention with Linear Complexitycited by 21
  23. 2023FIT: Far-reaching Interleaved Transformerscited by 16
  24. 2023Eventful Transformers: Leveraging Temporal Redundancy in Vision Transformerscited by 13
  25. 2022DCT-Former: Efficient Self-Attention with Discrete Cosine Transformcited by 12
  26. 2022Diffuser: Efficient Transformers with Multi-hop Attention Diffusion for Long Sequencescited by 12
  27. 2023Transformers in Reinforcement Learning: A Surveycited by 11
  28. 2024Snakes and Ladders: Two Steps Up for VideoMambacited by 10
  29. 2025Artifacts and Attention Sinks: Structured Approximations for Efficient Vision Transformerscited by 9
  30. 2025Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Accesscited by 7
  31. 20241.5-Pints Technical Report: Pretraining in Days, Not Months -- Your Language Model Thrives on Quality Datacited by 6
  32. 2023Recursion in Recursion: Two-Level Nested Recursion for Length Generalization with Scalabilitycited by 5
  33. 2023The Information Pathways Hypothesis: Transformers are Dynamic Self-Ensemblescited by 4
  34. 2024Understanding Neural Network Binarization with Forward and Backward Proximal Quantizerscited by 4
  35. 2024LongVQ: Long Sequence Modeling with Vector Quantization on Structured Memorycited by 4
  36. 2025How Many Tokens Do 3D Point Cloud Transformer Architectures Really Need?cited by 4
  37. 2023Hierarchical Attention Encoder Decodercited by 3
  38. 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformercited by 3

50 most cited of 64 All 64 (JSON)