Parallel Global and Local Convergent Algorithms for Solving the Inverse Additive Singular Value Problem



Download 0.58 Mb.
Page1/3
Date09.06.2018
Size0.58 Mb.
#53782
  1   2   3
Parallel Global and Local Convergent Algorithms for Solving the Inverse Additive Singular Value Problem
GEORGINA FLORES BECERRA and ANTONIO M. VIDAL MACIÁ
†Departamento de Sistemas Informáticos y Computación

Universidad Politécnica de Valencia

Camino de Vera s/n, 46002 Valencia

SPAIN


‡Departamento de Sistemas y Computación

Instituto Tecnológico de Puebla.

Av. Tecnológico 420, Colonia Maravillas, Puebla

MEXICO


Abstract: - In this paper we propose two algorithms for solving the Inverse Additive Singular Value Problem (IASVP). The first one, denoted MI, solves the IASVP by formulating it like a nonlinear problem and using a Newton type method. MI is a local convergent algorithm. The second one, called LP, solves the IASVP by formulating it as a least squares problem and using a projection method; LP is a global convergent method. We present the sequential and parallel versions for each algorithm, and we show numerical experiments to illustrate their behaviour and good performance.

Key-Words: - Inverse Singular Value Problems, Parallel Algorithms, Newton method, Least square problem.


1 Introduction

Inverse problems arise in a wide variety of applications in Science and Engineering [10,12,14]: Computerized tomography, Inverse scattering, Inverse heat conduction problems, Geophysical inverse problems, Identification of parameters, etc. In particular, the Inverse Eigenvalue Problem (IEP) and the Inverse Singular Value Problem (ISVP) are problems of parameters identification; they both are the reconstruction of a matrix with prescribed eigenvalues and singular values, respectively, and maintaining some specific characteristics of structure. Among this kind of problems our work focuses on the Inverse Additive Singular Value Problem (IASVP). The IASVP can be stated as it follows [11]:

Given real, mxn, matrices A0, A1, ..., Al (mnl) and a set of real numbers S*={S*1,S*2,...,S*n}, with S*1>S*2>...>S*n, find a real l vector c=[c1,c2,...,cl]t, such that the singular values S1>S2>...>Sn of the matrix

(1) A(c) = A0 + c1A1 + ... + clAl

satisfy S*i(c) = S*i, for i=1,2,...,n.

A good way to tackle the IASVP consists of expressing it as a nonlinear system and to apply a Newton type method. This idea was previously used by Friedland et al. in [12] to solve the Inverse Additive Eigenvalue Problem (IAEP). They proposed up to four methods, known as Method I, II, III and IV, which have been of great importance in the specialized literature. Thus, the Method III was adapted by Chu [11] deriving a discrete method for solving the IASVP, which was modified later by Bai et al, to construct in the Intercept method [9] for solving the IASVP too.

Other approach was proposed by Chen and Chu. In [10] they developed a method denoted as Lift&Project to solve the IAEP. It is constructed as a modification of the conventional alternating projection method, and it presents global although linear convergence.

Both of the above cited methods, Newton approach and Lift&Project, can be easily adapted to solve the IASVP, but they both have a high computational complexity and in the case of Lift&Project method a slow speed of convergence. Thus, the developing of parallel algorithms is of great importance in order to solve this kind of problems in a reasonable time.

In this work we proposed two parallel algorithms for solving the IASVP: the first one, denoted as MI, is an adaptation of the Method I [12] to solve the IASVP formulated like a nonlinear problem; Newton’s method is used directly to solve the nonlinear system, and consequently the algorithm converges locally. The second one, denoted as LP, is a global convergent algorithm developed as an adaptation of the Lift&Project [10], to solve the IASVP formulated like a least squares problem.

All our algorithms were implemented using portable standard packages. For the serial algorithms we used the LAPACK library [1] and BLAS computational kernels [7], and to implement the parallel codes we used the ScaLAPACK [2], PBLAS [3] and BLACS [6] libraries on the top of the MPI [4] communication library. Experimental results have been obtained on a cluster of PCs.

The rest of the paper is organized in the following form. In section 2, we consider the IASVP like a nonlinear problem and derive MI algorithm to solve it; we also present the serial algorithm. In section 3 we develop the LP algorithm to solve the IASVP like a least squares problem. The serial algorithm is presented too. Section 4 is devoted to parallel algorithms and experimental results. We outline our conclusions in section 5.

2 A local convergence Newton type algorithm

In this section we use the idea of Method I [12] to develop a Newton type algorithm (MI) for solving the IASVP. Let us consider the singular value decomposition of matrix A(c) defined in (1): A(c)=P(c)S(c)Q(c)t. To solve the IASVP we are requiring S(c)=S*. Hence, we can construct the vector function F(c) = [Fi(c)] i=1,n =[S(c)i - S*i]i=1,n, where S(c)i is the i-th singular value of A(c) and S*i is the i-th singular value to be assigned. Thus we can transform the IASVP in the problem of finding the solution of the nonlinear system in c

(2) F(c) = [S(c)i - S*i]i=1,n = 0.

If Newton’s method is applied to solve this nonlinear system, a succession of vectors must be computed in order to approximate the solution of (2). Then, if c(k) is the k-th element of this succesion, the (k+1)-th element is given by the expression [5]

(3) c(k+1) = c(k) - J(c(k))-1F(c(k)),

where J(k)=J(c(k)) is the Jacobian matrix of F(c) evaluated at c(k). By using that A(c(k)) = P(c(k))S(c(k))Q(c(k))t is the singular value decomposition of A(c(k)) and hence columns of P(c(k)) and of Q(c(k)) are orthogonal, p(c(k))itp(c(k))i = q(c(k))itq(c(k))i =1, it can be proved that the Jacobian matrix of F(c(k)) is

(4) J(k) = [p(c(k))it Aj q(c(k))i] i,j=1,n.

Hence, having in mind the definition of A(c(k)) (1), F(k) = F(c(k)) can be expressed as

(5) F(k) = [p(c(k))it A0 q(c(k))iS*i] i=1,n + J(k)c(k)

Thus, by using (4) and (5), expression (3) can be transformed in:



J(k)c(k+1)J(k) c(k) = – [p(c(k))it A0 q(c(k))i-S*i] i=1,n+J(k)c(k).

Then, c(k+1) can be found by solving the linear system J(k) c(k+1) = b(k) , where

(6) b(k) = S* - [p(c(k))it A0 q(c(k))i] i=1,n.

So, a Newton’s iteration has been derived and if the initial guest c(0) is close enough to the solution the iteration converges quadratically to point c* [5], such that singular values of A(c*) coincides with S*. The corresponding algorithm is given in the next paragraph.




    1. Sequential Algorithm


MI algorithm for IASVP
1. Compute A(0) (* in accordance with (1) *)

2. [P(0),S(0),Q(0)] = svd(A(0))

3. error = || S(0)- S*||2

4. For k = 0,1,..., While error > tol

4.1 Compute J(k) (* in accordance with (4) *)

4.2 Compute b(k) (* in accordance with (6) *)

4.3 Compute c(k+1) solving J(k)c(k+1) = b(k)

4.4 Compute A(k+1) (*in accordance with (1) *)

4.5 [P(k+1),S(k+1),Q(k+1)] = svd(A(k+1))

4.6 error = || S(k+1)- S*||2


To implement some steps of this algorithm we used efficient routines of LAPACK: dgesvd to compute the singular value decomposition of a matrix (steps 2 and 4.5), dgetrf and dgetrs to compute the lu factorization of a matrix and solve a linear system of equations, respectively (step 4.3). The other steps have been implemented by the authors, using routines of BLAS: daxpy to add two vectors (steps 1, 3, 4.4 and 4.6), dnrm to compute the 2-norm of a vector (steps 3 and 4.6), ddot to compute the dot product (steps 4.1 and 4.2), dscal to scale a vector by a constant (step 4.2), dgemm to compute matrix-vector product (steps 4.1 and 4.2).

The cost of this algorithm, when m=n=l, is:



TsecMI = O((44/3)m3) + k O(2m4) Flops

where k represents the number of iterations performed to reach the convergence. It can be note the high computational cost which we try to alleviate by using parallel computing techniques.


3 A global convergence method

The Lift&Project method was developed for the IAEP in [10]. In this section we derive the LP method to solve de IASVP in a similar way.

Let us define G(S*), as the set wich contains all the matrices whose singular values are S*, and L(c) as the set whose elements can be expressed in the form (1):

G(S*) = {PS*Qt|Pmxm,Qnxn,orthogonals}

L(c) = {A(c) | cl}.

We want to find the intersection of sets G(S*) and L(c), by using distances minimization techniques between both sets.

The method can be organized in an iterative way with two stages: the lift stage and the project stage. Thus, in each iteration k, the first stage is the lift stage: Given c(k), and consequently A(k) = A(c(k))L(c), find a matrix X(k)G(S*) so that the distance between A(k) and X(k) is equal to the distance between A(k) and G(S*). This is achieved by computing SVD of A(k)=P(k)S(k)Q(k)t, and then computing X(k)=P(k)S*Q(k)t. The element of G(S*) closest to A(k) is X(k)=P(k)S*Q(k)t. In effect, if Y(k)=US*Vt were another element of G(S*) closest to A(k) then

|| P(k) S(k) Q(k) t US*Vt ||F =

= || P(k) S(k) Q(k) t P(k) S*Q(k) t +

+ P(k) S*Q(k) t U S*V t || F =

= || P(k)(S(k)-S*)Q(k)t + P(k)S*Q(k)t -US*Vt|| F =

= || S(k) - S* + S* - P(k)t U S*Vt Q(k) || F

 || S(k)-S* ||F + || S* - P(k)t U S*Vt Q(k) || F

thus obtaining the minimum value of ||P(k)S(k)Q(k)tUS*Vt||F just when U=P(k) and V=Q(k). Note that orthogonal transformations conserve the F-norm.



The projection stage can be expressed as: Given X(k)G(S*) find c(k+1), and hence A(k+1)L(c), such that the distance between X(k) and A(k+1) equals the distance between X(k) and L(c). This is achieved by finding c(k+1) which minimizes the distance between X(k) and A(k+1), that is: find c(k+1) which solves the problem

(7) .

Let us denote F(k+1) = . The minimization problem (7) can be solved by equating the gradient of F(k+1) to zero and solving the linear system

(8) .

By differentiating F(k+1) it is easy to transform [13] the linear system (8) in Tc (k+1) = d (k), where

(9) T = [ trace(AitAr) ]r,i=1,l and

(10) d(k) = [ trace(Art (X(k) - A0t) ]r =1,l .

It is worth to note that matrix T does not depend from the value of c(k+1) in the different iterations, thus it can be computed once at the beginning. Now, it is easy to construct an iterative algorithm (LP algorithm) to find a solution of the IASVP. The LP algorithm converges to a stationary point of the stated minimization problem in the sense that

|| A(k+1) - X(k+1) ||F  || A(k) - X(k) ||F.

Thus, in the k-th projection stage, c(k+1) is computed to minimize ||A(k+1)-X(k) ||F, then

|| A(k+1) - X(k) ||F  || A(k) - X(k) ||F.

On the other hand, in the (k+1)-th lift stage the matrices that minimize || A(k+1) - X(k+1) ||F are P(k+1) and Q(k+1), then

|| A(k+1) - P(k+1) S*Q(k+1) t ||F  || A(k+1) - P(k) S*Q(k) t|| F,

hence

|| A(k+1) - X(k+1) ||F  || A(k+1) - X(k) || F.





    1. Sequential Algorithm


LP algorithm for IASVP
1. Compute T (* in accordance with (9) *)

2. Compute lu factorization of T

3. Compute inverse of T

4. stop = 0

5. For k = 0,1,..., While stop=0

5.1 Compute A(k) (* in accordance with (1) *)



5.2 [P(k),S(k),Q(k)] = svd(A(k))

5.3 X(k) = P(k)S*Q(k)t

5.4 Compute d(k) (* in accordance with (10) *)

5.5 Compute c(k+1) solving Tc(k+1) = d(k)

5.6 error = || c(k+1)- c(k)||2

5.7 If error < tol Then stop = 1


To implement this algorithm we have used the following routines of BLAS in steps 1, 5.1, 5.3, 5.4 5.5 and 5.6: dscal, ddot, dgemv (to compute matrix-matrix product), dgemm, daxpy. The following routines of LAPACK have also been used: dgesvd at step 5.2, dgetrf at step 2, dgetri (to compute the inverse of a matrix) at step 3.

The computational cost of this algorithm when m=n=l can be approximated as:



TseqLP = O(m4) + k O((56/3)m3) Flops,

where k is the numbers of iterations necessary to reach the convergence. As MI, LP has a high computational cost too. In the next section we present the parallel algorithms corresponding to both MI and LP algorithms.






Download 0.58 Mb.

Share with your friends:
  1   2   3




The database is protected by copyright ©ininet.org 2024
send message

    Main page