Context Contrasted Feature and Gated Multi-Scale Aggregation for Scene Segmentation

Henghui Ding, Xudong Jiang, Bing Shuai, Ai Qun Liu, Gang Wang

Introduction

Scene segmentation is a fundamental task in computer vision that requires assigning a semantic label to every pixel in an image. This involves identifying both large-scale "stuff" (e.g., sky, road, grass) and smaller, often inconspicuous objects. While Deep Convolutional Neural Networks (DCNNs) have advanced the field, they often struggle with two specific issues: the dominance of salient objects in feature maps and the suboptimal fusion of multi-scale information. This paper addresses these challenges through two novel architectural components: Context Contrasted Local (CCL) features and Gated Multi-scale Aggregation.

Problem Statement

Standard DCNN architectures, primarily designed for image classification, tend to produce "smooth" feature representations. In these maps, large and salient objects dominate, effectively drowning out smaller objects or background details. Furthermore, traditional methods for multi-scale fusion, such as simple summation of skip-layer features, fail to account for the varying importance of different scales at different spatial locations.

An airplane taking off, representing a typical input for scene segmentation.

Methodology

Context Contrasted Local (CCL) Feature

To prevent salient objects from overwhelming the feature space, the authors propose the CCL module. Inspired by the human visual system's ability to focus on a target while maintaining peripheral awareness, CCL explicitly calculates the difference between local information and its surrounding context.

  • Mechanism: The module employs two parallel paths. One path uses standard convolution to capture delicate local details, while the other uses dilated convolution to capture a broader, coarser context.
  • Contrastive Spotlight: By subtracting the context feature from the local feature, the network highlights discriminative local details that would otherwise be smoothed over.

Gated Multi-scale Aggregation

Rather than using a "blind" summation of features from different network depths, the authors introduce a dynamic gating mechanism.

  • Adaptive Gates: The network generates a unique spatial weight map (gate) for each scale, conditioned on the input image.
  • RNN-based Fusion: A Recurrent Neural Network (RNN) processes the information maps from different layers sequentially. This allows the model to learn the relationships between low-level edges and high-level semantics, deciding pixel-by-pixel which scale's prediction is most reliable.
The resulting segmentation map for the airplane scene, showing the classification of various regions.

Experimental Results

The proposed model was evaluated on three major benchmarks: Pascal Context, SUN-RGBD, and COCO Stuff. The results demonstrate a consistent improvement over previous state-of-the-art (SOTA) methods.

Dataset mIoU (Proposed) Previous SOTA
Pascal Context 51.6% 47.8% (PSPNet)
SUN-RGBD 47.1% 45.9% (RefineNet)
COCO Stuff 35.7% 33.6% (RefineNet)

Ablation studies further confirmed the efficacy of the Gated Sum mechanism, showing a 3.3% IoU improvement over a simple summation baseline when using a ResNet-101 backbone.

Conclusion

By introducing contrastive features and adaptive multi-scale fusion, this work significantly improves the performance of scene segmentation models. The CCL module ensures that inconspicuous objects remain distinct, while the Gated Multi-scale Aggregation allows the network to dynamically select the most relevant features for each pixel. These mechanisms provide a robust framework for handling the complex scale and prominence variations inherent in real-world scenes.

Summary updated

BibTeX
@inproceedings{ding2018context,
  author = {Henghui Ding and Xudong Jiang and Bing Shuai and Ai Qun Liu and Gang Wang},
  title = {{Context Contrasted Feature and Gated Multi-Scale Aggregation for Scene Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00254},
}
Figure