Deep Object Co-Segmentation via Spatial-Semantic Network Modulation

Kaihua Zhang, Jin Chen, Bo Liu, Qingshan Liu

Abstract

Object co-segmentation is the task of identifying and segmenting common objects across a group of related images. This paper introduces a novel deep learning framework that combines an unsupervised spatial modulator with a supervised semantic modulator to address the challenges of background clutter and distractor objects. The spatial modulator locates potential foreground objects through unsupervised clustering, while the semantic modulator identifies shared categories using Hierarchical Second-order Pooling (HSP). These modulators guide a segmentation sub-network via a shift-and-scale operation. Experimental results on benchmark datasets, including PASCAL-VOC, demonstrate that the proposed method achieves state-of-the-art performance, significantly outperforming existing approaches in both accuracy and robustness to distractors.

Introduction

Object co-segmentation is significantly more challenging than standard semantic segmentation. While standard segmentation relies on predefined categories, co-segmentation requires the model to "discover" commonalities among a set of images while ignoring background noise and variations in lighting, pose, or scale.

Traditional methods often relied on hand-crafted features like color histograms, which struggle in complex scenes. Recent deep learning approaches have utilized Siamese networks with attention mechanisms, yet they frequently fail to differentiate between the target "co-object" and similar-looking distractors in the background. This research addresses the need for a mechanism that simultaneously understands where an object might be (spatial) and what it is (semantic) to guide the segmentation process effectively.

Methodology

The proposed Spatial-Semantic Modulated Deep Network consists of three primary components designed to work in tandem:

1. Spatial Modulator (Unsupervised)

This branch treats image features as data points and employs an unsupervised clustering approach. By solving a relaxed eigenvalue problem derived from an integer programming formulation, it generates a coarse mask that highlights potential foreground objects regardless of their category. This unsupervised nature allows the model to generalize to objects it has not encountered during training.

2. Semantic Modulator (Supervised)

Focusing on category identification, this branch utilizes a Hierarchical Second-order Pooling (HSP) module. Unlike standard global average pooling, HSP captures high-order statistical dependencies between feature channels. This enables the network to learn which specific feature channels are most critical for identifying the shared object category across the image group.

3. Segmentation Sub-net

The outputs from the two modulators are applied to the backbone features using a shift-and-scale operation: $Y = \gamma X + S$. In this formulation, the semantic modulator provides the scale ($\gamma$) and the spatial modulator provides the shift ($S$). This modulation "steers" the backbone features to focus exclusively on the co-object regions before upsampling to the final segmentation mask. The entire system is trained end-to-end using a multi-task loss function combining classification and segmentation objectives.

Experimental Evaluation

The model was evaluated on four standard benchmark datasets:

  • MSRC: 7 classes, 10 images per class.
  • Internet: 3 categories (Airplane, Car, Horse) with 100 images each, including noisy labels.
  • iCoseg: 8 categories with varying numbers of images.
  • PASCAL-VOC: The most challenging set, featuring 1,037 images across 20 categories.

The model was trained using the COCO-SEG dataset, comprising 200,000 images across 78 groups.

Key Results

The proposed method, particularly when utilizing HRNet as a backbone, outperformed existing state-of-the-art (SOTA) methods across all benchmarks:

  • PASCAL-VOC: Achieved a Jaccard index (Intersection over Union) of 71%, representing a significant 6% improvement over the previous best method (Li et al. 2018).
  • MSRC: Reached an 81.9% Jaccard index, surpassing previous deep learning methods.
  • Qualitative Success: Visual results demonstrate the model's superior ability to ignore "distractor" objects (such as a dog in a horse-themed image group) compared to previous methods like SAAB or DCOS.
Qualitative results of the proposed co-segmentation framework. Row (a) shows input images with common objects (horses) and distractors (dog, person, gate). Row (b) shows the resulting segmentation masks successfully isolating the common objects.

Conclusion and Future Work

The Spatial-Semantic Modulated Deep Network demonstrates that combining unsupervised localization with high-order semantic statistics provides a robust solution for object co-segmentation. By using modulation rather than simple concatenation, the framework effectively targets shared objects in cluttered environments.

However, limitations remain. The training process is computationally intensive, and the performance is heavily dependent on the quality of the pre-trained backbone. Future research could explore more tightly integrating the backbone into the modulation process and investigating the model's robustness to extremely large image groups or video co-segmentation tasks.

Summary updated

BibTeX
@inproceedings{zhang2020deep,
  author = {Kaihua Zhang and Jin Chen and Bo Liu and Qingshan Liu},
  title = {{Deep Object Co-Segmentation via Spatial-Semantic Network Modulation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6977},
}
Figure