SOTAVerified

SeMask: Semantically Masked Transformers for Semantic Segmentation

2021-12-23arXiv 2021Code Available1· sign in to hype

Jitesh Jain, Anukriti Singh, Nikita Orlov, Zilong Huang, Jiachen Li, Steven Walton, Humphrey Shi

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Finetuning a pretrained backbone in the encoder part of an image transformer network has been the traditional approach for the semantic segmentation task. However, such an approach leaves out the semantic context that an image provides during the encoding stage. This paper argues that incorporating semantic information of the image into pretrained hierarchical transformer-based backbones while finetuning improves the performance considerably. To achieve this, we propose SeMask, a simple and effective framework that incorporates semantic information into the encoder with the help of a semantic attention operation. In addition, we use a lightweight semantic decoder during training to provide supervision to the intermediate semantic prior maps at every stage. Our experiments demonstrate that incorporating semantic priors enhances the performance of the established hierarchical encoders with a slight increase in the number of FLOPs. We provide empirical proof by integrating SeMask into Swin Transformer and Mix Transformer backbones as our encoder paired with different decoders. Our framework achieves a new state-of-the-art of 58.25% mIoU on the ADE20K dataset and improvements of over 3% in the mIoU metric on the Cityscapes dataset. The code and checkpoints are publicly available at https://github.com/Picsart-AI-Research/SeMask-Segmentation .

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
ADE20KSeMask (SeMask Swin-L FaPN-Mask2Former)Validation mIoU58.2Unverified
ADE20KSeMask (SeMask Swin-L MSFaPN-Mask2Former)Validation mIoU58.2Unverified
ADE20KSeMask (SeMask Swin-L Mask2Former)Validation mIoU57.5Unverified
ADE20KSeMask(SeMask Swin-L MSFaPN-Mask2Former, single-scale)Validation mIoU57Unverified
ADE20KSeMask (SeMask Swin-L MaskFormer)Validation mIoU56.2Unverified
ADE20KSeMask (SeMask Swin-L FPN)Validation mIoU53.52Unverified
ADE20KSeMask (SeMask Swin-B FPN)Validation mIoU50.98Unverified
ADE20KSeMask (SeMask Swin-S FPN)Validation mIoU47.63Unverified
ADE20KSeMask (SeMask Swin-T FPN)Validation mIoU43.16Unverified
ADE20K valSeMask (SeMask Swin-L MSFaPN-Mask2Former, single-scale)mIoU57Unverified
ADE20K valSeMask (SeMask Swin-L FPN)mIoU53.5Unverified
ADE20K valSeMask (SeMask Swin-L Mask2Former)mIoU57.5Unverified
ADE20K valSeMask (SeMask Swin-L MaskFormer)mIoU56.2Unverified
ADE20K valSeMask (SeMask Swin-L FaPN-Mask2Former)mIoU58.2Unverified
ADE20K valSeMask (SeMask Swin-L MSFaPN-Mask2Former)mIoU58.2Unverified
Cityscapes valSeMask (SeMask Swin-L Mask2Former)mIoU84.98Unverified
Cityscapes valSeMask (SeMask Swin-L FPN)mIoU80.39Unverified

Reproductions