• Aucun résultat trouvé

A Greedy Approach to Multi-Scale Methods

N/A
N/A
Protected

Academic year: 2021

Partager "A Greedy Approach to Multi-Scale Methods"

Copied!
5
0
0

Texte intégral

(1)

HAL Id: hal-01007750

https://hal.archives-ouvertes.fr/hal-01007750

Submitted on 27 Apr 2018

HAL is a multi-disciplinary open access

archive for the deposit and dissemination of

sci-entific research documents, whether they are

pub-lished or not. The documents may come from

teaching and research institutions in France or

abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est

destinée au dépôt et à la diffusion de documents

scientifiques de niveau recherche, publiés ou non,

émanant des établissements d’enseignement et de

recherche français ou étrangers, des laboratoires

publics ou privés.

A Greedy Approach to Multi-Scale Methods

Antonio Falcó, Amine Ammar, Francisco Chinesta

To cite this version:

Antonio Falcó, Amine Ammar, Francisco Chinesta.

A Greedy Approach to Multi-Scale

Meth-ods. 12th International ESAFORM Conference on Material Forming, 2009, Twente, Netherlands.

�10.1007/s12289-009-0435-7�. �hal-01007750�

(2)

A GREEDY APPROACH TO MULTISCALE METHODS

Antonio Falcó

1∗

, Amine Ammar

2

, Francisco Chinesta

3 2

Laboratoire de Rhéologie, UJF-INPG-CNRS (UMR 5520), 1301 Rue de la Piscine, BP 53

Domaine Universitaire, F-38041 Grenoble cedex 9, France

3

Institut de Recherche en Génie Civil et Mécanique (GeM), Université de Nantes

ABSTRACT: In this paper we study the problem of compute the solution of a linear system in a separable representation

form. It arises in the discretized equations appearing in various physical domains, such as kinetic theory, statistical mechanics, quantum mechanics, and in nanoscience and nanotechnology among others. In particular, we use the fact that tensors of order 3 or higher have best rank-1 approximation. This fact allow to us to propose an iterative method based in the so-called by the signal processing community as the Matching Pursuit Algorithm, also known as Projection Pursuit by the statistics community or as a Pure Greedy Algorithm in the approximation theory community. We also give some numerical examples and describe its relationship with the Finite Element Method for High-Dimensional Partial Differential Equations based on the tensorial product of one-dimensional bases. We illustrate this situation taking as a model problem the multidimensional Poisson equation with homogeneous Dirichlet boundary condition.

KEYWORDS: Separable representation, Greedy Algorithm, Multiscale methods

1 INTRODUCTION

In [1], some of the authors of the present paper propose the use of a separated representation, which allows to define a tensor product approximation basis as well as to decou-ple the numerical integration of a high dimensional model in each dimension. The purpose of this work is to for-malize and analyze the above strategy in the framework of the iterative methods for linear systems. As we will show the aproximation given in [1], is closely related with the best low-rank approximation problem for high order tensors. Unfortunately, it has been proved that tensors of order 3 or higher can fail to have best rank-r approxima-tion for r ≥ 2. It is due to the fact that, in our knowledge, only for a given closed and nonempty set contained in RN

it is possible to define a (perhaps) multivalued projection of a point into this set. We remark that the unicity for this map can be obtained by adding a convexity condition. Our strategyis to use the fact that tensors of order 3 or higher have best rank-1 approximation. Then we propose an iterative method based in the so-called by the signal processing community as theMatching Pursuit Algorithm

of Mallat and Zhang, also known asProjection Pursuit by

the statistics community or as aPure Greedy Algorithm

in the Approximation Theory community. This strategy depends strongly on the computation of the best rank-1 approximation of the residual obtained at each step of the proposed algorithm. To solve this we will propose the use of a Coordinate Descend Method Algorithm because it has global convergence. In particular, we will show that

∗Departamento de Ciencias Físicas, Matemáticas y de la

Com-putación, Universidad CEU Cardenal Herrera, San Bartolomé 55, 46115 Alfara del Patriarca (Valencia), Spain. afalco@uch.ceu.es

for the class of separable invertible matrices, this prob-lem collapses for each selected direction to an ordinary least-squares problem. Finally, we introduce the relation-ship between the Finite Element Method, where the shape functions are the tensorial product of a one-dimensional ones, and the class of linear systems considered in this paper. We illustrate this situation taking as a model prob-lem the multidimensional Poisson equation with homoge-neous Dirichlet boundary condition.

Before to end this section we describe some of the nota-tion used in this paper. We denote the set of N × M-matrices by RN ×M, and the transpose of a matrix A is

denoted AT. By hx, yi we denote the usual Euclidean

in-ner product given by xTy = yTx and its

correspond-ing 2-norm, kxk2 = hx, xi1/2. The matrix IN is the

N × N -identity matrix and when the dimension is clear

from the context, we simply denote it by I. Given a se-quence {uj}∞j=0⊂ RN, we say that a vector u ∈ RN can

be written as u= ∞ X j=0 uj if and only if lim n→∞ n X j=0 uj = u

holds in the k · k2-topology. Now, we recall the

defini-tion and some properties of the Kronecker product. The Kronecker product of A ∈ RN′

1×N1 and B ∈ RN2′×N2,

(3)

as      A1,1B A1,2B · · · A1,N2N2′B A2,1B A2,2B · · · A2,N2N′ 2B .. . ... ... ... AN1N1′,1B AN1N1′,2B · · · AN1N1′,N2N2′B     .

This paper is organized as follows. In the next section we give a separated representation algorithm for a class of linear systems. It is motivated by the main result of this paper that gives a solution to the problem of construct-ing an approximate solution of rank-n for a linear sys-tem. Moreover, we provide some numerical examples. In 3 we give as a model problem the multidimensional Pois-son equation with homogeneous Dirichlet boundary con-ditions. We conclude with some comments and remarks.

2 DEFINITIONS AND STATEMENT OF

MAIN RESULT

The concept of separated representation was introduced by Beylkin and Mohlenkamp and it is related with the problem of constructing the approximate solutions of some classes of problems in high-dimensional spaces by means a separable function.

Suppose that for given a linear Partial Differential Equa-tion, and after a discretization by means Finite Elements, we need to solve the linear system

Au = f , (1)

where A is a (N1· · · Nd) × (N1· · · Nd)-dimensional

in-vertible matrix, for some N1, N2, . . . , Nd∈ N. Then from

all said above, it seems reasonable to find an approximate solution A−1f ≈ u n= n X j=1 xj1⊗K· · · ⊗Kxjd

for some n ≥ 1 and where xj

i ∈ RNi for i = 1, 2, . . . , d

and j = 1, 2, . . . , n; satisfying that

lim n→∞ A−1f− u n 2= 0, that is, A−1f = ∞ X j=1 xj1⊗K· · · ⊗Kxjd.

For each n ∈ N, we define the set

Sn = {x ∈ RN1···Nd: rank⊗Kx≤ n},

in the following way. Given x ∈ RN1···Ndwe say that x ∈

S1= S1(N1, N2, . . . , Nd) if x = x1⊗Kx2⊗K· · ·⊗Kxd,

where xi ∈ RNi, for i = 1, . . . , d. For n ≥ 2 we define

inductively Sn= Sn(N1, N2, . . . , Nd) = Sn−1+ S1, that is, Sn= ( x: x = k X i=1

x(i), x(i) ∈ S1for 1 ≤ i ≤ k ≤ n

) .

Note that Sn ⊂ Sn+1for all n ≥ 1.

It is possible to show that given an invertible matrix A ∈

RN1N2···Nd×N1N2···Nd, then for each fixed b ∈ RN1···Nd

we obtain that

argminx∈S

1kb − Axk26= ∅. (2)

This allow to consider the following iterative scheme. Let

u0= y0= 0, and for each n ≥ 1 we take

rn−1= f − Aun−1, (3)

un = un−1+ yn

where yn∈ argminy∈S1krn−1− Ayk2.



(4) Note that un∈ Sn. Define

k(f , A) = 

∞ if {j ≥ 1 : yj = 0} = ∅,

min{j ≥ 1 : yj= 0} − 1 otherwise.

The following theorem which provides a constructive ap-proach to represent the solutions of a linear system in a separated form.

Theorem 1 Let f ∈ RN1N2···Nd and A

RN1N2···Nd×N1N2···Nd, be an invertible matrix. Then,

by using the iterative scheme (3)-(4), we obtain that the sequence {krnk2}k(f ,A)n=0 ,is strictly decreasing and

A−1f = lim n→∞un = k(f ,A) X j=0 yj. (5)

Moreover, the rate of convergence if given by

krnk2 kr0k2 = n Y j=1 (1 − ρ2j)1/2 (6) for 1 ≤ n ≤ k(f, A) where ρj= hrj−1, Ayji krj−1k2kAyjk2 ∈ (0, 1) for 1 ≤ j ≤ n.

From (5) we obtain that if k(f, A) < ∞, then krnk2= 0

for all n > k(f, A). Thus, the above theorem allow to us to construct a procedure, that we give in the pseudocode form in Algorithm 1, under the assumption that we have a numerical method in order to find a y solving (2) (see the step 5 in Algorithm 1) and that we introduce below. It can be seen that for each fixed b ∈ RN1···Nd, the

map Φ(x) = kb − Axk2 defined over a convex set

U ⊂ RN1···Nd is a convex function. Since S

1 is not a

convex set we will consider for each α ∈ {1, 2, . . . , d} and

x01, . . . , x0α−1, x0α+1, . . . , x0d

fixed, the set

S1(α)= S (α) 1 (x01, . . . , x0α−1, x0α+1, . . . , x0d) =x∈ S1: xi= x0i, i 6= α .

(4)

Algorithm 1 A Separated Representation Algorithm

1: procedure (kf − Auk2 < ε : rank⊗u ≤

rank_max)

2: r0= f

3: u= 0

4: for i = 0, 1, 2, . . . , rank_max do

5: y= procedure (minrank⊗x≤1kri− Ayk22)

6: ri+1 = ri− Ay

7: u← u + y

8: if kri+1k2 < ε or |kri+1k2− krik2| < tol

then goto 13

9: end if

10: end for

11: return u and krrank_maxk2.

12: break

13: return u and kri+1k2

14: end procedure

Since S1(α) ⊂ S1 ⊂ RN1···Nd is a closed and convex set,

this fact allow to us to solve

min

x∈S1

kb − A (x1⊗K· · · ⊗Kxd)k2, (7)

by means a Cyclic Coordinate Descend Algorithm. It

minimizes Φ cyclically with respect to the coordinate vari-ables and it can shown that it has global convergence. These cyclic methods have the advantage of not requir-ing any information about the gradient ∇xΦ to determine

the descent directions. However, their convergence prop-erties are poorer than steepest descend methods. These coordinate descent methods are attractive because of their easy implementation in some particular cases as we will see below. In particular we minimize Φ cyclically with respect to the coordinate variables. We point out that for high-dimensional problems the numerical implementation of solving that equation can be a hardly task. However, if the matrix A can be represented also in separated repre-sentation form, then it can be reduced to a standard least squares problem. Thus, we can solve

min (x1,...,xd) b− rA X i=1 Ai1x1⊗K· · · ⊗KAidxd 2 . (8) easily, by means a Cyclic Coordinate Descend Algorithm. Note that given a point (x1, . . . , xd), descend with respect

to the coordinate xαmeans under this conditions that

(ZαTZα)−1ZαTb∈ arg min Φ(x1, . . . , xd). (9)

The pseudocode of the procedure to solve (8) can be seen in Algorithm 2.

3 A MODEL PROBLEM: THE POISSON

EQUATION IN (0

,

1)

D

Firstly, we consider the following problem in 3D: Solve for

(x1, x2, x3) ∈ Ω = (0, 1)3:

Algorithm 2 Solving the minimization problem (8)

1: procedure (minx∈S1kb − Axk 2 2)

2: Initialize x0i for i = 1, 2 . . . , d. 3: iter = 1

4: while iter < iter_max do 5: ˆxα← x0α, α = 1, . . . , d 6: for α = 1, 2, . . . , d do 7: Zα=PrAj=1Zαj ⊲ Zj α = A (j) 1 xˆ1⊗K · · · ⊗KAα−1(j) xˆα−1⊗K A(j)α ⊗K A(j)α+1x0α+1· · · ⊗KA(j)d x0d 8: xˆα= (ZαTZα)−1ZαTb 9: end for 10: if Qdα=1kx0

α− ˆxαk2<tolthen goto 14

11: end if 12: iter = iter + 1 13: end while 14: return x0= (x0 1, . . . , x0d) 15: end procedure −∆u = (2π)2· 3 3 Y i=1 sin(2πxi− π), u|∂Ω= 0,

which has as closed form solution

u(x1, x2, x3) = 3

Y

i=1

sin(2πxi− π).

We used the separable representation algorithm given in Section 2 with parameter values iter_max = 5,

rank_max = 1000 and ε = 0.001. The algorithm give

us an approximated solution u1 ∈ S1. In Figure 1 we

represent the relative error of the solution computed using the separable representation algorithm, using logarithmic scale, as a function of the number of nodes used in the discretization of the Poisson equation. All the computa-tions were performed using the GNU software OCTAVE

in a AMD 64 Athlon K8 with 2Gib of RAM.

In Figure 2 we represent the CPU time, in logarithmic scale, used in solving the linear system against the sep-arable representation algorithm. In both cases all the lin-ear systems involved were solved using the standard linlin-ear system solver (A\b) of OCTAVE.

Finally we are addressing some highly multidimensional models. To this end we solve numerically the Poisson equation for (x1, . . . , xd) ∈ Ω = (0, π)dwhere

f = d X k=1 −(1 + k) sin(−1+k)(x k)× −k cos2(x k) + sin2(xk)  Yd k′=1,k6=k sin(1+k′)(xk′),

which has as closed form solution

u(x1, . . . , xd) = d

Y

k=1

(5)

-14.6 -14.4 -14.2 -14 -13.8 -13.6 -13.4 -13.2 -13 0 2000 4000 6000 8000 10000 12000 14000 log10(Relative Error) Nodes in (0,1)3

log10 Relative Error

Figure 1: The relative error ku1 − A−1f)k2/kA−1fk2 in

logarithmic scale. -3 -2 -1 0 1 2 3 0 2000 4000 6000 8000 10000 12000 14000

log10(CPU time in seconds)

Nodes in (0,1)3

Galerkin Method Separable Representation

Figure 2: The CPU time, in seconds, used in solving the linear system as a function of the number of nodes em-ployed in the discretization of the Poisson Equation.

−2 −1.8 −1.6 −1.4 −1.2 −1 −0.8 −0.6 −0.4 −0.2 0 −5 −4.5 −4 −3.5 −3 −2.5 −2 −1.5 −1 log10 h log 10 Error

Figure 3: The absolute error kbu − uk2 as a function of

h = π/N for N = 5, 10, 20, . . . , 160 in log10-scale.

Here we consider the true solution u given by Ui1,...,id=

u(bxi1+1, . . . , bxid+1). For d = 10 we use the

param-eter values iter_max = 2, rank_max = 10 and

ε = 0.001. In a similar way as above the algorithm give us

an approximated solution bu ∈ S1. In Figure 3 we

repre-sent the absolute error kbu−uk2as a function of h = π/N

for N = 5, 10, 20, . . . , 160 in log10-scale. By using sim-ilar parameters values the problem has been solved for

d = 100 in about 20 minutes.

4 CONCLUDING REMARKS

In this paper we analyze, at analytical level, the iterative method proposed in [1] in order to compute the numeri-cal solutions of high dimensional PDE’s. As we can show the method runs under very weak conditions, recall that we only use the condition that the linear system has a de-composable and invertible matrix. However, its efficiency depends strongly on the matrix form (symmetric, tridiag-onal, full, sparse, ...).

REFERENCES

[1] A. Ammar. B. Mokdad, F. Chinesta and R. Keunings.

A new family of solvers for some classes of multidi-mensional partial differential equations encountered in Kinetic Theory modelling Complex Fluids, Journal

of Non–Newtonian Fluid Mechamics, 139, (2006),

Figure

Figure 3: The absolute error k b u − u k 2 as a function of h = π/N for N = 5, 10, 20,

Références

Documents relatifs

If we use the multiperipheral models to estimate the magnitude of the various elementary diffractive processes, we can then estimate the magnitudes of the terms in the Gribov

Our goal in this paper is to improve the orthogonal pro- jection step (2) in Algorithm In presence of unresolved tar- gets, the classic MF may fail to separate the

We employ an overlap-add (OLA) approach in conjunc- tion with a constrained version of the Orthogonal Matching Pursuit (OMP) algorithm [8], to recover the sparse representation

This paper compares two extensions of the Matching Pursuit algorithm which introduce an explicit modeling of harmonic struc- tures for the analysis of audio signals.. A

Unlike the linear discriminant analysis (LDA) strategy, which selects subspaces that do not depend on the observed signal, we consider an adaptive sequential selection of

Though a method for the direct analytic estimation of chirped Gabor atoms has been proposed in the past [1], the present article proposes an al- ternative method where the chirp

By considering the atoms of a matching pursuit decomposition of the average signal, and adapting the amplitude to the individual trials, the method accounts for amplitude

This dataset consists of 36 instantaneous, convolutive and recorded stereo mixtures of three to four audio sources of 10 s duration, sampled at 16 kHz.. Recorded mixtures were