Revisiting the Integration of Convolution and Attention for Vision Backbone
Not on the map. Why?
Abstract (arXiv)
Convolutions (Convs) and multi-head self-attentions (MHSAs) are typically considered alternatives to each other for building vision backbones. Although some works try to integrate both, they apply the two operators simultaneously at the finest pixel granularity. With Convs responsible for per-pixel feature extraction already, the question is whether we still need to include the heavy MHSAs at such a fine-grained level. In fact, this is the root cause of the scalability issue w.r.t. the input resolution for vision transformers. To address this important problem, we propose in this work to use MSHAs and Convs in parallel at different granularity levels instead. Specifically, in each layer, we use two different ways to represent an image: a fine-grained regular grid and a coarse-grained set of semantic slots. We apply different operations to these two representations: Convs to the grid for local features, and MHSAs to the slots for global features. A pair of fully differentiable soft clustering and dispatching modules is introduced to bridge the grid and set representations, thus enabling local-global fusion. Through extensive experiments on various vision tasks, we empirically verify the potential of the proposed integration scheme, named textitGLMix: by offloading the burden of fine-grained features to light-weight Convs, it is sufficient to use MHSAs in a few (e.g., 64) semantic slots to match the performance of recent state-of-the-art backbones, while being more efficient. Our visualization results also demonstrate that the soft clustering module produces a meaningful semantic grouping effect with only IN1k classification supervision, which may induce better interpretability and inspire new weakly-supervised semantic segmentation approaches. Code will be available at urlhttps://github.com/rayleizhu/GLMix.
Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Builds on 9 of its 70 references that are in the map. First posted on arXiv 21 Nov 2024.
Builds on
9 of 70 references.
References · 9
- 2020GLU Variants Improve Transformercited by 1,759
- 2020Rethinking Attention with Performerscited by 1,594
- 2019Generating Long Sequences with Sparse Transformerscited by 1,538
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,469
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,383
- 2023mPLUG-Owl: Modularization Empowers Large Language Models with Multimodalitycited by 1,040
- 2023From Sparse to Soft Mixtures of Expertscited by 247
- 2020How Much Position Information Do Convolutional Neural Networks Encode?cited by 171
- 2022ClusTR: Exploring Efficient Self-attention via Clustering for Vision Transformerscited by 6
Built on by
Citing papers per year: 2026: 2.
2 papers.