[Paper Review] GPViT: A High Resolution Non-Hierarchical Vision Transformer with Group Propagation
GPViT proposes a non-hierarchical Vision Transformer with high-resolution features and a novel Group Propagation Block (GP Block) that enables efficient global information exchange via learnable group tokens and MLPMixer-based propagation. It achieves state-of-the-art performance on segmentation and detection tasks, outperforming Swin Transformer-B with 50% fewer parameters on ADE20K semantic segmentation (2.0 mIoU gain).
We present the Group Propagation Vision Transformer (GPViT): a novel nonhierarchical (i.e. non-pyramidal) transformer model designed for general visual recognition with high-resolution features. High-resolution features (or tokens) are a natural fit for tasks that involve perceiving fine-grained details such as detection and segmentation, but exchanging global information between these features is expensive in memory and computation because of the way self-attention scales. We provide a highly efficient alternative Group Propagation Block (GP Block) to exchange global information. In each GP Block, features are first grouped together by a fixed number of learnable group tokens; we then perform Group Propagation where global information is exchanged between the grouped features; finally, global information in the updated grouped features is returned back to the image features through a transformer decoder. We evaluate GPViT on a variety of visual recognition tasks including image classification, semantic segmentation, object detection, and instance segmentation. Our method achieves significant performance gains over previous works across all tasks, especially on tasks that require highresolution outputs, for example, our GPViT-L3 outperforms Swin Transformer-B by 2.0 mIoU on ADE20K semantic segmentation with only half as many parameters. Project page: chenhongyiyang.com/projects/GPViT/GPViT
Motivation & Objective
- To design a non-hierarchical Vision Transformer that maintains high-resolution features throughout the network for fine-grained visual tasks.
- To address the quadratic computational cost of self-attention in high-resolution settings by enabling efficient global information exchange.
- To eliminate the need for hierarchical (pyramidal) design in ViTs while preserving or improving performance on dense prediction tasks.
- To demonstrate that high-resolution features combined with efficient global communication can surpass hierarchical models in accuracy and efficiency.
Proposed method
- Introduces the Group Propagation Block (GP Block) as a core component to replace standard self-attention in high-resolution ViTs.
- Uses learnable group tokens to cluster high-resolution image features into a fixed number of groups, reducing global communication cost.
- Applies an MLPMixer module to propagate global information among grouped features, enabling low-cost global modeling.
- Employs cross-attention to transfer updated global information from grouped features back to individual image tokens.
- Maintains linear complexity in the number of image tokens, avoiding the quadratic scaling of standard self-attention.
- Constructs a simple, non-hierarchical architecture using GP Blocks across all stages, avoiding feature downsampling and scale combination.
Experimental results
Research questions
- RQ1Can a non-hierarchical Vision Transformer with full-resolution features outperform hierarchical models on dense prediction tasks like segmentation and detection?
- RQ2Is it possible to achieve efficient global information exchange in high-resolution ViTs without incurring quadratic computational cost?
- RQ3How does the GP Block compare to other global communication mechanisms (e.g., global attention, convolution, window attention) in terms of accuracy and efficiency?
- RQ4What is the optimal number and configuration of group tokens for balancing performance and computational cost?
- RQ5Does the combination of local attention and GP Block enable better performance than local attention alone in high-resolution settings?
Key findings
- GPViT-L3 outperforms Swin Transformer-B by 2.0 mIoU on ADE20K semantic segmentation while using only half the number of parameters.
- GPViT-L1 achieves 2.6 APbb and 1.4 mk higher than Swin Transformer-B on COCO instance segmentation with 30% fewer parameters.
- GPViT-L2 achieves 0.5 mIoU higher than Swin Transformer-B on ADE20K semantic segmentation with 40% fewer parameters.
- The GP Block achieves the highest accuracy on ImageNet (80.5%) and ADE20K (46.9 mIoU) among all global communication methods tested, including global attention and window attention.
- Using 64 group tokens per block and progressively reducing to 16 across stages yields the best trade-off between accuracy and FLOPs.
- The GP Block maintains a FLOP count of 5.8G on ImageNet and 34G on ADE20K, matching baseline local attention models, while significantly improving accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.