mlsanityData to 7 Oct 2026

kMaX-DeepLab: k-means Mask Transformer

arXiv 2207.04044 ↗First posted 8 Jul 2022cs.CVcited by 12

Not on the map. Why?

Abstract (arXiv)

The rise of transformers in vision tasks not only advances network backbone designs, but also starts a brand-new page to achieve end-to-end image recognition (e.g., object detection and panoptic segmentation). Originated from Natural Language Processing (NLP), transformer architectures, consisting of self-attention and cross-attention, effectively learn long-range interactions between elements in a sequence. However, we observe that most existing transformer-based vision models simply borrow the idea from NLP, neglecting the crucial difference between languages and images, particularly the extremely large sequence length of spatially flattened pixel features. This subsequently impedes the learning in cross-attention between pixel features and object queries. In this paper, we rethink the relationship between pixels and object queries and propose to reformulate the cross-attention learning as a clustering process. Inspired by the traditional k-means clustering algorithm, we develop a k-means Mask Xformer (kMaX-DeepLab) for segmentation tasks, which not only improves the state-of-the-art, but also enjoys a simple and elegant design. As a result, our kMaX-DeepLab achieves a new state-of-the-art performance on COCO val set with 58.0% PQ, Cityscapes val set with 68.4% PQ, 44.0% AP, and 83.5% mIoU, and ADE20K val set with 50.9% PQ and 55.2% mIoU without test-time augmentation or external dataset. We hope our work can shed some light on designing transformers tailored for vision tasks. TensorFlow code and models are available at https://github.com/google-research/deeplab2 A PyTorch re-implementation is also available at https://github.com/bytedance/kmax-deeplab

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 101 of its 118 references that are in the map. First posted on arXiv 8 Jul 2022.

Builds on

101 of 118 references.

References · 101

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  9. 2020End-to-End Object Detection with Transformerscited by 7,384
  10. 2017Mask R-CNNcited by 7,259
  11. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  12. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
38 more
  1. 2022A ConvNet for the 2020scited by 3,545
  2. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  3. 2020Longformer: The Long-Document Transformercited by 3,362
  4. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
  5. 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
  6. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  7. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  8. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  9. 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
  10. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
  11. 2017Non-local Neural Networkscited by 2,290
  12. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
  13. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  14. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  15. 2020Reformer: The Efficient Transformercited by 1,658
  16. 2021ViViT: A Video Vision Transformercited by 1,610
  17. 2021TransUNet: Transformers Make Strong Encoders for Medical Image Segmentationcited by 1,552
  18. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  19. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  20. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  21. 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,345
  22. 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
  23. 2018Self-Attention with Relative Position Representationscited by 1,112
  24. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
  25. 2018Dual Attention Network for Scene Segmentationcited by 1,001
  26. 2016Deep Networks with Stochastic Depthcited by 973
  27. 2021Multiscale Vision Transformerscited by 896
  28. 2020Object-Centric Learning with Slot Attentioncited by 865
  29. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  30. 2018Panoptic Segmentationcited by 796
  31. 2018Path Aggregation Network for Instance Segmentationcited by 796
  32. 2018Image Transformercited by 770
  33. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
  34. 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
  35. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
  36. 2019Panoptic Feature Pyramid Networkscited by 644
  37. 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 595
  38. 2014Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFscited by 552

50 most cited of 101 All 101 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 8; 2025: 1; 2026: 2.

12 papers.