Interactive Two-Stream Decoder for Accurate and Fast Saliency Detection

Huajun Zhou, Xiaohua Xie, Jian-Huang Lai, Zixuan Chen, Lingxiao YangCVPR 2020 · DOI

TL;DR

This paper introduces an "Interactive Two-Stream Decoder" (ITSD) for saliency detection that leverages both saliency and contour information. By proposing a novel fusion module and an adaptive contour loss, ITSD achieves competitive accuracy with significantly fewer parameters and much faster inference speeds compared to existing state-of-the-art methods.

What Problem Does This Paper Address?

Saliency detection aims to identify the most visually distinctive objects or regions in an image. While recent advancements have significantly improved performance, particularly by incorporating contour information, there's a gap in understanding and exploiting the correlation between saliency and contour maps. Existing methods often treat these as separate cues or use contour information in a limited way. Furthermore, achieving high accuracy often comes at the cost of increased model complexity and slower inference, hindering real-time applications. This paper seeks to bridge this gap by developing a model that effectively fuses saliency and contour information, leading to both high accuracy and efficiency.

Methods

The core of the proposed method is an Interactive Two-Stream Decoder (ITSD). This architecture features two parallel branches: one for learning saliency features and another for learning contour features.

  • Two-Stream Architecture: Each branch processes the input image independently to learn its respective features.
  • Interactive Feature Fusion (FCF-b module): This is a key innovation. Instead of simply concatenating features, the FCF-b module allows for interactive transmission of features between the saliency and contour branches. This encourages the branches to learn complementary information and exploit their correlation. Intermediate supervisions are applied to ensure these transferred features are meaningful.
  • Adaptive Contour Loss (ACT loss): To address the challenge of accurately detecting object boundaries (often considered "hard examples"), the authors propose a novel loss function. This ACT loss uses the predicted contour map itself to adaptively weight pixels, giving more importance to challenging regions. This is an improvement over previous methods that relied on empirical hyperparameters to define hard examples.
  • Feature Encoder: Standard VGG or ResNet backbones are used for feature extraction, with channel pooling layers applied to reduce feature dimensionality and computational cost.

Datasets

The paper evaluates ITSD on six public benchmarks:

  • DUTS (Dataset for Training and Testing Saliency Detection) - used for both training and testing.
  • SOD (Singapore Everyday Objects Dataset)
  • PASCAL-S (PASCAL-Saliency Dataset)
  • ECSSD (Extended Complex Scene Saliency Dataset)
  • HKU-IS (HKU-IS Salient Object Detection Benchmark)
  • DUT-O (DUT-O Saliency Detection Dataset)

Key Insights and Ideas

  • Saliency and Contour are Highly Correlated but Distinct: The paper highlights that while saliency and contour maps are closely related, they differ in how they define foreground and background. This distinctiveness is crucial and can be exploited for better performance.
  • Interactive Fusion is Key: Simply using saliency and contour as separate inputs isn't enough. The interactive nature of the FCF-b module, where features are exchanged and refined between streams, is critical for achieving superior results. This suggests that these cues are not just additive but mutually beneficial.
  • Self-Adaptive Hard Example Mining: The ACT loss is a clever way to automatically identify and focus on difficult-to-segment pixels (near boundaries) without relying on manual hyperparameter tuning. This makes the training process more robust and efficient.
  • Efficiency Through Design: The combination of a lightweight two-stream architecture, channel pooling, and an efficient fusion module leads to a model that is both accurate and remarkably fast, achieving a good balance between performance and computational cost.

Key Results

  • Competitive Accuracy: ITSD achieves state-of-the-art or near state-of-the-art performance on multiple benchmark datasets, often outperforming larger and slower models.
  • Exceptional Speed: The model achieves a fast inference speed of around 50 FPS. This is a significant improvement over many high-performing models that operate at much lower speeds (e.g., 9-10 FPS).
  • Reduced Model Size: The VGG-based ITSD model has only 17.08 million parameters, which is considerably smaller than many comparable VGG-based approaches (e.g., EGNet with 108M parameters).
  • Ablation Studies: Experiments confirm the importance of the contour branch, the interactive fusion module (FCF-b outperforming FCF-a), and the adaptive contour loss (ACT outperforming BCE and CTLoss).

Limitations and Future Work

  • Limitations: The paper acknowledges that while the ACT loss is adaptive, defining "hard examples" near boundaries can still be ambiguous. The paper also notes that the F-score loss struggles with small gradients when accuracy is high, leading to poorer performance in their experiments.
  • Future Work: The authors suggest that their framework can be extended to other pixel-wise prediction tasks. The success of the interactive two-stream approach and the adaptive loss function opens avenues for further research in fusing complementary cues for various computer vision problems.

Summary updated

BibTeX
@inproceedings{zhou2020interactive,
  author = {Huajun Zhou and Xiaohua Xie and Jian-Huang Lai and Zixuan Chen and Lingxiao Yang},
  title = {{Interactive Two-Stream Decoder for Accurate and Fast Saliency Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00916},
}
Figure