Abstract
Multi Label Generic Cuts (MLGC) is a novel algorithm designed to provide optimal solutions for multi-label Markov Random Field (MRF) problems involving higher-order submodular potentials. By transforming complex multi-label cliques into binary representations and exploiting the sparsity of valid configurations, MLGC achieves optimal inference at speeds significantly faster than previous state-of-the-art approximation methods.
Introduction
Many fundamental computer vision tasks, such as image segmentation and stereo disparity estimation, are formulated as labeling problems. The goal is to find the Maximum A Posteriori (MAP) estimate of an MRF. While efficient "Graph Cut" algorithms have existed for decades for simple binary cases with pairwise interactions, real-world applications often require multi-label systems (e.g., 256 grayscale levels) and higher-order cliques (interactions between groups of pixels).
These problems are generally NP-hard. Although polynomial-time solutions exist for "submodular" energy functions, they are often computationally prohibitive for high-resolution images or require complex reductions to pairwise terms that negate efficiency gains.
Methodology
The MLGC algorithm addresses these challenges through a three-step process:
- Binary Encoding: Each of the $m$ possible labels for a pixel is represented using a sequence of $m$ binary variables. A specific "0s then 1s" encoding is employed to ensure that valid labelings are easily identifiable.
- Higher-Order Transformation: The algorithm transforms an $m$-label, $k$-clique problem into a 2-label (binary), $mk$-clique problem. A key theoretical contribution of this work is the proof that if the original multi-label problem is submodular, the resulting higher-order binary problem also remains submodular.
- Optimized Generic Cuts: Standard algorithms for binary higher-order problems typically scale exponentially ($2^g$) with clique size. MLGC leverages the specific encoding to ignore "infeasible" states, reducing complexity from $O(2^{mk}n^3)$ to $O(m^k n^3)$.
By maintaining the problem in a higher-order format, MLGC avoids the "term explosion" characteristic of previous reduction techniques.
Experimental Results
The authors evaluated MLGC using the Middlebury Sawtooth dataset, a standard benchmark for stereo disparity estimation. They compared its performance against several established frameworks, including Iterated Conditional Modes (ICM), Max Product Inference (MPI), Tree-Reweighted Message Passing (TRWS), and Dual Decomposition (DD).
Key Findings
- Optimality: For submodular potentials, MLGC consistently reached the global optimum, as evidenced by equal primal and dual values.
- Efficiency: MLGC was consistently an order of magnitude faster than TRWS and DD. In one test, MLGC reached a lower energy in approximately 16 seconds, whereas TRWS and DD took 442 and 538 seconds, respectively.
- Visual Quality: The disparity maps produced by MLGC were significantly cleaner and closer to ground truth than those from message-passing or move-making algorithms, even in non-submodular scenarios where MLGC served as a powerful approximation tool.
Conclusion and Future Work
MLGC represents a significant advancement in MRF-MAP inference. While the $m^k$ complexity term still presents a bottleneck for very large cliques or label sets, the algorithm's ability to preserve submodularity and exploit state sparsity makes it highly practical for many vision tasks. Future research will focus on identifying smaller subsets of constraints to further improve speed and exploring hardware acceleration on multi-core architectures.
Summary updated