Pixel-level Encoding and Depth Layering for Instance-level Semantic Labeling

Jonas Uhrig, Marius Cordts, Uwe Franke, Thomas Brox

TL;DR

This paper introduces a proposal-free instance segmentation method that uses a single Fully Convolutional Network (FCN) to simultaneously predict pixel-level semantics, absolute depth, and the direction to an object's center. By pairing these dense network predictions with simple, classic computer vision techniques like template matching and proposal fusion, the approach achieves state-of-the-art results on street scene datasets while providing absolute distance estimates for every detected object.

What Problem Does This Paper Address?

For autonomous vehicles and robotics, understanding a visual scene requires knowing not just what is in an image, but which pixel belongs to which individual object and how far away those objects are.

Traditional pixel-level semantic labeling excels at identifying background classes (like roads and buildings) but lumps touching objects of the same class together. Conversely, bounding-box object detectors can isolate individual instances but provide only coarse spatial localization. Combining these tasks yields instance-level semantic segmentation.

Most existing methods rely on complex, multi-stage "proposal-based" pipelines (like R-CNN variants) that generate bounding box candidates and then refine them into masks. However, these are computationally expensive and fail completely if the initial proposal step misses an object. "Proposal-free" alternatives exist, but they often struggle in crowded street scenes because they try to predict the exact number of instances or rely on fragile clustering techniques. The authors address these shortcomings by proposing a fast, proposal-free method that uses dense geometric cues to naturally separate instances.

Methods

The core of the method is an extended FCN-8s architecture that maps a single monocular input image to three distinct pixel-wise prediction channels, all trained jointly using standard cross-entropy losses:

  1. Semantics: Predicts the semantic class label for each pixel.
  2. Depth: Predicts a discretized absolute depth class (19 classes total). Closer objects get a finer depth resolution, while distant objects get a coarser one.
  3. Direction: Predicts the 2D direction vector pointing from the pixel toward its corresponding instance center, discretized into 8 angular bins of 45°.

Instead of using heavy graphical models (like CRFs) or complex deep clustering networks to turn these pixel-level cues into distinct objects, the authors employ lightweight, deterministic computer vision algorithms:

  • Template Matching: The network's direction predictions form distinct radial patterns around object centers. The authors use Normalized Cross-Correlation (NCC) with a predefined direction template to create center-likelihood score maps. Crucially, these templates are scaled dynamically based on the network's predicted depth class.
  • Instance Generation & Proposal Fusion: Temporary instance centers are found via non-maximum suppression on the score maps. Pixels are then assigned to the closest center where the relative location and predicted direction agree. To fix over-segmentation (e.g., a long bus being split in half), they accumulate direction vectors within a proposal; if the vectors don't cancel out, it indicates an incomplete object, and the proposal is fused with its neighbor.
Fig. 2: From a single image, we predict 3 FCN outputs: semantics, depth, and instance center direction. Those are used to compute template matching score maps for semantic categories. Using these, we locate and generate instance pro- posals and fuse them to obtain our instance segmentation.

Datasets

The authors trained and evaluated their method on two prominent street scene benchmarks:

  • KITTI Object Detection Dataset: Extended with instance-level pixel annotations. Evaluation on this dataset focused exclusively on the car class.
  • Cityscapes: A highly complex urban dataset featuring 19 semantic classes and 8 instance classes (such as cars, pedestrians, bicycles, and trucks).

Key Insights and Ideas

  • Direction Over Boundaries: Predicting object boundaries directly is notoriously difficult because boundaries are only one pixel wide, making training highly sensitive to minor annotation noise. Predicting the direction to the center creates a robust, region-based signal where adjacent objects naturally have opposing vectors at their borders, making separation straightforward.
  • Depth as a Layering Tool: Treating depth as a discrete classification task rather than continuous regression allows the network to leverage standard cross-entropy losses. More importantly, it provides a strong "layering" effect that cleanly separates overlapping objects at different distances (e.g., a row of parallel-parked cars).
  • Marrying Deep Learning with Classic CV: Instead of forcing a neural network to solve the discrete combinatorial problem of instance assignment, the network is used purely for dense feature extraction, leaving the structural grouping to lightweight, predictable post-processing algorithms.

Key Results

The method achieved significant performance leaps over existing baselines on both benchmarks:

  • KITTI: The approach achieved a 37% relative improvement averaged over all metrics compared to the previous state-of-the-art, reaching an IoU of 84.1% and an InsF1 score of 79.7%.
  • Cityscapes: The method nearly doubled the Average Precision (AP) performance of the competitive MCG+R-CNN baseline on the test set (8.9% vs 4.6% overall, and 22.5% vs 10.5% specifically for the car class).
  • Monocular Depth Estimation: Despite using only a single image, the model predicted absolute instance distances with a Mean Absolute Error (MAE) of just 1.7 meters on KITTI and 7.7 meters on the much more distant and complex Cityscapes dataset.
Fig. 1: Example scene representation as obtained by our method: instance seg- mentation, monocular depth estimation, and pixel-level semantic labeling.

Limitations and Future Work

The primary limitation of this framework is its heavy reliance on the initial semantic classification accuracy. The authors note that the system performs poorly on rare or large vehicle classes like bus, truck, and train. Because the FCN struggles to correctly label these pixels semantically, the subsequent template matching and instance generation steps fail.

Future work could focus on upgrading the underlying semantic network architecture or making the geometric clustering steps more robust to semantic classification noise.

Summary updated

BibTeX
@inproceedings{uhrig2016pixel,
  author = {Jonas Uhrig and Marius Cordts and Uwe Franke and Thomas Brox},
  title = {{Pixel-level Encoding and Depth Layering for Instance-level Semantic Labeling}},
  booktitle = {GCPR},
  year = {2016},
  doi = {10.1007/978-3-319-45886-1\_2},
}
Figure