paper-with-me

Papers

Efficient Representation Learning via Adaptive Context Pooling

2022-07-05 · Chen Huang, Walter Talbott, Navdeep Jaitly, Josh Susskind

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.

📄 PDF Abstract BibTeX arXiv:2207.01844

Code (0)

등록된 구현이 없습니다.

Tasks

Representation Learning

Similar Papers 제목 키워드 기반

Transformers perform adaptive partial pooling

2026-02-03 · Vsevolod Kapatsinski arxiv

Any language model must decide what to say in novel contexts based on information from similar contexts. But what about contexts that are not novel but merely infrequent? In hierarchical regression, the model's predictio…

Document-Level Relation Extraction with Adaptive Thresholding and Localized Context Pooling

2020-10-21 · Wenxuan Zhou, Kevin Huang, Tengyu Ma, Jing Huang

Document-level relation extraction (RE) poses new challenges compared to its sentence-level counterpart. One document commonly contains multiple entity pairs, and one entity pair occurs multiple times in the document ass…

Document-level Relation ExtractionMulti-Label ClassificationMUlTI-LABEL-ClASSIFICATIONRelation+2

Adaptive Context Encoding Module for Semantic Segmentation

2019-07-13 · Congcong Wang, Faouzi Alaya Cheikh, Azeddine Beghdadi, Ole Jakob Elle

The object sizes in images are diverse, therefore, capturing multiple scale context information is essential for semantic segmentation. Existing context aggregation methods such as pyramid pooling module (PPM) and atrous…

Semantic Segmentation

Hierarchical Spherical CNNs with Lifting-based Adaptive Wavelets for Pooling and Unpooling

2022-05-31 · Mingxing Xu, Chenglin Li, Wenrui Dai, Siheng Chen 외

Pooling and unpooling are two essential operations in constructing hierarchical spherical convolutional neural networks (HS-CNNs) for comprehensive feature learning in the spherical domain. Most existing models employ do…

PAPooling: Graph-based Position Adaptive Aggregation of Local Geometry in Point Clouds

2021-11-28 · Jie Wang, Jianan Li, Lihe Ding, Ying Wang 외

Fine-grained geometry, captured by aggregation of point features in local regions, is crucial for object recognition and scene understanding in point clouds. Nevertheless, existing preeminent point cloud backbones usuall…

3D Shape Classificationgraph constructionObject RecognitionPosition+2