Min Norm Point Algorithm for Higher Order MRF-MAP Inference
Introduction
Markov Random Field (MRF) Maximum A Posteriori (MAP) inference is a cornerstone of computer vision, underpinning tasks from image segmentation to stereo matching. While pairwise models are well-understood, they often fail to capture the complex spatial dependencies of real-world scenes. Higher-order models offer a solution by considering groups of pixels (cliques), but they have historically faced a "scalability wall." Existing solvers for "Sum of Submodular" (SoS) functions—the standard mathematical framework for these problems—typically struggle with cliques larger than 16 pixels due to exponential complexity.
This paper introduces SoS-MinNorm, an algorithm that breaks this barrier. By leveraging the mathematical "Min Norm Point" algorithm, the authors enable optimal inference for cliques containing hundreds of pixels, representing a significant leap in the practical application of higher-order MRFs.
Methodology: The SoS-MinNorm Approach
The core innovation of SoS-MinNorm lies in reframing submodular minimization as a minimum-norm problem. The algorithm combines several key optimization strategies:
- Wolfe’s Min Norm Point Algorithm: The authors utilize the equivalence between minimizing a submodular function and finding the minimum norm point in its base polyhedron.
- Decomposition and Block Coordinate Descent: Rather than solving the entire image's energy function at once, the algorithm treats it as a sum of clique-level functions. It iterates through cliques, optimizing each while keeping others fixed.
- Inner-Loop Efficiency: Within each clique, Edmond’s Greedy Algorithm is used to rapidly identify extreme bases, significantly accelerating Wolfe’s algorithm.
As shown in the figure above, the algorithm iteratively refines the labeling. As the tolerance parameter $\epsilon$ decreases, the segmentation of the object (in this case, a car) becomes increasingly precise, demonstrating the algorithm's convergence behavior.
Experimental Results
The authors evaluated SoS-MinNorm against state-of-the-art flow-based methods like Generic Cuts (GC) and traditional pairwise models across synthetic grids, object detection, and interactive segmentation tasks.
Scalability and Speed: SoS-MinNorm demonstrates dramatic performance gains. On a test case with 16-pixel cliques, SoS-MinNorm completes inference in seconds, while general submodular algorithms require hours. More importantly, when clique sizes increase to 24 pixels, Generic Cuts fails to compute, whereas SoS-MinNorm handles the problem in approximately 0.02 seconds.
Qualitative Improvements: The ability to process large cliques (averaging ~230 pixels) leads to superior segmentation quality. Pairwise models often produce noisy results, but higher-order cliques allow the model to incorporate broader context.
As illustrated in the car segmentation example, moving from pairwise to large-clique models using SoS-MinNorm significantly reduces noise and produces cleaner, more accurate object boundaries.
Conclusion and Future Directions
SoS-MinNorm provides a general-purpose, highly scalable tool for higher-order MRF inference. It makes no restrictive assumptions about the type of submodular potential used, offering researchers unprecedented flexibility in energy function design.
Future work includes establishing tighter convergence bounds for overlapping cliques and utilizing the speed of SoS-MinNorm to learn higher-order potentials directly from data. Additionally, the block coordinate descent structure is ripe for parallelization, promising even greater speedups on modern hardware.
Summary updated