Adaptive Multi-Resolution Attention with Linear Complexity
Not on the map. Why?
Abstract (arXiv)
Transformers have improved the state-of-the-art across numerous tasks in sequence modeling. Besides the quadratic computational and memory complexity w.r.t the sequence length, the self-attention mechanism only processes information at the same scale, i.e., all attention heads are in the same resolution, resulting in the limited power of the Transformer. To remedy this, we propose a novel and efficient structure named Adaptive Multi-Resolution Attention (AdaMRA for short), which scales linearly to sequence length in terms of time and space. Specifically, we leverage a multi-resolution multi-head attention mechanism, enabling attention heads to capture long-range contextual information in a coarse-to-fine fashion. Moreover, to capture the potential relations between query representation and clues of different attention granularities, we leave the decision of which resolution of attention to use to query, which further improves the model's capacity compared to vanilla Transformer. In an effort to reduce complexity, we adopt kernel attention without degrading the performance. Extensive experiments on several benchmarks demonstrate the effectiveness and efficiency of our model by achieving a state-of-the-art performance-efficiency-memory trade-off. To facilitate AdaMRA utilization by the scientific community, the code implementation will be made publicly available.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 35 of its 45 references that are in the map. First posted on arXiv 10 Aug 2021.
Builds on
35 of 45 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
23 more
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
- 2018Image Transformercited by 772
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2021Random Feature Attentioncited by 354
- 2020Sparse Sinkhorn Attentioncited by 251
- 2020Hierarchical Multi-Scale Attention for Semantic Segmentationcited by 183
- 2019Blockwise Self-Attention for Long Document Understandingcited by 159
- 2019Adaptively Sparse Transformerscited by 155
- 2018Pyramid Attention Network for Semantic Segmentationcited by 149
- 2019Adaptive Attention Span in Transformerscited by 149
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 129
- 2020Fast Transformers with Clustered Attentioncited by 123
- 2020Attentional Feature Fusioncited by 115
- 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
- 2019Star-Transformercited by 94
- 2019Multi-scale self-guided attention for medical image segmentationcited by 84
- 2019Explicit Sparse Transformer: Concentrated Attention Through Explicit Selectioncited by 62
- 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
- 2019Deep Attentive Features for Prostate Segmentation in 3D Transrectal Ultrasoundcited by 23
- 2020Transformer on a Dietcited by 4
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 0; 2024: 1.
2 papers.