# Your ViT is Secretly an Image Segmentation Model

Source: [Your ViT is Secretly an Image Segmentation Model](<https://www.sota2.com/research/paper/68fa77a11e209131cea74792>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2026-01-04T04:06:23.792Z

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

Published: 2025-03-24T19:56:02.000Z

## Abstract

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/.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Semantic Segmentation on ADE20K 2016 (val)](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k-2016-val.md>): Semantic segmentation; ADE20K 2016 (val); mIoU: 59.5.

- [Binary Segmentation on FIVES (final block)](<https://www.sota2.com/research/sota/binary-segmentation-on-fives-final-block.md>): Binary Segmentation; FIVES (final block); Dice: 91.01.

- [Instance Segmentation on COCO Panoptic](<https://www.sota2.com/research/sota/instance-segmentation-on-coco-panoptic.md>): Instance Segmentation; COCO Panoptic; mAP: 40.9.

- [Panoptic Segmentation on COCO Panoptic](<https://www.sota2.com/research/sota/panoptic-segmentation-on-coco-panoptic.md>): Panoptic Segmentation; COCO Panoptic; PQ: 53.3.

- [Semantic Segmentation on LQDS (test)](<https://www.sota2.com/research/sota/semantic-segmentation-on-lqds-test.md>): Semantic segmentation; LQDS (test); IoU (Water): 72.25.

- [Semantic Segmentation on LQDS (test) using mPA](<https://www.sota2.com/research/sota/semantic-segmentation-on-lqds-test-using-mpa.md>): Semantic segmentation; LQDS (test); mPA: 65.79.

- [Segmentation on RAMIE](<https://www.sota2.com/research/sota/segmentation-on-ramie.md>): Segmentation; RAMIE; Dice Score: 58.

- [Semantic Segmentation on Cityscapes 17 (val)](<https://www.sota2.com/research/sota/semantic-segmentation-on-cityscapes-17-val.md>): Semantic segmentation; Cityscapes 17 (val); mIoU: 84.2.

- [Segmentation on EndoVis 18 (Dice, HD95)](<https://www.sota2.com/research/sota/segmentation-on-endovis-18-dice-hd95.md>): Segmentation; EndoVis 18; Dice Score: 50.

- [Panoptic Segmentation on COCO 2017 (val)](<https://www.sota2.com/research/sota/panoptic-segmentation-on-coco-2017-val.md>): Panoptic Segmentation; COCO 2017 (val); PQ: 59.2.

- [Semantic Segmentation on Cityscapes 13 (val)](<https://www.sota2.com/research/sota/semantic-segmentation-on-cityscapes-13-val.md>): Semantic segmentation; Cityscapes 13 (val); mIoU: 84.2.

- [Weed-crop Segmentation on PhenoBench](<https://www.sota2.com/research/sota/weed-crop-segmentation-on-phenobench.md>): Weed-crop Segmentation; PhenoBench; mIoU: 71.82.

- [Semantic Segmentation on ADE20K 70 (val)](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k-70-val.md>): Semantic segmentation; ADE20K 70 (val); mIoU: 58.4.

- [Semantic Segmentation on ADE20K](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k.md>): Semantic segmentation; ADE20K; mIoU: 59.5.

- [Semantic Segmentation on ADE20K (mIoU)](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k-miou.md>): Semantic segmentation; ADE20K; mIoU: 57.1.

- [Medical Image Segmentation on Aggregate Medical Datasets (BUSI, BTMRI, ISIC, Kvasir-SEG, QaTa-COV19, EUS) (test)](<https://www.sota2.com/research/sota/medical-image-segmentation-on-aggregate-medical-datasets-busi-btmri-isic-kvasir-seg-qata-cov19-eus-test.md>): Medical Image Segmentation; Medical Image Segmentation Aggregate (Average of BUSI, BTMRI, ISIC, Kvasir-SEG, QaTa-COV19, and EUS) (test); DSC: 82.93.

- [Semantic Segmentation on Cityscapes (Semseg mIoU)](<https://www.sota2.com/research/sota/semantic-segmentation-on-cityscapes-semseg-miou.md>): Semantic segmentation; Cityscapes; mIoU: 83.6.

- [Panoptic Segmentation on ADE20K (val)](<https://www.sota2.com/research/sota/panoptic-segmentation-on-ade20k-val.md>): Panoptic Segmentation; ADE20K (val); PQ: 52.8.

- [Road Segmentation on DeepGlobe](<https://www.sota2.com/research/sota/road-segmentation-on-deepglobe.md>): Road Segmentation; DeepGlobe; IoU: 52.52.

- [Semantic Segmentation on COCO (mIoU)](<https://www.sota2.com/research/sota/semantic-segmentation-on-coco-miou.md>): Semantic segmentation; COCO; mIoU: 48.7.

- [Semantic Segmentation on ADE20K (val)](<https://www.sota2.com/research/sota/semantic-segmentation-on-ade20k-val.md>): Semantic segmentation; ADE20K (val); mIoU: 54.8.

- [Instance Segmentation on COCO 2017 (val)](<https://www.sota2.com/research/sota/instance-segmentation-on-coco-2017-val.md>): Instance Segmentation; COCO 2017 (val); APm: not recorded.

- [Medical Image Segmentation on REFUGE 2](<https://www.sota2.com/research/sota/medical-image-segmentation-on-refuge-2.md>): Medical Image Segmentation; REFUGE 2; Optic-Disc Dice: not recorded.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2503.19108>)

[PDF](<https://arxiv.org/pdf/2503.19108.pdf>)

[Implementation](<https://www.tue-mps.org/eomt/>)
