Salient Object Detection Combining a Self-attention Module and a Feature Pyramid Network

Guangyu Ren, Tianhong Dai, Panagiotis Barmpoutis, Tania StathakiarXiv 2020

Abstract

Salient object detection has achieved great improvement by using the Fully Convolution Network (FCN). However, the FCN-based U-shape architecture may cause the dilution problem in the high-level semantic information during the up-sample operations in the top-down pathway. Thus, it can weaken the ability of salient object localization and produce degraded boundaries. To this end, in order to overcome this limitation, we propose a novel pyramid self-attention module (PSAM) and the adoption of an independent feature-complementing strategy. In PSAM, self-attention layers are equipped after multi-scale pyramid features to capture richer high-level features and bring larger receptive fields to the model. In addition, a channel-wise attention module is also employed to reduce the redundant features of the FPN and provide refined results. Experimental analysis shows that the proposed PSAM effectively contributes to the whole model so that it outperforms state-of-the-art results over five challenging datasets. Finally, quantitative results show that PSAM generates clear and integral salient maps which can provide further help to other computer vision tasks, such as object detection and semantic segmentation.

Introduction

Salient Object Detection (SOD) aims to identify the most visually distinctive objects in an image, effectively mimicking human visual attention. Modern approaches typically leverage Fully Convolutional Networks (FCNs) with U-shaped or Feature Pyramid Network (FPN) architectures.

However, these architectures suffer from a "feature dilution" problem: high-level semantic information, which is critical for identifying what an object is, progressively weakens as it is upsampled and merged with low-level features in the top-down pathway. This often results in fragmented saliency maps with blurry boundaries. This research proposes a method to preserve high-level semantic context while refining the final output through multi-scale attention mechanisms.

Proposed Method

The proposed architecture enhances a standard FPN (using a ResNet-50 backbone) with two primary modules designed to address feature dilution and redundancy.

Pyramid Self-Attention Module (PSAM)

Located at the transition between the bottom-up and top-down pathways, the PSAM processes the highest-level feature map. It downsamples features into three different scales and applies independent self-attention layers to each. This allows the model to capture dependencies across different receptive fields, relating distant pixels to one another at multiple scales. This "receptive field expander" ensures the model maintains a strong global context, which is crucial for detecting large or complex objects.

The proposed architecture integrates a Pyramid Self-Attention Module (SAM) and Channel-wise Attention Modules (CAM) into a standard FPN framework.

Channel-wise Attention Module (CAM)

Standard FPNs use lateral connections that often carry redundant or noisy information. To mitigate this, a CAM is inserted into each lateral connection. Using a squeeze-and-excitation approach, the CAM weights each channel to emphasize useful features and suppress the "clutter" that leads to false positives, resulting in cleaner object boundaries.

Experimental Results

The model was trained on the DUTS dataset and evaluated across five benchmarks: ECSSD, DUT-OMRON, DUTS-TE, HKU-IS, and SOD.

Quantitative Performance

The proposed PSAM method achieved state-of-the-art results compared to 11 other methods (including PiCANet and AFNet). On the DUTS-TE dataset, it reached an F-score of 0.879 and a Mean Absolute Error (MAE) of 0.040, outperforming the next best method, AFNet (F-score: 0.863).

Qualitative Analysis

Visual comparisons demonstrate that the model is significantly better at "filling in" the interior of salient objects. While baseline FPNs often produce "hollow" or fragmented maps, the PSAM approach produces solid, integral masks with smooth edges that closely match the ground truth.

Qualitative comparison of saliency maps across different models. The proposed method (e) produces more complete and sharper results compared to the baseline (c) and baseline+sa (d).

Conclusion

By combining a multi-scale self-attention module with channel-wise filtering, this architecture effectively addresses the feature dilution problem in FPNs. The resulting saliency maps are more integral and precise, providing a robust foundation for downstream computer vision tasks like semantic segmentation and object detection. Future work may focus on optimizing the computational overhead of the self-attention layers and testing the architecture's efficiency with lighter backbones for real-time applications.

Summary updated

BibTeX
@misc{ren2020salient,
  author = {Guangyu Ren and Tianhong Dai and Panagiotis Barmpoutis and Tania Stathaki},
  title = {{Salient Object Detection Combining a Self-attention Module and a Feature Pyramid Network}},
  year = {2020},
  eprint = {2004.14552},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.14552},
}
Figure