Dominant Sets for "Constrained" Image Segmentation

Eyasu Zemene, Leulseged Tesfaye Alemu, Marcello PelilloARCA 2017 · DOI

Abstract

Image segmentation remains a fundamental challenge in computer vision. While traditional methods are purely bottom-up, modern applications often require "constrained" segmentation, where the process is guided by external information like user interactions (interactive segmentation) or shared objects across multiple images (co-segmentation). This paper proposes a unified approach based on the graph-theoretic concept of dominant sets. By formulating segmentation as a quadratic optimization problem, we demonstrate that controlling a regularization parameter allows for the extraction of clusters constrained to specific elements. Our algorithm naturally handles various input modalities—including scribbles, sloppy contours, and bounding boxes—and exhibits remarkable robustness to noisy user annotations. Experiments on standard benchmarks show that our approach outperforms state-of-the-art algorithms across a variety of natural images.

Introduction

Traditional image segmentation typically relies on low-level image features to partition regions without external guidance. However, the field has shifted toward more practical, constrained versions:

  1. Interactive Segmentation: Where users provide hints (e.g., scribbles or bounding boxes) to isolate an object.
  2. Co-segmentation: Where the goal is to identify and segment common objects across a set of related images.

A recurring issue in these fields is sensitivity to input quality. Most algorithms require precise user input and fail when faced with "sloppy" annotations. This research introduces a mathematically principled framework that treats these different tasks as a single optimization problem, providing a robust solution that thrives even with imperfect constraints.

The Dominant Set Framework

The core of our approach lies in Dominant Sets, a generalization of "maximal cliques" for edge-weighted graphs. In our model, an image is represented as a graph where nodes are superpixels and edge weights represent their similarity.

Constrained Dominant Sets (CDS)

To incorporate user constraints, we introduce a regularization parameter ($\alpha$). By adjusting the diagonal of the graph's affinity matrix for elements outside the user-defined constraint set, we effectively "magnetize" the optimization process. This forces the resulting dominant set to form around the user-provided seeds.

Optimization via Game Dynamics

We solve this quadratic optimization problem using Replicator Dynamics from evolutionary game theory. This process simulates a "survival of the fittest" scenario among pixels; those that do not align with the coherent dominant group are driven to "extinction" (zero weight), leaving behind a clean, segmented object.

The algorithm demonstrates high robustness, producing consistent results regardless of whether the user provides a tight bounding box, a loose one, or even scribbles containing errors.

Key Insights: Robustness and Unified Logic

The most significant advantage of this framework is its robustness to sloppy input. Because the algorithm prioritizes internal coherence, it can effectively ignore user errors. If a user accidentally marks a background pixel as foreground, the optimization process will likely find that the pixel lacks similarity with the rest of the dominant set and exclude it naturally.

Furthermore, the paper demonstrates that interactive segmentation and co-segmentation are mathematically identical under this framework. Whether the "constraint" is a user's scribble on one image or a shared feature across five images, the underlying logic of finding a constrained dominant set remains the same.

Experimental Results

The proposed method was evaluated against several standard benchmarks, including the GrabCut and MSRC datasets.

  • Interactive Accuracy: On the GrabCut dataset, our method achieved a 2.72% error rate, significantly better than standard Graph Cuts (6.7%) and Constrained Random Walker (4.1%).
  • Handling Loose Constraints: While traditional methods like GrabCut degrade rapidly when a bounding box is too loose, our method remained stable. Even with a box 600% larger than the target object, the error rate stayed low (~4.9% compared to GrabCut's 13.7%).
  • Co-segmentation Performance: The algorithm achieved the highest F-measure on the MSRC dataset, proving its effectiveness in identifying common objects across diverse image sets without manual intervention.
Co-segmentation results showing the algorithm's ability to identify and extract common objects (like polar bears or specific flowers) across multiple different images.

Conclusion

By leveraging the properties of dominant sets and quadratic optimization, we have developed a unified, robust framework for constrained image segmentation. Our approach simplifies the integration of various user inputs and provides a level of noise tolerance that surpasses existing state-of-the-art techniques. Future work will focus on optimizing the computational complexity of the replicator dynamics and refining the self-tuning of scale parameters to further enhance performance on high-resolution data.

Summary updated

BibTeX
@inproceedings{zemene2017dominant,
  author = {Eyasu Zemene and Leulseged Tesfaye Alemu and Marcello Pelillo},
  title = {{Dominant Sets for "Constrained" Image Segmentation}},
  booktitle = {ARCA},
  year = {2017},
  doi = {10.1109/tpami.2018.2858243},
}
Figure