A Riemannian rank-adaptive method for low-rank matrix completion
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Gao, Bin; Absil, P.-A. Article — Published Version A Riemannian rank-adaptive method for low-rank matrix completion Computational Optimization and Applications Provided in Cooperation with: Springer Nature Suggested Citation: Gao, Bin; Absil, P.-A. (2021) : A Riemannian rank-adaptive method for low-rank matrix completion, Computational Optimization and Applications, ISSN 1573-2894, Springer US, New York, NY, Vol. 81, Iss. 1, pp. 67-90, https://doi.org/10.1007/s10589-021-00328-w This Version is available at: https://hdl.handle.net/10419/287208 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/
Vol.:(0123456789) Computational Optimization and Applications (2022) 81:67–90 https://doi.org/10.1007/s10589-021-00328-w 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix completion BinGao1 · P.‑A.Absil1 Received: 26 March 2021 / Accepted: 27 October 2021 / Published online: 13 November 2021 © The Author(s) 2021 Abstract The low-rank matrix completion problem can be solved by Riemannian optimization on a fixed-rank manifold. However, a drawback of the known approaches is that the rank parameter has to be fixed a priori. In this paper, we consider the optimization problem on the set of bounded-rank matrices. We propose a Riemannian rank-adap- tive method, which consists of fixed-rank optimization, rank increase step and rank reduction step. We explore its performance applied to the low-rank matrix completion problem. Numerical experiments on synthetic and real-world datasets illustrate that the proposed rank-adaptive method compares favorably with state-of-the-art algorithms. In addition, it shows that one can incorporate each aspect of this rankadaptive framework separately into existing algorithms for the purpose of improving performance. Keywords Rank-adaptive· Fixed-rank manifold· Bounded-rank matrices· Riemannian optimization· Low-rank· Matrix completion 1 Introduction The low-rank matrix completion problem has been extensively studied in recent years; see the survey [11]. The matrix completion model based on a Frobenius norm minimization over the manifold of fixed-rank matrices is formulated as follows, This work was supported by the Fonds de la Recherche Scientifique – FNRS and the Fonds Wetenschappelijk Onderzoek – Vlaanderen under EOS Project no. 30468160. * Bin Gao [email protected] P.-A. Absil [email protected] 1 ICTEAM Institute, UCLouvain, 1348Louvain-la-Neuve, Belgium
68 B.Gao, P.-A.Absil 1 3 where A∈ ℝ m×n is a data matrix only known on a subset Ω⊂{1, …,m}×{1, …,n} , k≤min(m,n) is a given rank parameter and PΩ∶ ℝ m×n →ℝ m×n denotes the projection onto Ω , i.e., [ PΩ(X) ]i,j =Xi, j if (i,j)∈Ω , otherwise [ PΩ(X) ]i,j = 0 . As mentioned in [17, §5.5], in many applications, the (unknown) singular values of A decay but do not become exactly zero; or A has low rank, but its rank is unknown. In both cases, A is known to admit good low-rank approximations, but the relation between the rank and the quality of the approximation is unknown, making it challenging to choose an adequate rank parameter k. If k is chosen too low, then the feasible set Mk of (1) only contains poor approximations of A, hampering an accurate completion. On the other hand, when k gets too large, the dimension of the feasible set grows, leading to an increase of space and time complexity, and eventually again to an inaccurate completion, now because of overfitting. A brief overview of existing strategies to choose k can be found in [3, Remark5.1]. This context motivates the development of techniques that endeavor to strike a suitable balance between the above-mentioned concerns by adapting the rank as the computation progresses. We consider the following model for low-rank matrix completion: Several algorithms based on Riemannian optimization (e.g., see [1]) for this problem have been developed in [12, 13, 15]. Recently, a Riemannian rank-adaptive method for low-rank optimization has been proposed in [19], and problem(2) can be viewed as a specific application. This rank-adaptive algorithm mainly consists of two steps: Riemannian optimization on the fixed-rank manifold and adaptive update of the rank. When a nearly rank-deficient point is detected, the algorithm reduces the rank to save computational cost. Alternatively, it increases the rank to gain accuracy. However, there are several parameters that users need to tune. In this paper, we propose a new Riemannian rank-adaptive method (RRAM); see Algorithm1. In comparison with the RRAM method in [19], we stray from convergence analysis concerns in order to focus on the efficiency of the proposed method for low-rank matrix completion. Specifically, the contributions are as follows. – We adopt a Riemannian gradient method with non-monotone line search and Barzilai–Borwein step size to solve the optimization problem on the fixed-rank manifold (subsect.3.2). – By detecting the most significant gap of singular values of iterates, we propose a novel rank reduction strategy such that the fixed-rank problem can be restricted to a dominant subspace (subsect.3.4). In addition, we propose a normal correction strategy to increase the rank (subsect.3.3). Note that the existing algorithms (1) min f(X) ∶= 1 2 ‖ ‖ PΩ(X)−PΩ(A) ‖ ‖ 2 F s. t. X∈ M k∶= {X∈ ℝm×n ∶rank(X)=k}, (2) min f(X) s. t. X∈M ≤k ∶= {X∈ℝm×n∶rank(X)≤k} .
69 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix… may benefit from these rank-adaptive mechanisms to improve their numerical performance. – We demonstrate the effectiveness of the proposed method applied to low-rank matrix completion (Sect.4). The numerical experiments on synthetic and realworld datasets illustrate that the proposed rank-adaptive method is able to find the ground-truth rank and compares favorably with other state-of-the-art algorithms in terms of computational efficiency. The rest of paper is organized as follows. The next section introduces related work based on rank-update mechanisms, and presents necessary ingredients of the proposed method. In Sect.3, anew Riemannian rank-adaptive method is proposed and its implementation details are also provided. Numerical experiments are reported in Sect.4. The conclusion is drawn in Sect.5. 2 Related work andpreliminaries In this section, we start with related work and give the preliminaries regarding the geometric aspect. 2.1 Related work The feasible set Mk of problem (1) is a smooth submanifold of dimension (m+n−k)k embedded in ℝm×n ; see [9, Example 8.14]. A Riemannian conjugate gradient (RCG) method for solving problem(1) has been proposed in [17], which efficiently assembles ingredients of RCG by employing the low-rank structure of matrices. There has been other methods for the fixed-rank optimization including the Riemannian trust-region method (RTR) [10] and the Riemannian gradientdescent method (RGD) [19]. Mishra etal. [10] have considered a trace norm penalty model for low-rank matrix completion and have proposed a method that alternately performs a fixed-rank optimization and a rank-one update. However, Mk is not closed in ℝm×n , hence min X∈M kf(X) may not have a solution even when f is continuous and coercive; moreover, if a Riemannian optimization algorithm has a limit point of rank less than k, then the classical convergence results in Riemannian optimization (e.g., [4]) do not provide guarantees about the limit point. Asaremedy, one can resort to the set of bounded rank matrices, i.e., M≤k . Recently, algorithms for solving problem(2), combining the fixed-rank Riemannian optimization with a rank-increase update, have been introduced in [13, 15]. Basically, these methods increase the rank with a constant by searching along the tangent cone of M≤k and projecting onto Mk or M≤k . In addition, a general projected linesearch method on M≤k has been developed in [12] whose convergence guarantee is based on the assumption that limit points of algorithm have rank k. The related work is further discussed in subsect.3.5 after we introduce the necessary geometric ingredients for Riemannian optimization.
70 B.Gao, P.-A.Absil 1 3 2.2 Geometry of M≤k The geometry of M≤k has been well studied in [12]. In this subsection, we introduce several Riemannian aspects that will be used in the rank-adaptive method. Given the singular value decomposition (SVD) of fixed-rank matrices, an equivalent expression of the manifold Mk is where denotes the (compact) Stiefel manifold, and a diagonal matrix with {𝜎i} on its diagonal is denoted by diag(𝜎1,…,𝜎k) . This expression of Mk provides a convenient way to assemble other geometric tools. For instance, the tangent space of Ms at X∈Ms is given as follows; see [17, Proposition 2.1] where U⟂∈ ℝ m×(m−s) denotes a matrix such that U⊤U⟂=0 and U⊤ ⟂ U ⟂ = I . Moreover, the normal space of Ms at X associated with the Frobenius inner product, ⟨X,Y⟩∶= tr(X⊤Y) , has the following form Letting PU ∶= UU ⊤ and P⟂ U ∶= U ⟂ U ⊤ ⟂ =I−P U , the orthogonal projections onto the tangent space and normal space at X for Y∈ℝm×n are The Riemannian gradient of f at X∈Ms , denoted by gradsf(X) , is defined as the unique element in TXMs such that ⟨gradsf(X),Z⟩=Df(X)[Z] for all Z∈TXMs , where Df(X) denotes the Fréchet derivative of f at X. It readily follows from [1, (3.37)] that where ∇f(X) denotes the Euclidean gradient of f at X. When s<k , the tangent cone of M≤k at X∈Ms can be expressed as the orthogonal decomposition [12, Theorem3.2] M k= { UΣV⊤∶U∈St(k,m),V∈St(k,n), Σ=diag(𝜎 1 ,…,𝜎 k )with 𝜎 1 ≥⋯≥𝜎 k >0 }, St (k,m) ∶= { X∈ℝ m×k ∶X ⊤ X=I k} T XMs= {[ UU ⟂ ][ ℝ s×s ℝ s×(n−s) ℝ(m−s)×s0 (m−s)×(n−s)][ VV ⟂ ] ⊤ }, (3) ( TXMs ) ⟂= {[ UU ⟂ ][ 0s×s0s×(n−s) 0 (m−s)×s ℝ(m−s)×(n−s) ][ VV ⟂ ] ⊤ }. (4) PTXMs(Y)=PUYPV+P ⟂ UYPV+PUYP ⟂ V , P( T X M s) ⟂(Y)=P⟂ UYP⟂ V. gradsf(X)=PTX M s(∇f(X)), (5) T XM≤k=TXMs⊕ ( TXMs )⟂ ≤(k−s),
71 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix… where ⊕ denotes the direct sum and is a subset of the normal space ( T X M s)⟂ . Furthermore, the projection onto the tangent cone has the form [12, Corollary 3.3] where P( TXMs ) ⟂ ≤(k−s) (Y)∈ ( TXMs )⟂ ≤(k−s ) is a best rank-( k−s ) approximation of P( T X M s) ⟂ (Y)=Y−P TXMs (Y) , i.e., Note that this projection is not unique when the singular values number k−s and k−s+1 of P( T X M s) ⟂ ( Y ) are equal. For simplicity, we denote and the projections of −∇f(X) are denoted by Consequently, the optimality condition of problem(2) can be defined as follows; see [12, Corollary 3.4]. Definition 1 X∗∈M≤k is called a critical point of optimization problem(2) if 3 A Riemannian rank‑adaptive method We propose a new Riemannian rank-adaptive algorithm in this section. The Riemannian Barzilai–Borwein method with a non-monotone line search is proposed to solve the fixed-rank optimization problem. Rank increase and rank reduction strategies are developed. 3.1 Algorithmic framework The proposed algorithmic framework for solving problem (2) is listed in Algorithm1. Several comments are in order. ( TXMs ) ⟂ ≤(k−s)∶= { N∈ ( TXMs ) ⟂∶rank(N)≤(k−s) } P TXM≤k ( Y )∈ arg minZ∈TXM≤k ‖ Y − Z ‖ F =P TXMs ( Y )+P (TXMs)⟂ ≤(k−s) ( Y ), (6) P( TXMs ) ⟂ ≤(k−s) (Y)∈arg minrank(N)≤(k−s) ‖ ‖ ‖ Y−PTXMs(Y)−N ‖ ‖ ‖F . (7) N k−s (X) ∶= P (TXMs)⟂ ≤(k−s) (−∇f(X)), (8) Gs(X) ∶= PTX M s(−∇f(X)) = −gradsf(X), (9) G ≤k (X) ∶= P T X M ≤k(−∇f(X)) = G s (X)+N k−s (X). ‖ ‖ G ≤k (X) ‖ ‖F = 0.
72 B.Gao, P.-A.Absil 1 3 Algorithm 1 consists of the fixed-rank optimization and the rank adaptation. Except for its rank reduction feature, Algorithm1 can be thought of as a descent method that aims at finding an approximate critical point of problem(2). In view of Definition1 and(9), we consider the following measure of criticality at X∗∈M≤k : where X∗ has rank s∗ and the equality follows from the orthogonal decomposition(5) of G≤k(X∗) . Algorithm1 is initialized by a rank parameter k and an initial guess X0∈Mk ; see(17) for an initialization. After a pre-process on X0 (line3 of Algorithm1), we obtain X 0 with the update (working) rank s; this process works favorably in numerical experiments (see Sect.4). During the iterations of Algorithm1, line5 aims for solving the fixed-rank optimization on Ms , i.e., by a globally convergent Riemannian optimization algorithm (Algorithm2). Note that is the first-order optimality condition of(11); see [1, §4.1]. Subsequently, we consider adapting the rank. On the one hand, if the obtained Xp from line5 of Algorithm1 has a large gap among singular values, we consider the working rank is too large, which leads to high space and time complexity. Thus, the rank is reduced by Algorithm4. On the other hand, we check the condition in line8 of Algorithm 1. Specifically, if s=k , we do not increase the rank; otherwise we check the condition (10) ‖ ‖ G ≤k (X∗) ‖ ‖ 2 F = ‖ ‖ G s ∗(X∗) ‖ ‖ 2 F + ‖ ‖ N k−s ∗(X∗) ‖ ‖ 2 F, (11) min X∈ M s f(X), ‖ ‖ G s (X) ‖ ‖F = ‖ ‖ grad s f(X) ‖ ‖F = 0 (12) ‖ ‖ ‖ Nk−s(Xp) ‖ ‖ ‖F >𝜖 ‖ ‖ ‖ Gs(Xp) ‖ ‖ ‖F ,
73 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix… where 𝜖>0 is a parameter that determines how much we crave for increasing the rank. If the condition(12) holds, in view of(10), it means that a significant part of G≤k(Xp) is in the normal space to Ms , in which case we consider that the current rank s is too low, hampering an accurate completion. To this end, we increase the rank by Algorithm3. Note that (12) is more apt to hold with smaller 𝜖 . Note that Algorithm1 endeavors to strike a balance between the rank and the quality of the completion by updating the rank adaptively. In order to have a more intuitive look at the rank-adaptive mechanism, Algorithm1 is also presented as a flowchart in Fig.1. There are three major parts in the framework: optimization on the fixed-rank manifold; rank increase; rank reduction. In the rest of this section, we introduce these features in detail. 3.2 Riemannian optimization on Ms Very recently, the Riemannian gradient method with non-monotone line search and Barzilai–Borwein (BB) step size [2] has been shown to be efficient in various applications; see [6–8]. In addition, its global convergence has been established (e.g., see [6, Theorem5.7]). We adopt this method on the fixed-rank manifold Ms to address line5 of Algorithm1. Given the initial point Xp−1 ∈M s , the detailed method called RBB is listed in Algorithm2. Fig. 1 Flowchart of the Riemannian rank-adaptive method (RRAM, Algorithm1); see Algorithm2 for the fixed-rank optimization, Algorithm3 for the rank increase, and Algorithm4 for the rank reduction
74 B.Gao, P.-A.Absil 1 3 In line5 of Algorithm2, we calculate a step size based on the Riemannian BB method [8], and the vector transport on Ms is defined as The non-monotone line search is presented in line 6 and line 8 of Algorithm 2. The metric projection P M s is chosen as the retraction map in line 7 of Algorithm2, which can be calculated by a truncated SVD. Note that this projection is not necessarily unique, but we can always choose one in practice. All these calculations in Algorithm 2 can be efficiently achieved by exploiting the low-rank structure of X(j)=UΣV⊤ . The interested readers are referred to [17] for detailed implementations. We terminate Algorithm 2 when the maximum iteration number jmax is reached. In practice, the stopping criteria of Algorithm 1 (the relative errors introduced in Sect.4) will also be checked during the iterations of Algorithm2. Regarding the computational efficiency of Algorithm2, it often compares favorably with other methods for fixed-rank optimization; see numerical examples in subsect.4.1. TX → Y∶TXMs → TYMs,Z ↦ PTY M s(Z).
81 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix… Once one of the above criteria or the maximum iteration number 1000 is reached, we terminate the algorithms. Note that these criteria are introduced in [17]. The default tolerance parameters are chosen as 𝜖g =10 −12 , 𝜖Ω=10−12 , 𝜖f =10 −4 . The rank increase parameter 𝜖 in(12) is set to 10, and the rank increase number l is 1. The rank reduction threshold 𝛥 in(16) is set to 0.1. The inner maximum iteration number jmax is set to 100, 𝛾0 is computed by [17, Algorithm5], and other parameters in Algorithm2 are the same as those in [6]. Specifically, 𝛽=10−4,𝛿=0.1, 𝜃=0.85 , 𝛾min =10−15 , and 𝛾max =10 15 . All experiments are performed on a laptop with 2.7 GHz Dual-Core Intel i5 processor and 8GB of RAM running MATLAB R2016b under macOS 10.15.2. The code that produces the result is available from https:// github. com/ optgaobin/ RRAM. 4.1 Comparison onthefixed‑rank optimization Before we test the rank-adaptive method, we first illustrate the performance of the RBB method proposed in Algorithm2 on the fixed-rank optimization problem(1). We compare RBB with a state-of-the-art fixed-rank method called LRGeomCG1 [17], which is a Riemannian CG method for fixed-rank optimization. The problem is generated with m=n=10000, r=40 and OS =3 . The rank parameter k in(1) is set to k=r , which means the true rank of A is provided. The initial point is generated by Figure4 reports the numerical results. It is observed that the RBB method performs better than LRGeomCG in terms of computational efficiency to achieve comparable accuracy. In addition, one can observe the non-monotone property of RBB that stems from the non-monotone line search procedure in Algorithm2. In order to investigate the performance of RBB on different problems, we test on three datasets with varying m, the rank parameter k, and OS , respectively. Specifically, we fix the oversampling rate OS =3 , k=20 , and chose m=n from the set {2000j∶j=1, …, 10} . Alternatively, we choose k from {10j∶j=1, …,8} and fix m=n=10000 . In addition, the last dataset is varying OS from {1, …, 10} , and relative gradient ∶ � �gradsf(X) � �F max(1, ‖X‖F)<𝜖 g, relative residual ∶ � �PΩ(X)−PΩ(A)� �F � �PΩ(A)� �F <𝜖 Ω, relative change ∶ � � � � � 1− � � PΩ(Xi)−PΩ(A) � � F � � P Ω (X i−1 )−P Ω (A) � �F � � � � � <𝜖 f . (17) X0∶= P M k(PΩ(A)). 1 Available from https:// www. unige. ch/ math/ vande reyck en/ matrix_ compl etion. html.
82 B.Gao, P.-A.Absil 1 3 choosing m=n=10000 , k=20 . The running times of RBB and LRGeomCG are reported in Fig.5. Notice that RBB has less running time than LRGeomCG when the size of problem (m and k) increases. Additionally, we observe that RBB outperforms LRGeomCG among all different oversampling settings. 4.2 Comparison ontherank reduction The effectiveness of the rank reduction step in RRAM is verified in this subsection. RRAM combines with the RBB method as the fixed-rank optimization, and we call it RRAM-RBB. For comparison, we also test LRGeomCG to illustrate that the rankadaptive method is more suitable than fixed-rank methods for low-rank matrix completion. We generate problem(2) with m=n=1000 and OS =3 . The data matrix A=LR⊤ is randomly generated by two rank 10 matrices. The following comparison is twofold based on different initial guesses that have similar singular value distributions in Fig.3. In a first set of experiments, the methods are initialized by(17), i.e., the best rankk approximation of PΩ(A) . Given the rank parameter k>rank(A)=10 , the distribution of this type of initial points is similar to the one in the first row of Fig.3, which (a) (b) Fig. 4 A comparison on the fixed-rank optimization (a) (c)(b) Fig. 5 A comparison on the fixed-rank optimization with varying m, k and OS
83 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix… has a large gap of singular values. We make a test on different rank parameters k chosen from the set {10, 11, …, 20} . The numerical results are presented in Fig.6, and observations are summarized as follows. – In Fig.6a, b, it is observed that for LRGeomCG, the best choice of k is by far k=10 , which is the true rank of data matrix A. It reveals that the performance of the fixed-rank optimization method LRGeomCG highly depends on the choice of rank parameter, while the proposed rank-adaptive method has comparable results among all choices. – The update rank of RRAM is listed in Fig.6c. Notice that the rank reduction step is invoked in the initialization stage (line3 of Algorithm1) for most choices of the initial rank, and it reduces the rank to 10. In the cases of k=14, 15, 16 , although a initial rank reduction is not activated, the algorithm can detect the large gap of singular values when the first call of the fixed-rank method (Algorithm2) terminates (at its maximum iteration number 100) and reduces k to the true rank10. – It is worth mentioning that in Fig.6, when a rank reduction step completes, it often increases the function value at the very beginning, but the algorithm quickly converges once the true rank is detected. Another class of initial points is randomly generated by a low-rank matrix LR⊤ that has rankk. It has a uniform singular values distribution that is the same as the second row of Fig.3. Similarly, we compare RRAM-RBB with LRGeomCG on the (a) (c)(b) Fig. 6 A comparison with different rank parameters k. The initial point is generated by X 0 =P M k(P Ω (A)) (a) (c)(b) Fig. 7 A comparison with different rank parameters k. The initial point is randomly generated
84 B.Gao, P.-A.Absil 1 3 problems with different rank parameters, and the results are reported in Fig.7. We observe that RRAM-RBB can reduce the rank among all choices of k>10 even when the singular values of the initial point do not have a large gap. Note that in the cases of k=15 and 18, the first fixed-rank optimization stops with the iteration number less than 100 since the relative change is achieved. 4.3 Comparison ontherank increase In this subsection, we consider a class of problems for which the data matrix A is illconditioned. This type of problem has been numerically studied in [15]. Specifically, we construct where U∈ℝm×r and V∈ℝn×r . Note that A has exponentially decaying singular values. We generate the problem with m=n=1000 , k=r=20 and OS =3 . The initial point is generated by(17). We choose the rank increase parameter 𝜖=2 such that RRAM-RBB is inclined to increase the rank. The tolerance parameter 𝜖g is set to 10−15 . We test on three different settings: (I) the maximum iteration number jmax for the fixed-rank optimization is set to 5, and the rank increase number l=1 ; (II) jmax =100 and l=1 ; (III) jmax =20 and l=2 . Figure8 reports the evolution of errors and the update rank of RRAM-RBB. The observations are as follows. A=Udiag(1, 10−1,…, 10−r+1)V⊤, (a) (c)(b) Fig. 8 A comparison on the rank increase with three settings. First row: evolution of errors. Second row: update rank
85 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix… – In this ill-conditioned problem, RRAM-RBB performs better than the fixed-rank optimization method LRGeomCG ( k=20 ). In addition, we observe that the rank reduction step is invoked at the initial point for three settings, and RRAM-RBB increases the rank by a number l after each fixed-rank optimization. – Note that the oscillation of relative gradient in RRAM-RBB stems from the rank increase step. From the first two columns of Fig.8, it is observed that if the fixedrank problem is inexactly solved ( j max =5 ), the performance of RRAM-RBB is still comparable with the “exactly” solved algorithm ( jmax =100 ). 4.4 Ablation comparison ontheproposed rank‑adaptive mechanism In this subsection, we produce an ablation study by incorporating Algorithm1 into the fixed-rank optimization LRGeomCG [17] (Riemannian CG method). The resulting algorithm is called RRAM-RCG . Note that RRAM-RCG and RRAM-RBB differ only for the inner iteration (Algorithm2). The purpose of this ablation study is to understand how the choice of the fixed-rank optimization method impacts the entire rank-adaptive framework. In the first test, we compare RRAM-RCG with RRAM-RBB on problem instances generated as in subsect. 4.2, with the random initial guess described therein. Specifically, the problem is generated with m=n=10000 , k=15 , r=10 and OS =3 . For both fixed-rank methods (RBB and RCG), the maximum iteration number jmax is set to 100. In Fig.9, the numerical results illustrate that RCG still enjoys the benefit of the rank reduction step(16) that reduces the rank from 15 to the true rank 10. Moreover, it indicates that using RBB instead of RCG yields a considerable improvement on this problem instance. This observation can be explained by the comparison in subsect.4.1. Another test is generated as in subsect. 4.3 with m=n=50000 , k=r=20 and OS =3 . Figure 10 reports the performance comparison of RRAM-RBB and RRAM-RCG. It shows that the proposed rank increase strategy is also effective for (a) (b) Fig. 9 An ablation comparison on the rank reduction
86 B.Gao, P.-A.Absil 1 3 RCG. Notice that the performance of RRAM-RBB is slightly better than RRAMRCG in terms of computational efficiency. 4.5 Test onreal‑world datasets In this subsection, we evaluate the performance of RRAM on low-rank matrix completion with real-world datasets. The MovieLens2 dataset contains movie rating data from users on different movies. In the following experiments, we choose the dataset MovieLens100K that consists of 100000 ratings from 943 users on 1682 movies, and MovieLens 1M that consists of one million movie ratings from 6040 users on 3952 movies. For comparison, we test RRAM-RBB with several state-of-the-art methods that particularly target low-rank matrix completion, namely, LRGeomCG 1 [17] (Riemannian CG method), NIHT3 and CGIHT 3 [18] (iterative hard thresholding algorithms), ASD 3 and ScaledASD 3 [14] (alternating steepest descent methods). Note that all these methods are based on the fixed-rank problem where the rank parameter has to be given a priori. For these two real-world datasets, we randomly choose 80% of the known ratings as the training set Ω and the rest as the test set Ωc . The rank parameter k is set to 10 for all tested algorithms, and we terminate these algorithms once the maximum allowed running time (10s for MovieLens100K and 70s for MovieLens1M) is reached or their own stopping criteria are achieved. Figure 11 shows the singular values of the initial point (17), namely the rank-10 approximation of the zero-filled MovieLens dataset. It is observed that the largest gap can be detected between the first two singular values by the rank reduction (16) for both examples. According to the pre-process (line3 of Algorithm1), RRAM-RBB will (a) (b) Fig. 10 An ablation comparison on the rank increase 2 Available from https:// group lens. org/ datas ets/ movie lens/. 3 Available from http:// www. sdspe ople. fudan. edu. cn/ weike/ publi catio ns. html.
87 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix… thereby reduce the rank to one just after the initialization(17), which explains the first rank reduction in the following figures for RRAM-RBB. The numerical results are illustrated in Fig.12. The quality of matrix completion is evaluated by the root-mean-square error (RMSE) for a matrix X and a given index set Ω� , i.e., RMSE (Ω�) ∶= � � P Ω �(X)−P Ω �(A) � �F ∕ √� Ω� � . The training RMSE and test RMSE are defined as RMSE(Ω) and RMSE(Ωc) , respectively. Note that RRAM-RBB achieves the best final RMSE (test) among all methods in the MovieLens100K dataset ( m=943 , n=1682 ), and is comparable with other algorithms in terms of computational efficiency. The evolution of update rank of RRAM-RBB shows that RRAM-RBB adaptively increases the rank and automatically finds a rank that is lower than the rank given to the other methods but with a smaller RMSE (test). In the larger dataset MovieLens 1M ( m=6040 , n=3952 ), RRAM-RBB still has a comparable RMSE (test). In summary, the rank-adaptive method accepts the flexible choices of rank parameter, and is able to search for a suitable rank. Fig. 11 Singular values of the initial points for the MovieLens dataset. First row: MovieLens100K. Second row: MovieLens 1M
88 B.Gao, P.-A.Absil 1 3 5 Conclusion This paper concerns the low-rank matrix completion problem that can be modeled with a bounded-rank constraint. A Riemannian rank-adaptive method is proposed, featuring a Riemannian gradient method with non-monotone line search, a new rank increase strategy by searching along the normal space, and a new rank reduction scheme by detecting large gaps among singular values. This paper explores the numerical behavior of rank-adaptive methods on synthetic and real-world problems. Although the value of the new rank-adaptive method is application dependent, our observations provide insight on the kind of data matrices for which rank-adaptive mechanisms play a valuable role. This suggests that the proposed method might also perform well on other low-rank optimization problems, such as those mentioned in [5, 12, 16, 19]. Acknowledgements We are grateful to the reviewers for helpful comments. We would like to thank Bart Vandereycken for helpful discussions on the code “LRGeomCG” and Shuyu Dong for providing his code of the comparison on real-world datasets. (a) (b) Fig. 12 A comparison on real-world datasets. First row: MovieLens100K. Second row: MovieLens 1M
89 1 3 A Riemannian rank‑adaptive method forlow‑rank matrix… Funding Open Access funding enabled and organized by Projekt DEAL. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/ licenses/by/4.0/. References 1. Absil, P.-A., Mahony, R., Sepulchre, R.: Optimization Algorithms on Matrix Manifolds. Princeton University Press, Princeton (2008) 2. Barzilai, J., Borwein, J.M.: Two-point step size gradient methods. IMA J. Numer. Anal. 8(1), 141– 148 (1988). https:// doi. org/ 10. 1093/ imanum/ 8.1. 141 3. Boumal, N., Absil, P.-A.: Low-rank matrix completion via preconditioned optimization on the Grassmann manifold. Linear Algebra Appl. 475, 200–239 (2015). https:// doi. org/ 10. 1016/j. laa. 2015. 02. 027 4. Boumal, N., Absil, P.-A., Cartis, C.: Global rates of convergence for nonconvex optimization on manifolds. IMA J. Numer. Anal. 39(1), 1–33 (2018). https:// doi. org/ 10. 1093/ imanum/ drx080 5. Chi, Y., Lu, Y.M., Chen, Y.: Nonconvex optimization meets low-rank matrix factorization: an overview. IEEE T. Signal Proces. 67(20), 5239–5269 (2019). https:// doi. org/ 10. 1109/ TSP. 2019. 29372 82 6. Gao, B., Son, N.T., Absil, P.-A., Stykel, T.: Riemannian optimization on the symplectic Stiefel manifold. SIAM J. Optim. 31(2), 1546–1575 (2021). https:// doi. org/ 10. 1137/ 20M13 48522 7. Hu, J., Liu, X., Wen, Z.W., Yuan, Y.X.: A brief introduction to manifold optimization. J. Oper. Res. Soc. China (2020). https:// doi. org/ 10. 1007/ s40305- 020- 00295-9 8. Iannazzo, B., Porcelli, M.: The Riemannian Barzilai-Borwein method with nonmonotone line search and the matrix geometric mean computation. IMA J. Numer. Anal. 38(1), 495–517 (2018). https:// doi. org/ 10. 1093/ imanum/ drx015 9. Lee, J.M.: Introduction to Smooth Manifolds. Graduate Texts in Mathematics. Springer (2003). https:// books. google. be/ books? id= eqfgZ tjQce YC 10. Mishra, B., Meyer, G., Bach, F., Sepulchre, R.: Low-rank optimization with trace norm penalty. SIAM J. Optim. 23(4), 2124–2149 (2013). https:// doi. org/ 10. 1137/ 11085 9646 11. Nguyen, L.T., Kim, J., Shim, B.: Low-rank matrix completion: a contemporary survey. IEEE Access 7, 94215–94237 (2019). https:// doi. org/ 10. 1109/ ACCESS. 2019. 29281 30 12. Schneider, R., Uschmajew, A.: Convergence results for projected line-search methods on varieties of low-rank matrices via Łojasiewicz inequality. SIAM J. Optim. 25(1), 622–646 (2015). https:// doi. org/ 10. 1137/ 14095 7822 13. Tan, M., Tsang, I.W., Wang, L., Vandereycken, B., Pan, S.J.: Riemannian pursuit for big matrix recovery. pp. 1539–1547. PMLR, Bejing, China (2014). http:// proce edings. mlr. press/ v32/ tan14. html 14. Tanner, J., Wei, K.: Low rank matrix completion by alternating steepest descent methods. Appl. Comput. Harmon. A. 40(2), 417–429 (2016). https:// doi. org/ 10. 1016/j. acha. 2015. 08. 003 15. Uschmajew, A., Vandereycken, B.: Greedy rank updates combined with Riemannian descent methods for low-rank optimization. In: 2015 International Conference on Sampling Theory and Applications (SampTA), pp. 420–424. IEEE (2015). https:// doi. org/ 10. 1109/ SAMPTA. 2015. 71489 25 16. Uschmajew, A., Vandereycken, B.: Geometric Methods on Low-Rank Matrix and Tensor Manifolds, pp. 261–313. Springer, Cham (2020) 17. Vandereycken, B.: Low-rank matrix completion by Riemannian optimization. SIAM J. Optim. 23(2), 1214–1236 (2013). https:// doi. org/ 10. 1137/ 11084 5768 18. Wei, K., Cai, J.F., Chan, T.F., Leung, S.: Guarantees of Riemannian optimization for low rank matrix recovery. SIAM J. Matrix Anal. A. 37(3), 1198–1222 (2016). https:// doi. org/ 10. 1137/ 15M10 50525
90 B.Gao, P.-A.Absil 1 3 19. Zhou, G., Huang, W., Gallivan, K.A., Van Dooren, P., Absil, P.-A.: A Riemannian rank-adaptive method for low-rank optimization. Neurocomputing 192, 72–80 (2016). https:// doi. org/ 10. 1016/j. neucom. 2016. 02. 030 Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.