Abstract
We present a single-shot, bottom-up approach for whole image parsing. Whole image parsing, also known as Panoptic Segmentation, generalizes the tasks of semantic segmentation for 'stuff' classes and instance segmentation for 'thing' classes, assigning both semantic and instance labels to every pixel in an image. Recent approaches to whole image parsing typically employ separate standalone modules for the constituent semantic and instance segmentation tasks and require multiple passes of inference. Instead, the proposed DeeperLab image parser performs whole image parsing with a significantly simpler, fully convolutional approach that jointly addresses the semantic and instance segmentation tasks in a single-shot manner, resulting in a streamlined system that better lends itself to fast processing. For quantitative evaluation, we use both the instance-based Panoptic Quality (PQ) metric and the proposed region-based Parsing Covering (PC) metric, which better captures the image parsing quality on 'stuff' classes and larger object instances. We report experimental results on the challenging Mapillary Vistas dataset, in which our single model achieves 31.95% (val) / 31.6% PQ (test) and 55.26% PC (val) with 3 frames per second (fps) on GPU or near real-time speed (22.6 fps on GPU) with reduced accuracy.
Introduction
Image parsing, or Panoptic Segmentation, involves assigning a class label to every pixel in an image, unifying semantic segmentation (labeling uncountable "stuff" like sky or road) and instance segmentation (separating countable "things" like individual cars). Historically, state-of-the-art models have relied on multi-stage pipelines, often combining separate networks like Mask R-CNN for instances and a Fully Convolutional Network for semantics. These approaches require multiple inference passes, making them computationally expensive and slow for real-time applications like autonomous driving. DeeperLab addresses this by performing both tasks simultaneously in a single, streamlined, fully convolutional network.
Methods
DeeperLab utilizes a single-shot, bottom-up architecture designed for efficiency and high-resolution processing.
Architectural Innovations
- Wider MobileNetV2 Backbone: To handle high-resolution images without excessive memory use, the standard MobileNetV2 is modified by replacing 3×3 convolutions with 5×5 convolutions. This "Wider" variant increases the receptive field significantly with minimal overhead.
- Space-to-Depth Decoder: To avoid memory spikes associated with standard bilinear upsampling, DeeperLab employs space-to-depth (S2D) and depth-to-space (D2S) operations. These shuffle pixels into the channel dimension, maintaining a flat memory footprint during feature merging.
- Shared Decoder and Prediction Heads: A single shared decoder branches into five lightweight heads: one for semantic segmentation and four for instance segmentation.
- Bottom-Up Instance Keypoints: Instead of bounding boxes, instances are predicted via five keypoints (four corners and a center). Specialized heads predict keypoint heatmaps and various offsets (short, middle, and long-range) to refine locations, group corners to centers, and assign pixels to instances.
- Hard Pixel Mining: The loss function focuses on the most difficult 15% of pixels and penalizes errors on small objects.
Datasets and Evaluation
The model was primarily evaluated on the Mapillary Vistas dataset, which is known for its high resolution and 66 diverse classes. It was also tested on Cityscapes, PASCAL VOC 2012, and COCO.
Parsing Covering (PC) Metric
The authors introduce the Parsing Covering (PC) metric to complement the standard Panoptic Quality (PQ). While PQ treats all instances equally, PC scales with instance size. This is particularly relevant for autonomous driving, where accurately segmenting a large, nearby object is more critical than segmenting a small, distant one.
Key Results and Insights
- Efficiency: The Xception-71 based model achieves 31.95% PQ and 55.26% PC at 3.09 fps on a V100 GPU. A lighter version using Wider MobileNetV2 reaches near real-time speeds of 22.61 fps.
- Ablation Studies: Replacing 3×3 with 5×5 convolutions improved PQ by 1.75%, while the S2D/D2S decoder provided a ~1.1% PQ boost.
- Viability of Single-Shot: The results demonstrate that a shared decoder with bottom-up offset heads can effectively handle panoptic segmentation without complex region proposal networks.
- Metric Impact: The new PC metric provides a better evaluation of real-world utility by reducing the bias toward small instances inherent in PQ.
Limitations and Future Work
While highly efficient, this single-shot approach currently lags slightly behind the top multi-stage methods in absolute accuracy on dense datasets like COCO. Future work may explore accuracy-boosting data augmentations, such as input upsampling, which were avoided in this study to prioritize inference speed.
Summary updated