TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Segmenter: Transformer for Semantic Segmentation

Segmenter: Transformer for Semantic Segmentation

Robin Strudel, Ricardo Garcia, Ivan Laptev, Cordelia Schmid

2021-05-12ICCV 2021 10Thermal Image SegmentationImage ClassificationSegmentationSemantic SegmentationImage Segmentation
PaperPDFCodeCodeCodeCodeCode(official)CodeCodeCode

Abstract

Image segmentation is often ambiguous at the level of individual image patches and requires contextual information to reach label consensus. In this paper we introduce Segmenter, a transformer model for semantic segmentation. In contrast to convolution-based methods, our approach allows to model global context already at the first layer and throughout the network. We build on the recent Vision Transformer (ViT) and extend it to semantic segmentation. To do so, we rely on the output embeddings corresponding to image patches and obtain class labels from these embeddings with a point-wise linear decoder or a mask transformer decoder. We leverage models pre-trained for image classification and show that we can fine-tune them on moderate sized datasets available for semantic segmentation. The linear decoder allows to obtain excellent results already, but the performance can be further improved by a mask transformer generating class masks. We conduct an extensive ablation study to show the impact of the different parameters, in particular the performance is better for large models and small patch sizes. Segmenter attains excellent results for semantic segmentation. It outperforms the state of the art on both ADE20K and Pascal Context datasets and is competitive on Cityscapes.

Results

TaskDatasetMetricValueModel
Semantic SegmentationADE20K valmIoU53.63Seg-L-Mask/16 (MS, ViT-L)
Semantic SegmentationADE20K valmIoU50Seg-B-Mask/16 (MS, ViT-B)
Semantic SegmentationADE20K valPixel Accuracy83.37Seg-B/8 (MS, ViT-B)
Semantic SegmentationADE20K valmIoU49.61Seg-B/8 (MS, ViT-B)
Semantic SegmentationPASCAL ContextmIoU59Seg-L-Mask/16
Semantic SegmentationADE20KValidation mIoU53.63Seg-L-Mask/16 (MS)
Semantic SegmentationADE20KValidation mIoU50Seg-B-Mask/16(MS, ViT-B)
Semantic SegmentationADE20KValidation mIoU49.61Seg-B/8 (MS, ViT-B)
Semantic SegmentationRGB-T-Glass-SegmentationMAE0.072Segmenter
Scene SegmentationRGB-T-Glass-SegmentationMAE0.072Segmenter
2D Object DetectionRGB-T-Glass-SegmentationMAE0.072Segmenter
10-shot image generationADE20K valmIoU53.63Seg-L-Mask/16 (MS, ViT-L)
10-shot image generationADE20K valmIoU50Seg-B-Mask/16 (MS, ViT-B)
10-shot image generationADE20K valPixel Accuracy83.37Seg-B/8 (MS, ViT-B)
10-shot image generationADE20K valmIoU49.61Seg-B/8 (MS, ViT-B)
10-shot image generationPASCAL ContextmIoU59Seg-L-Mask/16
10-shot image generationADE20KValidation mIoU53.63Seg-L-Mask/16 (MS)
10-shot image generationADE20KValidation mIoU50Seg-B-Mask/16(MS, ViT-B)
10-shot image generationADE20KValidation mIoU49.61Seg-B/8 (MS, ViT-B)
10-shot image generationRGB-T-Glass-SegmentationMAE0.072Segmenter

Related Papers

SeC: Advancing Complex Video Object Segmentation via Progressive Concept Construction2025-07-21Automatic Classification and Segmentation of Tunnel Cracks Based on Deep Learning and Visual Explanations2025-07-18Adversarial attacks to image classification systems using evolutionary algorithms2025-07-17Efficient Adaptation of Pre-trained Vision Transformer underpinned by Approximately Orthogonal Fine-Tuning Strategy2025-07-17Federated Learning for Commercial Image Sources2025-07-17MUPAX: Multidimensional Problem Agnostic eXplainable AI2025-07-17Deep Learning-Based Fetal Lung Segmentation from Diffusion-weighted MRI Images and Lung Maturity Evaluation for Fetal Growth Restriction2025-07-17DiffOSeg: Omni Medical Image Segmentation via Multi-Expert Collaboration Diffusion Model2025-07-17