Panoptic Segmentation with a Joint Semantic and Instance Segmentation Network

Daan de Geus, Panagiotis Meletis, Gijs DubbelmanarXiv 2018

TL;DR

The authors introduce JSIS-Net, a unified neural network that jointly performs semantic and instance segmentation to solve the panoptic segmentation task. By sharing a ResNet-50 backbone, the model is significantly more memory-efficient than multi-network baselines and demonstrates that joint training actually improves performance across both sub-tasks compared to training them independently.

What Problem Does This Paper Address?

In the world of computer vision, we usually talk about two distinct ways of "seeing" an image:

  1. Semantic Segmentation: Labeling every pixel (e.g., "this is road," "this is sky"). It’s great for "stuff"—uncountable elements like grass or water—but it can't tell two different cars apart.
  2. Instance Segmentation: Detecting and masking individual objects (e.g., "Car A," "Car B"). It’s great for "things"—countable objects—but it ignores the background "stuff" entirely.

Panoptic segmentation is the "holy grail" that combines these two: every pixel in an image must be assigned a class label and a unique instance ID. Until this paper, most approaches simply glued two massive, independent networks together. This is computationally expensive, slow, and ignores the fact that the two tasks likely share useful visual features. The authors tackle the challenge of creating a single, joint architecture that handles both tasks simultaneously.

Methods

The researchers proposed the Joint Semantic and Instance Segmentation Network (JSIS-Net). Its architecture is built on three main pillars:

  • Shared Backbone: A ResNet-50 feature extractor serves as the foundation, processing the input image once to create a shared feature map for both tasks.
  • Dual Branches:
    • The Instance Branch uses a Mask R-CNN style architecture (including a Region Proposal Network) to detect objects and generate masks.
  • The Semantic Branch uses a Pyramid Pooling Module (PPM) to capture global context, followed by "hybrid upsampling" to bring the prediction back to the original image resolution.
  • Joint Loss Function: To train everything at once, they combined seven different loss functions (covering objectness, bounding box regression, mask quality, and semantic accuracy) into one weighted total loss ($L_{tot}$).
  • Merging Heuristics: Since the two branches might disagree (e.g., the semantic branch says a pixel is "road" while the instance branch says it's part of a "car"), the authors used heuristics to merge the outputs. They prioritized instance masks over semantic labels for "thing" classes and used per-pixel probability maps to resolve overlaps between different object masks.

Datasets

The model was evaluated on two major benchmarks:

  • Mapillary Vistas: A large-scale dataset of street-level imagery, known for its high resolution and complex scenes.
  • COCO (Common Objects in Context): The industry standard for object detection and segmentation, featuring a wide variety of everyday objects in natural scenes.

Key Insights and Ideas

  • The Power of Multi-task Learning: One of the most important findings was that joint training is better than independent training. When the semantic and instance branches were trained together, the mean Intersection over Union (mIoU) and mean Average Precision (mAP) both increased compared to training them as separate networks. The tasks are complementary; learning about the "stuff" helps the network understand the "things," and vice versa.
  • Efficiency Matters: By using a single backbone, the authors created a pipeline that is faster and requires less GPU memory, which is a crucial step toward making panoptic segmentation viable for real-time applications like autonomous driving.
  • The RPN Bottleneck: The authors discovered a significant performance gap between datasets. While the model performed well on COCO, it struggled on Mapillary Vistas. They traced this back to the Region Proposal Network (RPN), which had a very low recall (36.3%) on Mapillary. This suggests that for high-resolution street scenes, the standard RPN is a major bottleneck.

Key Results

The authors measured performance using Panoptic Quality (PQ), a metric that combines segmentation accuracy and recognition quality.

  • Mapillary Vistas (Validation): Achieved a PQ of 17.6.
  • COCO (Test-dev): Achieved a PQ of 27.2.
  • Ablation Study: On Mapillary Vistas, the joint training approach reached 17.4 PQ, whereas using the exact same architecture but training the branches independently resulted in only 15.0 PQ. This 2.4-point jump validates the "joint" philosophy of the paper.

Limitations and Future Work

While JSIS-Net proved the concept of joint training, its raw performance trailed behind the top-performing (but much heavier) multi-network ensembles in the 2018 challenges.

The authors identify the Region Proposal Network (RPN) as a primary area for improvement, especially for detecting small or oddly shaped objects in high-resolution images. They also suggest that while their merging heuristics work, the next logical step is to move toward a truly end-to-end panoptic network where the merging process itself is learned by the model rather than defined by hand-crafted rules.

Summary updated

BibTeX
@misc{geus2018panoptic,
  author = {Daan de Geus and Panagiotis Meletis and Gijs Dubbelman},
  title = {{Panoptic Segmentation with a Joint Semantic and Instance Segmentation Network}},
  year = {2018},
  eprint = {1809.02110},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1809.02110},
}
Figure