Efficient Representation Learning via Adaptive Context Pooling
Not on the map. Why?
Abstract (arXiv)
Self-attention mechanisms model long-range context by using pairwise attention between all input tokens. In doing so, they assume a fixed attention granularity defined by the individual tokens (e.g., text characters or image pixels), which may not be optimal for modeling complex dependencies at higher levels. In this paper, we propose ContextPool to address this problem by adapting the attention granularity for each token. Inspired by the success of ConvNets that are combined with pooling to capture long-range dependencies, we learn to pool neighboring features for each token before computing attention in a given attention layer. The pooling weights and support size are adaptively determined, allowing the pooled features to encode meaningful context with varying scale. We show that ContextPool makes attention models more expressive, achieving strong performance often with fewer layers and thus significantly reduced cost. Experiments validate that our ContextPool module, when plugged into transformer models, matches or surpasses state-of-the-art performance using less compute on several language and image benchmarks, outperforms recent works with learned context sizes or sparse attention patterns, and is also applicable to ConvNets for efficient feature learning.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 34 of its 46 references that are in the map. First posted on arXiv 5 Jul 2022.
Builds on
34 of 46 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2017Non-local Neural Networkscited by 2,290
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
22 more
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2017Deformable Convolutional Networkscited by 1,481
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2014Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognitioncited by 719
- 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
- 2017Understanding the Effective Receptive Field in Deep Convolutional Neural Networkscited by 549
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2019Axial Attention in Multidimensional Transformerscited by 350
- 2020Sparse Sinkhorn Attentioncited by 250
- 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
- 2019Blockwise Self-Attention for Long Document Understandingcited by 158
- 2019Adaptive Attention Span in Transformerscited by 148
- 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
- 2018Modeling Localness for Self-Attention Networkscited by 43
- 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
- 2020ETC: Encoding Long and Structured Inputs in Transformerscited by 34
- 2021Resolution learning in deep convolutional networks using scale-space theorycited by 26
- 2019Blurring the Line Between Structure and Learning to Optimize and Adapt Receptive Fieldscited by 11
- 2018Area Attentioncited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 1.
2 papers.