Exploring Context with Deep Structured Models for Semantic Segmentation.

Guosheng Lin, Chunhua Shen, Anton van den Hengel, Ian D. Reid · DOI

TL;DR

This paper introduces a novel deep structured model that combines Convolutional Neural Networks (CNNs) with Conditional Random Fields (CRFs) to improve semantic image segmentation. By explicitly modeling patch-patch and patch-background context using CNN-based pairwise potentials and multi-scale architectures, the method achieves state-of-the-art results on several challenging datasets.

What Problem Does This Paper Address?

Semantic image segmentation, the task of assigning a category label to every pixel in an image, has seen significant advancements with deep learning, particularly Fully Convolutional Networks (FCNs). However, these methods often struggle to effectively capture and leverage contextual information, which is crucial for understanding scene semantics. Context can manifest as semantic relationships between neighboring image regions (patch-patch context) or between an object and its surrounding environment (patch-background context). Existing approaches often rely on simple smoothness priors in CRFs or struggle with the computational cost of integrating rich contextual information into deep networks. This paper aims to bridge this gap by proposing a principled way to integrate both patch-patch and patch-background context into deep segmentation models, while addressing the computational challenges.

Methods

The core of the proposed method lies in a deep structured model that combines CNNs and CRFs.

  • Patch-Patch Context (Contextual Deep CRFs): The authors formulate CNN-based pairwise potential functions within a CRF framework. These potentials learn semantic correlations between neighboring image patches. A "FeatMap-Net" (a multi-scale CNN) generates feature maps, and a "Pairwise-Net" (a shallow fully connected network) learns the compatibility between pairs of patches based on their extracted features. To handle the computational expense of CRF inference during training, they employ an efficient "piecewise training" strategy. This approach approximates the CRF objective by decoupling the learning of unary and pairwise potentials, avoiding repeated expensive CRF inference at each gradient descent step.
  • Patch-Background Context: To capture background context, the authors utilize a network design incorporating multi-scale image inputs and sliding pyramid pooling. This approach allows the network to aggregate information from different image regions at various scales, effectively increasing the receptive field and capturing broader contextual cues.
  • Two-Stage Prediction: The model employs a two-stage prediction process. First, a coarse-level prediction is generated using CRF inference on the deep structured model. Second, this low-resolution prediction is upsampled and refined using a boundary refinement method (dense CRF) to produce the final high-resolution segmentation.

Datasets

The proposed method was evaluated on a wide range of challenging semantic segmentation datasets:

  • NYUDv2 (indoor scenes)
  • PASCAL VOC 2012
  • PASCAL-Context
  • SIFT-flow
  • SUN-RGBD (indoor scenes)
  • COCO
  • Cityscapes (urban street scenes)
  • KITTI (road scene segmentation)

Key Insights and Ideas

  • Explicitly Modeling Pairwise Semantic Relations: The paper demonstrates that explicitly learning CNN-based pairwise potentials for semantic compatibility between image regions, rather than relying solely on simple smoothness priors, significantly improves segmentation performance.
  • Efficient Piecewise CRF Training: The proposed piecewise training strategy is crucial for making the integration of deep CNNs with CRFs computationally feasible for large-scale datasets, by avoiding repeated expensive CRF inference during backpropagation.
  • Multi-Scale and Pyramid Pooling for Background Context: The effectiveness of multi-scale inputs and sliding pyramid pooling for capturing rich background context is empirically validated, showing their importance for improving segmentation.
  • Complementarity of Contextual and Smoothness CRFs: The authors highlight that their contextual deep CRFs (for coarse prediction) and traditional dense CRFs (for boundary refinement) are complementary, with each addressing different aspects of the segmentation problem.

Key Results

The proposed method achieved state-of-the-art performance on all eight evaluated datasets.

  • PASCAL VOC 2012: Achieved an IoU score of 77.8% with an improved refinement approach, setting a new benchmark.
  • NYUDv2: Achieved an IoU score of 40.6% with RGB input only, outperforming previous methods.
  • Cityscapes: Achieved an IoU score of 71.6%, outperforming competing methods.
  • PASCAL-Context: Achieved an IoU score of 43.3%, outperforming existing methods.
  • SUN-RGBD: Outperformed existing methods by a large margin.
  • COCO: Significantly outperformed baseline fully convolutional networks.
  • SIFT-flow: Achieved the best performance.
  • KITTI: Achieved the best performance, with further improvement by pre-training on COCO.

Limitations and Future Work

  • Limitations: The paper acknowledges that the "boundary refinement stage" could be further improved by applying more sophisticated methods than the simple bilinear upsampling and dense CRF used in their experiments. They suggest exploring deconvolution networks, multi-stage coarse-to-fine learning, and mid-layer feature utilization for refinement.
  • Future Work: The authors suggest that their proposed method is potentially widely applicable to other tasks beyond semantic segmentation. They also implicitly point towards exploring more sophisticated refinement strategies as a direct avenue for future research.

Summary updated

BibTeX
@article{lin2016exploring,
  author = {Guosheng Lin and Chunhua Shen and Anton van den Hengel and Ian D. Reid},
  title = {{Exploring Context with Deep Structured Models for Semantic Segmentation.}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2016},
  doi = {10.1109/tpami.2017.2708714},
}
Figure