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

PEM: Prototype-based Efficient MaskFormer for Image Segmentation

About

Recent transformer-based architectures have shown impressive results in the field of image segmentation. Thanks to their flexibility, they obtain outstanding performance in multiple segmentation tasks, such as semantic and panoptic, under a single unified framework. To achieve such impressive performance, these architectures employ intensive operations and require substantial computational resources, which are often not available, especially on edge devices. To fill this gap, we propose Prototype-based Efficient MaskFormer (PEM), an efficient transformer-based architecture that can operate in multiple segmentation tasks. PEM proposes a novel prototype-based cross-attention which leverages the redundancy of visual features to restrict the computation and improve the efficiency without harming the performance. In addition, PEM introduces an efficient multi-scale feature pyramid network, capable of extracting features that have high semantic content in an efficient way, thanks to the combination of deformable convolutions and context-based self-modulation. We benchmark the proposed PEM architecture on two tasks, semantic and panoptic segmentation, evaluated on two different datasets, Cityscapes and ADE20K. PEM demonstrates outstanding performance on every task and dataset, outperforming task-specific architectures while being comparable and even better than computationally-expensive baselines.

Niccol\`o Cavagnero, Gabriele Rosi, Claudia Cuttano, Francesca Pistilli, Marco Ciccone, Giuseppe Averta, Fabio Cermelli• 2024

Related benchmarks

TaskDatasetResultRank
Semantic segmentationADE20K
mIoU45.5
936
Semantic segmentationCityscapes
mIoU79.9
578
Semantic segmentationCityscapes (val)
mIoU79
18
Semantic segmentationADE20K degraded (val)
mIoU45.54
17
Semantic segmentationRealLQ
mIoU34.38
17
Semantic segmentationMaSS13K 500 (val)
mIoU83.41
16
Semantic segmentationMaSS 13K 1,500 (test)
mIoU83.38
16
Panoptic SegmentationADE20K 150 categories (val)
PQ38.5
6
Showing 8 of 8 rows

Other info

Code

Follow for update