Classification With an Edge: Improving Semantic Image Segmentation with Boundary Detection

Dimitrios Marmanis, Konrad Schindler, Jan Dirk Wegner, Silvano Galliani, Mihai Datcu, Uwe StillaarXiv 2016

Abstract

Semantic segmentation in remote sensing often suffers from blurred object boundaries due to the downsampling layers inherent in deep convolutional neural networks (DCNNs). This paper proposes an architecture that integrates boundary detection as an explicit sub-network within the segmentation pipeline. By incorporating Holistically-Nested Edge Detection (HED) and utilizing multi-modal data (RGB and height), the authors demonstrate significant improvements in spatial precision, achieving over 90% accuracy on the ISPRS Vaihingen and Potsdam benchmarks.

Introduction

Semantic segmentation—the task of assigning a category label to every pixel in an image—is a cornerstone of modern remote sensing. While DCNNs are the undisputed champions of this task, they possess a significant "Achilles' heel." To understand the context of a scene (e.g., identifying a car based on its proximity to a road), these networks utilize large receptive fields and downsampling layers.

However, this gain in context comes at the cost of spatial resolution. High-frequency details often get "washed out," resulting in blurry, rounded object boundaries. In high-resolution aerial imagery, where distinguishing the exact edge of a building or vehicle is critical, these imprecise results are insufficient. This research aims to reclaim sharp edges without sacrificing the powerful contextual reasoning of deep networks.

Methodology

The proposed multi-component architecture treats boundary detection as a primary feature rather than a post-processing step.

Architecture Design

The researchers utilized two popular architectures: SegNet (an efficient encoder-decoder model) and FCN (Fully Convolutional Networks). These were adapted into "H" variants (e.g., SEG-H) featuring parallel streams for RGB color and Digital Surface Models (DSM/height data).

Edge Detection Integration

The core innovation is the integration of Holistically-Nested Edge Detection (HED). HED is a DCNN that produces multi-scale edge likelihoods. Rather than using these edges to simply "clean up" a final map, the boundary likelihoods are fed directly into the segmentation network as an additional input channel. This allows the segmentation layers to align their predictions with detected boundaries during the training phase.

Ensemble and Loss Refinement

To maximize performance, the authors combined multiple models (SEG-H and two versions of FCN-H) into an ensemble, averaging their class probabilities. Furthermore, they modified the boundary detection loss to use a regression-based "uncertainty band" rather than hard binary classification, acknowledging that boundary locations in 5cm-resolution imagery are inherently fuzzy.

Experimental Results

The study focused on two gold-standard remote sensing benchmarks: ISPRS Vaihingen (~9cm ground sampling distance) and ISPRS Potsdam (~5cm ground sampling distance). Both datasets include infrared-red-green (IRRG) imagery and height data.

Comparison of segmentation results: (Left) Original IRRG aerial image; (Middle) Baseline segmentation showing less precise boundaries; (Right) Improved segmentation with integrated boundary detection.

Accuracy and Class Gains

On the Vaihingen dataset, adding boundary detection to a single-scale SegNet improved overall accuracy from 84.8% to 89.8%. The best ensemble model achieved 90.3% overall accuracy. Improvements were most dramatic for man-made objects with sharp edges; for instance, "Building" class accuracy rose to 95.6%, and "Low Vegetation" saw jumps of nearly 12% in specific configurations.

The "Potsdam Tree" Paradox

A notable finding occurred with the Potsdam dataset, where trees were photographed in "leaf-off" conditions (bare branches). Human annotators had "hallucinated" solid circular crowns in the ground truth. Because there were no actual edges in the imagery for the network to find, explicit boundary detection actually hindered performance for the tree class in this specific instance, highlighting the importance of data quality.

Discussion and Conclusion

The research demonstrates that boundary detection and semantic segmentation are mutually beneficial. For lighter models like SegNet, which lack the massive parameter counts of deeper FCNs, the addition of boundary information provided a boost of over 5%, suggesting that local boundary data can partially compensate for a lack of global contextual capacity.

Limitations and Future Work

Despite the performance gains, the high-end ensemble requires significant computational resources, roughly 9x more than the basic model. Future work will focus on model compression and class-specific boundary detection. Additionally, as accuracy exceeds 90%, the authors suggest that current benchmarks are reaching saturation, where measured "errors" often reflect inconsistencies in human ground truth rather than model failure.

Summary updated

BibTeX
@misc{marmanis2016classification,
  author = {Dimitrios Marmanis and Konrad Schindler and Jan Dirk Wegner and Silvano Galliani and Mihai Datcu and Uwe Stilla},
  title = {{Classification With an Edge: Improving Semantic Image Segmentation with Boundary Detection}},
  year = {2016},
  eprint = {1612.01337},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1612.01337},
}
Figure