<?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'>Additive Error Guarantees for Weighted Low Rank Approximation</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10337226</idno>
					<idno type="doi"></idno>
					<title level='j'>Proceedings of the 38th International Conference on Machine Learning</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Aditya Bhaskara</author><author>Aravinda K. Ruwanpathirana</author><author>Maheshakya Wijewardena</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Low-rank approximation is a classic tool in data analysis, where the goal is to approximate a matrix A with a low-rank matrix L so as to minimize the error ||A-L||_F. However in many applications, approximating some entries is more important than others, which leads to the weighted low rank approximation problem. However, the addition of weights makes the low-rank approximation problem intractable. Thus many works have obtained efficient algorithms under additional structural assumptions on the weight matrix (such as low rank, and appropriate block structure). We study a natural greedy algorithm for weighted low rank approximation and develop a simple condition under which it yields bi-criteria approximation up to a small additive factor in the error. The algorithm involves iteratively computing the top singular vector of an appropriately varying matrix, and is thus easy to implement at scale. Our methods also allow us to study the problem of low rank approximation under L_p norm error.]]></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>Matrix low rank approximation is one of the most classic dimension reduction methods in data analysis. The standard least squared error version can also be solved efficiently using the singular value decomposition, and we know how to do this in time comparable to the input sparsity <ref type="bibr">(Clarkson &amp; Woodruff, 2017)</ref>. Despite its utility, natural variants of low-rank approximation turn out to be intractable. Weighted low-rank approximation is one well studied example: in many applications, some of the entries of a matrix may be less important to approximate than others (e.g., they might be known to be noisy), and thus we may have a weight associated with each entry. While standard least-squares regression for vectors can incorporate weights directly, the matrix version turns out to be challenging. Formally, the weighted low-rank approximation problem is defined as follows: given A &#8712; R d&#215;n , a non-negative weight matrix W &#8712; R d&#215;n and a parameter k, the goal is to find a rank k matrix L that minimizes Cost(L),</p><p>(1)</p><p>The problem and its difficulty were recognized as early as <ref type="bibr">Young (1941)</ref>, and it has been well-studied in the ML literature starting with the work of <ref type="bibr">Srebro &amp; Jaakkola (2003)</ref>. Unlike the unweighted version (which corresponds to W = 1 d&#215;n ) low-rank approximation, the problem above is NP-hard in general <ref type="bibr">(Gillis &amp; Glineur, 2011)</ref>. Much of the early work such as <ref type="bibr">Srebro &amp; Jaakkola (2003)</ref>; <ref type="bibr">Manton et al. (2003)</ref>; <ref type="bibr">Eriksson &amp; van den Hengel (2010)</ref> thus developed heuristics for the problem. The first provably efficient algorithms were obtained in the work of <ref type="bibr">Razenshteyn et al. (2016)</ref> (see also references therein for work on matrix completion which is closely related). <ref type="bibr">Razenshteyn et al. (2016)</ref> as well as more recent works <ref type="bibr">(Musco et al., 2020;</ref><ref type="bibr">Ban et al., 2019b)</ref> assume that W has low rank, and develop algorithms that achieve a (1 + ) (multiplicative) approximation to the optimum cost, while having a running time exponential in the rank of W .</p><p>Very recently, <ref type="bibr">Musco et al. (2020)</ref> initiated a study of additive error bounds for weighted low rank approximation.</p><p>Here the goal is to obtain an L such that Cost(L ) &#8804; OPT + A 2 F , where OPT is the optimal cost. Additive error guarantees have been a classic notion in the literature on low rank approximation (starting with the seminal work of <ref type="bibr">Frieze et al. (2004)</ref> on sampling for low rank approximation with additive error). Additive guarantees are realistic in applications where the optimal error is a small yet constant fraction of the total mass (e.g., when a low rank approximation may capture 90% of the Frobenius mass).</p><p>So far, our discussion has been restricted to error in the squared norm. However, low rank approximation has also been studied in entrywise p norms for p = 2. While any p &gt; 0 ensures that the matrix L approximates A, the choice of p determines how the non-uniformity in approximation error is penalized. For example, an 1 penalty allows some errors |A ij -L ij | to be much larger than others (as long as the total sum is small), while as p &#8594; &#8734;, higher errors are penalized severely. Thus small values of p are used when some entries can be ignored as outliers (e.g., <ref type="bibr">Candes &amp; Recht (2008)</ref>), while higher values of p ensure a more uniform approximation.</p><p>The works of <ref type="bibr">Song et al. (2017)</ref> and <ref type="bibr">Ban et al. (2019a)</ref> develop sketching based algorithms for p norm approximation, particularly for p &#8712; <ref type="bibr">[1,</ref><ref type="bibr">2]</ref>. They aim to find low-rank approximations whose objective value is &#8804; (1 + ) times the optimum. <ref type="bibr">Chierichetti et al. (2017)</ref> develop approximation guarantees in much more generality, for all p &#8805; 1 (including p = &#8734;). Their result gives a simple O(k log n) multiplicative approximation to the optimal error. Goals. Our goal in this paper is to consider weighted low rank approximation with 2 and p error objectives and develop efficient and practical algorithms. We prove the efficacy of the greedy procedure under a novel yet natural assumption and establish additive error guarantees.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1.">Our Results</head><p>In all our results, we assume that A is the input matrix, and that W is the non-negative weight matrix which has been re-scaled to satisfy W ij &#8712; [0, 1] for all i, j.</p><p>Our first result is to develop a simple greedy algorithm that gives an additive error approximation to weighted lowrank approximation. Unlike prior work, our analysis does not require any explicit assumptions on the weight matrix itself. It works as long as the target matrix (the intended low rank approximation) has a Frobenius norm not too large compared to A. Formally, our theorem is the following: Theorem 1. Suppose there exists a rank k matrix L that satisfies the two conditions: (a) Cost(L) &#8804; &#915; and (b)</p><p>F for some parameters &#923;, &#915;. Then for any &gt; 0, there exists an efficient algorithm that outputs a matrix L of rank at most O(k&#923;/ 2 ) that satisfies</p><p>Remark. Note that the guarantee is not in terms of the optimal error but in terms of &#915;. This is because we could have the optimal matrix L * having a large value of L * F , but there may exist an L with only a slightly larger cost, but a much smaller value of L 2 F . We also note that in the unweighted case (W = 1 d&#215;n ), the bound on L F / A F is automatically satisfied: indeed, the ratio is always &#8804; 1. However in the weighted case, there can be pathological cases where a low-rank approximation has a much higher Frobenius norm than A. As an example, consider the case of A = W = I n (n &#215; n identity). The matrix L = 1 n&#215;n (all ones) is a rank-one matrix that achieves zero weighted approximation error. However,</p><p>Informally, our assumption is equivalent to requiring that even the "unimportant" entries in A are not too different in magnitude from the corresponding entries in L, on average. We believe that this is a reasonable assumption when approximating A by L. Moreover, under this assumption, the theorem requires no structural assumptions on W (as in prior work).</p><p>Remark. It is natural to ask if a dependence on &#923; is necessary in general. Showing lower bounds in terms of this parameter is an interesting open direction. However, we note that the known hardness results for matrix completion give an evidence for hardness when A, W are sparse (in this case, L F / A F is &#920;(n)). Specifically, <ref type="bibr">Hardt et al. (2014)</ref> show that for matrix completion, given a matrix A which is the restriction to indices &#8486; of a rank-k matrix L with entries of magnitude O(1), for any constant c, it is hard to construct a matrix B of rank r = ck such that</p><p>(This is assuming the hardness of an appropriate variant of coloring.) Viewing W as the binary mask matrix corresponding to &#8486;, this also shows the hardness of weighted low rank approximation. The catch is that the amount of additive error allowed above is quite small; it is A 2 F only when the matrix is sparse. The algorithm is a greedy procedure that iteratively adds a rank 1 matrix to a decomposition, similar to Frank-Wolfe methods (see, e.g., <ref type="bibr">Clarkson (2010)</ref>). The crux of the analysis is in showing that in spite of potentially bad choices in the past, there exists an update that can significantly improve the decomposition. A powerful feature of our techniques is that we can extend them to weighted approximation with p norm error. We study the entrywise p version of the objective in (1), defined as</p><p>Here, additive error will correspond to an p analog of the Frobenius norm, X Fp := i,j |X ij | p 1/p . Theorem 2. Let p &gt; 2, and suppose there exists a rank k matrix L that satisfies: (a) Cost p (L) &#8804; &#915; and (b) L p Fp &#8804; &#923; A p Fp for some parameters &#923;, &#915;. Then for any &gt; 0, there exists an efficient algorithm that outputs a matrix L that satisfies Cost p (L )</p><p>We remark that this does not strictly dominate Theorem 1 because of the additional factor of k. For p = 2, this extra factor appears because the choice of basis for the target low-rank subspace is important to analyzing the greedy algorithm. As we discuss in Section 3, we need to use a carefully chosen basis for our argument.</p><p>Another remark is that our ideas only apply to p &gt; 2. When p &lt; 2, the maximization problem in each iteration of our current approach turns out to be that of computing the hypercontractive norm of a matrix, which is known to be hard <ref type="bibr">(Barak et al., 2012;</ref><ref type="bibr">Ban et al., 2019a)</ref>.</p><p>Our algorithm follows a similar outline as the one for Theorem 1, but it turns out to be much harder to analyze the improvement. We end up using tools from recent works on p regression <ref type="bibr">(Adil et al., 2019;</ref><ref type="bibr">Bubeck et al., 2018)</ref>. Moreover, finding a rank-one update in each step requires approximately computing the p &#8594; 2 operator norm of an appropriate matrix, which can be done efficiently for p &gt; 2 using semidefinite programming, as shown by <ref type="bibr">Nesterov (1998)</ref>; <ref type="bibr">Bhattiprolu et al. (2019)</ref>.</p><p>Finally, as discussed in the introduction, even the unweighted version of low-rank approximation with entrywise p error has received a lot of interest, and is known to be challenging. Here, we obtain the following additive approximation.</p><p>Theorem 3. Let p &gt; 2, and let OPT k denote the error of the best rank-k approximation of a given matrix A in the entrywise p norm. There exists an efficient (polynomial time) algorithm that outputs an</p><p>Unlike the previous theorems, this result is unconditional. Indeed, it is a simple consequence of Theorem 2 (see Section 3.4). But to the best of our knowledge, such an additive error approximation for p low rank approximation was not known for p &gt; 2. Given known hardness results for purely multiplicative approximation, it is interesting to study additive error guarantees (see <ref type="bibr">Ban et al. (2019a)</ref>).</p><p>Our algorithm for Theorem 3 can be viewed as extending the familiar iterative peeling algorithm for 2 low-rank approximation to the p setting, for p &gt; 2. The iterative step is different (now involving a p &#8594; 2 norm computation), and we obtain an additive error guarantee. The theorem also complements the sketching-based algorithms for obtaining bi-criteria algorithms for p &#8712; [1, 2) from <ref type="bibr">Ban et al. (2019a)</ref>. Finally, note that when the optimal error OPT k is very small</p><p>Fp , the algorithm of Chierichetti et al. ( <ref type="formula">2017</ref>) has a better guarantee than Theorem 3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2.">Notation and Overview</head><p>All the matrix and vector notations used in the paper will be defined at first use. We begin in Section 2 with the greedy algorithm for the weighted Frobenius error. The framework is then extended to the case of weighted p norm error in Section 3. The case of unweighted p error (Theorem 3) follows as a corollary and is presented in Section 3.4.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Algorithm for Squared Error</head><p>We now present the greedy framework that underlies all of our algorithms.</p><p>Outline. Our algorithm proceeds by maintaining a low-rank approximation for A and iteratively adding a rank-1 component that ensures sufficient error reduction. This is done by finding a vector z and subtracting an appropriate multiple of z from the residuals of each column. The analysis proceeds in a column-by-column fashion, and thus we begin with a few useful lemmas about approximating a single column, and present Algorithm 1 and its analysis in Section 2.1.</p><p>Our analysis is similar in spirit to the analysis of the greedy algorithm for column subset selection and sparse coding, <ref type="bibr">(Altschuler et al., 2016;</ref><ref type="bibr">Bhaskara &amp; Tai, 2019</ref>), but we need a different view in order to incorporate weights for entries. We begin with a few lemmas about approximating a single column using a collection of vectors. Let a &#8712; R d be a vector, and w &#8712; R d be weights for the coordinates. Define the function f w : R d &#8594; R as:</p><p>where w i , a i , v i denote the ith entries of the corresponding vectors. Next, suppose that x is a vector (which will be our current approximation for a). Assume that x is "locally optimal" in the sense that increasing or decreasing the magnitude of x does not reduce the value of f w . Formally, x satisfies &#8711;f w (x), x = 0. The gradient has a simple form in our setting, &#8711;f w (v) = 2w &#8226; (a -v) (recall that &#8226; denotes the Hadamard or element-wise product). The following lemma shows how moving along a certain direction improves the value of f w . First, we define</p><p>which is the least possible value of f w that can be obtained by moving from x along the direction u. (As we can set &#951; = 0, g w (x, u) is always &#8804; f w (x).) Lemma 4. Let a, x, w be defined as above, and let u &#8712; R d be a vector such that | &#8711;f w (x), u | &#8805; &#947; and i w i u 2 i &#8804; 1. Then we have</p><p>The proof follows by a direct expansion of f w , and we defer the details to the supplement.</p><p>Next, we show a lemma that is central to our argument. It says that if there is some u such that f w (u) &lt; f w (x), and if u can be written as a linear combination of some basis vectors using "small" coefficients, then one of the basis directions can lead to a sufficiently large reduction in the value of f w . Formally, Lemma 5. Let u 1 , u 2 , . . . , u k &#8712; R d be arbitrary vectors, and suppose u = j &#945; j u j , where j &#945; 2 j = B. Let a, x, w be defined as above, and suppose that f w (u) &lt; f w (x). Then</p><p>Proof. We first observe that because of the convexity of f w (it is a non-negative sum of convex functions), we have that</p><p>The last equality is because of our assumption that scaling x will not improve</p><p>. Now, plugging in u = j &#945; j u j and applying Cauchy-Schwartz, we obtain:</p><p>The first term is B by definition, and this completes the proof of the lemma.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Algorithm for Weighted Approximation</head><p>The algorithm proceeds as follows: at time step t = 0, 1, . . . , an approximation x (t) j is maintained for every column a j . Unlike in the single column case above, we now have (potentially) different weight vectors w j for each column j. We thus define</p><p>where w j,r denotes the rth coordinate of w j (similarly for a j ). Since our goal is an additive error approximation, an ideal goal is to bring f j (v) within a j 2 2 of the optimal approximation for column j, for all j. (Algorithm 1 gives a full description of the procedure.)</p><p>Remark. Steps 7 and 8 of the algorithm involve a line search. This is easy in our case because the associated functions of &#951; are univariate quadratics.</p><p>We start with some notation concerning the target rank-k solution L (as promised by the statement of Theorem 1). Suppose that L = U V T , where the columns of U are orthonormal, and let u j &#8712; R d , v j &#8712; R k denote the jth columns of U and V T respectively. Because of the orthonormal columns in U , we have v j 2 = L j 2 , where L j is the jth column of L. Our first goal is to obtain a column-wise control on L j / a j . Define the column j to be good if L j 2 / a j 2 &#8804; &#923;/ and bad otherwise. In what follows, we denote by G the set of all good columns. The following lemma is easy to see.</p><p>Algorithm 1 Weighted low rank approximation with L2 error 1: Input: Matrix A &#8712; R d&#215;n , error parameter 2: Output: Low-rank approximation L &#8712; R d&#215;n whose columns are spanned by a set of vectors Z, with |Z| = k := 8k&#923;/ 2 . 3: Initialize Z = &#8709;, set x (0) j = 0 for all j 4: for t = 1, 2, . . . , k do 5: Using fj defined in (4), let z &#8712; R d , z 2 = 1 be the vector that maximizes j &#8711;fj(x (t-1) j</p><p>), z 2 , and add z to Z 6:</p><p>for each j &#8712; [n] do 7:</p><p>Compute &#951; that minimizes fj(x Proof. Suppose the contrary, and assume that the inequality fails to hold. By the definition of bad, we have that</p><p>This contradicts our assumption about the bound on L The lemma allows us to focus on the good columns for most of our analysis. We now introduce the following notation to track the progress of the algorithm.</p><p>Notation. We denote</p><p>, &#952;</p><p>.</p><p>(5) Thus, informally, our goal is to ensure that &#952; (t) j &#8805; &#948; jon average. We also study the following weighted averages:</p><p>where A G is the submatrix of A comprising only the good columns. The next lemma shows that if &#968; (t) -&#948; * is large, then the (t + 1)th iteration makes considerable progress. Formally, Lemma 7. Suppose that after the t'th iteration of the algorithm we have &#968; (t) &gt; &#948; * . Then there exists a z such that j&#8712;G | &#8711;f j (x</p><p>Proof. The idea will be to prove that one of the {u i } i&#8712; <ref type="bibr">[k]</ref> satisfies the condition of the lemma. We do this by applying Lemma 5 to each of the good columns.</p><p>Step 8 ensures that the current representation for each column cannot be improved by rescaling, which is essential for applying Lemma 5. Consider any j &#8712; G. This implies that L j can be written as i&#8712;[k] &#945; i u i , where i &#945;<ref type="foot">foot_0</ref> i &#8804; &#923; a j 2 2 (indeed the &#945; i are precisely the entries of the column v j ). Thus, by applying Lemma 5, we get</p><p>where (x) + = max(x, 0).</p><p>We first show that the sum of the RHS above over j &#8712; G is large. By viewing</p><p>as a probability distribution over the indices j &#8712; G and using the fact that</p><p>Using the observation that for any real numbers c, d, (c) + + (d) + &#8805; (c + d) + (and generalizing this to a sum of multiple terms), the RHS above can be simplified (using ( <ref type="formula">6</ref>)) as</p><p>The RHS is positive by assumption, and thus plugging the above back into (7), we get:</p><p>Thus, by averaging, there exists an index i that satisfies the conclusion of the lemma. This completes the proof.</p><p>The next lemma bounds the progress after t steps of the algorithm.</p><p>Lemma 8. Let &lt; 1/2 be a given error parameter. The number of iterations needed to achieve</p><p>Proof. Recall that &#968; (t) and &#948; * only involve the good columns. Define &#946; t := &#968; (t) -&#948; * , and note that &#946; t clearly only reduces as t increases. We are done if &#946; t &#8804; 2 , and thus consider some t &#8804; 8k&#923; 2 and assume that &#946; t &gt; 2 .</p><p>We claim that in the next O(k&#923;/ &#946; t ) steps, the value of &#946; t reduces by a factor 2. To see this, suppose the contrary. Now in each iteration, the algorithm finds some z with z = 1 such that the total leftover mass (over all the columns) reduces by at least the bound given by Lemma 7. This is because the algorithm finds z that maximizes j &#8711;f j (x (t-1) j</p><p>), z 2 , and by Lemma 4, this also quantifies the total mass reduction. (Note that we have used the fact that all the weights are &#8712; [0, 1] when applying the Lemma.) Thus, since &#946; t &#8805; &#946; t /2 for all the time steps t we are considering, the mass reduction is at least</p><p>where we used &lt; 1/2 and Lemma 6. Thus if this continues for 8k&#923;/ &#946; t steps, the total mass reduction (which includes the reduction on bad columns) is &#8805; &#946; t A 2 F . But since &#946; t &gt; 2 and at most A 2 F of the mass is on the bad columns, this contradicts our assumption that &#946; t did not reduce by a factor 2.</p><p>Thus, we have argued that as long as &#946; t &gt; 2 , it takes &#8804; 8k&#923;/ &#946; t steps for &#946; t to reduce to &#946; t /2. Since &#946; 0 &#8804; 1, we have that it takes &#8804; 2 j &#8226; 8k&#923; steps for &#946; t to reduce from 2 -j to 2 -(j+1) . Thus, as the geometric series converges to twice the last term, we have that &#946; t reduces to &#8804; 2 after 2 2 &#8226; 8k&#923; steps, completing the proof of the lemma.</p><p>We can now complete the proof of Theorem 1.</p><p>Proof of Theorem 1. Lemma 8 gives us that after O k&#923; 2 steps, we have &#968; (t) -&#948; * &#8804; 2 . Combined with Lemma 6, we have that the overall error in approximation is at most</p><p>. This completes the proof (after replacing by /3 throughout).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Low Rank Approximation with p Error</head><p>The high level outline of our algorithm is similar to the 2 setting. However, we need the right target decomposition, and need to set up the analysis carefully so as to make the rank-one update at every step efficient.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Identifying a Target Decomposition</head><p>Let A be the matrix to be approximated and W the weight matrix as before. We make the same assumption: L = U V T is the target decomposition, and we have L Recall that the starting point in our analysis in the case of is rotation invariant (using a different basis U maintains the norm property). Unfortunately, this is not true in the case of p norms. A priori, it is not clear if there exists a good decomposition that allows a property such as the above for all the columns, nor is it clear what normalization one should choose for the columns of U . E.g., should they have</p><p>&#8226; p = 1, or a different norm such as 2 or the dual of p ?</p><p>So our first step is to describe the target decomposition and its properties. Lemma 9. Let L &#8712; R d&#215;n be any rank k matrix with k &#8804; min{d, n}. Then there exists a decomposition</p><p>Proof. The proof uses the following simple observation about rank k matrices.</p><p>Observation. Let M &#8712; R d&#215;n be a rank k matrix. Then there exist a subset S of k columns of M with the property that all the other columns can be expressed as i&#8712;S &#945; i M i , with |&#945; i | &#8804; 1 for all i.</p><p>The observation follows by an extremal argument, considering the k columns such that the volume of the associated parallelopiped is maximized. We refer the reader to Chierichetti et al. ( <ref type="formula">2017</ref>) (Lemma 2) for a proof. (The argument itself is classic, and the property above is related to the notion of an Auerbach basis in Banach spaces. See <ref type="bibr">Taylor (1947)</ref>; <ref type="bibr">Martini et al. (2001)</ref>. One of the early applications of this idea in the CS literature was in the work of <ref type="bibr">Awerbuch &amp; Kleinberg (2004)</ref>.)</p><p>For our lemma, we apply the observation above to the matrix M whose columns are M j = Lj Lj p</p><p>. Let the chosen columns of M be denoted by the vectors u i , for i &#8712; [k].</p><p>Then we have that all the other M j can be expressed as i &#945; i u i with |&#945; i | &#8804; 1, and thus the corresponding L j can be expressed using coefficients |&#945; i | &#8804; L j p . By construction, the u i have &#8226; p = 1, which completes the proof of the lemma.</p><p>The lemma allows us to use the framework from Section 2 to develop an iterative algorithm.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Single Vector Analysis</head><p>The first main step is to obtain analogs of Lemmas 4 and 5 Let w, a &#8712; R d , and define the function f w,p : R d &#8594; R as:</p><p>where w i , a i are the ith entries as before. Observe that the function f w,p is convex (as it is a sum of convex functions).</p><p>The key to our proof is an appropriate smoothness property for f , which we prove use the following lemma from <ref type="bibr">Adil et al. (2019)</ref>.</p><p>Lemma 10 (Lemma 4.5 of <ref type="bibr">Adil et al. (2019)</ref>). Let y &#8712; R and &#8710; be any parameter. Then we have</p><p>where g is the derivative of |y| p , i.e., g = p|y| p-2 y, and &#947; p is the function (originally introduced in Bubeck et al. ( <ref type="formula">2018</ref>)):</p><p>Using this lemma, we will be able to show the following analog of Lemma 4. Lemma 11. Let a, x, w be defined as above, and let u &#8712; R d be a vector such that | &#8711;f w,p (x), u | &#8805; &#947; &#8805; 0 and i w i |u i | p &#8804; 1. Then there exists &#951; such that for some constant c p = O p (1),</p><p>.</p><p>The proof of the lemma relies on Lemma 10 and a careful analysis. We thus defer it to the supplement. Our analysis will also need an analog of Lemma 5 where f w is replaced by f w,p . This is immediate because the proof only relies on the convexity of f w , and thus also applies to f w,p .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Algorithm and Analysis</head><p>Similar to the 2 case, we define</p><p>where w j is the weight vector for the jth column and w j,r denotes the rth coordinate of w j (similarly for a j ).</p><p>Algorithm. The algorithm for the p error case is precisely the same as before, but instead of working with the functions f j , we work with f j,p (when taking gradients). The main change is in Step 5 of the algorithm, where instead of finding a vector z that maximizes j &#8711;f j (x (t) j ), z 2 subject to z = 1 (which reduces to finding the top singular vector of an appropriate matrix), we now need to solve the following:</p><p>This can be re-written as finding a vector z that maximizes M z 2 2 subject to z p = 1, for an appropriate matrix M (which we can construct since we know x (t) j and f ). This is exactly the problem of computing the so-called p &#8594; 2 operator norm of the matrix M . The classic result of <ref type="bibr">Nesterov (1998)</ref> shows that the problem admits a constant factor approximation. More recently, the work <ref type="bibr">Bhattiprolu et al. (2019)</ref> obtains nearly tight factors for the problem. Both these algorithms are based on a semidefinite programming relaxation for approximating the operator norm, and crucially rely on p &#8805; 2 in their analysis. We summarize these results as follows.</p><p>Theorem 12. <ref type="bibr">(Nesterov, 1998;</ref><ref type="bibr">Bhattiprolu et al., 2019)</ref> For any p &#8805; 2, there exists an efficient (polynomial time) algorithm for approximating the p &#8594; 2 operator norm of a matrix M to a factor only depending on p (which indeed turns out to be O( &#8730; p) using the result of Steinberg ( <ref type="formula">2005</ref>))</p><p>Specifically, the algorithm outputs a z with z p = 1, such that the objective value in (10) is &#8486; 1 p times the optimum.</p><p>Our analysis once again involves quantities &#948; j and &#952; (t) j , defined as follows:</p><p>We also define weighted averages as before:</p><p>The following lemma shows that as long as &#968; (t) -&#948; * is large enough, the algorithm makes significant progress.</p><p>Lemma 13. Suppose that after the t'th iteration of the algorithm we have &#968; (t) &gt; &#948; * . Then there exists a unit vector z such that j&#8712;G | &#8711;f j,p (x</p><p>Proof. The proof follows the structure of that of Lemma 7, and will show that one of the u i satisfy the conclusion of the lemma. Consider some good column j.</p><p>Our updates ensure that we can apply Lemma 5 (where f j is replaced by f j,p ). The value of &#923; that we use in the lemma statement is the following: every coefficient used is &#8804; L j p in magnitude, from Lemma 9. Since j is a good column, this is at most &#923; 1/p a j p . As there are k terms, the sum of squared coefficients is bounded by k a j 2 p &#923; 2/p . Plugging this in, and writing C = &#923; 2/p for convenience, we obtain:</p><p>Thus, since f j,p (x</p><p>by definition, we have (after plugging in above and simplifying the exponent of</p><p>The second inequality uses the fact that p &#8805; 2 and &#952; (t) j &#8712; (0, 1]. Then, we can sum over the columns j &#8712; G, and mimicking the idea from the proof of Lemma 7 (this time using a j p p / A G p F,p as the distribution), we get</p><p>Thus by averaging and plugging in the value of C, one of the u i must satisfy the conclusion of the lemma.</p><p>Given this lemma, the proof of Theorem 2 follows as before.</p><p>Proof of Theorem 2. We first observe that an analog of Lemma 8 also holds in the current setting, with two differences. The first is the change from k&#923; to 2/p k 2 &#923; 2/p in the coefficient for the improvement at each step. Secondly, we only solve the p &#8594; 2 norm problem approximately, and this adds an additional factor of p to the bound. Thus, the number of steps needed for the &#946; t to halve is now O pk 2 &#923; 2/p 2/p , and thus reducing to 2 requires number of steps equal to the bound in the statement of the Theorem.</p><p>Finally, observing that the bound on the total mass of the bad columns carries over to the p case, the theorem follows.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Unconditional Result for Uniform Weights</head><p>We now show how to deduce Theorem 3 using Theorem 2.</p><p>Proof of Theorem 3. We only need to check that the matrix achieving the optimal error (say L * ) satisfies the conditions of Theorem 2. This is true because </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>By definition, L</head><p>This implies that the assumption holds with &#923; = 2 p .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Experiments</head><p>In this section we evaluate our algorithm (wlra-iter) for weighted low rank approximation by comparing its performance with three baselines: (a) applying SVD to the matrix A (svd) (b) applying SVD to weighted matrix W &#8226; A (wsvd) (c) regularized weighted low rank approximation algorithm with sketching in <ref type="bibr">Ban et al. (2019b) (rwlra-sk)</ref>. In (c), we use the alternating minimization based algorithm provided in <ref type="bibr">Ban et al. (2019b)</ref>. We present experiments on synthetic data below and defer other results to the supplement.</p><p>We conduct two sets of experiments. In the first set, we vary the output rank k and show how the error changes for each algorithm. In the second set, we demonstrate how the error in each algorithm changes as the signal to noise ratio (SNR) varies: the signal is a low rank matrix and we add Gaussian noise to it. In each experiment, we measure the scaled error</p><p>where Z is the solution output by each algorithm (we note that in the experiments in <ref type="bibr">Ban et al. (2019b)</ref>, the objective value is plotted instead of the error thus our experiments are not comparable); we average results over 10 independent runs. We first generate 500&#215;5 dimensional matrices M 1 , M 2 with random orthonormal vectors as columns and a diagonal matrix S with diagonal elements [1, 0.9, (0.9) 2 , (0.9) 3 , (0.9) 4 ] (normalized). Thus M = M 1 SM T 2 is a rank 5 matrix with M F = 1. In each experiment we create matrix A by adding a noise matrix N with N ij &#8764; N (0, &#963; 2 ) to M . We set the sketch size parameter in rwlra-sk to 100 in all experiments. We generate weight matrices of 500&#215;500 dimension with the following configurations.</p><p>&#8226; W 1 : Each element is sampled from the interval [0, 1] uniformly at random.</p><p>&#8226; W 2 : Elements corresponding to largest 50000 |A ij |s are set to 0, and 1 elsewhere.</p><p>&#8226; W 3 : The random binary matrix is first chosen by setting each entry to 1 with probability 0.1 and 0 otherwise. Following this, the first 100 columns of first 150 rows are set to 1.</p><p>In a setting with random weights (W 1 ), even simple baselines such as SVD achieve a small error as expected. However with semirandom weights (as in W 3 ), SVD performs much more poorly compared to a greedy approach.</p><p>In the first set of experiments, we plot the error of each algorithm with output rank k in the list <ref type="bibr">(5,</ref><ref type="bibr">10,</ref><ref type="bibr">15,</ref><ref type="bibr">20,</ref><ref type="bibr">25,</ref><ref type="bibr">30,</ref><ref type="bibr">35,</ref><ref type="bibr">40,</ref><ref type="bibr">50,</ref><ref type="bibr">60)</ref>. Here we fix &#963; = 0.005 (thus SNR &#8776; 0.16) and &#955; = 0.05 for weight matrix setting W 2 and &#955; = 0.01 for weight matrix settings W 1 , W 3 in rwlra-wk. Figure <ref type="figure">1</ref> shows the error of each algorithm for different weight matrices.</p><p>In the second set of experiments, we plot the error of each algorithm as the SNR is increased from 0.0004 to 4. Here we fix k = 50 and &#955; = 0.005 for weight matrix setting W 1 and &#955; = 0.01 for weight matrix settings W 2 , W 3 in rwlrawk. We control SNR by changing &#963; appropriately. Figure <ref type="figure">2</ref> shows the error rates of each algorithm for different weight matrices. The results show the greedy procedure achieving small recovery error even in low SNR regimes.</p><p>In our supplement, we provide analogous results for four other choices of weight matrices as well as two real datasets. The full code is also provided.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Conclusion</head><p>We study a natural greedy algorithm for the weighted low rank approximation problem and establish novel additive error guarantees in 2 and p norms for p &gt; 2 under a new, realistic, assumption on the target low rank matrix. Our algorithm is easy to implement and works well in practice, compared to natural baselines and previous approaches.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_0"><p>error was to decompose L as U V T using the SVD, so that we have a U with orthonormal columns, and a V such that L j = v j . Implicit here is the fact that the 2 norm</p></note>
		</body>
		</text>
</TEI>
