The Swap and Expansion moves revisited and fused

Many solutions to computer vision and image processing problems involve the minimization of multi-label energy functions with up to K variables in each term. In the minimization process, Swap and Expansion are two commonly used moves. This paper re-derives the optimal swap and expansion moves for K = 2 in a short manner by using the original pseudo-Boolean quadratic function minimization method as a “black box”. It is then revealed that the found minima w.r.t. expansion moves are in fact also minima w.r.t. swap moves. This process is repeated for K = 3. The minima-related result is extended to all functions under the condition that they are reduced into submodular ones, which makes it applicable to all expansion algorithms. These may explain the prevalent impression that expansion algorithms are more effective than swap algorithms. To make the search space larger, Exwap — a generalization of the expansion and the swap moves — is introduced. Efficient algorithms for minimizing w.r.t. it for K = 2 (including a ‘truncation’ procedure), K = 3, and the Pn Potts model are provided. The move is capable of reaching lower energies than those reached by the expansion algorithm, as demonstrated for several benchmark problems.

[1]  S. Birchfiled A Pixel Dissimilarity Measure That Is Insensitive to Image Sampling , 1998 .

[2]  Olga Veksler Graph Cut Based Optimization for MRFs with Truncated Convex Priors , 2007, 2007 IEEE Conference on Computer Vision and Pattern Recognition.

[3]  H. D. Ratliff,et al.  Minimum cuts and related problems , 1975, Networks.

[4]  Philip H. S. Torr,et al.  Solving Energies with Higher Order Cliques , 2007 .

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

[6]  Andrew Blake,et al.  LogCut - Efficient Graph Cut Optimization for Markov Random Fields , 2007, 2007 IEEE 11th International Conference on Computer Vision.

[7]  VekslerOlga,et al.  Fast Approximate Energy Minimization via Graph Cuts , 2001 .

[8]  Andrew Blake,et al.  Digital tapestry [automatic image synthesis] , 2005, 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05).

[9]  Richard Szeliski,et al.  A Comparative Study of Energy Minimization Methods for Markov Random Fields with Smoothness-Based Priors , 2008, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[10]  Pushmeet Kohli,et al.  Robust Higher Order Potentials for Enforcing Label Consistency , 2008, 2008 IEEE Conference on Computer Vision and Pattern Recognition.

[11]  Daniel Freedman,et al.  Energy minimization via graph cuts: settling what is possible , 2005, 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05).

[12]  Olga Veksler,et al.  Fast approximate energy minimization via graph cuts , 2001, Proceedings of the Seventh IEEE International Conference on Computer Vision.

[13]  Endre Boros,et al.  Pseudo-Boolean optimization , 2002, Discret. Appl. Math..

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

[15]  Donald Geman,et al.  Stochastic relaxation, Gibbs distributions, and the Bayesian restoration of images , 1984 .

[16]  Martin Grötschel,et al.  The ellipsoid method and its consequences in combinatorial optimization , 1981, Comb..

[17]  Pushmeet Kohli,et al.  P3 & Beyond: Solving Energies with Higher Order Cliques , 2007, 2007 IEEE Conference on Computer Vision and Pattern Recognition.

[18]  G. B. Smith,et al.  Preface to S. Geman and D. Geman, “Stochastic relaxation, Gibbs distributions, and the Bayesian restoration of images” , 1987 .

[19]  Andrew McCallum,et al.  Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data , 2001, ICML.

[20]  Vladimir Kolmogorov,et al.  What energy functions can be minimized via graph cuts? , 2002, IEEE Transactions on Pattern Analysis and Machine Intelligence.