In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
and
optimization, a pseudo-Boolean function is a
function of the form
:
where is a ''
Boolean domain'' and is a nonnegative integer called the
arity
Arity () is the number of arguments or operands taken by a function, operation or relation in logic, mathematics, and computer science. In mathematics, arity may also be named ''rank'', but this word can have many other meanings in mathematics. In ...
of the function. A
Boolean function is then a special case, where the values are also restricted to 0 or 1.
Representations
Any pseudo-Boolean function can be written uniquely as a
multi-linear
In linear algebra, a multilinear map is a function of several variables that is linear separately in each variable. More precisely, a multilinear map is a function
:f\colon V_1 \times \cdots \times V_n \to W\text
where V_1,\ldots,V_n and W are ...
polynomial:
:
The degree of the pseudo-Boolean function is simply the degree of the
polynomial
In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
in this representation.
In many settings (e.g., in
Fourier analysis of pseudo-Boolean functions), a pseudo-Boolean function is viewed as a function
that maps
to
. Again in this case we can uniquely write
as a multi-linear polynomial:
where
are Fourier coefficients of
and
.
Optimization
Minimizing (or, equivalently, maximizing) a pseudo-Boolean function is
NP-hard
In computational complexity theory, NP-hardness ( non-deterministic polynomial-time hardness) is the defining property of a class of problems that are informally "at least as hard as the hardest problems in NP". A simple example of an NP-hard pr ...
. This can easily be seen by formulating, for example, the
maximum cut
For a graph, a maximum cut is a cut whose size is at least the size of any other cut. That is, it is a partition of the graph's vertices into two complementary sets and , such that the number of edges between and is as large as possible. Fin ...
problem as maximizing a pseudo-Boolean function.
Submodularity
The
submodular set function
In mathematics, a submodular set function (also known as a submodular function) is a set function whose value, informally, has the property that the difference in the incremental value of the function that a single element makes when added to an ...
s can be viewed as a special class of pseudo-Boolean functions, which is equivalent to the condition
:
This is an important class of pseudo-boolean functions, because they can be
minimized in polynomial time. Note that minimization of a submodular function is a polynomially solvable problem independent on the presentation form, for e.g. pesudo-Boolean polynomials, opposite to maximization of a submodular function which is NP-hard, Alexander Schrijver (2000).
Roof Duality
If ''f'' is a quadratic polynomial, a concept called ''roof duality'' can be used to obtain a lower bound for its minimum value.
[Boros and Hammer, 2002] Roof duality may also provide a partial assignment of the variables, indicating some of the values of a minimizer to the polynomial. Several different methods of obtaining lower bounds were developed only to later be shown to be equivalent to what is now called roof duality.
Quadratizations
If the degree of ''f'' is greater than 2, one can always employ ''reductions'' to obtain an equivalent quadratic problem with additional variables. One possible reduction is
:
There are other possibilities, for example,
:
Different reductions lead to different results. Take for example the following cubic polynomial:
[Kahl and Strandmark, 2011]
:
Using the first reduction followed by roof duality, we obtain a lower bound of -3 and no indication on how to assign the three variables. Using the second reduction, we obtain the (tight) lower bound of -2 and the optimal assignment of every variable (which is
).
Polynomial Compression Algorithms
Consider a pseudo-Boolean function
as a mapping from
to
. Then
Assume that each coefficient
is integral.
Then for an integer
the problem P of deciding whether
is more or equal to
is NP-complete. It is proved in
[Crowston et al., 2011] that in polynomial time we can either solve P or reduce the number of variables to
Let
be the degree of the above multi-linear polynomial for
. Then
[Crowston et al., 2011] proved that in polynomial time we can either solve P or reduce the number of variables to
.
See also
*
Boolean function
*
Quadratic pseudo-Boolean optimization
Quadratic pseudo-Boolean optimisation (QPBO) is a combinatorial optimization method for minimizing quadratic pseudo-Boolean functions in the form
: f(\mathbf) = w_0 + \sum_ w_p(x_p) + \sum_ w_(x_p, x_q)
in the binary data, binary variables x_p \ ...
Notes
References
*
*
*
*
*
* {{cite conference, author1=Rother, C., author2=Kolmogorov, V., author3=Lempitsky, V., author4=Szummer, M., title=Optimizing Binary MRFs via Extended Roof Duality, conference=
Conference on Computer Vision and Pattern Recognition , year=2007, url=http://research.microsoft.com/pubs/67978/cvpr07-QPBOpi.pdf
* Alexander Schrijver. A Combinatorial Algorithm Minimizing Submodular Functions in Strongly Polynomial Time. Journal of Combinatorial Theory, Series B, Volume 80, Issue 2, November 2000, Pages 346-355.
Mathematical optimization