Abstract
Recently, unsupervised image segmentation has become increasingly popular. Starting from a superpixel segmentation, an edge-weighted region adjacency graph is constructed. Amongst all segmentations of the graph, the one which best conforms to the given image evidence, as measured by the sum of cut edge weights, is chosen. Since this problem is NP-hard, we propose a new approximate solver based on the move-making paradigm: first, the graph is recursively partitioned into small regions (cut phase). Then, for any two adjacent regions, we consider alternative cuts of these two regions defining possible moves (glue & cut phase). For planar problems, the optimal move can be found, whereas for non-planar problems, efficient approximations exist. We evaluate our algorithm on published and new benchmark datasets, which we make available here. The proposed algorithm finds segmentations that, as measured by a loss function, are as close to the ground-truth as the global optimum found by exact solvers. It does so significantly faster then existing approximate methods, which is important for large-scale problems.
Introduction
In unsupervised image segmentation, researchers often represent an image as a graph where nodes are "superpixels" and edges represent the likelihood that two adjacent superpixels belong to the same object. The goal is to find a multicut: a partitioning of the graph that minimizes the total cost of the edges "cut" between different regions. Mathematically, this is known as the multicut problem or correlation clustering.
While powerful, the multicut problem is NP-hard. Finding the absolute global solution is computationally exhausting for large images and practically impossible for massive 3D volumes, such as those found in neuroscience. Existing approximate solvers often struggle with a trade-off: they are either too slow for large-scale data or they produce low-quality segmentations that get stuck in poor local optima.
The CGC Algorithm
The authors introduce Cut, Glue & Cut (CGC), a two-phase approach based on the "move-making" paradigm. The algorithm is designed to achieve high-quality results by iteratively improving a partition through local changes.
- The Cut Phase (Top-Down): The algorithm starts with the entire graph and recursively splits regions into smaller pieces. It does this by solving a series of "max-cut" sub-problems (weighted 2-coloring). This phase quickly generates a fine-grained initial segmentation.
- The Glue & Cut Phase (Refinement): This is the core refinement step. The algorithm looks at pairs of adjacent regions, "glues" them together into a single temporary region, and then performs a new "cut" to see if a better boundary exists between them (or if they should stay merged).
Key Innovations
- Partition Move Theorem: The authors provide a theoretical guarantee that these local moves will monotonically decrease the global energy function, ensuring the algorithm never makes the segmentation "worse."
- Dirtyness Tracking: To save time, the algorithm tracks which boundaries have been modified. It only re-evaluates "dirty" regions, avoiding redundant calculations and significantly boosting speed.
- Solver Flexibility: For 2D (planar) graphs, they use the optimal Blossom algorithm for sub-problems. For 3D (non-planar) graphs, they swap in efficient approximations like QPBO.
Experimental Evaluation and Results
The authors evaluated CGC on both 2D and 3D benchmarks, including the Berkeley Segmentation Database (BSD300) and a new 3D benchmark derived from large-scale electron microscopy data in computational neuroscience.
Performance and Optimality
- Speed: In 2D experiments, CGC was often 10x to 100x faster than competing approximate methods like "Expand-and-Explore" or "PlanarCC." On some 2D instances, it found solutions in 0.42 seconds that took other solvers 5-6 seconds.
- Optimality: On the Berkeley dataset, CGC found the global optimum (as verified by exact integer linear programming solvers) in many cases. Even when it didn't find the absolute best, the difference in "Variation of Information" (a measure of segmentation quality) was negligible.
- Scalability: For 3D volumes of $400^3$ voxels, CGC produced high-quality results in about 65 seconds, whereas the exact solver took over 12 minutes and other approximations were significantly slower or produced much higher-energy (worse) solutions.
Conclusion
CGC demonstrates that solving the multicut problem locally on pairs of regions is sufficient to reach a solution that is practically as good as the global optimum for image data. By focusing on "dirty" edges and utilizing efficient 2-coloring moves, CGC avoids the stalling seen in other move-making algorithms, making it viable for the massive datasets generated in modern microscopy.
A primary limitation remains the non-planar case (3D segmentation). Because the max-cut sub-problem is itself NP-hard for non-planar graphs, CGC must rely on approximations during its internal steps. Future work will involve developing even better sub-problem solvers for these non-planar cases to further close the gap to optimality in 3D volume processing.
Summary updated