Deep Object Co-segmentation

Weihao Li, Omid Hosseini Jafari, Carsten Rother

TL;DR

This paper introduces a novel deep learning architecture, DOCS, for object co-segmentation, which aims to segment common objects of the same class across a pair of images. Their key innovation is a mutual correlation layer within a Siamese encoder-decoder network that effectively identifies shared object features, leading to state-of-the-art performance on various benchmarks and improved generalization to unseen object classes.

What Problem Does This Paper Address?

Object co-segmentation is the task of identifying and segmenting common objects that appear in multiple images. This is a challenging problem because objects can vary in appearance, scale, pose, and viewpoint, while backgrounds can be significantly different or similar. Existing methods often struggle with these variations, especially when multiple object classes are present or when relying on hand-crafted features and complex post-processing steps like CRF optimization. The paper aims to address these limitations by proposing a more robust and efficient deep learning approach that can handle more general co-segmentation scenarios, including those with multiple object classes.

Methods

The authors propose a Deep Object Co-Segmentation (DOCS) architecture based on a Siamese convolutional neural network (CNN). The network has three main components:

  1. Siamese Encoder: Two identical CNNs with shared weights process each input image independently to extract high-level semantic feature maps. The encoder is based on the VGG16 network, with modifications to preserve spatial information.
  2. Mutual Correlation Layer: This novel layer computes pixel-wise correlations between the feature maps from the two encoders. This step is crucial for identifying shared object features and generating "heat-maps" that highlight common objects, effectively filtering out background noise.
  3. Siamese Decoder: This component takes the concatenated feature maps and the correlation maps as input. It uses a series of deconvolutional and convolutional layers to refine the features and produce the final foreground masks for each input image.

The entire network is trained end-to-end, eliminating the need for external optimization procedures. For group co-segmentation (more than two images), the method pairs images and then uses a median operation on the predicted masks to achieve robustness.

Datasets

  • PASCAL Dataset: The authors created a new co-segmentation dataset by adapting the PASCAL dataset. They discarded object class labels and instead focused on labeling common objects as foreground, allowing for co-segmentation of multiple object classes within a pair. This dataset was used for training and validation.
  • MSCR Dataset: Used for evaluation, this dataset is a subset of the original MSCR dataset, previously used for semantic segmentation and co-segmentation.
  • Internet Dataset: A challenging dataset with thousands of images from the internet, used to evaluate performance on three object classes (car, horse, airplane).
  • iCoseg Dataset: Used to evaluate the model's generalization ability on unseen object classes (classes not present in the training data).

Key Insights and Ideas

  • Mutual Correlation for Object Focus: The core insight is that by correlating semantic features between image pairs, one can effectively highlight common objects and suppress background variations. This is a more direct and powerful way to achieve co-segmentation compared to methods relying solely on feature similarity or explicit background modeling.
  • End-to-End CNN for Co-Segmentation: The paper demonstrates that a pure CNN architecture, without hand-crafted features or separate optimization steps, can achieve state-of-the-art performance in object co-segmentation. This simplifies the pipeline and potentially improves efficiency.
  • Generalization to Unseen Classes: The DOCS method shows strong performance on unseen object classes, indicating that the learned features are generalizable and not overly specific to the training categories.
  • Dataset Creation for Multi-Class Co-Segmentation: The creation of a PASCAL-based dataset that allows for co-segmentation of multiple object classes is a valuable contribution, addressing a limitation of previous datasets that often assumed a single object class per image pair.

Key Results

  • State-of-the-Art Performance: The DOCS approach achieved state-of-the-art results on the MSCR, Internet, and their newly created PASCAL co-segmentation datasets, outperforming previous methods in terms of Precision and Jaccard indices.
  • Strong Generalization: On the iCoseg dataset (unseen classes), the method performed best on 5 out of 8 object groups and achieved a superior average Jaccard score.
  • Efficiency: The method is significantly faster than many existing approaches, with a linear time complexity of O(N) for group co-segmentation (where N is the number of images).
  • Impact of Mutual Correlation: An ablation study showed that the mutual correlation layer significantly improved performance across all tested datasets.

Limitations and Future Work

  • Dataset Size for Training: The paper notes that training a CNN requires a lot of data, and existing co-segmentation datasets were often too small or limited in object classes. The creation of their PASCAL-based dataset addresses this, but further expansion could be beneficial.
  • Group Co-Segmentation Strategy: While the median operation for group co-segmentation is robust to outliers, future work could explore more sophisticated aggregation strategies.
  • Exploiting Pair Generation: The authors suggest that generating image pairs could be viewed as a form of data augmentation and propose exploring this further in future work.
  • Comparison with FCN8s: While DOCS outperformed FCN8s on their PASCAL dataset, the paper notes that FCN8s is designed for semantic labeling, whereas DOCS is specifically for co-segmentation. This highlights the specialized nature of their architecture.

Summary updated

BibTeX
@inproceedings{li2018deep,
  author = {Weihao Li and Omid Hosseini Jafari and Carsten Rother},
  title = {{Deep Object Co-segmentation}},
  booktitle = {Accv},
  year = {2018},
  doi = {10.1007/978-3-030-20893-6\_40},
}
Figure