Abstract
Interactive image segmentation is a critical task in computer vision, requiring efficient integration of human guidance. This paper introduces a unified framework based on Constrained Dominant Sets, a graph-theoretic generalization of maximal cliques. By formulating the segmentation task as a constrained quadratic optimization problem, the proposed method naturally accommodates diverse and potentially noisy user inputs, including scribbles and bounding boxes. Evaluations on the GrabCut and Berkeley datasets show that this approach outperforms existing state-of-the-art methods in both precision and robustness to imperfect annotations.
Introduction
Interactive image segmentation relies on a human-in-the-loop to guide algorithms toward specific objects of interest. However, most traditional tools are "modality-locked": an algorithm optimized for scribbles often fails when provided with a bounding box, and vice versa. Furthermore, human input is frequently imperfect; "noisy" annotations, such as scribbles that cross into the background or overly loose bounding boxes, often lead to segmentation failure.
This paper addresses these challenges by proposing a mathematically principled framework that bridges different input styles into a single, noise-tolerant system. The core of the approach is the use of Constrained Dominant Sets to identify coherent clusters in an image graph that are forced to include user-specified "seed" points.
Methodology: Dominant Sets as Clusters
The authors represent an image as an edge-weighted graph where nodes correspond to superpixels—small, perceptually coherent groups of pixels—and edges represent the similarity (affinity) between them.
The Dominant Set Framework
A "dominant set" is a graph-theoretic definition of a cluster that captures two essential properties: internal coherence (nodes within the set are highly similar) and external incoherence (nodes within the set are highly dissimilar to those outside it).
In the context of weighted graphs, finding a dominant set is equivalent to solving a quadratic optimization problem. To make this process interactive, the authors introduce a constraint mechanism. They modify the standard optimization by adding a regularization parameter, $\alpha$, to the diagonal of the affinity matrix for all nodes not selected by the user. By setting $\alpha$ above a specific theoretical bound, the algorithm is mathematically "forced" to find a cluster that contains the user's seeds.
Optimization via Replicator Dynamics
To solve this constrained optimization, the framework employs "replicator dynamics" from evolutionary game theory. This iterative process effectively finds the "support" of the dominant set—the specific group of superpixels that constitute the foreground object—starting from the user's initial constraints.
Unified Input and Noise Robustness
One of the primary advantages of the Constrained Dominant Set (CDS) framework is its flexibility. Because the constraint is applied at the graph level, the mathematical treatment remains identical regardless of whether the user provides a point, a line, or a box.
Handling Imperfect Annotations
Traditional methods like GrabCut are notoriously sensitive to the precision of the bounding box or scribble. In contrast, the CDS framework demonstrates remarkable resilience to "sloppy" input:
- Scribble Errors: When foreground scribbles intentionally bleed into the background, the dominant set framework acts as a filter, identifying the most coherent cluster and ignoring the noisy outliers.
- Loose Bounding Boxes: For bounding box inputs, the algorithm treats the box boundary as the background constraint and extracts the complement. Experiments show that CDS remains stable even when bounding boxes are expanded to 600% of the object's size, a scenario where traditional methods' error rates typically double.
Key Results
The researchers evaluated CDS on the GrabCut and Berkeley Segmentation Datasets, yielding significant improvements over baseline methods:
- Accuracy: On the GrabCut dataset, CDS achieved an error rate of 2.72%, outperforming standard Graph Cuts (6.7%) and Random Walker (5.4%).
- Overlap: On the Berkeley dataset, the method achieved a Jaccard Index of 93-95, surpassing the previous state-of-the-art MILCut (84).
- Efficiency: While the affinity matrix calculation is $O(N^2)$, the use of superpixels and efficient dynamics allows for convergence in approximately 4 seconds on standard hardware.
Conclusion
The Constrained Dominant Set framework provides a robust, unified solution for interactive image segmentation. By leveraging the inherent clustering properties of dominant sets and a clever diagonal regularization, the method overcomes the limitations of modality-specific and noise-sensitive algorithms. Future work may extend these constraints to video segmentation or content-based image retrieval.
Summary updated