Introduction
Markov Random Fields (MRFs) are fundamental in computer vision for tasks like image segmentation and stereo vision. Finding the Maximum A Posteriori (MAP) estimate—the labeling that minimizes a specific energy function—is notoriously NP-hard. Consequently, move-making heuristics such as $\alpha$-expansion are commonly employed.
A promising strategy to accelerate these solvers is identifying partial optimality. If a pixel's label can be proven optimal (a property known as persistency), it can be fixed, reducing the problem size. Existing methods range from fast but weak techniques like Dead End Elimination (DEE) to powerful but computationally expensive approaches like QPBO. This paper introduces a hierarchical relaxation framework that bridges this gap, offering significant power with minimal overhead.
Methodology
The proposed approach is built on the concept of autarky: a partial labeling that is guaranteed not to increase total energy when applied to any complete labeling. Autarky implies persistency, making it a safe criterion for fixing labels.
Hierarchical Relaxations and the k-condition
The authors represent the autarky condition as a system of linear inequalities. To manage the NP-completeness of exact checking, they propose a "k-condition" hierarchy. At $k=1$, the method generalizes DEE. Higher $k$ values provide more rigorous tests, identifying more persistent variables at a higher computational cost.
Iterative Shrinking and Efficient Testing
To maintain efficiency, the method employs several strategies:
- Independent Local Minimum (ILM) Labeling: An initial "guess" labeling is efficiently constructed to serve as a test baseline.
- Approximate k-condition Test: A greedy partitioning algorithm is used to check the $k$-condition instead of exhaustive subset testing.
- Iterative Shrinking: The process starts with a large variable set and iteratively removes those failing the persistency test until convergence.
Experimental Evaluation
The method was evaluated using the OpenGM2 library across diverse benchmarks, including Brain MRI (up to 1.4M variables), Color Segmentation, Inpainting, Middlebury MRF, and Scene Decomposition.
Performance and Persistency
The integration of this preprocessing into $\alpha$-expansion yielded speedups ranging from 1.5x to 12x, with some instances reaching 40x. The hierarchical methods (iPR-1, iPR-2-APX, iPR-3-APX) consistently outperformed DEE (iDEE) and Kovtun's method in the ratio of persistent variables identified. For example, on the "Color-Seg" dataset, the iPR-1 method found significantly more persistent variables than standard DEE.
Key Insights and Conclusion
The primary insight is that considering groups of variables (the $k$-condition) captures local structures missed by single-variable methods like DEE. By leveraging linear-time inner loops ($O(|V| + |E|)$), the preprocessing remains extremely fast, often finishing in seconds even for large-scale problems.
While higher $k$ values show diminishing returns in terms of additional persistent variables versus computational cost, the framework provides a flexible and powerful addition to the MRF inference pipeline. Future work may explore integration with other inference algorithms like TRW-S or Belief Propagation.
Summary updated