CVLGJun 25, 2025

Weakly Supervised Object Segmentation by Background Conditional Divergence

arXiv:2506.22505v2h-index: 1Has CodeTrans. Mach. Learn. Res.
Originality Incremental advance
AI Analysis

This work addresses the problem of expensive pixel-wise annotation for object segmentation in domains like sonar and remote sensing, offering a more efficient weakly supervised approach, though it is incremental as it builds on existing unsupervised methods.

The paper tackles the challenge of object segmentation in specialized image domains with limited labeled data by proposing a weakly supervised method using only image-level presence/absence labels, achieving success on sonar images and reasonable performance on natural images without relying on pretrained or generative networks.

As a computer vision task, automatic object segmentation remains challenging in specialized image domains without massive labeled data, such as synthetic aperture sonar images, remote sensing, biomedical imaging, etc. In any domain, obtaining pixel-wise segmentation masks is expensive. In this work, we propose a method for training a masking network to perform binary object segmentation using weak supervision in the form of image-wise presence or absence of an object of interest, which provides less information but may be obtained more quickly from manual or automatic labeling. A key step in our method is that the segmented objects can be placed into background-only images to create realistic images of the objects with counterfactual backgrounds. To create a contrast between the original and counterfactual background images, we propose to first cluster the background-only images and then, during learning, create counterfactual images that blend objects segmented from their original source backgrounds to backgrounds chosen from a targeted cluster. One term in the training loss is the divergence between these counterfactual images and the real object images with backgrounds of the target cluster. The other term is a supervised loss for background-only images. While an adversarial critic could provide the divergence, we use sample-based divergences. We conduct experiments on side-scan and synthetic aperture sonar in which our approach succeeds compared to previous unsupervised segmentation baselines that were only tested on natural images. Furthermore, to show generality we extend our experiments to natural images, obtaining reasonable performance with our method that avoids pretrained networks, generative networks, and adversarial critics. The code for this work can be found at \href{GitHub}{https://github.com/bakerhassan/WSOS}.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes