<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Entropy-Penalized Semidefinite Programming</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>08/01/2019</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10110704</idno>
					<idno type="doi">10.24963/ijcai.2019/157</idno>
					<title level='j'>Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Mikhail Krechetov</author><author>Jakub Marecek</author><author>Yury Maximov</author><author>Martin Takac</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<p>Low-rank methods for semi-definite programming (SDP) have gained a lot of interest recently, especially in machine learning applications. Their analysis often involves determinant-based or Schatten-norm penalties, which are difficult to implement in practice due to high computational efforts. In this paper, we propose Entropy-Penalized Semi-Definite Programming (EP-SDP), which provides a unified framework for a broad class of penalty functions used in practice to promote a low-rank solution. We show that EP-SDP problems admit an efficient numerical algorithm, having (almost) linear time complexity of the gradient computation; this makes it useful for many machine learning and optimization problems. We illustrate the practical efficiency of our approach on several combinatorial optimization and machine learning problems.</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Semidefinite programming (SDP) has become a key tool in solving numerous problems across operations research, machine learning, and artificial intelligence. While there are too many applications of SDP to present even a representative sample, inference in graphical models <ref type="bibr">[Wainwright and Jordan, 2008;</ref><ref type="bibr">Erdogdu et al., 2017]</ref>, multi-camera computer vision <ref type="bibr">[Torr, 2003]</ref>, and applications of polynomial optimization <ref type="bibr">[Parrilo, 2003;</ref><ref type="bibr">Lasserre, 2015]</ref> in power systems <ref type="bibr">[Ghaddar et al., 2016]</ref> stand out. Under some assumptions <ref type="bibr">[Madani et al., 2014]</ref>, the rank at the optimum of the SDP relaxation is bounded from above by the tree-width of a certain hypergraph, plus one. When a rank-one solution is not available, it is often not needed <ref type="bibr">[Mare&#269;ek and Tak&#225;&#269;, 2017]</ref>, as one should like to construct a stronger SDP relaxation.</p><p>Penalization of the objective is a popular approach for obtaining low-rank solutions, at least in theory <ref type="bibr">[Recht et al., 2010;</ref><ref type="bibr">Lemon et al., 2016;</ref><ref type="bibr">Zhou, 2019;</ref><ref type="bibr">Fawzi et al., 2019]</ref>. Notice that without a further penalization, an interior-point method for SDP provides a solution on the boundary of the feasible set, where SDP corresponds to the optimum of the highest rank, whenever there are optima of multiple ranks available. The use of a penalization provides a counter-balance in this respect. In practice, however, the penalties are often ignored, as it is believed that their computation is too demanding for large-scale problems and does not guarantee low-rank solutions in general.</p><p>An alternative approach develops numerical optimization methods that seek a priori low-rank solutions. This approach, widely attributed to <ref type="bibr">[Burer and Monteiro, 2003]</ref>, considers a factorization of a semidefinite matricial variable X = V &#8226; V with V &#8712; R n&#215;k for increasing 1 &#8804; k n. In general, the resulting problems are non-convex. Early analyses required determinant-based penalty terms <ref type="bibr">[Burer and Monteiro, 2005]</ref>, although no efficient implementations were known. Under mild assumptions, for large-enough k, there is a unique optimum over such a factorization even without a penalization and it recovers the optimum of the initial SDP problem <ref type="bibr">[Boumal et al., 2016]</ref>. For smaller values of k, it is known that the low-rank relaxation achieves O(1/k) relative error <ref type="bibr">[Mei et al., 2017]</ref>. Much more elaborate analyses <ref type="bibr">[Erdogdu et al., 2018]</ref> are now available. Especially when combined with efficient gradient computation, e.g. within low-rank coordinate descent <ref type="bibr">[Mare&#269;ek and Tak&#225;&#269;, 2017, e.g.]</ref>, this approach can tackle sufficiently large instances and is increasingly popular.</p><p>In this paper, we aim to develop a method combining both approaches, i.e., utilize an efficient low-rank-promoting penalty in the Burer-Monteiro approach. We present efficient first-order numerical algorithms for solving the resulting penalized problem, with (almost) linear-time per-iteration complexity. This makes the combined approach applicable to a wide range of practical problems.</p><p>In a case study, we focus on certain combinatorial optimization problems and inference in graphical models. We show that despite the non-convexity of the penalized problem, our approach successfully recovers rank-one solutions in practice. We compare our solutions against non-penalized SDP, belief propagation, and state-of-the-art branch-and-bound solvers of <ref type="bibr">[Krislock et al., 2014]</ref>.</p><p>Contribution. Our contributions can be summarized as follows. We show 1. convergence properties of optimization methods employing a wide class of penalty functions that promote low-rank solutions; 2. linear-time algorithms for computing the gradient of these penalty functions; 3. computational results on the penalized SDP relaxation of maximum a posteriori (MAP) estimates in Markov random fields (MRF), which considerably improve upon the results obtained by interior-point methods and randomized rounding. This allows for both well-performing and easy-to-analyze low-rank methods for SDPs coming from graphical models, combinatorial optimization, and machine learning. Paper structure. This paper is organized as follows. First, we define the conic optimization problem together with a penalized form with a list of suitable penalization functions. Next, we present theoretical guarantees for solution recovery. These extend known results for solution recovery to the penalty case. Then, we consider the MAP problem in Markov Random Fields (MRF) and introduce an iterative procedure for it, together with a first-order method for solving a subproblem at each step; we also show how to compute the gradients efficiently. Finally, we provide computational experiments for different inference problems in MRF.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Background</head><p>SDP is the following conic optimization problem:</p><p>where X &#8712; S n + denotes that the n &#215; n matrix variable W is symmetric positive semidefinite, I and J are finite index sets, each f i and g j are convex functions R n&#215;n &#8594; R, and C j &#8712; R n&#215;n and S i &#8712; R n&#215;n are constant matrices.</p><p>In the context of combinatorial optimization, one may also consider even more powerful methods such as Sum-of-Squares hierarchies of <ref type="bibr">[Parrilo, 2003]</ref>. However, even an SDP relaxation, which is, in fact, the first step of this hierarchy, may be too computationally challenging. It is usually solved by interior-point methods in the dimension that is quadratic in the number of variables and thus becomes intractable even for medium-scale problems (with a few thousand variables). The problem becomes even less scalable for higher orders of the hierarchy since it requires one to solve SDP with n &#920;(d) variables, where d is the level of the hierarchy.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Low-rank Relaxations and Penalized Problem</head><p>First, let us formally define our notion of a penalty function and explain related work on first-order methods for SDP. Assumption 1. Eq. (SDP) has an optimum solution with rank r.</p><p>Let us consider the following proxy problem:</p><p>Where q &gt; r and R q,&#955; (V ) satisfies the following:</p><p>Definition 1 (Strict penalty function). A function R q,&#955; (V ) : R n&#215;n &#8594; R is a penalty function that promotes low-rank solutions if for some integers q &#8804; q and a multiplier &#955; &#8712; R + :</p><p>Moreover, if q = q and the rank (X) &lt; q, then R q,&#955; (V ) = 0, &#8704;&#955;, R(V ) is a strict penalty function.</p><p>We use the word penalty instead of penalty function that promotes low-rank solutions, where there is no risk of confusion. This notion of a penalty is rather wide. When multiplied by &#955;, a determinant is a prime example. One may also consider functions of the following quasi-norms.</p><p>1. The nuclear norm:</p><p>where &#963; i is the i-th singular value, cf. <ref type="bibr">[Lemon et al., 2016]</ref>. The norm is also known as a trace norm, Schatten 1-norm, and Ky Fan norm. As shown by <ref type="bibr">[Srebro et al., 2004]</ref>, in the method of <ref type="bibr">[Burer and Monteiro, 2003]</ref>, one can benefit from a bi-Frobenius reformulation:</p><p>There are also truncated <ref type="bibr">[Hu et al., 2013]</ref> and capped variants <ref type="bibr">[Sun et al., 2013]</ref>. 2. Schatten-p quasi-norm for p &gt; 0:</p><p>where &#963; i (X) denotes the i-th singular value of X. 3. A smoothed variant of Schatten-p quasi-norm by <ref type="bibr">[Pogodin et al., 2017]</ref> for p, &gt; 0:</p><p>4. Tri-trace quasi-norm of <ref type="bibr">[Shang et al., 2018]</ref>:</p><p>which is also the Schatten-1/3 quasi-norm. 5. Bi-nuclear (BiN) quasi-norm of <ref type="bibr">[Shang et al., 2018]</ref>:</p><p>which is also the Schatten-1/2 quasi-norm. 6. Frobenius/nuclear quasi-norm of <ref type="bibr">[Shang et al., 2018]</ref>:</p><p>which is also the Schatten-2/3 quasi-norm. We also note there has been considerable interest in the analysis of low-rank approaches without penalization, especially in matrix-completion applications. Much of the analysis goes back to the work of <ref type="bibr">[Keshavan et al., 2010]</ref>. For further important contributions, see <ref type="bibr">[Arora et al., 2012]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Entropy Viewpoint</head><p>One could see the penalty functions introduced above from the entropy-penalization perspective. This is useful not only from a methodological standpoint, but also from a computational one. To this end, we consider the Tsallis entropy:</p><p>The Tsallis entropy is crucial in our study because it generalizes many popular penalties considered earlier. The Schatten p-norm coincides with the Tsallis entropy S T p over a set of matrices with a fixed trace norm, so that the tri-quasi norm and bi-nuclear norm (2-6) are covered as well. The Log-Det function, -log det X, which is also used in low-rank SDP, is up to an additive constant factor relative (Shannon) entropy taken concerning a unit matrix, while Renyi (S R ) and von Neumann (S N ) entropies,</p><p>, respectively, can also be used as penalties to promote a lowrank solution. To the best of our knowledge, neither Renyi, von Neumann, nor Tsallis entropies have been studied in the context of low-rank SDP.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Exact Recovery</head><p>Let us now present a unified view of the penalties and their properties:</p><p>Lemma 1. Any of:</p><p>1. &#955; det(X); 2. &#955;&#963; q (X), where &#963; i (X) denotes the i-th singular value of X;</p><p>3. Tsallis, Renyi, and von Neumann entropies defined on the last n -q + 1 singular values;</p><p>4. &#955; max 0, X * max{&#963;min(X),&#963;q(X)} -q , is a penalty function that promotes low-rank solutions. Moreover, penalties 1-3 are strict.</p><p>Proof. Sketch. (1.) The proof is by simple algebra. (2.) If &#963; q (X) is 0, we know the rank is q -1 or less. Otherwise, for large values of &#955;, the value of the penalties goes to infinity, and hence q = q. (3.) The definition of entropy assumes that S(0, ..., 0) = 0, thus all entropies are strict penalty functions by definition. (4.) First, consider the case where all non-zero singular values are equal. In that case, X * /&#963; min (X) = rank (X), and subtracting q results either in a non-positive number when the rank is less than q or a positive number otherwise. If the singular values are non-equal, X * /&#963; min (X) provides an upper bound on the rank of X, which can be improved as suggested. The use of the upper bound results in the value of the penalty tending to infinity for values between q and q in the large limit of &#955;.</p><p>Crucially, under mild assumptions, any penalty allows for the recovery of the optimum of a feasible instance of (SDP) from the iterations of an algorithm on the non-convex problem in variable V &#8712; R n&#215;r , such as in the methods of <ref type="bibr">[Frostig et al., 2014]</ref> or <ref type="bibr">[Burer and Monteiro, 2003]</ref>. In contrast to the traditional results of <ref type="bibr">[Burer and Monteiro, 2005]</ref>, who consider the det penalty, we allow for the use of any strict penalty function.</p><p>Theorem 2. Assume that we solve the proxy problem (P-SDP) iteratively and R q,&#955; (V ) is a strict penalty function that promotes low-rank solutions. In each iteration, if R q,&#955; (V ) = 0, we increase &#955; (e.g., set &#955; t+1 = &#947;&#955; t , with u &gt; 1 as some fixed parameter). Furthermore, let us assume that the solution we found is denoted by &#7804;q with rank ( &#7804;q ) = q &lt; q. Let us also denote &#7804;q &#8712; R n&#215;q some factorization of &#7804;q &#7804; q (such factorization exists because rank ( &#7804;q ) = q ). Also assume that we have an optimal solution of (SDP), X * with a rank (X * ) = r.</p><p>If</p><p>is a local minimum of P q +r+1,&#955; , then ( &#7804;q ) &#7804; q is a global solution of SDP.</p><p>Proof. Let us define a family of matrices for &#964; &#8712; [0, 1] as follows:</p><p>where</p><p>Note that &#8704;&#964; , we have rank (X(&#964; )) &lt; r + q + 1, and hence &#8704;&#955;, &#964; : R q +r+1,&#955; (V (&#964; )) = 0. Now, assume the contradiction, that is, V q +r+1 is a local optimum solution but &#7804;q is not a global solution.</p><p>We show that &#8704;&#964; &#8712; [0, 1], V (&#964; ) is a feasible solution. Indeed, for any j &#8712; J we have</p><p>We just showed that for each V (&#964; ), &#964; &#8712; [0, 1] is a feasible point. Now, let us compute the objective value at this point. For all &#964; &#8712; [0, 1], we have</p><p>which is a contradiction under the assumption that &#7804;q is a local optimum.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Efficient Implementation for MAP Inference</head><p>A pairwise Markov Random Field (MRF) is defined for an arbitrary graph G = (V, E) with n vertices. We associate a binary variable x i &#8712; {-1, +1} with each vertex i &#8712; V . Let &#952; i : {&#177;1} &#8594; R and &#952; ij : {&#177;1} 2 &#8594; R defined for each vertex and edge of the graph be vertex and pairwise potential, respectively. Thus, a posteriori distribution of x follows the Gibbs distribution:</p><p>which is its turn an NP-hard binary quadratic optimization problem,</p><p>x Sx, with indefinite matrix S. The SDP relaxation for this problem is given by <ref type="bibr">[Goemans and Williamson, 1995;</ref><ref type="bibr">Nesterov, 1998]</ref>:</p><p>which also covers the Ising model in statistical physics and a number of combinatorial optimization problems. We believe that the approach can be extended to a general setup given by Eq. (SDP). An entropy-penalized SDP relaxation of (8) has the form</p><p>where V i is the i-th column of matrix V &#8712; R n&#215;k , X = V V .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Numerical Method.</head><p>To solve Problem (EP-SDP), we use the Augmented Lagrangian method starting from a sufficiently small value of the penalty parameter &#955; &gt; 0 and increasing it in geometric progression, &#955; k+1 = &#955; k &#947;, with &#947; &gt; 1, as summarized in Algorithm ??. The efficiency of the method is due to the efficient computability of gradients of Tsallis, Renyi, and von Neumann entropies:</p><p>Then, gradients of S T &#945; (X), S R (X), and S N (X) can be computed in O(n) time. Moreover, if the number of non-zero elements in matrix A is O(n), then the iteration complexity of Algorithm ?? is O(n).</p><p>Proof. We start our analysis with Tsallis entropy. First, compute the gradient of</p><p>Similarly for Renyi, S R (X), and von Neumann, S N (X), entropies we have</p><p>Algorithm 1: Entropy-Penalized SDP. Data: Quadratic matrix S of the MAP inference problem, staring point &#955; 0 , &#947; &gt; 1, step size policy {&#951; k } k&#8805;1 accuracy parameters &#949;, Result: Solution V * as a local minimum of (EP-SDP) of unit rank begin</p><p>Following <ref type="bibr">[Holmes et al., 2007]</ref>, the singular-value decompo-</p><p>For any &#945; &gt; 1, the product X &#945;-1 &#8226; V = U 1 D 2&#945;-1 U 2 can be computed in time O(n) together with tr X &#945; = tr D 2&#945; and tr X = tr D 2 . Thus, for a fixed k, the gradient &#8706; S T (X) &#8706;V computation time is linear in its dimension. (Here, for any &#945; &#8712; (0, 1), we use the identity &#8706;&#955; i = v i &#8706;Xv i .) To finish the proof of the statement, it remains to note that matrix-vector multiplication takes O(n) time for any matrix with O(n) nonzero entries.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Case Study</head><p>In this section, we compare our penalized algorithm with other conventional approaches to MAP problems. We fix the width of factorization to k = 10, since there is no significant gain in practice for larger values of k, cf. <ref type="bibr">[Mei et al., 2017]</ref>. We choose 2&#951; k &#946; = 1, where &#946; is the Lipschitz constant of the gradient in 2 norm and &#947; = 3/2. Parameters &#955; 0 and &#947; of Algorithm ?? are usually chosen by a few iterations of random search. It is usually enough to have about 35 iterations for penalty updates and a few hundred iterations to find a local minimum using Algorithm ??. We emphasize that matrices we obtain by solving EP-SDP are rank-one solutions on all MAP instances presented. Thus, we do not need any further rounding procedure.</p><p>First, in Table <ref type="table">1</ref>, we show the performance of our algorithm on selected hard MAP inference problems from the BiqMac collection 2 . We selected a few of the hardest instances ("gkaif" among them)-dense quadratic binary problems of 500 variables.</p><p>We compared our algorithm (EP-SDP with Tsallis entropy and &#945; = 2) with the plain-vanilla semidefinite programming instance solved by the interior-point method, possibly with rounding using the best of one thousand roundings of <ref type="bibr">[Goemans and Williamson, 1995]</ref> and also with Gurobi solver for Mixed-Integer Problems. To avoid any confusion, we solve the corresponding maximization problems; by the objective value, we mean the value at a feasible solution produced by the method (e.g., rounded solution of SDP relaxation), which is a lower bound for the corresponding problem. Because these problems are of the same size (but varying density), the running time of each method is almost constant. It took around 10 minutes for CVXPY to solve the SDP relaxation, and it runs out of memory for the two problems with higher density. Within five seconds, EP-SDP obtains results that are better than what Gurobi can produce in 70 seconds.</p><p>In our study, parameter &#945; of entropies S T &#945; , S N &#945; , and S R &#945; is chosen on an exponential grid from 1 to 10 with a step 1.1. After experimentation, we note that &#945; = 1.1 and &#945; = 5.0 seem to improve the results the best for the low-rank SDP with Tsallis and Renyi entropies, respectively, although the difference between different &#945; &#8712; (1, 10) is not very significant for either of the (Tsallis and Renyi) entropies.</p><p>Table <ref type="table">2</ref> summarizes the results of solving the Max-Cut problem over a GSET collection of sparse graphs 3 . As we see from the experiments, the results of applying suitable entropy often outperform both the plain-vanilla SDP with the classical Goermans-Williamson rounding, the mean-field approximation, as well as the results of UGM solver 4 for loopy belief propagation and mean-field inference. It is worth noting that for several instances of the GSET graph collection, loopy belief propagation provides rather weak results. Usually, strong results of the loopy belief propagation are complementary to those of the mean-field approximation, which is supported by our empirical results. Results of both loopy belief propagation and mean-field approximation can be substantially improved   using the linear-programming belief-propagation approach (LP-BP).</p><p>We also want to point out that our iterative algorithm successfully decreases the rank of the solution. The higher the penalization parameter, the lower the rank. We illustrate this in Figure <ref type="figure">1</ref>, where for Tsallis entropies with &#945; = 2 and &#945; = 5, we plot the second singular value of matrix V . For this plot, we considered the Max-Cut problem for the first graph from the GSET collection and the Tsallis entropy as the penalization In Figure <ref type="figure">2</ref>, we illustrate the same concept for fixed penalization (Tsallis entropy with &#945; = 2) and different initial values of the multiplier &#955;. We observe that for different penalization functions and update schemes, the rank of the solution decreases gradually with each step. In practice, our iterative algorithm could be seen as a universal rounding procedure for SDP relaxations. Indeed, if we choose a large-enough penalization update (e.g., &#947; = as in Figure <ref type="figure">1</ref>), we easily obtain a rank-one solution that is not worse often is substantially better than solutions obtained by randomized rounding. Overall, we would like to stress that Algorithm ?? is very fast. This is shown in Figure <ref type="figure">3</ref> and Table <ref type="table">3</ref>, where we compare run times of EP-SDP, low-rank Burer-Monteiro approach (LR-SDP), and interior-point method solvers (SDP) for various Erdos-Renyi random graphs. From the data, we see that (assuming the fixed width of factorization k = 10) EP-SDP run time increases linearly with the number of vertices. Indeed, throughout the benchmark instances tested, the run time does not exceed a few seconds per each of the test cases. At the same time, the bound is often almost as good as that of the Branch and Bound Biq-Mac Solver of <ref type="bibr">[Krislock et al., 2014]</ref>, which requires a significant amount of time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusions</head><p>This paper presented a unified view of the penalty functions used in low-rank semidefinite programming using entropy as a penalty. This makes it possible to find a low-rank optimum, where there are optima of multiple ranks.  grams with an entropy penalty can be solved efficiently using first-order optimization methods with linear-time per-iteration complexity, which makes them applicable to large-scale problems that appear in machine learning and polynomial optimization. Our case study illustrated the practical efficiency on binary MAP inference problems. The next step in this direction is to consider the structure of the SDP, which seems to be crucial for further scalability.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence </p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>Proceedings of Twenty-Eighth International Joint Conference on Artificial Intelligence </p></note>
		</body>
		</text>
</TEI>
