MAP estimation in Binary MRFs via Bipartite Multi-cuts

Sashank Jakkam Reddi, Sunita Sarawagi, Sundar VishwanathanNeurIPS 2010

This paper introduces a novel approach to a classic problem in computer vision and machine learning: finding the most likely configuration (MAP estimation) in a binary Markov Random Field (MRF). By reframing the problem as a "Bipartite Multi-cut" graph problem, the authors develop a combinatorial algorithm that is significantly faster and more accurate than existing state-of-the-art message-passing methods.

TL;DR

The authors propose a new Linear Programming (LP) relaxation for MAP estimation in binary MRFs by reducing it to a Bipartite Multi-cut problem. Their combinatorial primal-dual algorithm provides an $O(\log k)$ approximation guarantee and outperforms standard message-passing techniques in both speed and solution quality, especially on dense, complex graphs.

The Challenge of MAP Estimation

Markov Random Fields are widely used to model spatial dependencies in data, such as in image segmentation or protein folding. Finding the MAP (Maximum A Posteriori) assignment—the single most likely state of the system—is a core task.

For "submodular" models (where variables prefer to have the same labels), this is efficiently solved using standard graph cuts. However, real-world problems often involve "non-submodular" or "frustrated" edges, making the problem NP-complete. Researchers usually rely on LP relaxations, but the standard "local marginal polytope" relaxation is often too loose. While tightening these relaxations with cycle constraints improves accuracy, it usually makes the algorithms prohibitively slow. The authors aim to bridge this gap by providing a tight relaxation that remains computationally efficient.

A Bipartite Multi-cut Approach

The paper introduces three key technical contributions to solve this bottleneck:

  1. Reduction to Bipartite Multi-cut (BMC): The authors demonstrate that the MAP problem can be transformed into a BMC problem. In a BMC, given pairs of nodes (source-sink pairs), the goal is to find a cut such that exactly one node from each pair is on one side of the cut.
  2. LP Relaxation with Guarantees: They utilize a specific LP relaxation for BMC that provides an $O(\log k)$ approximation guarantee, where $k$ is the number of variables adjacent to non-submodular edges. This is a significant theoretical bound for non-submodular MRFs.
  3. Combinatorial Primal-Dual Algorithm: Instead of using a generic, slow LP solver, they adapt Garg’s algorithm (originally for multi-commodity flow). This algorithm iteratively pushes "flow" through the graph to find the optimal cut. By exploiting the symmetric nature of binary MRFs, they optimize the algorithm to update two paths simultaneously in each iteration.

Key Insights

  • The Power of $k$: The approximation guarantee depends on $k$ (the number of "troublesome" non-submodular variables), not the total number of variables $n$. This makes the method particularly powerful for models that are mostly submodular but have a few complex regions.
  • Efficiency through Duality: By solving the primal (the cut) and the dual (the flow) concurrently, the algorithm provides a lower bound on the energy function at every step. This allows for early termination once the gap between the current solution and the lower bound is small enough.
  • Better than Message Passing: The authors prove that their BMC relaxation is a relaxation of the "Cycle LP." While message-passing algorithms like MPLP also try to solve this, they often struggle with convergence. The combinatorial approach here is more robust and scales better to dense graphs.

Experimental Results

The authors evaluated their algorithm (BMC) against two main benchmarks: synthetic Clique Graphs (fully connected, notoriously difficult) and the BiqMac Library (standard Max-Cut instances varying in density from 10% to 99%).

Speedup on Dense Graphs On large clique graphs, the BMC algorithm was up to an order of magnitude faster than MPLP. For example, on an 80-node clique, BMC finished in seconds while MPLP took hundreds of seconds.

Performance on Clique Graphs

Higher Accuracy and Tighter Bounds BMC consistently achieved higher MAP scores (finding lower-energy, more likely configurations) than TRW-S and MPLP across almost all BiqMac instances. Furthermore, the lower bounds provided by BMC were tighter than those from competing methods, offering greater confidence in the solution's optimality.

Results on BiqMac Library

Limitations and Future Work

  • Binary Restriction: The current formulation is strictly for binary (0/1) variables. Extending this to multi-label MRFs (e.g., 256 colors in an image) is a primary direction for future work.
  • Negative Constants: The theoretical $O(\log k)$ bound is a multiplicative bound. In MRF reparameterization, negative constant terms can appear, which can make multiplicative bounds less meaningful mathematically, even if practical performance remains strong.
  • Semi-Definite Programming (SDP): An SDP relaxation could provide even tighter theoretical bounds ($O(\sqrt{\log k})$), though developing a combinatorial solver for an SDP is significantly more challenging than for an LP.

Summary updated

BibTeX
@inproceedings{reddi2010map,
  author = {Sashank Jakkam Reddi and Sunita Sarawagi and Sundar Vishwanathan},
  title = {{MAP estimation in Binary MRFs via Bipartite Multi-cuts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2010},
  url = {https://openreview.net/forum?id=By-0PvWd-H},
}
Figure