SCMerge: Spatial-Consistency-Aware Token Pair Merging for Efficient Semantic Segmentation
Abstract
Vision Transformer architectures have showcased impressive performance on semantic segmentation, yet their quadratic attention complexity hinders practical applications. Recent works have focused on merging tokens to reduce sequence length and thus improve transformer efficiency. However, existing token merging methods primarily rely on feature similarity to identify similar tokens, overlooking spatial consistency, which may introduce segmentation errors in semantic segmentation. In this work, we propose SCMerge, a training-free token merging method that jointly considers feature similarity and spatial consistency in pairing similar tokens. The pairwise tokens are then merged within the encoder, and the resulting token sequences are reconstructed onto the original patch grid after decoding. The proposed method is flexible and can be plugged into existing vision Transformer-based semantic segmentation pipelines. Extensive experiments on the benchmark datasets ADE20K, Pascal Context, and Cityscapes show that SCMerge consistently achieves a better trade-off between segmentation accuracy and efficiency than baseline methods.
Create a lesson
Metadata
- Comments
- 10 pages, 4 figures
Related papers
MaskMerge: Structure-aware Token Merging for Efficient Instance Segmentation
Shared title terminologycs.CVBavesh Balaji, Letian Jiang, Alexander Wong et al.
Rethinking Unsupervised Cross-Modal Homography Estimation:Spatially Aware Representations and Geometric Consistency Learning
Shared title terminologycs.CVZhuoran Yang, Junchen Yu, Runmin Zhang et al.
FlexPart: Text-Controlled Semantics-Aware 3D Part Segmentation at Flexible Granularity
Shared title terminologycs.CVYiqun Zhao, Jiachen Xu, Yihao Zhi et al.
CatchUp: Depth-Aware Re-Admission of Visual Tokens for Efficient Large Vision-Language Models
Shared title terminologycs.CVEunju Park, Uiwon Hwang
Thinking from Above: Efficient Spatial Reasoning with Bird's-Eye-View Visual Tokens
Shared title terminologycs.CVFaizan Siddiqui, Nirav Savaliya, Sahith Reddy Chada et al.
Which Tokens to Merge? Diffusion Dynamics for Efficient Image Generation
Shared title terminologycs.CVSeungJu Cha, Ye-Chan Kim, HyunGee Kim et al.