Quadratization of symmetric pseudo-boolean functions

Similar documents
Reformulations of nonlinear binary optimization problems

Quadratization of Symmetric Pseudo-Boolean Functions

Higher-Order Clique Reduction Without Auxiliary Variables

A Graph Cut Algorithm for Higher-order Markov Random Fields

Quadratic reformulations of nonlinear binary optimization problems

Generalized Roof Duality for Pseudo-Boolean Optimization

Quadratic reformulations of nonlinear binary optimization problems

Higher-Order Clique Reduction in Binary Graph Cut

On Partial Optimality in Multi-label MRFs

Higher-Order Energies for Image Segmentation

Tightening linearizations of non-linear binary optimization problems

MANY problems in computer vision, such as segmentation,

Minimizing Count-based High Order Terms in Markov Random Fields

On Partial Optimality in Multi-label MRFs

Inference for Order Reduction in Markov Random Fields

Potts model, parametric maxflow and k-submodular functions

Part 6: Structured Prediction and Energy Minimization (1/2)

Discrete Inference and Learning Lecture 3

Energy Minimization via Graph Cuts

Pushmeet Kohli Microsoft Research

arxiv: v3 [math.oc] 28 May 2017

A note on the primal-dual method for the semi-metric labeling problem

MAP Estimation Algorithms in Computer Vision - Part II

Revisiting the Limits of MAP Inference by MWSS on Perfect Graphs

A Collection of Problems in Propositional Logic

Pushmeet Kohli. Microsoft Research Cambridge. IbPRIA 2011

Minimization of ordered, symmetric half-products

1 Maximizing a Submodular Function

Graphcuts for General Quadratic Binary Problems

Quantum algorithms (CO 781/CS 867/QIC 823, Winter 2013) Andrew Childs, University of Waterloo LECTURE 13: Query complexity and the polynomial method

Pseudo-Bound Optimization for Binary Energies

Markov random fields and the optical flow

Determine the size of an instance of the minimum spanning tree problem.

Part 7: Structured Prediction and Energy Minimization (2/2)

Submodularity in Machine Learning

Multiresolution Graph Cut Methods in Image Processing and Gibbs Estimation. B. A. Zalesky

Making the Right Moves: Guiding Alpha-Expansion using Local Primal-Dual Gaps

5.2 Polynomial Operations

Fast Algebraic Immunity of 2 m + 2 & 2 m + 3 variables Majority Function

What Metrics Can Be Approximated by Geo-Cuts, or Global Optimization of Length/Area and Flux

1 Lecture notes Classication. Denition 1. Let z be a set function on the nite set V i.e. z : 2 V R, then z is submodular if

Maximum Persistency via Iterative Relaxed Inference with Graphical Models

On the Gap between the Complexity of SAT and Minimization for Certain Classes of Boolean Formulas

Pseudo-Boolean Optimization

A Graph Cut Algorithm for Generalized Image Deconvolution

Sensitivity, Block Sensitivity and Certificate Complexity of Boolean Functions (Master s Thesis)

Optimization of Submodular Functions Tutorial - lecture I

On Locating-Dominating Codes in Binary Hamming Spaces

1 Algebraic Methods. 1.1 Gröbner Bases Applied to SAT

Chapter 8. Exploring Polynomial Functions. Jennifer Huss

Higher-order Graph Cuts

(x 1 +x 2 )(x 1 x 2 )+(x 2 +x 3 )(x 2 x 3 )+(x 3 +x 1 )(x 3 x 1 ).

polynomial function polynomial function of degree n leading coefficient leading-term test quartic function turning point

Division of Trinomials by Pentanomials and Orthogonal Arrays

NP-Completeness. Until now we have been designing algorithms for specific problems

Polynomial Eigenvalue Solutions to Minimal Problems in Computer Vision

Linear sketching for Functions over Boolean Hypercube

A half-product based approximation scheme for agreeably weighted completion time variance

Revisiting the Limits of MAP Inference by MWSS on Perfect Graphs

Circulant Hadamard matrices as HFP-codes of type C 4n C 2. arxiv: v1 [math.co] 26 Nov 2017

CS264: Beyond Worst-Case Analysis Lecture #18: Smoothed Complexity and Pseudopolynomial-Time Algorithms

R ij = 2. Using all of these facts together, you can solve problem number 9.

A Characterization of Locally Testable Affine-Invariant Properties via Decomposition Theorems

6.854J / J Advanced Algorithms Fall 2008

Lecture 4: Polynomial Optimization

APPROXIMATION RESISTANCE AND LINEAR THRESHOLD FUNCTIONS

Improved Upper Bounds on Sizes of Codes

Theory of Computer Science to Msc Students, Spring Lecture 2

CHAPTER 3 FUNDAMENTALS OF COMPUTATIONAL COMPLEXITY. E. Amaldi Foundations of Operations Research Politecnico di Milano 1

MATH 1314 Test 2 Review

On The Weights of Binary Irreducible Cyclic Codes

CS264: Beyond Worst-Case Analysis Lecture #15: Smoothed Complexity and Pseudopolynomial-Time Algorithms

The Intractability of Computing the Hamming Distance

Representations of All Solutions of Boolean Programming Problems

Fourier Spectra of Binomial APN Functions

CSE 291: Fourier analysis Chapter 2: Social choice theory

2-4 Zeros of Polynomial Functions

On the efficient approximability of constraint satisfaction problems

Massachusetts Institute of Technology 6.854J/18.415J: Advanced Algorithms Friday, March 18, 2016 Ankur Moitra. Problem Set 6

Lecture 22. m n c (k) i,j x i x j = c (k) k=1

Maximum 3-SAT as QUBO

CS264: Beyond Worst-Case Analysis Lecture #11: LP Decoding

Pseudorandom Sequences I: Linear Complexity and Related Measures

Bethe Bounds and Approximating the Global Optimum

Introduction to Graphical Models. Srikumar Ramalingam School of Computing University of Utah

Lecture Introduction. 2 Linear codes. CS CTT Current Topics in Theoretical CS Oct 4, 2012

Submodularization for Binary Pairwise Energies

arxiv: v1 [cs.ne] 6 May 2014

: Error Correcting Codes. November 2017 Lecture 2

A Study on Monotone Self-Dual Boolean Functions

Fourier analysis of boolean functions in quantum computation

SB CH 2 answers.notebook. November 05, Warm Up. Oct 8 10:36 AM. Oct 5 2:22 PM. Oct 8 9:22 AM. Oct 8 9:19 AM. Oct 8 9:26 AM.

Introduction to Graphical Models. Srikumar Ramalingam School of Computing University of Utah

Approximation Preserving Reductions

To get horizontal and slant asymptotes algebraically we need to know about end behaviour for rational functions.

What Energy Functions can be Minimized via Graph Cuts?

Math 203A - Solution Set 1

On the Readability of Monotone Boolean Formulae

Submodular Functions Properties Algorithms Machine Learning

Bethe Bounds and Approximating the Global Optimum

Transcription:

of symmetric pseudo-boolean functions Yves Crama with Martin Anthony, Endre Boros and Aritanan Gruber HEC Management School, University of Liège Liblice, April 2013 of symmetric pseudo-boolean functions

Outline Pseudo-Boolean functions 1 Pseudo-Boolean functions 2 3 4 of symmetric pseudo-boolean functions

Objectives Pseudo-Boolean functions Focus: basic facts about pseudo-boolean minimization quadratization techniques the case of symmetric functions more about negative monomials. of symmetric pseudo-boolean functions

Definitions Pseudo-Boolean functions Pseudo-Boolean functions A pseudo-boolean function is a mapping f : {0, 1} n R Multilinear polynomials Every pseudo-boolean function can be represented in a unique way by a multilinear polynomial in its variables. Example: f = 4 9x 1 5x 2 2x 3 + 13x 1 x 2 + 13x 1 x 3 + 6x 2 x 3 13x 1 x 2 x 3 of symmetric pseudo-boolean functions

Pseudo-Boolean optimization Complexity: PB optimization Given a multilinear polynomial f of degree at least 2, it is NP-hard to find the minimum of f. Many applications: MAX CUT, MAX SAT, computer vision, etc. When f is quadratic and has no positive quadratic terms, then f is submodular and its minimization reduces to minimum cost flow. of symmetric pseudo-boolean functions

Quadratic optimization The quadratic case has attracted most of the attention: many examples arise in this form: MAX CUT, MAX 2SAT, simple computer vision models,... higher-degree cases can be efficiently reduced to the quadratic case, and this leads to good optimization algorithms. of symmetric pseudo-boolean functions

Observations Pseudo-Boolean functions Say g(x, y), (x, y) {0, 1} n+m, is a quadratic function. Then, for all x {0, 1} n, f (x) = min{g(x, y) y {0, 1} m } is a pseudo-boolean function. f (x) may be quadratic, or not. min{f (x) x {0, 1} n } = min{g(x, y) (x, y) {0, 1} n+m }. Conversely... of symmetric pseudo-boolean functions

Pseudo-Boolean functions The quadratic function g(x, y), (x, y) {0, 1} n+m is an m-quadratization of the pseudo-boolean function f (x), x {0, 1} n, if f (x) = min{g(x, y) y {0, 1} m } for all x {0, 1} n. min{f (x) x {0, 1} n } = min{g(x, y) (x, y) {0, 1} n+m }. Does every function f have a quadratization? of symmetric pseudo-boolean functions

Existence Pseudo-Boolean functions Existence of quadratizations Given the multilinear expression of a pseudo-boolean function f (x), x {0, 1} n, one can find in polynomial time a quadratization g(x, y) of f (x). Due to Rosenberg (1975). Idea: replace the term ( ) i A x i of f, with {1, 2} A, by t(x, y) = i A\{1,2} x i y + M(x 1 x 2 2x 1 y 2x 2 y + 3y). Fix x. In every minimizer of t(x, y), y = x 1 x 2 and t(x, y) = i A x i. Drawbacks: introduces many additional variables, many positive quadratic terms, big M. of symmetric pseudo-boolean functions

Questions arising... Many quadratization procedures proposed in recent years. Which ones are best? Small number of variables, of positive terms, good properties with respect to persistencies, submodularity? Can we chararacterize all quadratizations of f? Easier question: What if f is a single monomial? How many variables are needed in a quadratization? etc. Refs: Boros and Gruber (2011); Fix, Gruber, Boros and Zabih (2011): Freedman and Drineas (2005); Ishikawa (2011); Kolmogorov and Zabih (2004); Ramalingam et al. (2011); Rosenberg (1975); Rother et al. (2009); Živný, Cohen and Jeavons (2009); etc. of symmetric pseudo-boolean functions

The case of symmetric functions A pseudo-boolean function f is symmetric if the value of f (x) depends only on the Hamming weight wt(x) = n j=1 x j (number of ones) of x. That is, there is a function k : {0, 1,..., n} R such that f (x) = k(w) where w = wt(x). of symmetric pseudo-boolean functions

Examples Pseudo-Boolean functions Negative monomial: N n (x) = n i=1 x i = x 1... x n. (Freedman and Drineas 2005) N n (x) = min y [n 1 n i=1 x i]y. Positive monomial: P n (x) = n i=1 x i = x 1... x n. P n (x) = x 1... x n 1 x n + P n 1 (x): so P n can be quadratized using n 2 additional variables. (Ishikawa 2011) P n can be quadratized using n 1 2 additional variables. How many variables are needed for other symmetric functions? (Fix 2011) n 1 variables suffice. We propose a generic approach. of symmetric pseudo-boolean functions

A representation theorem Let [a] = min(a, 0). Theorem: Representation of symmetric functions For all 0 < ɛ i 1, i = 0,... n, every symmetric pseudo-boolean function f : {0, 1} n R can be uniquely represented in the form f (x) = i=0 α i i ɛ i [ Idea: i ɛ i n j=1 j] x reflects whether n j=1 x j is larger than i. j=1 System of linear equations: α 0,..., α n can be efficiently computed. x j. of symmetric pseudo-boolean functions

Example: Negative monomials Let N n (x) = n i=1 x i. Then: N n = [n 1 n i=1 x i]. Note: [a] = min(a, 0) = min y {0,1} ay. So: N n = min y [n 1 n i=1 x i]y. (Freedman and Drineas 2005). of symmetric pseudo-boolean functions

: first attempt More generally, using [a] = min(a, 0) = min y {0,1} ay for symmetric f : f (x) = i=0 α i i ɛ i j=1 x j = min y i=0 α i i ɛ i j=1 x j y i. Well, not quite: [a] = min(a, 0) min y {0,1} ( ay). Modify the representation of f to cancel negative coefficients. of symmetric pseudo-boolean functions

Some identities Pseudo-Boolean functions Define E(l) = l(l 1) 2 + 2l + 1 + n 1 i= 1 [i l], E (l) = l(l 1) 2 + 2 n [ i=2: i 1 2 l], i even Lemma. E (l) = l(l+1) 2 + 2 n i=1: i odd [ i 1 2 l]. For all l = 0,..., n, E(l) = E (l) = E (l) = 0. Proof. Follows from the representation theorem applied to e(x) = i<j x ix j = w(w 1)/2, where w is the Hamming weight of x. of symmetric pseudo-boolean functions

: second attempt for symmetric f : f (x) = i=0 α i i ɛ i j=1 x j = min y i ɛ i α i x j i=0 j=1 y i. Well, not quite: [a] = min(a, 0) min y {0,1} ( ay). Modify first the representation of f by adding one of E(l), E (l), E (l) so as to cancel negative coefficients. of symmetric pseudo-boolean functions

Example: Positive monomials Let P n (x) = n i=1 x i. Then: P n = 2 [ n 1 2 n i=1 x i]. For even n: add E ( n i=1 x i) to P n, leading to P n = = 1 i<j n 1 i<j n n 2 x i x j + 2 i 1 2 i=2: i even x i x j + min y j=1 n 2 2y i (i 1 2 i=2: i even x j x j ). j=1 of symmetric pseudo-boolean functions

of symmetric functions Theorem: Positive monomials (Ishikawa 2011) The positive monomial P n has a n 1 2 -quadratization. Theorem: k-out-of-n function The k-out-of-n function has a n 2 -quadratization. Theorem: Parity function The parity function has a n 2 -quadratization, and its complement has a n 1 2 -quadratization. Theorem: General symmetric functions (Fix 2011) Every symmetric pseudo-boolean function has an (n 1)-quadratization. of symmetric pseudo-boolean functions

Remember Negative monomial: N n (x) = n i=1 x i = x 1... x n. (Freedman and Drineas 2005) N n (x) = min y [n 1 n i=1 x i]y. Question: can we characterize the quadratizations of N n? Seems surprisingly difficult. Note: many quadratizations are somehow reducible, e.g., by fixing variables, or are identical, up to replacing y by y. of symmetric pseudo-boolean functions

We can establish: Theorem: 1-s of negative monomials Up to a permutation of the x-variables, and up to a switch of the y-variable, the only irreducible 1-quadratizations of N n are s n = [n 1 x i ]y, i=1 s + n n 1 = (n 2)x n y x i (y x n ). i=1 Proof. Very long... of symmetric pseudo-boolean functions

Conclusions Pseudo-Boolean functions Structure and properties of quadratizations are poorly understood. Many intriguing questions and conjectures, much computational and theoretical work to be done. of symmetric pseudo-boolean functions

Some references E. Boros and A. Gruber, On quadratization of pseudo-boolean functions, Working paper, 2011. A. Fix, A. Gruber, E. Boros and R. Zabih, A graph cut algorithm for higher-order Markov random fields, Proceedings of the 2011 IEEE International Conference on Computer Vision (ICCV), pages 1020-1027. D. Freedman and P. Drineas, Energy minimization via graph cuts: Settling what is possible, in: IEEE Conference on Computer Vision and Pattern Recognition (2) (2005) pp. 939-946. H. Ishikawa, Transformation of general binary MRF minimization to the first-order case, IEEE Transactions on Pattern Analysis and Machine Intelligence 33(6) (2011) 1234-1249. V. Kolmogorov and C. Rother, Minimizing non-submodular functions with graph cuts - A review, IEEE Transactions on Pattern Analysis and Machine Intelligence 29 (2007) 1274-1279. of symmetric pseudo-boolean functions

Some references V. Kolmogorov and R. Zabih, What energy functions can be minimized via graph cuts? IEEE Transactions on Pattern Analysis and Machine Intelligence 26(2) (2004) 147-159. S. Ramalingam, Ch. Russell, L. Ladický and Ph.H.S. Torr, Efficient Minimization of Higher Order Submodular Functions using Monotonic Boolean Functions, arxiv:1109.2304v1, 2011. I.G. Rosenberg, Reduction of bivalent maximization to the quadratic case, Cahiers du Centre d Etudes de Recherche Opérationnelle 17 (1975), 71 74. C. Rother, P. Kohli, W. Feng and J. Jia, Minimizing sparse higher order energy functions of discrete variables, in: IEEE Conference on Computer Vision and Pattern Recognition, 2009, pp. 1382-1389. C. Rother, V. Kolmogorov, V. Lempitsky and M. Szummer, Optimizing binary MRFs via extended roof duality, in: IEEE Conference on Computer Vision and Pattern Recognition, 2007. S. Živný, D.A. Cohen and P.G. Jeavons, The expressive power of binary submodular functions, Discrete Applied Mathematics 157 (2009) 3347-3358. of symmetric pseudo-boolean functions