kMaX-DeepLab: k-means Mask Transformer
Qihang Yu, Huiyu Wang, Siyuan Qiao, Maxwell Collins, Yukun Zhu,, Hartwig Adam, Alan Yuille, Liang-Chieh Chen

TL;DR
kMaX-DeepLab introduces a novel clustering-based cross-attention mechanism inspired by k-means, significantly improving segmentation performance in vision transformers without added complexity.
Contribution
The paper reformulates cross-attention as a clustering process using k-means, tailored for vision tasks, achieving state-of-the-art results with a simple design.
Findings
Achieves new state-of-the-art on COCO, Cityscapes, and ADE20K datasets.
Outperforms previous models in segmentation accuracy and efficiency.
Demonstrates the effectiveness of clustering-based attention in vision transformers.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Advanced Image and Video Retrieval Techniques · Multimodal Machine Learning Applications
Methodsk-Means Clustering
