Seamless Scene Segmentation

Lorenzo Porzi, Samuel Rota Bulò, Aleksander Colovic, Peter Kontschieder · DOI

Introduction

In computer vision, scene understanding has traditionally been bifurcated into two distinct tasks: Semantic Segmentation (assigning a category label to every pixel) and Instance Segmentation (detecting and masking individual object instances). The unification of these tasks is known as Panoptic Segmentation.

Historically, the state-of-the-art approach to panoptic segmentation has relied on a "Frankenstein" methodology: training two separate, massive models and merging their outputs through complex post-processing heuristics. This approach is computationally expensive, prone to label inconsistency between branches, and relies on evaluation metrics that often fail to reflect real-world utility. This paper introduces a single, end-to-end CNN architecture that addresses these inefficiencies while achieving state-of-the-art results.

Architectural Innovation

The core contribution of this work is the "seamless" integration of instance and semantic tasks into a single network. By utilizing a shared ResNet-50 backbone with a Feature Pyramid Network (FPN), the model eliminates the redundancy of learning low-level features twice.

Comparison between independent (left) and seamless (right) architectures for panoptic segmentation.

As illustrated above, the transition from independent bodies to a unified body reduces the parameter count by approximately 52% and computational operations (FLOPs) by 50%. This shared capacity not only improves efficiency but also leads to more robust internal representations, as the network is forced to learn features that are mutually beneficial for both object detection and background classification.

The Semantic Branch: Mini-DeepLab

While the instance branch follows a standard Mask R-CNN-style head, the semantic branch introduces a novel module termed Mini-DeepLab. This branch is designed to integrate multi-scale features from the FPN while maintaining "translation equivariance."

The Mini-DeepLab semantic branch architecture and its integration with the Feature Pyramid Network (FPN).

Standard segmentation modules often use Global Average Pooling, which can break translation equivariance—meaning a slight shift in the input image can drastically alter the network's internal representation. The authors replace this with a fixed-size large-kernel average pooling (64x64) and boundary replication. This ensures the model remains robust to varying image resolutions at test time. Additionally, the use of iABNsync (In-place Activated Batch Normalization) allows for larger training batches by reducing GPU memory consumption by up to 50%.

Experimental Results and Evaluation

The model was rigorously evaluated on three major street-level datasets: Cityscapes, Mapillary Vistas, and the Indian Driving Dataset (IDD). At the time of publication, the architecture set new benchmarks, achieving 60.3 PQ on Cityscapes and 37.7 PQ on Mapillary Vistas.

Beyond raw performance, the authors propose a modified metric, $PQ^\dagger$. The standard Panoptic Quality (PQ) metric often over-penalizes "stuff" classes (like roads or sky) by using an all-or-nothing 0.5 IoU threshold. $PQ^\dagger$ treats these amorphous regions more fairly by using a simple IoU average, providing a more nuanced evaluation of background understanding.

Conclusion

By moving away from dual-model fusion toward a unified, seamless architecture, this research demonstrates that efficiency and accuracy are not mutually exclusive. The proposed model achieves superior consistency and state-of-the-art performance with half the computational overhead of previous methods. Future work will focus on incorporating the final fusion step into the end-to-end learning process and optimizing the architecture for real-time deployment on edge devices.

Summary updated

BibTeX
@inproceedings{porzi2019seamless,
  author = {Lorenzo Porzi and Samuel Rota Bulò and Aleksander Colovic and Peter Kontschieder},
  title = {{Seamless Scene Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00847},
}
Figure