GO-V.ORG
As seen in

low-rank approximation

In mathematics, low-rank approximation refers to the process of approximating a given matrix by a matrix of lower rank. More precisely, it is a minimization problem, in which the cost function measures the fit between a given matrix (the data) and an approximating matrix (the optimization variable), subject to a constraint that the approximating matrix has reduced rank. The problem is used for mathematical modeling and data compression. The rank constraint is related to a constraint on the complexity of a model that fits the data. In applications, often there are other constraints on the approximating matrix apart from the rank constraint, e.g., non-negativity and Hankel structure. Low-rank... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In mathematics, low-rank approximation refers to the process of approximating a given matrix by a matrix of lower rank. More precisely, it is a minimization problem, in which the cost function measures the fit between a given matrix (the data) and an approximating matrix (the optimization variable), subject to a constraint that the approximating matrix has reduced rank. The problem is used for mathematical modeling and data compression. The rank constraint is related to a constraint on the complexity of a model that fits the data. In applications, often there are other constraints on the approximating matrix apart from the rank constraint, e.g., non-negativity and Hankel structure. Low-rank approximation is closely related to numerous other techniques, including principal component analysis, factor analysis, total least squares, latent semantic analysis, orthogonal regression, and dynamic mode decomposition. D = U\Sigma V^{\top} \in \mathbb{R}^{m\times n}, \quad m \geq n be the singular value decomposition of D , where \Sigma=:\operatorname{diag}(\sigma_1,\ldots,\sigma_r) , where r\leq \min\{m, n\}=n , is the m\times n rectangular diagonal matrix with r non-zero singular values \sigma_1\geq\ldots\geq\sigma_r>\sigma_{r+1}=\ldots =\sigma_n = 0 . For a given k\in\{1,\dots,r\} , partition U , \Sigma , and V as follows: U =: \begin{bmatrix} U_1 & U_2\end{bmatrix}, \quad \Sigma =: \begin{bmatrix} \Sigma_1 & 0 \\ 0 & \Sigma_2 \end{bmatrix}, \quad\text{and}\quad V =: \begin{bmatrix} V_1 & V_2 \end{bmatrix}, where U_1 is m\times k , \Sigma_1 is k\times k , and V_1 is n\times k . Then the rank k matrix \widehat D^* := U_1 \Sigma_1 V_1^{\top}, obtained from the truncated singular value decomposition is such that \|D-\widehat D^*\|_{\text{F}} = \min_{\operatorname{rank}(\widehat D) \leq k} \|D-\widehat D\|_{\text{F}} = \sqrt{\sigma^2_{k+1} + \cdots + \sigma^2_r}. The minimizer \widehat D^* is unique if and only if \sigma_{k}>\sigma_{k+1} . A = U\Sigma V^\top is the singular value decomposition of A . Recall that U and V are orthogonal matrices, and \Sigma is an m\times n diagonal matrix with entries (\sigma_{1}, \sigma_{2}, \cdots ,\sigma_{m}) such that \sigma_1 \geq \sigma_2 \geq \cdots \geq \sigma_m\geq 0 . We claim that the best rank- k approximation to A in the spectral norm, denoted by \|\cdot\|_2 , is given by A_k := \sum_{i=1}^k \sigma_i u_i v_i^\top where u_i and v_i denote the i th column of U and V , respectively. First, note that we have \|A-A_k\|_2 = \left\|\sum_{i=1}^{\color{red}{n}} \sigma_i u_i v_i^\top - \sum_{i=1}^{\color{red}{k}} \sigma_i u_i v_i^\top\right\|_2 = \left\|\sum_{i=\color{red}{k+1}}^n \sigma_i u_i v_i^\top \right\|_2 = \sigma_{k+1} Therefore, we need to show that if B_k = XY^\top where X and Y have k columns then \|A-A_k\|_2=\sigma_{k+1}\leq \|A-B_k\|_2 . Since Y has k columns, then there must be a nontrivial linear combination of the first k+1 columns of V , i.e., w = \gamma_1v_1+\cdots+\gamma_{k+1}v_{k+1}, such that Y^\top w = 0 . Without loss of generality, we can scale w so that \|w\|_2 = 1 or (equivalently) \gamma_1^2+\cdots +\gamma_{k+1}^2 = 1 . Therefore, \|A-B_k\|_2^2 \geq \|(A-B_k)w\|_2^2 = \|Aw\|_2^2 = \gamma_1^2\sigma_1^2+\cdots+\gamma_{k+1}^2\sigma_{k+1}^2\geq \sigma_{k+1}^2. The result follows by taking the square root of both sides of the above inequality. A = U\Sigma V^\top is the singular value decomposition of A . We claim that the best rank k approximation to A in the Frobenius norm, denoted by \|\cdot\|_F , is given by A_k = \sum_{i=1}^k \sigma_i u_i v_i^\top where u_i and v_i denote the i th column of U and V , respectively. First, note that we have \|A-A_k\|_F^2 = \left\|\sum_{i=k+1}^n \sigma_i u_iv_i^\top \right\|_F^2 = \sum_{i=k+1}^n \sigma_i^2 Therefore, we need to show that if B_k = XY^\top where X and Y have k columns then \|A-A_k\|_F^2=\sum_{i=k+1}^n\sigma_{i}^2\leq \|A-B_k\|_F^2. By the triangle inequality with the spectral norm, if A = A' + A then \sigma_1(A)\leq \sigma_1(A') + \sigma_1(A) . Suppose A'_k and A_k respectively denote the rank k approximation to A' and A by SVD method described above. Then, for any i,j\geq1 \begin{align} \sigma_i(A')+\sigma_j(A) &= \sigma_1(A'-A'_{i-1}) + \sigma_1(A-A_{j-1})\\ &\geq \sigma_1(A-A'_{i-1}-A_{j-1})\\ &\geq \sigma_1(A-A_{i+j-2})\qquad (\text{by applying the spectral norm case to } X = A'_{i-1}+A_{j-1}\text{ with }\mathop{\mathrm{rank}}(X)\leq i+j-2))\\ &=\sigma_{i+j-1}(A). \end{align} Since \sigma_{k+1}(B_k) = 0 , when A' = A-B_k and A = B_k we conclude that for i\geq 1,j=k+1 \sigma_i(A-B_k) \geq \sigma_{k+i}(A). Therefore, \|A-B_k\|_F^2 = \sum_{i=1}^n \sigma_i(A-B_k)^2 \geq \sum_{i=k+1}^n\sigma_i(A)^2 = \|A-A_k\|_F^2, as required. Let \|A\|_p = \left(\sum_{i,j}|A_{i,j}^p|\right)^{1/p} . For p = 2 , the fastest algorithm runs in nnz(A) + n \cdot poly(k/\epsilon) time. One of the important ideas been used is called Oblivious Subspace Embedding (OSE), it is first proposed by Sarlos. For p = 1 , it is known that this entry-wise L1 norm is more robust than the Frobenius norm in the presence of outliers and is indicated in models where Gaussian assumptions on the noise may not apply. It is natural to seek to minimize \|B - A\|_1 . For p=0 and p \geq 1 , there are some algorithms with provable guarantees. Let P = \{ p_1 , \ldots, p_m \} and Q = \{ q_1, \ldots, q_n \} be two point sets in an arbitrary metric space. Let A represent the m \times n matrix where A_{i,j} = dist(p_i,q_i) . Such distances matrices are commonly computed in software packages and have applications to learning image manifolds, handwriting recognition, and multi-dimensional unfolding. In an attempt to reduce their description size, one can study low rank approximation of such matrices. \text{ such that } \widehat D = PL and \operatorname{rank}(\widehat D) \leq r \quad\iff\quad \text{there is full row rank } R\in\R^{m - r\times m} \text{ such that } R \widehat D = 0 the weighted low-rank approximation problem becomes equivalent to the parameter optimization problems \text{minimize} \quad \text{over } \widehat D, P \text{ and } L \quad \operatorname{vec}^{\top}(D - \widehat D) W \operatorname{vec}(D - \widehat D) \quad\text{subject to}\quad \widehat D = PL and \text{minimize} \quad \text{over } \widehat D \text{ and } R \quad \operatorname{vec}^{\top}(D - \widehat D) W \operatorname{vec}(D - \widehat D) \quad\text{subject to}\quad R \widehat D = 0 \quad\text{and}\quad RR^{\top} = I_r, where I_r is the identity matrix of size r . function [dh, f] = wlra_ap(d, w, p, tol, maxiter) [m, n] = size(d); r = size(p, 2); f = inf; for i = 2:maxiter % minimization over L bp = kron(eye(n), p); vl = (bp' * w * bp) \ bp' * w * d(:); l = reshape(vl, r, n); % minimization over P bl = kron(l', eye(m)); vp = (bl' * w * bl) \ bl' * w * d(:); p = reshape(vp, m, r); % check exit condition dh = p * l; dd = d - dh; f(i) = dd(:)' * w * dd(:); if abs(f(i - 1) - f(i)) f(P) = \sqrt{\operatorname{vec}^{\top}(D)\Big( W - W (I_n \otimes P) \big( (I_n \otimes P)^{\top} W (I_n \otimes P) \big)^{-1} (I_n \otimes P)^{\top} W \Big) \operatorname{vec}(D)}. The original problem is therefore equivalent to the nonlinear least squares problem of minimizing f(P) with respect to P . For this purpose standard optimization methods, e.g. the Levenberg-Marquardt algorithm can be used. Matlab implementation of the variable projections algorithm for weighted low-rank approximation: function [dh, f] = wlra_varpro(d, w, p, tol, maxiter) prob = optimset(); prob.solver = 'lsqnonlin'; prob.options = optimset('MaxIter', maxiter, 'TolFun', tol); prob.x0 = p; prob.objective = @(p) cost_fun(p, d, w); [p, f ] = lsqnonlin(prob); [f, vl] = cost_fun(p, d, w); dh = p * reshape(vl, size(p, 2), size(d, 2)); function [f, vl] = cost_fun(p, d, w) bp = kron(eye(size(d, 2)), p); vl = (bp' * w * bp) \ bp' * w * d(:); f = d(:)' * w * (d(:) - bp * vl); The variable projections approach can be applied also to low rank approximation problems parameterized in the kernel form. The method is effective when the number of eliminated variables is much larger than the number of optimization variables left at the stage of the nonlinear least squares minimization. Such problems occur in system identification, parameterized in the kernel form, where the eliminated variables are the approximating trajectory and the remaining variables are the model parameters. In the context of linear time-invariant systems, the elimination step is equivalent to Kalman smoothing. ==A Variant: convex-restricted low rank approximation== Usually, we want our new solution not only to be of low rank, but also satisfy other convex constraints due to application requirements. Our interested problem would be as follows, \text{minimize} \quad \text{over } \widehat p \quad \|p - \widehat p\| \quad\text{subject to}\quad \operatorname{rank}\big(\mathcal{S}(\widehat p)\big) \leq r \text{ and } g(\widehat p) \leq 0 This problem has many real world applications, including to recover a good solution from an inexact (semidefinite programming) relaxation. If additional constraint g(\widehat p) \leq 0 is linear, like we require all elements to be nonnegative, the problem is called structured low rank approximation. The more general form is named convex-restricted low rank approximation. This problem is helpful in solving many problems. However, it is challenging due to the combination of the convex and nonconvex (low-rank) constraints. Different techniques were developed based on different realizations of g(\widehat p) \leq 0 . However, the Alternating Direction Method of Multipliers (ADMM) can be applied to solve the nonconvex problem with convex objective function, rank constraints and other convex constraints, and is thus suitable to solve our above problem. Moreover, unlike the general nonconvex problems, ADMM will guarantee to converge a feasible solution as long as its dual variable converges in the iterations. == See also== CUR matrix approximation is made from the rows and columns of the original matrix ==References== M. T. Chu, R. E. Funderlic, R. J. Plemmons, Structured low-rank approximation, Linear Algebra and its Applications, Volume 366, 1 June 2003, Pages 157–172 ==External links== C++ package for structured-low rank approximation

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"low-rank approximation". 1790556901. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377152837

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·