UPSNet: A Unified Panoptic Segmentation Network.

Yuwen Xiong, Renjie Liao, Hengshuang Zhao, Rui Hu, Min Bai, Ersin Yumer, Raquel Urtasun · DOI

TL;DR

This paper introduces UPSNet, a unified network for panoptic segmentation that simultaneously predicts both semantic (stuff) and instance (thing) segmentation. It achieves state-of-the-art performance with significantly faster inference by using a single backbone and novel "panoptic head" that resolves conflicts between semantic and instance predictions, even handling an "unknown" class.

What Problem Does This Paper Address?

Understanding a scene visually requires more than just identifying objects (instance segmentation) or regions (semantic segmentation). Panoptic segmentation unifies these by requiring a complete scene parse, where each pixel is assigned a unique class and instance ID. This is challenging because semantic segmentation excels at amorphous regions like "sky" or "road," while instance segmentation is good for countable objects like "cars" or "people." Previous methods often treated these as separate tasks or used complex post-processing, leading to inefficiencies and difficulties in resolving ambiguities where semantic and instance predictions conflict. UPSNet aims to address this by providing a single, end-to-end trainable network that handles both tasks cohesively.

Methods

UPSNet builds upon a single ResNet backbone with a Feature Pyramid Network (FPN) for multi-scale feature extraction. Two lightweight heads are attached to this backbone:

  • Semantic Segmentation Head: Uses deformable convolutions to capture multi-scale semantic information, producing logits for "stuff" classes. It also incorporates an "RoI loss" to better focus on foreground objects.
  • Instance Segmentation Head: Follows the Mask R-CNN design, outputting bounding boxes, class labels, and instance masks for "thing" classes.

The core innovation is the parameter-free panoptic head. This head takes the logits from the semantic and instance heads and combines them. Crucially, it introduces an "unknown" class logit to gracefully handle pixels where semantic and instance predictions conflict. This allows for end-to-end training, unlike previous methods that relied on heuristic post-processing. The panoptic head also dynamically handles the varying number of instances per image.

Datasets

UPSNet was trained and evaluated on three datasets:

  • Cityscapes: A benchmark for urban driving scenes with 8 thing and 11 stuff classes.
  • COCO: A large-scale dataset with 80 thing and 53 stuff classes.
  • Internal Dataset: Similar to Cityscapes, but with a larger scale (approximately 3x) and 10 thing and 17 stuff classes.

Key Insights and Ideas

  • Unified approach is superior: Combining semantic and instance segmentation within a single network, rather than as separate tasks or post-processing steps, leads to better overall performance and efficiency.
  • The "unknown" class is crucial: Introducing an explicit "unknown" class in the panoptic head is a simple yet effective way to resolve ambiguities and conflicts between semantic and instance predictions, improving metrics like Panoptic Quality (PQ).
  • Parameter-free panoptic head: Designing a panoptic head that doesn't require extensive learned parameters or complex heuristics simplifies the architecture and enables end-to-end training.
  • Deformable convolutions and FPN are powerful: These standard techniques, when applied to the semantic head, provide strong semantic segmentation results that benefit the overall panoptic task.
  • RoI loss helps foreground focus: An additional RoI loss for the semantic head, applied to cropped regions of interest, improves performance on foreground objects without harming overall semantic segmentation.

Key Results

UPSNet achieves state-of-the-art performance on COCO, Cityscapes, and the authors' internal dataset, often outperforming previous methods in Panoptic Quality (PQ). Notably, it achieves this with significantly faster inference times. For example, on COCO, UPSNet is about 3x faster than the combined method while achieving better PQ. The authors also demonstrate that their model is considerably lighter in terms of parameter count compared to some competing methods.

Limitations and Future Work

  • Limitations:
    • The paper notes that while UPSNet improves SQ (semantic quality), it might slightly decrease it compared to some methods, which is a common trade-off when increasing RQ (recognition quality) by including more segments.
  • The "unknown" prediction can sometimes result in vertical or horizontal boundaries, particularly when instance head predicts nothing but the semantic head predicts something.
  • The authors mention that PQSt (panoptic quality for stuff) is imperfect due to image resizing during inference causing misalignment with labels.
  • Future Work:
    • Explore more powerful backbone networks to further enhance performance.
  • Investigate smarter parameterization of the panoptic head.
  • Further improve the handling of stuff segmentation, especially concerning label misalignment.

Summary updated

BibTeX
@inproceedings{xiong2019upsnet,
  author = {Yuwen Xiong and Renjie Liao and Hengshuang Zhao and Rui Hu and Min Bai and Ersin Yumer and Raquel Urtasun},
  title = {{UPSNet: A Unified Panoptic Segmentation Network.}},
  booktitle = {CVPR},
  year = {2019},
  doi = {10.1109/cvpr.2019.00902},
}
Figure