Near-optimal Coresets For Least-Squares Regression

Christos Boutsidis, Petros Drineas, Malik Magdon-Ismail

Introduction

Linear regression is an important technique in data analysis . Research in the area ranges from numerical techniques to robustness of the prediction error to noise (e.g., using feature selection ). We ask whether it is possible to efficiently identify a small subset of the data that contains all the essential information of a learning problem. Such a subset is called a “coreset”. We show that the answer is yes, for linear regression. Such a coreset is analogous to the support vectors in support vector machines . Such coresets contain the meaningful or important points in the data and can be used to find good approximate solutions to the full problem by solving a (much) smaller problem. When the constraints are complex (e.g., non-convex constraints), solving a much smaller regression problem could be a significant saving .

We present coreset constructions for constrained regression (both simple and multiple response), as well as lower bounds for the size of coresets that achieve certain accuracy. In addition to potential computational savings, a coreset identifies the important core of a machine learning problem and is of considerable interest in applications with huge data where incremental approaches are necessary (for example chunking) and applications where the data is distributed and bandwith is costly (hence communicating only the essential data is imperative ).

Our first contribution is a deterministic, polynomial-time algorithm for constructing a coreset for arbitrarily constrained linear regression. Let kk be the “effective dimension” of the data (the rank of the data matrix) and let ϵ>0\epsilon>0 be the desired accuracy parameter. Our algorithm constructs a coreset of size O(k/ϵ2)O\left(k/\epsilon^{2}\right), which achieves a (1+ϵ)\left(1+\epsilon\right)-relative error performance guarantee. In other words, solving the regression problem on the coreset results in a solution which fits all the data with an error which is at most (1+ϵ)\left(1+\epsilon\right) worse than the best possible fit to all the data. We extend our results to the setting of multiple response regression using more sophisticated techniques. Our proofs are based on two sparsification tools from linear algebra , which may be of general interest to the machine learning community, and we discuss these in some detail.

Assume the usual setting with nn data points (z1,y1),…,(zn,yn)({\mathbf{z}}_{1},y_{1}),\ldots,({\mathbf{z}}_{n},y_{n}); zi∈Rd{\mathbf{z}}_{i}\in\R^{d} are feature vectors (which could have been obtained by applying a non-linear feature transform to raw data) and yi∈Ry_{i}\in\R are targets (responses). The linear regression problem asks to determine a vector xopt∈D⊆Rd{\mathbf{x}}_{opt}\in{\cal D}\subseteq\R^{d} that minimizes

over x∈D{\mathbf{x}}\in{\cal D}, where wi∈Rw_{i}\in\R are positive weights. So, E(xopt)≤E(x){\cal E}({\mathbf{x}}_{opt})\leq{\cal E}({\mathbf{x}}), for all x∈D{\mathbf{x}}\in{\cal D}. The domain D{\cal D} represents the constraints on the solution, e.g., in non-negative least squares (NNLS) , D=R+d{\cal D}=\R^{d}_{+}, the nonnegative orthant. Our results hold for arbitrary D{\cal D}.

A coreset of size r<nr<n is a subset of the data points, (zi1,yi1),…,(zir,yir)({\mathbf{z}}_{i_{1}},y_{i_{1}}),\ldots,({\mathbf{z}}_{i_{r}},y_{i_{r}}). The coreset regression problem considers the squared error on the coreset with a (possibly) different set of weights sj>0s_{j}>0,

The algorithm which constructs the coreset should also provide the weights sj{\mathbf{s}}_{j}. For the remainder of the paper, we switch to an equivalent matrix formulation of the problem. (See Appendix for linear algebra background.)

Let A∈Rn×d{\mathbf{A}}\in\R^{n\times d} be the data matrix whose rows are the weighted data points wizi\textscT\sqrt{w_{i}}{\mathbf{z}}_{i}^{\textsc{T}}; and let b∈Rn{\mathbf{b}}\in\R^{n} be the similarly weighted target vector, bi=wiyib_{i}=\sqrt{w_{i}}y_{i}, where for i=1,...,n,i=1,...,n, bib_{i} denotes the iith element of b∈Rn{\mathbf{b}}\in\R^{n}. The effective dimension of the data can be measured by the rank of A{\mathbf{A}}; let k=rank(A)k=\hbox{\rm rank}({\mathbf{A}}). Our results hold for arbitrary n>dn>d, however, in most applications, n≫dn\gg d and rank(A)≈d\hbox{\rm rank}({\mathbf{A}})\approx d. We can rewrite the squared error as E(x)=\mbox∥Ax−b∥22{\cal E}({\mathbf{x}})=\mbox{}\|{\mathbf{A}}{\mathbf{x}}-{\mathbf{b}}\|_{2}^{2}, so,

A coreset of size r<nr<n is a subset C∈Rr×d{\mathbf{C}}\in\R^{r\times d} of the rows of A{\mathbf{A}} and the corresponding elements bc∈Rr{\mathbf{b}}_{c}\in\R^{r} of b{\mathbf{b}}. Let D∈Rr×r{\mathbf{D}}\in\R^{r\times r} be a positive diagonal matrix for the coreset regression (the weights sjs_{j} of the coreset regression will depend on D{\mathbf{D}}). The weighted squared error on the coreset is given by

We say that such a coreset is an (1+ϵ)(1+\epsilon)-coreset if the solution obtained by fitting the coreset data is almost optimal for all the data. Formally,

2 Our contributions

In this section, we discuss our main results for various formulations of linear regression (also summarized in Table 1). In the next section we present the relevant algorithms and proofs.

Our main result for constrained simple regression is Theorem 1, which describes a deterministic polynomial time algorithm that constructs a (1+ϵ)(1+\epsilon)-coreset of size O(k/ϵ2)O\left(k/\epsilon^{2}\right). Prior to our work, the best result achieving comparable relative error performance guarantees is Theorem 1 of for constrained regression, and the work of for unconstrained regression. Both of these prior results construct coresets of size O(klog⁡k/ϵ2)O\left(k\log k/\epsilon^{2}\right) and they are randomized, so, with some probability, the fit on all the data can be arbitrarily bad (despite the coreset being a logarithmic factor larger). Our methods have comparable, low order polynomial running times and provide deterministic guarantees. The results in and were achieved using the matrix concentration results in . However, these concentration bounds break unless the coreset size is Ω(klog⁡k/ϵ2)\Omega\left(k\log k/\epsilon^{2}\right).

2.2 Multi-Objective Regression (Section 3.1)

An important variant of multiple response regression is the so-called multi-objective regression. Let

2.3 Arbitrarily-Constrained Multiple-Response Regression (Section 3.2)

Using the same approach, converting the problem to a single response regression, we construct a (1+ϵ)(1+\epsilon)-coreset for Frobenius-norm arbitrarily-constrained regression in Section 3.2. The coreset size in this case is O(kω/ϵ2)O\left(k\omega/\epsilon^{2}\right).

2.4 Unconstrained Multiple-Response Regression (Section 4)

In Section 4, we consider coresets for unconstrained multiple-response regression for both the spectral and Frobenius norms. The sizes of the coresets are smaller than the constrained case, and our main results are presented in Theorems 6 and 7. Theorem 6 presents a (2+ϵ)(2+\epsilon)-coreset of size O((k+ω)/ϵ2)O((k+\omega)/\epsilon^{2}) for spectral norm regression, while Theorem 7 presents a (2+ϵ)(2+\epsilon)-coreset of size O(k/ϵ2)O(k/\epsilon^{2}) for Frobenius norm regression.

2.5 Lower Bounds (Section 5)

Finally, in Section 5, we present lower bounds on coreset sizes. In the single response regression setting, we note that our algorithms need to look at the target vector b{\mathbf{b}}. We show that this is unavoidable, by arguing that no b{\mathbf{b}}-agnostic deterministic coreset construction algorithm can construct coresets which are small (Theorem 13). We also present similar results for b{\mathbf{b}}-agnostic randomized coreset constructions (Theorem 14).

Then, we present lower bounds on the size of coresets for spectral and Frobenius norm multiple response regression that apply in the general, non b{\mathbf{b}}-agnostic, setting (Theorems 15 and 16).

Constrained Linear Regression

We define constrained linear regression as follows: given A∈Rn×d{\mathbf{A}}\in\R^{n\times d} of rank kk, b∈Rn{\mathbf{b}}\in\R^{n}, and D⊆Rd\mathcal{D}\subseteq\R^{d}, we seek xopt∈D{\mathbf{x}}_{opt}\in{\cal D} for which \mbox∥Axopt−b∥22≤\mbox∥Ax−b∥22\mbox{}\|{\mathbf{A}}{\mathbf{x}}_{opt}-{\mathbf{b}}\|_{2}^{2}\leq\mbox{}\|{\mathbf{A}}{\mathbf{x}}-{\mathbf{b}}\|_{2}^{2}, for all x∈D{\mathbf{x}}\in{\cal D} (the domain D\mathcal{D} represents the constraints on x{\mathbf{x}} and can be arbitrary). To construct a coreset C∈Rr×d{\mathbf{C}}\in\R^{r\times d} (i.e., C{\mathbf{C}} consists of rr rows of A{\mathbf{A}}) and bc∈Rr{\mathbf{b}}_{c}\in\R^{r} (i.e., bc{\mathbf{b}}_{c} consists of rr elements of b{\mathbf{b}}), we introduce sampling and rescaling matrices S{\mathbf{S}} and D{\mathbf{D}} respectively. More specifically, we define the row-sampling matrix S∈Rr×n{\mathbf{S}}\in\R^{r\times n} whose rows are basis vectors ei1\textscT,…,eir\textscT{\mathbf{e}}_{i_{1}}^{\textsc{T}},\ldots,{\mathbf{e}}_{i_{r}}^{\textsc{T}}. Our coreset C{\mathbf{C}} is now equal to C=SA{\mathbf{C}}={\mathbf{S}}{\mathbf{A}}; clearly, C{\mathbf{C}} is a matrix whose rows are the rows of A{\mathbf{A}} corresponding to indices i1,…,iri_{1},\ldots,i_{r}. Similarly, bc=Sb{\mathbf{b}}_{c}={\mathbf{S}}{\mathbf{b}} contains the corresponding elements of the target vector. Next, let D∈Rr×r{\mathbf{D}}\in\R^{r\times r} be a positive diagonal rescaling matrix and define the D{\mathbf{D}}-weighted regression problem on the coreset as follows:

In the above, the operator DS{\mathbf{D}}{\mathbf{S}} first samples and then rescales rows of A{\mathbf{A}} and b{\mathbf{b}}. Theorem 1 is the main result in this section and presents a deterministic algorithm to select a coreset by constructing D{\mathbf{D}} and S{\mathbf{S}}.

The running time of the proposed algorithm is T(U[A,b])+O(rnk2)T\left({\mathbf{U}}_{\left[{\mathbf{A}},{\mathbf{b}}\right]}\right)+O\left(rnk^{2}\right), where T(U[A,b])T\left({\mathbf{U}}_{\left[{\mathbf{A}},{\mathbf{b}}\right]}\right) is the time needed to compute the left singular vectors of the matrix [A,b]∈Rn×(d+1)\left[{\mathbf{A}},{\mathbf{b}}\right]\in\R^{n\times(d+1)}.

For any 0<ϵ<10<\epsilon<1, we can set r=k/ϵ2r=k/\epsilon^{2} to get an approximation ratio roughly equal to 1+4ϵ1+4\epsilon. This result considerably improves the result in , which needs r=O(klog⁡k/ϵ2)r=O(k\log k/\epsilon^{2}) to achieve the same approximation ratio. Additionally, our bound is deterministic, whereas the bound in fails with constant probability. also requires an SVD computation in the first step, so its running time is comparable to ours.

In order to prove the above theorem, we need a linear algebraic sparsification result from , specifically Theorem 3.1 in , which we restate using our notation (we present the corresponding algorithm below).

We now discuss in more detail the sparsification algorithm of Lemma 2. We present the corresponding algorithm as Algorithm 6. Our notation deviates from the original in ; we employ our own presentation of the corresponding algorithm in . Algorithm 6 is a greedy technique that selects columns one at a time. To describe the algorithm in more detail, it is convenient to view the input matrix as a set of nn column vectors,

and let L(u,δL,A,\textscl)L({\mathbf{u}},\delta_{L},{\mathbf{A}},{\textsc{l}}) be defined as

and let U(u,δU,A,\textscu)U({\mathbf{u}},\delta_{U},{\mathbf{A}},{\textsc{u}}) be defined as

The running time of the algorithm is dominated by the search for an index iτi_{\tau} satisfying

Constrained Multiple-Response Regression

Constrained multiple-response regression in the Frobenius norm can be reduced to simple regression. So, we can apply the results of the previous section to this setting.

Let A∈Rn×d{\mathbf{A}}\in\R^{n\times d} and B∈Rn×ω{\mathbf{B}}\in\R^{n\times\omega}, with ω≥1\omega\geq 1. The objective of multi-objective regression is:

where [x,…,x]∈Rd×ω[{\mathbf{x}},\ldots,{\mathbf{x}}]\in\R^{d\times\omega} contains ω\omega copies of x∈D⊆Rd{\mathbf{x}}\in\mathcal{D}\subseteq\R^{d}. Let bavg=1ωB1ω{\mathbf{b}}_{avg}={1\over\omega}{\mathbf{B}}\bm{1}_{\omega} (here 1ω∈Rω\bm{1}_{\omega}\in\R^{\omega} is a vector of all ones and thus bavg∈Rn{\mathbf{b}}_{avg}\in\R^{n} is the average of the columns in B{\mathbf{B}}). Recall that A∈Rn×d{\mathbf{A}}\in\R^{n\times d}, B∈Rn×ω{\mathbf{B}}\in\R^{n\times\omega}, and let X=[x,…,x]∈Rd×ω{\mathbf{X}}=[{\mathbf{x}},\ldots,{\mathbf{x}}]\in\R^{d\times\omega}.

The run time of the proposed algorithm is T(U[A,bavg])+O(nω+rnk2)T\left({\mathbf{U}}_{\left[{\mathbf{A}},{\mathbf{b}}_{avg}\right]}\right)+O\left(n\omega+rnk^{2}\right), where T(U[A,bavg])T\left({\mathbf{U}}_{\left[{\mathbf{A}},{\mathbf{b}}_{avg}\right]}\right) is the time needed to compute the left singular vectors of the matrix [A,bavg]∈Rn×(d+1)\left[{\mathbf{A}},{\mathbf{b}}_{avg}\right]\in\R^{n\times(d+1)}.

We first construct D{\mathbf{D}} and S{\mathbf{S}} via Theorem 1 applied to A{\mathbf{A}} and bavg{\mathbf{b}}_{avg}. The running time is O(nω)O\left(n\omega\right) (the time needed to compute bavg{\mathbf{b}}_{avg}) plus the running time of Theorem 1. The result is immediate from the following derivation:

2 Arbitrarily-Constrained Multiple-Response Regression

Multi-objective regression is a special case of constrained multiple-response regression for which we can efficiently obtain the coresets. In the general case, the problem still reduces to simple regression, but the coresets are now larger. The objective of arbitrarily-constrained multiple-response regression is

Since Rd×ω\R^{d\times\omega} is isomorphic to Rdω\R^{d\omega}, we can view X∈Rd×ω{\mathbf{X}}\in\R^{d\times\omega} as a “stretched out” vector X^∈Rdω\hat{\mathbf{X}}\in\R^{d\omega}; corresponding to the domain D{\cal D} is the domain D^⊆Rdω\hat{{\cal D}}\subseteq\R^{d\omega}. Similarly, we can stretch out B∈Rn×ω{\mathbf{B}}\in\R^{n\times\omega} to B^∈Rnω\hat{\mathbf{B}}\in\R^{n\omega}. To complete the transformation to simple linear regression, we build a transformed block-diagonal data matrix A^\hat{\mathbf{A}} from A{\mathbf{A}}, by repeating ω\omega copies of A{\mathbf{A}} along the diagonal:

So, for the approximation ratio to be 1+O(ϵ)1+O(\epsilon), we set r=O(kω/ϵ2)r=O\left(k\omega/\epsilon^{2}\right). The running time would involve the time needed to compute the SVD of [A^,B^][\hat{\mathbf{A}},\hat{\mathbf{B}}].

Notice that the coresets are large and somewhat costly to compute and they only work for the Frobenius norm. In the next section, using more sophisticated techniques, we will get smaller coresets for unconstrained regression in both the Frobenius and spectral norms.

Unconstrained Multiple-Response Regression

We can compute Xopt{\mathbf{X}}_{opt} via the pseudoinverse of A{\mathbf{A}}, namely Xopt=A†B{\mathbf{X}}_{opt}={\mathbf{A}}^{\dagger}{\mathbf{B}}. If S{\mathbf{S}} and D{\mathbf{D}} are sampling and rescaling matrices respectively, then the coreset regression problem is:

Given a matrix A∈Rn×d{\mathbf{A}}\in\R^{n\times d} with rank kk, a matrix B∈Rn×ω{\mathbf{B}}\in\R^{n\times\omega}, and r>kr>k, Algorithm 3 deterministically constructs matrices S∈Rr×n{\mathbf{S}}\in\R^{r\times n} and D∈Rr×r{\mathbf{D}}\in\R^{r\times r} such that the solution of the problem of Eqn. (7) satisfies:

The running time of the proposed algorithm is T(UA)+O(rn(k2+ω2))T\left({\mathbf{U}}_{{\mathbf{A}}}\right)+O\left(rn\left(k^{2}+\omega^{2}\right)\right), where T(UA)T\left({\mathbf{U}}_{{\mathbf{A}}}\right) is the time needed to compute the left singular vectors of A{\mathbf{A}}.

Since r>kr>k, the approximation ratio is 2+O(ω/r+ω/r+k/r)2+O(\sqrt{{\omega}/{r}}+{\omega}/{r}+\sqrt{{k}/{r}}). So, for ϵ>0\epsilon>0 and r=O((ω+k)/ϵ2)r=O((\omega+k)/\epsilon^{2}) the approximation ratio is 2+ϵ2+\epsilon. For r>ωr>\omega, the approximation is O(1)O(1), while for r<ωr<\omega, is asymptotic to O(ω/r)O\left(\omega/r\right). We will argue that this is nearly optimal by providing a matching lower bound in Theorem 15.

Given matrix A∈Rn×d{\mathbf{A}}\in\R^{n\times d} of rank kk, matrix B∈Rn×ω{\mathbf{B}}\in\R^{n\times\omega}, and r>k,r>k, Algorithm 4 deterministically constructs a sampling matrix S∈Rr×n{\mathbf{S}}\in\R^{r\times n} and a rescaling matrix D∈Rr×r{\mathbf{D}}\in\R^{r\times r} such that the solution of the problem of Eqn. (7) satisfies:

The running time of the proposed algorithm is T(UA)+O(rnk2)T\left({\mathbf{U}}_{{\mathbf{A}}}\right)+O\left(rnk^{2}\right), where T(UA)T\left({\mathbf{U}}_{{\mathbf{A}}}\right) is the time needed to compute the left singular vectors of A{\mathbf{A}}.

The approximation ratio in the above theorem is 2+O(k/r)2+O(\sqrt{k/r}). In Theorem 16, we will give a lower bound for the approximation ratio which is 1+Ω(k/r)1+\Omega(k/r). We conjecture that our lower bound can be achieved (deterministically), perhaps by a more sophisticated algorithm or analysis.

Finally, we note that the B{\mathbf{B}}-agnostic randomized construction of achieves a (1+ϵ)(1+\epsilon) approximation ratio using a significantly larger coreset, r=O(klog⁡k/ϵ2)r=O(k\log k/\epsilon^{2}). Importantly, does not need any access to B{\mathbf{B}} in order to construct the coreset, whereas our approach constructs coresets by carefully choosing important data points with respect to the particular target response matrix B{\mathbf{B}}. We will also discuss B{\mathbf{B}}-agnostic algorithms in Section 4.2 (Theorem 12) and we will present matching lower bounds in Section 5.

We will make heavy use of facts from Section A in the Appendix. We start with a few simple lemmas.

Let E=AXopt−B∈Rn×ω{\mathbf{E}}={\mathbf{A}}{\mathbf{X}}_{opt}-{\mathbf{B}}\in\R^{n\times\omega} be the regression residual. Then, rank(E)≤min⁡{ω,n−k}\hbox{\rm rank}({\mathbf{E}})\leq\min\{\omega,n-k\}.

Using our notation, AXopt−B=−(In−UAUA\textscT)B=−UA⊥(UA⊥)\textscTB{\mathbf{A}}{\mathbf{X}}_{opt}-{\mathbf{B}}=-\left({\mathbf{I}}_{n}-{\mathbf{U}}_{\mathbf{A}}{\mathbf{U}}_{\mathbf{A}}^{\textsc{T}}\right){\mathbf{B}}=-{\mathbf{U}}_{\mathbf{A}}^{\perp}\left({\mathbf{U}}_{\mathbf{A}}^{\perp}\right)^{\textsc{T}}{\mathbf{B}}. To conclude notice that rank(XY)≤min⁡{rank(X),rank(Y)}\hbox{\rm rank}({\mathbf{X}}{\mathbf{Y}})\leq\min\{\hbox{\rm rank}({\mathbf{X}}),\hbox{\rm rank}({\mathbf{Y}})\} for any matrices X{\mathbf{X}} and Y{\mathbf{Y}}.

We now present our main tool for obtaining approximation guarantees for coreset regression.

To simplify notation, let W=DS{\mathbf{W}}={\mathbf{D}}{\mathbf{S}}. Using the SVD of A{\mathbf{A}}, A=UAΣAVA\textscT{\mathbf{A}}={\mathbf{U}}_{\mathbf{A}}{\mathbf{\Sigma}}_{\mathbf{A}}{\mathbf{V}}_{\mathbf{A}}^{\textsc{T}}, we get:

where the last equality follows from properties of the pseudo-inverse and the fact that WUA{\mathbf{W}}{\mathbf{U}}_{\mathbf{A}} is a full-rank matrix (see Lemma 18 in the Appendix). Using B=(UAUA\textscT+UA⊥(UA⊥)\textscT)B{\mathbf{B}}=\left({\mathbf{U}}_{\mathbf{A}}{\mathbf{U}}_{\mathbf{A}}^{\textsc{T}}+{\mathbf{U}}_{\mathbf{A}}^{\perp}\left({\mathbf{U}}_{\mathbf{A}}^{\perp}\right)^{\textsc{T}}\right){\mathbf{B}}, we obtain

(a)(a) follows from the assumption that the rank of WUA{\mathbf{W}}{\mathbf{U}}_{\mathbf{A}} is equal to kk and thus (WUA)†WUA=Ik\left({\mathbf{W}}{\mathbf{U}}_{\mathbf{A}}\right)^{\dagger}{\mathbf{W}}{\mathbf{U}}_{\mathbf{A}}={\mathbf{I}}_{k} and (b)(b) follows by matrix-Pythagoras (Lemma 17). To conclude, we use spectral submultiplicativity on the second term and the fact that UA⊥(UA⊥)\textscTB=−(AXopt−B){\mathbf{U}}_{\mathbf{A}}^{\perp}\left({\mathbf{U}}_{\mathbf{A}}^{\perp}\right)^{\textsc{T}}{\mathbf{B}}=-({\mathbf{A}}{\mathbf{X}}_{opt}-{\mathbf{B}}).

This lemma provides a framework for coreset construction: all we need are sampling and rescaling matrices S{\mathbf{S}} and D{\mathbf{D}}, such that rank(DSUA)=k\hbox{\rm rank}({\mathbf{D}}{\mathbf{S}}{\mathbf{U}}_{\mathbf{A}})=k and

is small. The final ingredients for the proofs of Theorems 6 and 7 are two matrix sparsification results that we present in the Appendix.

If Ψ=In{\mathbf{\Psi}}={\mathbf{I}}_{n}, the running time of the algorithm reduces to TSVD(Y)+O(rnρY2)T_{SVD}\left({\mathbf{Y}}\right)+O\left(rn\rho_{{\mathbf{Y}}}^{2}\right). We write [D,S]=MultipleSpectralSampling(Y,Ψ,r)\left[{\mathbf{D}},{\mathbf{S}}\right]=MultipleSpectralSampling\left({\mathbf{Y}},{\mathbf{\Psi}},r\right) to denote such a deterministic procedure.

If Ψ=In{\mathbf{\Psi}}={\mathbf{I}}_{n}, the running time of the algorithm reduces to TSVD(Y)+O(rnρY2)T_{SVD}\left({\mathbf{Y}}\right)+O\left(rn\rho_{{\mathbf{Y}}}^{2}\right). We write [D,S]=MultipleFrobeniusSampling(Y,Ψ,r)\left[{\mathbf{D}},{\mathbf{S}}\right]=MultipleFrobeniusSampling\left({\mathbf{Y}},{\mathbf{\Psi}},r\right) to denote such a deterministic procedure.

(of Theorem 6) Theorem 6 follows from Lemmas 9 and 10. First, compute the SVD of A{\mathbf{A}} to obtain UA∈Rn×k{\mathbf{U}}_{{\mathbf{A}}}\in\R^{n\times k}, and let E=AXopt−B=UAUA\textscTB−B{\mathbf{E}}={\mathbf{A}}{\mathbf{X}}_{opt}-{\mathbf{B}}={\mathbf{U}}_{{\mathbf{A}}}{\mathbf{U}}_{{\mathbf{A}}}^{\textsc{T}}{\mathbf{B}}-{\mathbf{B}}. Next, run the algorithm of Lemma 10 to obtain [D,S]=MultipleSpectralSampling(UA,E,r)\left[{\mathbf{D}},{\mathbf{S}}\right]=MultipleSpectralSampling\left({\mathbf{U}}_{{\mathbf{A}}},{\mathbf{E}},r\right). This algorithm runs in time TSVD(E)+O(rn(k2+ρE2))T_{SVD}\left({\mathbf{E}}\right)+O\left(rn\left(k^{2}+\rho_{{\mathbf{E}}}^{2}\right)\right), where kk is the rank of UA{\mathbf{U}}_{\mathbf{A}} and A{\mathbf{A}}. The total running time of the algorithm is T(UA)+TSVD(E)+O(rn(k2+ρE2))=T(UA)+O(rn(k2+ω2))T({\mathbf{U}}_{\mathbf{A}})+T_{SVD}\left({\mathbf{E}}\right)+O\left(rn\left(k^{2}+\rho_{{\mathbf{E}}}^{2}\right)\right)=T\left({\mathbf{U}}_{\mathbf{A}}\right)+O\left(rn\left(k^{2}+\omega^{2}\right)\right).

Lemma 10 guarantees that D{\mathbf{D}} and S{\mathbf{S}} satisfy the rank assumption of Lemma 9. To conclude the proof, we bound the second term of Lemma 9, using the bounds of Lemma 10 and ρE≤min⁡{ω,n−k}≤ω\rho_{\mathbf{E}}\leq\min\{\omega,n-k\}\leq\omega:

(of Theorem 7) The proof is similar to the proof of Theorem 6, using Lemma 11 instead of Lemma 10. Let [D,S]=MultipleFrobeniusSampling(UA,E,r)\left[{\mathbf{D}},{\mathbf{S}}\right]=MultipleFrobeniusSampling\left({\mathbf{U}}_{{\mathbf{A}}},{\mathbf{E}},r\right) We bound the second term of Lemma 9, using the bounds of Lemma 11:

2 𝐁𝐁{\mathbf{B}}-Agnostic Coreset Construction

All the coreset construction algorithms that we presented so far carefully construct the coreset using knowledge of the response vector. If the algorithm does not need knowledge of B{\mathbf{B}} to construct the coreset, and yet can provide an approximation guarantee for every B{\mathbf{B}}, then the algorithm is B{\mathbf{B}}-agnostic. A B{\mathbf{B}}-agnostic coreset construction algorithm is appealing because the coreset, as specified by the sampling and rescaling matrices S{\mathbf{S}} and D{\mathbf{D}}, can be computed off-line and applied to any B{\mathbf{B}}. We briefly digress to show how our methods can be extended to develop B{\mathbf{B}}-agnostic coreset constructions.

The running time of the proposed algorithm is T(UA)+O(rnk2)T\left({\mathbf{U}}_{{\mathbf{A}}}\right)+O\left(rnk^{2}\right), where T(UA)T\left({\mathbf{U}}_{{\mathbf{A}}}\right) is the time needed to compute the left singular vectors of A{\mathbf{A}}.

The proof is similar to the proof of Theorem 6, except we now construct the sampling and rescaling matrices as [S,D]=MultipleSpectralSampling(UA,In,r)\left[{\mathbf{S}},{\mathbf{D}}\right]=MultipleSpectralSampling\left({\mathbf{U}}_{{\mathbf{A}}},{\mathbf{I}}_{n},r\right). To bound the second term in Lemma 9, we use

The above bound decreases with rr and holds for any B{\mathbf{B}}, guaranteeing a constant-factor approximation with a constant fraction of the data. The approximation ratio is O(n/r)O(n/r), which seems quite weak. In the next section, we show that this result is indeed tight.

Lower Bounds on Coreset Size

We have just seen a B{\mathbf{B}}-agnostic coreset construction algorithm with a rather weak worst case guarantee of O(n/r)O(n/r) approximation error. We will now show that no deterministic B{\mathbf{B}}-agnostic coreset construction algorithm can guarantee a better error (Theorem 13) by providing lower bounds on coreset size as a function of approximation error. These results are also summarized in Table 2.

provides another B{\mathbf{B}}-agnostic coreset construction algorithm with r=O(klog⁡k/ϵ2)r=O(k\log k/\epsilon^{2}). For a fixed B{\mathbf{B}}, the method in delivers a probabilistic bound on the approximation error. However, there are target matrices B{\mathbf{B}} for which the bound fails by an arbitrarily large amount. The probabilistic algorithms get away with this by brushing all these (possibly large) errors into a low probability event, with respect to random choices made in the algorithm. So, in some sense, these algorithms are not B{\mathbf{B}}-agnostic, in that they do not construct a coreset which works well for all B{\mathbf{B}} with some (say) constant probability. Nevertheless, the fact that they give a constant probability of success for a fixed but unknown B{\mathbf{B}} makes these algorithms interesting and useful. We will give a lower bound on the approximation ratio of such algorithms as well, for a given probability of success (Theorem 14). Finally, we will give lower bounds on the size of the coreset for the general (non-agnostic) multiple regression setting (Theorems 15 and 16).

We first present the lower bound for simple regression. Recall that a coreset construction algorithm is b{\mathbf{b}}-agnostic if it constructs a coreset without knowledge of b{\mathbf{b}}, and then provides an approximation guarantee for every b{\mathbf{b}}. We show that no coreset can work for every b{\mathbf{b}}; therefore a b{\mathbf{b}}-agnostic coreset will be bad for some vector b{\mathbf{b}}. In fact, there exists a matrix A{\mathbf{A}} such that every coreset has an associated “bad” b{\mathbf{b}}.

There exists a matrix A∈Rn×d{\mathbf{A}}\in\R^{n\times d} such that for every coreset C∈Rr×d{\mathbf{C}}\in\R^{r\times d} of size r≤nr\leq n, there exists b∈Rn{\mathbf{b}}\in\R^{n} (depending on C{\mathbf{C}}) for which

Let PA{\mathbf{P}}_{\mathbf{A}} project onto the columns of A{\mathbf{A}} and PA(1){\mathbf{P}}_{{\mathbf{A}}^{(1)}} project onto the first column of A{\mathbf{A}}. The following sequence establishes the result:

We now consider randomized algorithms that construct a coreset without looking at b{\mathbf{b}} (e.g. ). These algorithms work for any fixed (but unknown) b{\mathbf{b}}, and deliver a probabilistic approximation guarantee for any single fixed b{\mathbf{b}}; in some sense they are b{\mathbf{b}}-agnostic. By the previous discussion, the returned coreset must fail for some b{\mathbf{b}}, i.e., the probabilistic guarantee does not hold for all b{\mathbf{b}}, and, when it fails, it could do so with very bad error. We will now present a lower bound on the approximation accuracy of such existing randomized algorithms for coreset construction, even for a single b{\mathbf{b}}.

First, we define randomized coreset construction algorithms. Let C1,C2,…,C(nr){\mathbf{C}}_{1},{\mathbf{C}}_{2},\ldots,{\mathbf{C}}_{\left({{n}\atop{r}}\right)} be the (nr)\left({{n}\atop{r}}\right) different coresets of size rr. A randomized algorithm assigns probabilities p1,p2,…,p(nr)p_{1},p_{2},\ldots,p_{\left({{n}\atop{r}}\right)} to each coreset, and selects one according to these probabilities. The probabilities pip_{i} may depend on A{\mathbf{A}}. The algorithm is b{\mathbf{b}}-agnostic if the probabilities pip_{i} do not depend on b{\mathbf{b}}. As usual, let rr be the size of the coreset.

2 Lower Bounds for Non-Agnostic Multiple Regression

For both the spectral and the Frobenius norm, we now consider non-agnostic unconstrained multiple regression, and give lower bounds for coresets of size r>d=rank(A)r>d=\hbox{\rm rank}({\mathbf{A}}) (for simplicity, we set rank(A)=d\hbox{\rm rank}({\mathbf{A}})=d). The results are presented in Theorems 15 and 16.

First, we need some results from . Consider the matrix

where ei∈Rω{\mathbf{e}}_{i}\in\R^{\omega} are the standard basis vectors. Then, let B=H\textscT∈R(ω−1)×ω{\mathbf{B}}={\mathbf{H}}^{\textsc{T}}\in\R^{(\omega-1)\times\omega}. Theorem 34 in (with α=1\alpha=1) argues the following: given B{\mathbf{B}} and any sampling matrix S∈Rr×(ω−1){\mathbf{S}}\in\R^{r\times(\omega-1)} and diagonal rescaling matrix D∈Rr×r{\mathbf{D}}\in\R^{r\times r}, with C^=DSB\hat{\mathbf{C}}={\mathbf{D}}{\mathbf{S}}{\mathbf{B}} (rescaled sampled coreset of B{\mathbf{B}}), and any kk with 1≤k≤ω−11\leq k\leq\omega-1,

In the above, ΠC^,k(B)∈R(ω−1)×ω\Pi_{\hat{\mathbf{C}},k}({\mathbf{B}})\in\R^{(\omega-1)\times\omega} of rank kk is the best rank-kk approximation to B{\mathbf{B}} (in the spectral norm) whose rows lie in the span of all the rows in C^\hat{\mathbf{C}} (the row-space of C^\hat{\mathbf{C}}); and, Bk∈R(ω−1)×ω{\mathbf{B}}_{k}\in\R^{(\omega-1)\times\omega} of rank kk is the best rank-kk approximation to B{\mathbf{B}} (which could be computed via the truncated SVD of B{\mathbf{B}}).Actually, D{\mathbf{D}} is irrelevant here because the row-space of SB{\mathbf{S}}{\mathbf{B}} is the same as the row space of DSB{\mathbf{D}}{\mathbf{S}}{\mathbf{B}}.

Since ΠC^,k(B)\Pi_{\hat{\mathbf{C}},k}({\mathbf{B}}) is the best rank-kk approximation to B{\mathbf{B}} in the row-space of C^\hat{\mathbf{C}}, it follows that

for any X\mathbf{X}∈R(ω−1)×r\in\R^{(\omega-1)\times r} with rank at most kk (because XC^{\mathbf{X}}\hat{\mathbf{C}} will have rank at most kk and is in the row space of C^\hat{\mathbf{C}}). Set X=UB,k(DSUB,k)†{\mathbf{X}}={\mathbf{U}}_{{\mathbf{B}},k}({\mathbf{D}}{\mathbf{S}}{\mathbf{U}}_{{\mathbf{B}},k})^{\dagger}, where UB,k∈R(ω−1)×k{\mathbf{U}}_{{\mathbf{B}},k}\in\R^{(\omega-1)\times k} has kk columns which are the top-kk left singular vectors of B{\mathbf{B}}. It is easy to verify that X{\mathbf{X}} has the correct dimensions and rank at most kk. Since C^=DSB\hat{\mathbf{C}}={\mathbf{D}}{\mathbf{S}}{\mathbf{B}}, we have that

To conclude the proof, observe that Bd=UB,dUB,d\textscTB=AA†B=AXopt{\mathbf{B}}_{d}={\mathbf{U}}_{{\mathbf{B}},d}{\mathbf{U}}_{{\mathbf{B}},d}^{\textsc{T}}{\mathbf{B}}={\mathbf{A}}{\mathbf{A}}^{\dagger}{\mathbf{B}}={\mathbf{A}}{\mathbf{X}}_{opt}.

As α→0\alpha\rightarrow 0 and n→∞n\rightarrow\infty the lower bound is 1+d/r1+d/r.

First, we need some results from . For any integer γ>1\gamma>1 and any integer k≥1k\geq 1, Theorem 36 in exhibits a matrix B∈Rγk×(γ+1)k{\mathbf{B}}\in\R^{\gamma k\times(\gamma+1)k} such that for any sampling matrix S∈Rr×γk{\mathbf{S}}\in\R^{r\times\gamma k} and diagonal rescaling matrix D∈Rr×r{\mathbf{D}}\in\R^{r\times r}, with C^=DSB\hat{\mathbf{C}}={\mathbf{D}}{\mathbf{S}}{\mathbf{B}} (rescaled sampled coreset of B{\mathbf{B}}), any α>0\alpha>0, and any r≥1r\geq 1,

The matrix B{\mathbf{B}} is constructed as follows. Recall that γ\gamma is any positive integer with γ>1\gamma>1. Let A{\mathbf{A}} have dimensions (γ+1)×γ(\gamma+1)\times\gamma and be constructed as follows.

where ei∈Rγ+1{\mathbf{e}}_{i}\in\R^{\gamma+1} are the standard basis vectors. Now construct H{\mathbf{H}} to be block diagonal, with kk copies of A{\mathbf{A}} along its diagonal; so, the dimensions of H{\mathbf{H}} are (γ+1)k×γk(\gamma+1)k\times\gamma k. Then, B=H\textscT{\mathbf{B}}={\mathbf{H}}^{\textsc{T}}.

In the above, ΠC^,k(B)∈Rγk×(γ+1)k\Pi_{\hat{\mathbf{C}},k}({\mathbf{B}})\in\R^{\gamma k\times(\gamma+1)k} of rank kk is the best rank-kk approximation to B{\mathbf{B}} (in the Frobenius norm) whose rows lie in the span of all the rows in C^\hat{\mathbf{C}} (the row-space of C^\hat{\mathbf{C}}); and, Bk∈Rγk×(γ+1)k{\mathbf{B}}_{k}\in\R^{\gamma k\times(\gamma+1)k} of rank kk is the best rank-kk approximation to B{\mathbf{B}} (which could be computed via the truncated SVD of B{\mathbf{B}}). Since ΠC^,k(B)\Pi_{\hat{\mathbf{C}},k}({\mathbf{B}}) is the best rank-kk approximation to B{\mathbf{B}} in the row-space of C^\hat{\mathbf{C}}, it follows that

for any X\mathbf{X}∈Rγk×r\in\R^{\gamma k\times r} with rank at most kk (because XC^{\mathbf{X}}\hat{\mathbf{C}} will have rank at most kk and is in the row space of C^\hat{\mathbf{C}}). Set X=UB,k(DSUB,k)†{\mathbf{X}}={\mathbf{U}}_{{\mathbf{B}},k}({\mathbf{D}}{\mathbf{S}}{\mathbf{U}}_{{\mathbf{B}},k})^{\dagger}, where UB,k∈Rγk×k{\mathbf{U}}_{{\mathbf{B}},k}\in\R^{\gamma k\times k} has kk columns which are the top-kk left singular vectors of B{\mathbf{B}}. It is easy to verify that X{\mathbf{X}} has the correct dimensions and rank at most kk. Since C^=DSB\hat{\mathbf{C}}={\mathbf{D}}{\mathbf{S}}{\mathbf{B}}, we have that

We now construct the regression problem which proves the lower bound in the theorem. Let A=UB,d∈Rγd×d{\mathbf{A}}={\mathbf{U}}_{{\mathbf{B}},d}\in\R^{\gamma d\times d} (i.e., we choose k=dk=d in the above discussion), n=γdn=\gamma d (i.e. nn is a multiple of dd in the regression problem), and ω=(γ+1)d\omega=(\gamma+1)d. B{\mathbf{B}} is as we described above. Suppose a coreset construction algorithm gives sampling and rescaling matrices S{\mathbf{S}} and D{\mathbf{D}}, for a coreset of size r>dr>d. So, the coreset regression is with C=DSA∈Rr×d{\mathbf{C}}={\mathbf{D}}{\mathbf{S}}{\mathbf{A}}\in\R^{r\times d} and DSB∈Rr×ω{\mathbf{D}}{\mathbf{S}}{\mathbf{B}}\in\R^{r\times\omega}. The solution to the coreset regression is

To conclude the proof, observe that Bd=UB,dUB,d\textscTB=AA†B=AXopt{\mathbf{B}}_{d}={\mathbf{U}}_{{\mathbf{B}},d}{\mathbf{U}}_{{\mathbf{B}},d}^{\textsc{T}}{\mathbf{B}}={\mathbf{A}}{\mathbf{A}}^{\dagger}{\mathbf{B}}={\mathbf{A}}{\mathbf{X}}_{opt} and ω=n+d\omega=n+d.

Open problems

An important open problem arises in our work: can we determine the minimum size of a coreset that provides a (1+ϵ)(1+\epsilon) relative-error guarantee for simple linear regression? We conjecture that Ω(k/ϵ)\Omega\left(k/\epsilon\right) is a lower bound, which will make our results almost tight. Certainly, coresets of size exactly kk cannot be guaranteed: consider two data points (1,1),(−1,1)(1,1),(-1,1). The optimal regression is zero; however any coreset of size one will give non-zero regression.

Christos Boutsidis acknowledges the support from XDATA program of the Defense Advanced Research Projects Agency (DARPA), administered through Air Force Research Laboratory contract FA8750-12-C-0323. Petros Drineas and Malik Magdon-Ismail have been supported by NSF CCF 1016501, NSF DMS 1008983, and NSF CCF CAREER 824684.

References

Appendix A Linear Algebra Background

The Singular Value Decomposition (SVD) of a matrix A∈Rn×d{\mathbf{A}}\in\R^{n\times d} of rank kk is a decomposition

The singular values σ1≥σ2≥⋯≥σk>0\sigma_{1}\geq\sigma_{2}\geq\cdots\geq\sigma_{k}>0 are contained in the diagonal matrix ΣA∈Rk×k{\mathbf{\Sigma}}_{\mathbf{A}}\in\R^{k\times k}; UA∈Rn×k{\mathbf{U}}_{\mathbf{A}}\in\R^{n\times k} contains the left singular vectors of A{\mathbf{A}}; and VA∈Rd×k{\mathbf{V}}_{{\mathbf{A}}}\in\R^{d\times k} contains the right singular vectors. The Moore-Penrose pseudo-inverse of A{\mathbf{A}} is A†=VAΣA−1UA\textscT.{\mathbf{A}}^{\dagger}={\mathbf{V}}_{{\mathbf{A}}}{\mathbf{\Sigma}}_{\mathbf{A}}^{-1}{\mathbf{U}}_{{\mathbf{A}}}^{\textsc{T}}. Given an orthonormal matrix UA∈Rn×k{\mathbf{U}}_{\mathbf{A}}\in\R^{n\times k}, the perpendicular matrix UA⊥∈Rn×(n−k){\mathbf{U}}_{\mathbf{A}}^{\perp}\in\R^{n\times(n-k)} to UA{\mathbf{U}}_{{\mathbf{A}}} satisfies: (UA⊥)\textscTUA⊥=In−k({\mathbf{U}}_{\mathbf{A}}^{\perp})^{\textsc{T}}{\mathbf{U}}_{\mathbf{A}}^{\perp}={\mathbf{I}}_{n-k}, UA\textscTUA⊥=0k×(n−k){\mathbf{U}}_{\mathbf{A}}^{\textsc{T}}{\mathbf{U}}_{\mathbf{A}}^{\perp}=\bm{0}_{k\times(n-k)}, and UAUA\textscT+UA⊥(UA⊥)\textscT=In{\mathbf{U}}_{\mathbf{A}}{\mathbf{U}}_{{\mathbf{A}}}^{\textsc{T}}+{\mathbf{U}}_{\mathbf{A}}^{\perp}({\mathbf{U}}_{\mathbf{A}}^{\perp})^{\textsc{T}}={\mathbf{I}}_{n}. All the singular values of both UA{\mathbf{U}}_{\mathbf{A}} and UA⊥{\mathbf{U}}_{\mathbf{A}}^{\perp} are equal to one. Given UA{\mathbf{U}}_{{\mathbf{A}}}, UA⊥{\mathbf{U}}_{\mathbf{A}}^{\perp} can be computed in deterministic O(n(n−k)2)O\left(n\left(n-k\right)^{2}\right) time via the QR factorization.

Let X{\mathbf{X}} and Y{\mathbf{Y}} be two n×dn\times d matrices. If XY\textscT=0n×n{\mathbf{X}}{\mathbf{Y}}^{\textsc{T}}=\bm{0}_{n\times n} or X\textscTY=0d×d{\mathbf{X}}^{\textsc{T}}{\mathbf{Y}}=\bm{0}_{d\times d}, then

Appendix B Algorithms and Proofs of Lemmas 10 and 11

We now provide all the details of the proofs and the corresponding algorithms of Lemmas 10 and 11. Those results, which have been described in detail in , are slight extensions of two algorithms presented in , which themselves extend the original spectral sparsification result of Batson, Spielman, and Srivastava . More specifically, Lemma 20 below - in some sense - generalizes Lemma 2; indeed, setting V=Q\textscT:=U{\mathbf{V}}={\mathbf{Q}}^{\textsc{T}}:={\mathbf{U}} in Lemma 20 gives Lemma 2. Lemma 19 below also describes a deterministic algorithm for sampling columns from two matrices but the goal here is to optimize different spectral properties in the sampled matrices.

In this section of the Appendix, we will slightly abuse notation by denoting with S^∈Rn×r\hat{\mathbf{S}}\in\R^{n\times r} a sampling matrix which samples columns - not rows - from matrices. We will later use S=S^\textscT{\mathbf{S}}=\hat{\mathbf{S}}^{\textsc{T}} to be consistent with the notation used throughout the paper.

We write [D,S^]=DeterministicSamplingI(V\textscT,B,r)[{\mathbf{D}},\hat{\mathbf{S}}]=DeterministicSamplingI({\mathbf{V}}^{\textsc{T}},{\mathbf{B}},r) to denote this procedure.

Algorithm 5 is a greedy technique that selects columns one at a time. To describe the algorithm in more detail, it is convenient to view the input matrices as two sets of nn vectors,

Given kk and r>kr>k, introduce the iterator τ=0,1,2,...,r−1,\tau=0,1,2,...,r-1, and define the parameter

For a square symmetric matrix A∈Rk×k{\mathbf{A}}\in\R^{k\times k} with eigenvalues λ1,…,λk\lambda_{1},\ldots,\lambda_{k}, v∈Rk{\mathbf{v}}\in\R^{k} and \textscl∈R{\textsc{l}}\in\R, define

and let L(v,δL,A,\textscl)L({\mathbf{v}},\delta_{L},{\mathbf{A}},{\textsc{l}}) be defined as

where \textscl′=\textscl+δL=\textscl+1.{\textsc{l}}^{\prime}={\textsc{l}}+\delta_{L}={\textsc{l}}+1. For a vector z{\mathbf{z}} and scalar δ>0\delta>0, define the function

At each iteration τ\tau, the algorithm selects iτi_{\tau}, tτ>0t_{\tau}>0 for which

The running time of the algorithm is dominated by the search for an index iτi_{\tau} satisfying

If Q=In{\mathbf{Q}}={\mathbf{I}}_{n}, it runs in O(rk2n)O(rk^{2}n); we write [D,S^]=DeterministicSamplingII(V\textscT,Q,r)[{\mathbf{D}},\hat{\mathbf{S}}]=DeterministicSamplingII({\mathbf{V}}^{\textsc{T}},{\mathbf{Q}},r) for this procedure.

If Ψ=In{\mathbf{\Psi}}={\mathbf{I}}_{n}, the running time of the algorithm reduces to TSVD(Y)+O(rnρY2)T_{SVD}\left({\mathbf{Y}}\right)+O\left(rn\rho_{{\mathbf{Y}}}^{2}\right). We write [D,S]=MultipleSpectralSampling(Y,Ψ,r)\left[{\mathbf{D}},{\mathbf{S}}\right]=MultipleSpectralSampling\left({\mathbf{Y}},{\mathbf{\Psi}},r\right) to denote such a deterministic procedure.

(a) uses Lemma 18. To obtain the first inequality in the lemma we need to take S=S^\textscT{\mathbf{S}}=\hat{\mathbf{S}}^{\textsc{T}} and observe that \mbox∥(Y\textscTS^D)†∥2=\mbox∥(DSY)†∥2\mbox{}\|({\mathbf{Y}}^{\textsc{T}}\hat{\mathbf{S}}{\mathbf{D}})^{\dagger}\|_{2}=\mbox{}\|({\mathbf{D}}{\mathbf{S}}{\mathbf{Y}})^{\dagger}\|_{2}, and \mbox∥(Y\textscT)†∥2=\mbox∥Y†∥2\mbox{}\|({\mathbf{Y}}^{\textsc{T}})^{\dagger}\|_{2}=\mbox{}\|{\mathbf{Y}}^{\dagger}\|_{2}. We now prove the second inequality in the lemma,

To obtain the second inequality in the lemma we need to take S=S^\textscT{\mathbf{S}}=\hat{\mathbf{S}}^{\textsc{T}} and use \mbox∥Ψ\textscTS^D∥2=\mbox∥DSΨ∥2,\mbox{}\|{\mathbf{\Psi}}^{\textsc{T}}\hat{\mathbf{S}}{\mathbf{D}}\|_{2}=\mbox{}\|{\mathbf{D}}{\mathbf{S}}{\mathbf{\Psi}}\|_{2}, and \mbox∥Ψ\textscT∥2=\mbox∥Ψ∥2\mbox{}\|{\mathbf{\Psi}}^{\textsc{T}}\|_{2}=\mbox{}\|{\mathbf{\Psi}}\|_{2}.

B.2 Proof of Lemma 11

If Ψ=In{\mathbf{\Psi}}={\mathbf{I}}_{n}, the running time of the algorithm reduces to TSVD(Y)+O(rnρY2)T_{SVD}\left({\mathbf{Y}}\right)+O\left(rn\rho_{{\mathbf{Y}}}^{2}\right). We write [D,S]=MultipleFrobeniusSampling(Y,Ψ,r)\left[{\mathbf{D}},{\mathbf{S}}\right]=MultipleFrobeniusSampling\left({\mathbf{Y}},{\mathbf{\Psi}},r\right) to denote such a deterministic procedure.

which by taking S=S^\textscT{\mathbf{S}}=\hat{\mathbf{S}}^{\textsc{T}} gives the second inequality in the lemma,

Now we prove the first inequality in the lemma,

(a) uses Lemma 18. To conclude, use \mbox∥(Y\textscTSD)†∥2=\mbox∥(DSY)†∥2;\mbox{}\|({\mathbf{Y}}^{\textsc{T}}{\mathbf{S}}{\mathbf{D}})^{\dagger}\|_{2}=\mbox{}\|({\mathbf{D}}{\mathbf{S}}{\mathbf{Y}})^{\dagger}\|_{2}; \mbox∥(VYΣY)†∥2=\mbox∥(Y\textscT)†∥2=\mbox∥(Y)†∥2\mbox{}\|({\mathbf{V}}_{\mathbf{Y}}{\mathbf{\Sigma}}_{\mathbf{Y}})^{\dagger}\|_{2}=\mbox{}\|({\mathbf{Y}}^{\textsc{T}})^{\dagger}\|_{2}=\mbox{}\|({\mathbf{Y}})^{\dagger}\|_{2}.