Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Your ViT is Secretly an Image Segmentation Model

About

Vision Transformers (ViTs) have shown remarkable performance and scalability across various computer vision tasks. To apply single-scale ViTs to image segmentation, existing methods adopt a convolutional adapter to generate multi-scale features, a pixel decoder to fuse these features, and a Transformer decoder that uses the fused features to make predictions. In this paper, we show that the inductive biases introduced by these task-specific components can instead be learned by the ViT itself, given sufficiently large models and extensive pre-training. Based on these findings, we introduce the Encoder-only Mask Transformer (EoMT), which repurposes the plain ViT architecture to conduct image segmentation. With large-scale models and pre-training, EoMT obtains a segmentation accuracy similar to state-of-the-art models that use task-specific components. At the same time, EoMT is significantly faster than these methods due to its architectural simplicity, e.g., up to 4x faster with ViT-L. Across a range of model sizes, EoMT demonstrates an optimal balance between segmentation accuracy and prediction speed, suggesting that compute resources are better spent on scaling the ViT itself rather than adding architectural complexity. Code: https://www.tue-mps.org/eomt/.

Tommie Kerssies, Niccol\`o Cavagnero, Alexander Hermans, Narges Norouzi, Giuseppe Averta, Bastian Leibe, Gijs Dubbelman, Daan de Geus• 2025

Related benchmarks

TaskDatasetResultRank
Instance SegmentationCOCO 2017 (val)--
1144
Semantic segmentationADE20K
mIoU59.5
936
Panoptic SegmentationCOCO 2017 (val)
PQ59.2
172
Panoptic SegmentationADE20K (val)
PQ52.8
89
Medical Image SegmentationMedical Image Segmentation Aggregate (Average of BUSI, BTMRI, ISIC, Kvasir-SEG, QaTa-COV19, and EUS) (test)
DSC82.93
80
Semantic segmentationLQDS (test)
IoU (Water)72.25
16
Semantic segmentationLQDS (test)
mPA65.79
16
Binary SegmentationFIVES (final block)
Dice91.01
8
Semantic segmentationCityscapes 17 (val)
mIoU84.2
7
Semantic segmentationADE20K 70 (val)
mIoU58.4
7
Showing 10 of 10 rows

Other info

Code

Follow for update