Free Lunch for Co-Saliency Detection: Context Adjustment

Lingdong Kong, Prakhar Ganesh, Tan Wang, Junhao Liu, Yao Chen, Le ZhangarXiv 2021

Abstract

Co-saliency detection (Co-SOD) aims to segment common objects across image groups but suffers from a significant distribution gap between simple training data and complex real-world scenarios. This paper introduces a "free lunch" approach using a novel Group-Cut-Paste (GCP) augmentation strategy to synthesize the Context Adjustment Training (CAT) dataset. By simulating complex contexts and breaking spurious correlations, the method enables counterfactual training that reduces model bias. Experimental results show performance gains of up to 25% across various state-of-the-art architectures, proving that smarter data utilization can substitute for expensive manual labeling.

The Distribution Gap in Co-Saliency

Co-saliency detection (Co-SOD) is the task of identifying and segmenting common objects across a group of related images. While humans perform this task intuitively, AI models often struggle due to a massive "distribution gap." High-quality, pixel-level labels for co-saliency are incredibly expensive to produce. To mitigate costs, researchers typically train models on "simple" datasets (like DUTS or MS-COCO) where images often contain only a single, centered object.

However, real-world evaluation benchmarks (like CoSOD3k) are "complex," featuring multiple objects and cluttered backgrounds. Because the training data is too simplistic, models learn spurious correlations—for example, assuming that any object in the center of an image is salient. When faced with multiple objects or complex backgrounds, these biased models fail to identify the true co-salient signal.

Methodology: Context Adjustment and CAT

The authors propose addressing these biases through Counterfactual Training via Context Adjustment. The goal is to force the model to answer: "What would this image look like if the context changed, but the co-salient object remained?"

To implement this without manual labor, they developed the Group-Cut-Paste (GCP) procedure:

  1. Group: Use a pre-trained classifier to organize existing images into semantic groups (e.g., all images containing "bananas").
  2. Cut: Extract high-quality object "patches" from these images using existing masks.
  3. Paste: Randomly paste these objects into other images within the same semantic group.
Comparison between biased training (Observation) and counterfactual training (Imagination) via context adjustment.

This approach creates the Context Adjustment Training (CAT) dataset. CAT consists of 33,500 images—four times larger than previous co-saliency training sets—organized into a dense hierarchy of 280 subclasses. This diversity prevents the model from relying on generic blobs and encourages the identification of fine-grained shared features.

Key Insights and Results

The paper frames the problem using causal inference. By intervening on the "context" (the background and surrounding objects), the researchers break the statistical link between the background and the target object. This forces the model to learn the true "causal" features of saliency rather than over-fitting to biased training samples.

The results were remarkably consistent across five different state-of-the-art model architectures (PoolNet, EGNet, ICNet, GICD, and GCoNet):

  • Quantitative Boost: Training on CAT improved performance across all metrics (MAE, F-measure, E-measure, and S-measure) by 5% to 25%.
  • Model Agnostic: The "CAT effect" worked regardless of the underlying neural network architecture, proving the dataset's value as a general-purpose training resource.
  • Qualitative Improvement: Models trained on CAT were significantly better at ignoring distracting objects and produced much sharper, more accurate boundaries for target objects.

Conclusion and Future Work

The CAT dataset demonstrates a "free lunch" for the vision community: performance can be significantly boosted by rearranging existing pixels to simulate real-world complexity. While the current approach yields high-quality masks, models still struggle with extremely fine details (like insect antennae) due to backbone and resolution limitations. Future research will focus on applying GCP to larger-scale "in-the-wild" collections and integrating modern Transformer-based backbones to better capture the intricate details enabled by the CAT dataset.

Summary updated

Abstract

We unveil a long-standing problem in the prevailing co-saliency detection systems: there is indeed inconsistency between training and testing. Constructing a high-quality co-saliency detection dataset involves time-consuming and labor-intensive pixel-level labeling, which has forced most recent works to rely instead on semantic segmentation or saliency detection datasets for training. However, the lack of proper co-saliency and the absence of multiple foreground objects in these datasets can lead to spurious variations and inherent biases learned by models. To tackle this, we introduce the idea of counterfactual training through context adjustment and propose a "cost-free" group-cut-paste (GCP) procedure to leverage off-the-shelf images and synthesize new samples. Following GCP, we collect a novel dataset called Context Adjustment Training (CAT). CAT consists of 33,500 images, which is four times larger than the current co-saliency detection datasets. All samples are automatically annotated with high-quality mask annotations, object categories, and edge maps. Extensive experiments on recent benchmarks are conducted, show that CAT can improve various state-of-the-art models by a large margin (5% ~ 25%). We hope that the scale, diversity, and quality of our dataset can benefit researchers in this area and beyond. Our dataset will be publicly accessible through our project page.
BibTeX
@misc{kong2021free,
  author = {Lingdong Kong and Prakhar Ganesh and Tan Wang and Junhao Liu and Yao Chen and Le Zhang},
  title = {{Free Lunch for Co-Saliency Detection: Context Adjustment}},
  year = {2021},
  eprint = {2108.02093},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.02093},
}
Figure