Self-supervised Co-salient Object Detection via Feature Correspondences at Multiple Scales

Souradeep Chakraborty, Dimitris Samaras

Abstract

Co-Salient Object Detection (CoSOD) aims to identify and segment common objects across a group of images. Traditional supervised approaches require extensive pixel-level annotations, while existing unsupervised methods often struggle with semantic consistency or computational efficiency. We present SCoSPARC, a lightweight, two-stage self-supervised framework that leverages feature correspondences at both local patch and global region scales. SCoSPARC achieves state-of-the-art performance among unsupervised methods, outperforming several fully supervised models on standard benchmarks while maintaining a high inference speed of 20.5 FPS.

Introduction

Co-Salient Object Detection (CoSOD) acts as a visual "common denominator" search. Given a set of images—for example, various photos containing handbags—the task is to segment the specific object category that appears in every image.

Historically, this task has relied on massive datasets with manual pixel-level annotations. Unsupervised alternatives have emerged but typically fall into two categories: "local-only" methods that fail to capture the semantic wholeness of objects, and "heavyweight" frameworks that rely on massive, slow models like Segment Anything (SAM). SCoSPARC bridges this gap by providing a high-performing, lightweight solution that captures both local details and global semantic consensus.

Methods: The SCoSPARC Framework

SCoSPARC (Self-supervised Co-Salient object detection via feature correspondences at multiple scales) operates in two distinct stages to ensure both precision and semantic accuracy.

The SCoSPARC architecture consists of two stages: patch-level feature correspondence and region-level refinement.

Stage 1: Patch-level Correspondences

The model utilizes a Vision Transformer (ViT) backbone pre-trained with DINO. It computes cross-attention maps to highlight regions appearing across multiple images. Training is guided by two self-supervised losses:

  • Co-occurrence Loss: Ensures detected foreground regions across different images have similar feature representations.
  • Saliency Loss: Leverages the ViT’s internal self-attention maps as a "free" signal to ensure detected regions are salient within their respective images.

A key innovation in this stage is Confidence-based Adaptive Thresholding (CAT). Instead of a static threshold, CAT dynamically adjusts the threshold based on prediction confidence, allowing the model to reduce noise in low-confidence heatmaps while preserving detail in high-confidence ones.

Stage 2: Region-level Refinement

To filter out "distractor" objects that might be salient in one image but are not common to the group, the model performs a global check. It identifies connected components (blobs) from Stage 1 and compares their features against an average foreground feature for the entire group. Regions that do not match this global consensus are discarded.

Experimental Results

The model was evaluated on three standard benchmarks: CoCA (complex backgrounds), Cosal2015, and CoSOD3k.

Qualitative comparison showing how the local+global approach (Ours) effectively filters out distractors compared to local-only methods.

Performance and Efficiency

  • State-of-the-Art: On the challenging CoCA dataset, SCoSPARC achieved a 13.7% gain in F-measure over the previous best unsupervised model.
  • Competitive with Supervised Models: SCoSPARC outperformed several recent fully supervised models, including a 4.6% F-measure gain on CoCA.
  • Real-time Ready: The framework is highly efficient, operating at 20.5 FPS with only 1.77M trainable parameters. This makes it significantly more compact than "heavyweight" unsupervised competitors.

Discussion and Conclusion

The success of SCoSPARC highlights the importance of multi-scale feature correspondences. While local patches identify potential candidates, global region-level refinement is crucial for confirming semantic category membership. Furthermore, the work demonstrates that self-supervised backbones like DINO contain inherent saliency information that can be effectively harnessed without additional supervision.

Despite its strengths, SCoSPARC occasionally struggles with complex optical properties, such as reflections on car windows, which can lead to the inclusion of background elements. Future research may involve integrating generative models like Stable Diffusion to produce even more refined pseudo-labels, further narrowing the gap between self-supervised and human-annotated performance.

Summary updated

BibTeX
@inproceedings{chakraborty2024self,
  author = {Souradeep Chakraborty and Dimitris Samaras},
  title = {{Self-supervised Co-salient Object Detection via Feature Correspondences at Multiple Scales}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72673-6\_13},
}
Figure