Skip to text

3 A framework for parameter identification

Once a network N∈ΥW,L(σ;din,1) giving an approximation uN of u has been set up, it can be used to solve inverse problems. Let us consider values ui that the function u takes at given observation points Yi, i=1,…,Nobs. In Section 4, the points Yi are either in a spatial domain (xi,yi)∈Ω, or in a space-time domain (xi,yi,ti)∈Ω×(0,T). We are looking for the optimal parameter μ∗∈P that minimizes

(1.4)F(μ):=1Nobs∑i=1Nobs|uN(Yi;μ)−ui|α,

where α=1 or α=2. A minimizer of (1.4) can be searched using any optimization algorithm. The derivatives ∂uN∂μ(·;μ) can typically be computed using automatic differentiation [5], which allows the use of gradient-type methods. Nevertheless, these methods usually require some a priori knowledge for the choice of the initial guess in order to converge. Numerical experiments show that such initial guess may be difficult to find uniformly in the parameter space. On the other hand, derivative-free approaches, such as, e. g., the Particle Swarm Optimization (PSO) algorithm [12], [16], [20], allow for global optimization and more robustness. We start by presenting here both approaches, before illustrating their behavior on several numerical experiments.

3.1 Particle-swarm optimization

Among derivative-free methods, particle-swarm optimization relies on iteratively updating a group of several particles, which individually and collectively evolve to find a global minimizer of a function. This approach has been proved to be very adapted and robust for global optimization problems where the function is nonconvex and may present several local minimizers. The underlying idea is to update the solution for each particle at each iteration taking into consideration its current position but also the positions in the whole group.

We initialize Npart particles in Rp, and make their position evolve in order to find a minimizer of (1.4). At iteration K+1, the position of the particle i is

μi(K+1)=μi(K)+vi(K+1)∈Rp,

where the components of the velocity vi(K+1)=(vij(K+1))j=1p are

(1.5)vij(K+1)=ω(K)vij(K)+c1(K)r1j(K)(νij(K)−μij(K))+c2(K)r2j(K)(νˆj(K)−μij(K)).

In (1.5), rkj are random numbers with uniform distribution in (0,1), νi(K)=(νij(K))j=1p denotes the best position that the particle i has reached during the previous iterations, and νˆ(K)=(νˆj(K))j=1p denotes the best position that has been among all particles. As suggested in [14], [17], we use varying coefficients ω, c1, c2 given at iteration 0≤K≤Kmax by

ci(K)=(ci,F−ci,I)KKmax+ci,I,i=1,2,ω(K)=(ωI−ωF−0.2)exp{(1+7KKmax)−1},

with c1,I=2.5, c2,I=0.5, ωI=0.95, c1,F=0.5, c2,F=2.5, ωF=0.4. In the sequel, unless explicitly stated otherwise, we choose Kmax=100, and then allow the algorithm to perform another 200 iterations with constant values of c1, c2, and w. The optimization algorithm stops if the maximum number of iterations (300) is reached or if F(νˆ) does not decrease for 10 iterations in a row. The initial position of the particles is chosen uniformly at random in P. During the optimization process, the particles are constrained in a slightly extended compact set P˜⊋P (but not strictly in P), in order to be able to recover parameters that lie on the boundary of P. The implementation of the PSO algorithm has been made using PySwarms [15].

3.2 Gradient method

The alternative is to consider a gradient-based method in the parameter space. Given an initial guess μ(0), we make the position of the particle evolve as

μ(K+1)=μ(K)−η(K)∇μF(μ(K)),

where η(K)=η‖∇μF(μ(K))‖−1. As for the PSO algorithm, we constrain the iterates μ(K) to remain in P˜. The implementation of the gradient algorithm relies on automatic differentiation [5] and has been made using Tensorflow [21].

We choose as initial guess μ(0)=μ∗(1+γn), where μ∗ is the exact solution, ni∈U([−1,1]), i=1,…,p, and γ>0 characterizes the size of the attraction basin of the method. This corresponds to choosing the initial guess in the neighborhood of the exact solution. If μb(i) denotes the best parameter that has been found during iterations 0,…,i, the algorithm is stopped if

F(μ(i))>F(μb(i−1))orF(μ(i))−F(μb(i−1))F(μb(i−1))<tol

for 20 iterations in a row.