Polynomial-Time Exact Inference in NP-Hard Binary MRFs via Reweighted Perfect Matching

We develop a new form of reweighting (Wainwright et al., 2005b) to leverage the relationship between Ising spin glasses and perfect matchings into a novel technique for the exact computation of MAP states in hitherto intractable binary Markov random fields. Our method solves an n× n lattice with external field and random couplings much faster, and for larger n, than the best competing algorithms. It empirically scales as O(n) even though this problem is NP-hard and nonapproximable in polynomial time. We discuss limitations of our current implementation and propose ways to overcome them.

[1]  P. W. Kasteleyn The Statistics of Dimers on a Lattice , 1961 .

[2]  P. W. Kasteleyn The statistics of dimers on a lattice: I. The number of dimer arrangements on a quadratic lattice , 1961 .

[3]  M. Fisher Statistical Mechanics of Dimers on a Plane Lattice , 1961 .

[4]  J. Edmonds Paths, Trees, and Flowers , 1965, Canadian Journal of Mathematics.

[5]  Jack Edmonds,et al.  Maximum matching and a polyhedron with 0,1-vertices , 1965 .

[6]  L. Bieche,et al.  On the ground states of the frustration model of a spin glass by a matching method of graph theory , 1980 .

[7]  F. Barahona On the computational complexity of Ising spin glass models , 1982 .

[8]  David J. Spiegelhalter,et al.  Local computations with probabilities on graphical structures and their application to expert systems , 1990 .

[9]  Judea Pearl,et al.  Probabilistic reasoning in intelligent systems - networks of plausible inference , 1991, Morgan Kaufmann series in representation and reasoning.

[10]  D. Greig,et al.  Exact Maximum A Posteriori Estimation for Binary Images , 1989 .

[11]  Carsten Thomassen,et al.  The Graph Genus Problem is NP-Complete , 1989, J. Algorithms.

[12]  Harold N. Gabow,et al.  Data structures for weighted matching and nearest common ancestors with linking , 1990, SODA '90.

[13]  Jochem Zowe,et al.  A Version of the Bundle Idea for Minimizing a Nonsmooth Function: Conceptual Idea, Convergence Analysis, Numerical Results , 1992, SIAM J. Optim..

[14]  Y. Weiss Belief Propagation and Revision in Networks with Loops , 1997 .

[15]  Edward H. Adelson,et al.  Belief Propagation and Revision in Networks with Loops , 1997 .

[16]  Paola Campadelli,et al.  Approximability of the Ground State Problem for Certain Ising Spin Glasses , 1997, J. Complex..

[17]  Jianer Chen,et al.  A Note on Approximating Graph Genus , 1997, Inf. Process. Lett..

[18]  Brendan J. Frey,et al.  A Revolution: Belief Propagation in Graphs with Cycles , 1997, NIPS.

[19]  Martin Loebl,et al.  On the Theory of Pfaffian Orientations. I. Perfect Matchings and Permanents , 1998, Electron. J. Comb..

[20]  J. Vondrák,et al.  New algorithm for the Ising problem: partition function for finite lattice graphs. , 2000, Physical review letters.

[21]  W. Freeman,et al.  Generalized Belief Propagation , 2000, NIPS.

[22]  Olga Veksler,et al.  Fast Approximate Energy Minimization via Graph Cuts , 2001, IEEE Trans. Pattern Anal. Mach. Intell..

[23]  Hiroshi Ishikawa,et al.  Exact Optimization for Markov Random Fields with Convex Priors , 2003, IEEE Trans. Pattern Anal. Mach. Intell..

[24]  R. Zabih,et al.  What energy functions can be minimized via graph cuts , 2004 .

[25]  G. Reinelt,et al.  2 Computing Exact Ground Statesof Hard Ising Spin Glass Problemsby Branch-and-Cut , 2005 .

[26]  John M. Boyer,et al.  On the Cutting Edge: Simplified O(n) Planarity by Edge Addition , 2004, J. Graph Algorithms Appl..

[27]  Jeff Erickson,et al.  Greedy optimal homotopy and homology generators , 2005, SODA '05.

[28]  Martin J. Wainwright,et al.  MAP estimation via agreement on trees: message-passing and linear programming , 2005, IEEE Transactions on Information Theory.

[29]  Martin J. Wainwright,et al.  A new class of upper bounds on the log partition function , 2002, IEEE Transactions on Information Theory.

[30]  Tommi S. Jaakkola,et al.  Approximate inference using planar graph decomposition , 2006, NIPS.

[31]  Vladimir Kolmogorov,et al.  Minimizing Nonsubmodular Functions with Graph Cuts-A Review , 2007, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[32]  A. Middleton,et al.  Matching Kasteleyn Cities for Spin Glass Ground States , 2007, 0706.2866.

[33]  Vladimir Kolmogorov,et al.  Optimizing Binary MRFs via Extended Roof Duality , 2007, 2007 IEEE Conference on Computer Vision and Pattern Recognition.

[34]  Tommi S. Jaakkola,et al.  Tightening LP Relaxations for MAP using Message Passing , 2008, UAI.

[35]  Nicol N. Schraudolph,et al.  Efficient Exact Inference in Planar Ising Models , 2008, NIPS.

[36]  Vladimir Kolmogorov,et al.  Blossom V: a new implementation of a minimum cost perfect matching algorithm , 2009, Math. Program. Comput..

[37]  Franz Rendl,et al.  Solving Max-Cut to optimality by intersecting semidefinite and polyhedral relaxations , 2009, Math. Program..