MRF optimization by graph approximation

Wonsik Kim, Kyoung Mu Lee

Abstract

Graph cuts-based algorithms have achieved great success in energy minimization for many computer vision applications. These algorithms provide approximated solutions for multi-label energy functions via a move-making approach. This approach fuses the current solution with a proposal to generate a lower-energy solution. Thus, generating appropriate proposals is necessary for the success of the move-making approach. However, not much research effort has been done on the generation of “good” proposals, especially for non-metric energy functions. In this paper, we propose an application-independent and energy-based approach to generate “good” proposals. With these proposals, we present a graph cuts-based move-making algorithm called GA-fusion (fusion with graph approximation-based proposals). Extensive experiments support that our proposal generation is effective across different classes of energy functions. The proposed algorithm outperforms others both on real and synthetic problems.

Introduction

Markov Random Fields (MRFs) serve as a critical mathematical framework for computer vision tasks such as image segmentation, deconvolution, and stereo matching. The objective is to find a labeling $\mathbf{x}$ that minimizes a specific energy function $E(\mathbf{x})$. While submodular functions can be solved efficiently using graph cuts, many real-world problems involve non-submodular or non-metric functions, which are NP-hard.

Standard optimization tools like $\alpha$-expansion often struggle with these complex functions, and partial solvers like QPBO frequently leave a large number of nodes "unlabeled." Historically, researchers have relied on application-specific proposals to navigate these difficult energy landscapes. GA-fusion addresses this gap by providing a general-purpose, energy-based method for generating high-quality proposals.

Methodology: GA-fusion

The GA-fusion (Graph Approximation Fusion) algorithm is a move-making approach that excels at minimizing difficult energy functions by generating "energy-aware" proposals. The process consists of two primary stages:

  1. Proposal Generation via Graph Approximation: The algorithm creates a simplified version of the original complex graph by randomly deleting a percentage of edges. This reduction in connectivity eliminates many "frustrated cycles" (non-submodular terms), making the resulting problem significantly easier for solvers like QPBO to handle. To ensure a diverse set of proposals, the edge-deletion ratio ($\rho$) is randomly sampled from a uniform distribution $U(0,1)$ in each iteration.
  2. Fusion Move: The solution derived from the simplified graph serves as a proposal. This proposal is then "fused" with the current best labeling using a binary optimization step. This fusion is guaranteed to produce a new labeling with energy less than or equal to the current state.
The GA-fusion framework: generating proposals via graph approximation and fusing them with the current labeling.

The Solvability-Similarity Trade-off

A core insight of this work is the trade-off between solvability (how easily a proposal can be optimized) and similarity (how closely the proposal reflects the original energy function). Deleting too many edges makes the problem trivial but loses the structure of the original task. Conversely, keeping too many edges preserves the original NP-hard complexity.

As illustrated in the experimental analysis, varying the edge density allows the algorithm to find a "sweet spot" where the labeling rate is high enough to be informative while the relative energy remains low. By employing randomness in the deletion ratio, GA-fusion explores various points on this trade-off curve, enabling it to escape local minima that typically trap traditional algorithms.

Experimental analysis showing the relationship between edge density, labeling rate (a), and relative energy (b).

Experimental Results

GA-fusion was evaluated against several benchmarks, demonstrating superior performance in minimizing non-metric energy functions:

  • Image Deconvolution: In the 'characters' dataset, GA-fusion achieved a remarkably low 1.61% error rate, significantly outperforming $\alpha$-expansion (9.47%) and message-passing methods like BP and TRW-S (over 20%).
  • Energy Minimization: Across various non-metric test cases, including texture restoration and synthetic grid graphs, GA-fusion consistently reached lower final energy states than competing methods.
  • General Robustness: The algorithm remained competitive even on standard metric problems where $\alpha$-expansion is traditionally the strongest performer, proving its utility as a robust, general-purpose tool.

Conclusion

GA-fusion introduces a powerful, application-independent strategy for MRF optimization. By leveraging random graph approximation to generate proposals, it effectively navigates complex energy landscapes that stymie conventional solvers. While currently focused on pairwise potentials, the principles of graph approximation offer a promising path for future research into higher-order MRF optimization.

Summary updated

BibTeX
@inproceedings{kim2015mrf,
  author = {Wonsik Kim and Kyoung Mu Lee},
  title = {{MRF optimization by graph approximation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  url = {https://openreview.net/forum?id=rJejIAbuWS},
}
Figure