Weakly-Supervised Dual Clustering for Image Semantic Segmentation

Yang Liu, Jing Liu, Zechao Li, Jinhui Tang, Hanqing Lu

Introduction: The Challenge of Weak Supervision

Semantic segmentation—the task of assigning a category label to every pixel in an image—traditionally requires massive amounts of manually annotated data where every object boundary is traced by hand. This process is incredibly time-consuming and scales poorly for large-scale applications.

Conversely, the internet is rich with images containing "weak" labels: tags like "dog," "grass," or "sky" that indicate what is in the image but not where it is. This paper addresses the challenge of Weakly-Supervised Semantic Segmentation: building a model that learns to segment objects accurately using only these high-level image tags.

The WSDC Framework

The authors propose Weakly-Supervised Dual Clustering (WSDC), a framework that balances two complementary perspectives to "ground" abstract tags into specific image regions:

  1. Spectral Clustering (Bottom-Up): This assumes that visually similar superpixels (small, coherent groups of pixels) across different images should likely share the same label. It builds a graph of superpixels and groups them based on visual features.
  2. Discriminative Clustering (Top-Down): This learns a linear mapping between visual features and labels. It utilizes $l_{2,1}$-norm regularization to perform automatic feature selection, identifying which visual traits (like color or texture) are most useful for distinguishing specific classes.
Overview of the Weakly-Supervised Dual Clustering (WSDC) pipeline, showing the integration of spectral and discriminative clustering with weak supervision.

The "Dual" Connection: The model forces these two clustering outputs to be consistent. If spectral clustering suggests two regions are the same, the discriminative model should assign them the same label. Weakly-supervised constraints are baked directly into the optimization: if an image is tagged with "bird," at least one superpixel must be labeled "bird"; if "car" is not a tag, no superpixel in that image can be labeled "car."

Experimental Setup

The researchers evaluated their approach on two standard computer vision benchmarks:

  • MSRC: 591 images with 21 object classes, a classic dataset for testing segmentation robustness.
  • LabelMe: A more challenging dataset containing 2,688 images across 33 classes, featuring complex scenes and varied object scales.

Discussion: Key Insights

  • Consistency is Key: Neither visual similarity nor label-matching is sufficient on its own. By forcing them to agree, the model filters out noise—visual similarities that are irrelevant to the labels and labels that don't match the visual evidence.
  • Feature Selection Matters: Not all visual data is useful. The $l_{2,1}$-norm allows the model to ignore "noisy" features that might confuse the classifier, focusing only on the most discriminative characteristics for each class.
  • Holistic Optimization: Instead of a multi-step pipeline (segment first, then label), WSDC treats segmentation and labeling as a joint problem that promotes mutual improvement.

Performance Evaluation

On the MSRC dataset, WSDC achieved a total accuracy of 71%, outperforming contemporary weakly-supervised methods like MIM (67%) and RLSIM (69%).

Comparison of per-class accuracy between WSDC and other methods (MIM, LAS, MTL-RF) on the MSRC dataset.

The model proved particularly effective at distinguishing between easily confused classes, such as "dog" and "cat," thanks to the guidance of the weakly-supervised constraints. On the tougher LabelMe dataset, the method achieved a 26% average per-class accuracy, which was comparable to some fully-supervised methods of that era despite using significantly "cheaper" training data.

Conclusion: Limitations and Future Work

While effective, the method relies on an initial over-segmentation (SLIC superpixels). If these fail to capture an object's boundary correctly at the start, the final segmentation will be flawed. Additionally, the iterative optimization and graph construction can be computationally expensive as datasets scale. Future work may involve making the model more robust to "long-tail" distributions where some tags appear much less frequently than others.

Summary updated

BibTeX
@inproceedings{liu2013weakly,
  author = {Yang Liu and Jing Liu and Zechao Li and Jinhui Tang and Hanqing Lu},
  title = {{Weakly-Supervised Dual Clustering for Image Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2013},
  doi = {10.1109/cvpr.2013.270},
}
Figure