Rethinking Decoders for Transformer-based Semantic Segmentation: A Compression Perspective
Not on the map. Why?
Abstract (arXiv)
State-of-the-art methods for Transformer-based semantic segmentation typically adopt Transformer decoders that are used to extract additional embeddings from image embeddings via cross-attention, refine either or both types of embeddings via self-attention, and project image embeddings onto the additional embeddings via dot-product. Despite their remarkable success, these empirical designs still lack theoretical justifications or interpretations, thus hindering potentially principled improvements. In this paper, we argue that there are fundamental connections between semantic segmentation and compression, especially between the Transformer decoders and Principal Component Analysis (PCA). From such a perspective, we derive a white-box, fully attentional DEcoder for PrIncipled semantiC segemenTation (DEPICT), with the interpretations as follows: 1) the self-attention operator refines image embeddings to construct an ideal principal subspace that aligns with the supervision and retains most information; 2) the cross-attention operator seeks to find a low-rank approximation of the refined image embeddings, which is expected to be a set of orthonormal bases of the principal subspace and corresponds to the predefined classes; 3) the dot-product operation yields compact representation for image embeddings as segmentation masks. Experiments conducted on dataset ADE20K find that DEPICT consistently outperforms its black-box counterpart, Segmenter, and it is light weight and more robust.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 41 of its 53 references that are in the map. First posted on arXiv 5 Nov 2024.
Builds on
41 of 53 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2023Segment Anythingcited by 8,158
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Layer Normalizationcited by 5,579
- 2013Intriguing properties of neural networkscited by 5,114
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
29 more
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2016Semantic Understanding of Scenes through the ADE20K Datasetcited by 1,063
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2023Vision Transformers Need Registerscited by 844
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
- 2021A Geometric Analysis of Neural Collapse with Unconstrained Featurescited by 226
- 2022Understanding The Robustness in Vision Transformerscited by 144
- 2020Learning Diverse and Discriminative Representations via the Principle of Maximal Coding Rate Reductioncited by 141
- 2022Rethinking Semantic Segmentation: A Prototype Viewcited by 140
- 2023Transformer-Based Visual Segmentation: A Surveycited by 124
- 2022SegViT: Semantic Segmentation with Plain Vision Transformerscited by 105
- 2021ReduNet: A White-box Deep Network from the Principle of Maximizing Rate Reductioncited by 84
- 2023White-Box Transformers via Sparse Rate Reductioncited by 77
- 2018Fix your classifier: the marginal value of training the last weight layercited by 43
- 2023On the Expressivity Role of LayerNorm in Transformers' Attentioncited by 32
- 2023Emergence of Segmentation with Minimalistic White-Box Transformerscited by 23
- 2023One Wide Feedforward is All You Needcited by 15
- 2023Superpixel Transformers for Efficient Semantic Segmentationcited by 12
- 2024Masked Completion via Structured Diffusion with White-Box Transformerscited by 9
- 2024Boosting Unsupervised Semantic Segmentation with Principal Mask Proposalscited by 9
- 2024Scaling White-Box Transformers for Visioncited by 8
- 2023PRSeg: A Lightweight Patch Rotate MLP Decoder for Semantic Segmentationcited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Fewcited by 2
- 2025UINO-FSS: Unifying Representation Learning and Few-shot Segmentation via Hierarchical Distillation and Mamba-HyperCorrelationcited by 1
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weightscited by 1
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weights1 Feb 2026
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Few21 Sep 2025
- 2025UINO-FSS: Unifying Representation Learning and Few-shot Segmentation via Hierarchical Distillation and Mamba-HyperCorrelation22 Apr 2025