K-Net: Towards Unified Image Segmentation

Semantic, instance, and panoptic segmentations have been addressed using different and specialized frameworks despite their underlying connections. This paper presents a unified, simple, and effective framework for these essentially similar tasks. The framework, named K-Net, segments both instances and semantic categories consistently by a group of learnable kernels, where each kernel is responsible for generating a mask for either a potential instance or a stuff class. To remedy the difficulties of distinguishing various instances, we propose a kernel update strategy that enables each kernel dynamic and conditional on its meaningful group in the input image. K-Net can be trained in an end-to-end manner with bipartite matching, and its training and inference are naturally NMS-free and box-free. Without bells and whistles, K-Net surpasses all previous published state-of-the-art single-model results of panoptic segmentation on MS COCO test-dev split and semantic segmentation on ADE20K val split with 55.2% PQ and 54.3% mIoU, respectively. Its instance segmentation performance is also on par with Cascade Mask R-CNN on MS COCO with 60%-90% faster inference speeds. Code and models will be released at https://github.com/ZwwWayne/K-Net/.

PDF Abstract NeurIPS 2021 PDF NeurIPS 2021 Abstract

Datasets


Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Semantic Segmentation ADE20K K-Net Validation mIoU 54.3 # 56
Semantic Segmentation ADE20K val K-Net mIoU 54.3 # 31
Panoptic Segmentation COCO test-dev K-Net (Swin-L) PQ 55.2 # 7
PQst 46.2 # 7
PQth 61.2 # 6
Instance Segmentation COCO test-dev K-Net-N256 (ResNet-101) mask AP 40.6% # 65
AP50 63.3 # 14
APS 18.8 # 25
APM 43.3 # 13
APL 59 # 12
Instance Segmentation COCO test-dev K-Net (ResNet-101) mask AP 40.1% # 70
AP50 62.8 # 17
APS 18.7 # 26
APM 42.7 # 18
APL 58.8 # 15
Panoptic Segmentation COCO test-dev K-Net (R101-FPN-DCN) PQ 48.3 # 19
PQst 39.7 # 12
PQth 54 # 20

Methods