NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

S4Net: Single Stage Salient-Instance Segmentation

Ruochen Fan, Qibin Hou, Ming-Ming Cheng, Tai-Jiang Mu, Shi-Min Hu

Introduction

Salient object detection and instance segmentation are two fundamental tasks in computer vision. While the former identifies the most visually prominent regions in an image, the latter aims to delineate individual objects of predefined categories. S4Net bridges these domains by focusing on salient instance segmentation: the task of identifying and masking individual "interesting" objects regardless of their semantic class.

Problem Definition

Traditional instance segmentation models, such as Mask R-CNN, are typically category-aware. They rely on being trained on specific labels (e.g., "chair", "dog"). In contrast, standard saliency detection often fails to distinguish between individual instances, often merging adjacent objects into a single mask. S4Net addresses the need for a category-agnostic approach that can separate overlapping or grouped salient objects.

S4Net identifies and segments individual salient instances across diverse categories, including people and animals.

Methodology: RoIMasking

The core of S4Net is a single-stage architecture utilizing a ResNet-50 backbone and a Feature Pyramid Network (FPN). The primary innovation is the RoIMasking layer, which improves upon standard RoIAlign by incorporating local context.

The Importance of Context

Standard RoI operations focus exclusively on the features within a proposed bounding box. S4Net posits that the immediate background is essential for defining precise object boundaries.

Ternary RoIMasking and ReLU Exploitation

The RoIMasking layer applies a ternary mask to the feature maps:

  1. Object Region: Features inside the proposal remain positive.
  2. Surrounding Context: Features in the immediate vicinity have their signs flipped (multiplied by -1).
  3. Background: Features outside the context area are zeroed out.

By leveraging the Rectified Linear Unit (ReLU) activation function, which suppresses negative values, the network effectively treats the flipped context features as a strong "background" signal. This contrastive approach forces the segmentation branch to produce significantly sharper boundaries.

Evaluation and Results

S4Net was evaluated on the Salient Instance Dataset and PASCAL VOC 2012.

Performance and Speed

The model achieves state-of-the-art results while maintaining real-time performance. On a GTX 1080 Ti, S4Net processes 320x320 images at 40 FPS. With a lighter MobileNet backbone, it exceeds 90 FPS.

Accuracy

On the salient instance benchmark, S4Net demonstrated a substantial improvement over previous methods like MSRNet, raising the [email protected] from 65.3% to 86.7%. This 21-point jump highlights the effectiveness of the RoIMasking strategy.

Qualitative result showing the precise segmentation of a salient instance (llama) from a complex background.

Conclusion

S4Net provides a robust, real-time solution for salient instance segmentation. By treating surrounding context as a "contrast agent" through the RoIMasking layer, it achieves high-quality, category-agnostic masks. This flexibility makes it a powerful tool for applications ranging from image editing to autonomous robotic perception.

Summary updated

BibTeX
@inproceedings{fan2019s,
  author = {Ruochen Fan and Qibin Hou and Ming-Ming Cheng and Tai-Jiang Mu and Shi-Min Hu},
  title = {{S4Net: Single Stage Salient-Instance Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00626},
}
Figure