Contour Knowledge Transfer for Salient Object Detection

Xin Li, Fan Yang, Hong Cheng, Wei Liu, Dinggang Shen

Abstract

Salient object detection (SOD) typically relies on extensive pixel-wise manual annotations, which are costly and time-consuming to produce. This paper introduces the Contour-to-Saliency Network (C2S-Net), a novel framework that leverages pre-trained contour detection knowledge to perform SOD without manually annotated saliency masks. By grafting a saliency branch onto a contour network and employing an iterative, alternating training strategy, C2S-Net achieves performance comparable to or exceeding fully supervised models while maintaining high inference speeds of 33 FPS.

Introduction

Salient object detection (SOD) aims to identify and segment the most visually prominent objects in an image. While deep learning has significantly improved SOD performance, the reliance on large-scale, pixel-level annotated datasets remains a major bottleneck. Annotating thousands of images with precise object masks is labor-intensive.

To address this, the authors explore whether knowledge from a related task—contour detection—can be transferred to saliency detection. Since salient objects are typically bounded by well-defined contours, a model trained to detect edges provides a strong spatial prior for identifying object regions. The goal is to "borrow" this structural knowledge to supervise saliency learning without human intervention.

Methodology

The proposed C2S-Net architecture consists of a shared encoder (VGG-16) and two decoder branches: one for contour detection and one for saliency detection. The training process involves three key components:

  1. Grafting and Cross-Domain Connections (CDC): The network is initialized with a pre-trained contour detection model. A saliency branch is then "grafted" onto the encoder. To facilitate knowledge transfer, Cross-Domain Connections (CDC) are established, allowing the saliency branch to incorporate features from the contour branch, thereby improving boundary localization.
  2. Contour-to-Saliency Transfer: In the absence of ground-truth saliency masks, the contour branch generates initial object proposals via Multiscale Combinatorial Grouping (MCG). A selection mechanism identifies the most reliable proposals to serve as "pseudo-labels" for training the saliency branch.
  3. Iterative Alternating Training: The core of the approach is an iterative loop. In the "Contour-to-Saliency" phase, the contour branch provides masks to train the saliency branch. In the "Saliency-to-Contour" phase, the saliency branch provides feedback to the contour branch, encouraging it to focus on object-level boundaries rather than background texture.
The iterative training pipeline of C2S-Net, showing the alternating procedures between contour and saliency branches.

Key Results

C2S-Net was evaluated on five standard benchmarks (ECSSD, PASCAL-S, DUT-OMRON, HKU-IS, and DUTS-TE). Despite the lack of manual saliency labels during training, the model outperforms several fully supervised state-of-the-art methods, such as DSS and Amulet. On the ECSSD dataset, it achieved a weighted F-measure of 0.910 and a Mean Absolute Error (MAE) of 0.054.

Visual comparison of saliency maps generated by C2S-Net (Ours) against other methods and ground truth (GT).

Beyond accuracy, C2S-Net is highly efficient. It achieves an inference speed of 33 FPS (0.03s per image) on a standard GPU, making it suitable for real-time applications. This efficiency stems from the streamlined encoder-decoder design which avoids expensive post-processing steps like DenseCRF, which many competing models require to sharpen their results.

Discussion and Conclusion

The success of C2S-Net demonstrates a powerful symbiosis between edge detection and region segmentation. Contours provide essential spatial priors, while saliency provides the semantic focus needed to distinguish objects from background clutter. The iterative refinement process allows the model to overcome the noise inherent in automatically generated pseudo-labels; as the saliency branch improves, it helps the contour branch clean up its edges, creating a virtuous cycle of improvement.

While the performance is currently tied to the quality of the base contour detector, this framework suggests a promising path for unsupervised or weakly supervised learning in other structural computer vision tasks, such as semantic segmentation or general object detection.

Summary updated

BibTeX
@inproceedings{li2018contour,
  author = {Xin Li and Fan Yang and Hong Cheng and Wei Liu and Dinggang Shen},
  title = {{Contour Knowledge Transfer for Salient Object Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01267-0\_22},
}
Figure