Troy: Give Attention to Saliency and for Saliency

Huchuan Lu, Ieee FellowarXiv 2018

TL;DR

This paper introduces "Troy," a novel self-gated soft-attention mechanism for saliency detection that mimics human visual attention to improve the segmentation of salient objects in complex images. By integrating large-context pooling and a unique structural loss, Troy achieves state-of-the-art performance on multiple benchmarks, outperforming existing methods.

What Problem Does This Paper Address?

Saliency detection, the task of identifying and segmenting the most visually prominent objects or regions in an image, is a fundamental problem in computer vision with applications ranging from image retrieval to semantic segmentation. While deep learning, particularly Fully Convolutional Networks (FCNs), has significantly advanced this field, segmenting salient objects in complex scenes remains challenging. Existing FCN-based methods often struggle with preserving fine details and accurate object boundaries due to downsampling operations (like strided convolutions and pooling) that discard spatial information. Furthermore, the lack of structural supervision can lead to imprecise saliency maps. This paper aims to address these limitations by proposing an attention mechanism that better captures contextual information and structural properties of salient objects.

Methods

The core contribution of this paper is the Troy (though the paper itself doesn't use this name, it's implied by the title and the GANet architecture) framework, which incorporates a novel self-gated soft-attention module into an FCN backbone. This module is designed to be easily integrated into existing FCN architectures with minimal computational overhead.

Key components of the method include:

  • Self-Gated Soft-Attention Module: This module consists of two main branches:
  • Feature Extraction Branch: This branch performs multi-level feature extraction, adaptable to various FCN backbones.
  • Attention Generation Branch: This branch learns attention maps that highlight relevant features for saliency prediction. It uses a context-aware unit that employs large-context pooling (specifically, dilation grid pooling) to aggregate information from larger receptive fields. This unit is followed by a soft-attention generator that produces channel-wise attention masks.
  • Large-Context Pooling: This technique, inspired by dilated convolutions, allows the model to capture broader contextual information by pooling features from patches with dilated strides. This helps in understanding the surrounding environment of potential salient objects.
  • Structural Loss Function: To address the issue of imprecise boundaries and class imbalance in saliency detection, the authors propose a novel loss function that combines a weighted binary cross-entropy loss (pixel-based) with a Dice loss (shape-based). The weighted cross-entropy loss accounts for class imbalance and emphasizes object boundaries, while the Dice loss focuses on shape similarity.

Datasets

The paper evaluates its method on seven public saliency datasets:

  • DUT-OMRON: Contains 5,168 high-quality natural images with complex backgrounds.
  • DUTS-TE: The test set of the DUTS benchmark, with 5,019 high-quality images and pixel-wise annotations.
  • ECSSD: 1,000 natural images with semantically meaningful and complex structures.
  • HKU-IS-TE: 1,447 images with pixel-wise annotations, featuring disconnected objects or objects touching image boundaries.
  • PASCAL-S: 850 natural images with segmentation-based masks.
  • SED1 & SED2: Two subsets, each with 100 images, containing either one or two salient objects, respectively.
  • SOD: 300 images, often containing multiple objects with low contrast or touching boundaries.

For training, the authors utilize the MSRA10K dataset, augmented with random cropping and mirror reflection to create 120,000 training images.

Key Insights and Ideas

  • Human-like Attention is Crucial: The paper strongly argues that mimicking human visual attention mechanisms is key to improving saliency inference, especially in complex scenes where context is vital.
  • Large-Context Pooling for Richer Features: By incorporating large-context pooling, the model can gather more comprehensive contextual information, which is essential for accurately identifying salient objects that might be defined by their surroundings.
  • Structural Loss for Better Boundaries: The combination of pixel-wise and shape-based losses effectively addresses both class imbalance and the need for precise object boundaries, leading to more accurate saliency maps.
  • Modularity and Generality: The proposed self-gated soft-attention module is designed to be easily integrated into any existing FCN architecture, making it a versatile tool for improving various computer vision tasks.

Key Results

The proposed method, referred to as GANet (Gated Attention Network), achieves state-of-the-art performance on seven public saliency benchmarks.

  • Quantitative Performance: The paper reports significant improvements across multiple metrics, including F-measure, MAE, and S-measure. For instance, on the DUTS-TE dataset, the method achieves approximately a 2% leap in F-measure and a 4% improvement in S-measure compared to other leading methods, without relying on CRF post-processing or segmentation pre-training.
  • Qualitative Performance: Visual examples demonstrate that the method excels in challenging scenarios, such as images with low contrast or complex structures, where it successfully highlights salient objects with sharper edges and preserved structures, outperforming several other state-of-the-art methods.
  • Efficiency: The model achieves a processing speed of approximately 12.2 fps during testing, indicating a good balance between performance and computational efficiency.

Limitations and Future Work

  • Limitations: The paper notes that while their method is superior on most datasets, it is slightly inferior to DSS on the DUT-OMRON dataset, though still highly competitive. The authors also acknowledge that the complexity of some attention mechanisms in prior works made them less effective or prone to overfitting.
  • Future Work: The authors express their intention to explore more challenging pixel-wise classification tasks, such as semantic segmentation, in the future. They believe their attention framework can be extended to improve performance in these related areas.

Summary updated

BibTeX
@misc{fellow2018troy,
  author = {Huchuan Lu, IEEE FELLOW},
  title = {{Troy: Give Attention to Saliency and for Saliency}},
  year = {2018},
  eprint = {1808.02373},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.02373},
}
Figure